1 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11 and define as weak alias of __fegetenv. Use libm_hidden_weak.
12 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
14 define as weak alias of __fegetenv. Use libm_hidden_weak.
15 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18 define as weak alias of __fegetenv. Use libm_hidden_weak.
19 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21 define as weak alias of __fegetenv. Use libm_hidden_weak.
22 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
27 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28 define as weak alias of __fegetenv. Use libm_hidden_weak.
29 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33 and define as weak alias of __fegetenv. Use libm_hidden_weak.
34 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35 __fegetenv instead of fegetenv.
36 (libc_feholdsetround_noex_ctx): Likewise.
38 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
40 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41 (Elf_MIPS_ABIFlags_v0): New structure.
42 (EF_MIPS_FP64): Define.
43 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
44 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
45 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
46 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
47 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
48 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
49 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
50 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
51 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
52 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
53 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
54 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
55 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
56 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
57 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
58 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
59 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
60 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
61 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
62 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
63 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
64 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
66 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
68 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
69 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
70 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
71 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
72 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
73 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
74 * sysdeps/mips/tst-abi-interlink.c: Likewise.
75 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
76 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
77 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
78 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
79 record the current FP ABI extension.
80 (mips-mode-switch): Define to show if kernel headers support mode
82 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
83 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
84 supported SYSV ABI version to 3.
85 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
88 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
89 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
93 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
95 2014-12-31 Joseph Myers <joseph@codesourcery.com>
97 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
98 __fegetround and redefine to call __fegetround. Remove condition
99 on [!__NO_MATH_INLINES].
100 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
102 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
103 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
105 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
106 instead of <fenv_libc.h>.
107 (__llrintl): Call fegetround instead of __fegetround.
108 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
109 instead of <fenv_libc.h>.
110 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
111 (__lrintl): Call fegetround instead of __fegetround.
112 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
113 instead of <fenv_libc.h>.
114 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
115 (__rintl): Call fegetround instead of __fegetround.
117 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
119 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
122 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
125 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
126 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
127 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
129 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
131 * sysdeps/i386/tls-macros.h: Include <features.h>.
132 (TLS_LE): Use non-PIC version for GCC >= 5.0.
136 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
137 define for GCC >= 5.0.
139 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
141 * math/test-fenv.c (test_single_exception, set_single_exc,
142 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
143 feexcp_mask_test, feenable_test, fe_single_test): Add
144 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
145 case where they are not used.
146 * math/libm-test.inc: Likewise.
147 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
148 unused in the absence of FP rounding/exception support.
149 * stdio-common/tst-printf-round.c: Likewise.
150 * stdlib/tst-strtod-round.c: Likewise.
151 * stdlib/tst-strtod-underflow.c: Likewise.
153 2014-12-30 Joseph Myers <joseph@codesourcery.com>
156 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
157 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
158 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
159 __feraiseexcept and define as weak alias of __feraiseexcept. Use
161 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
162 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
163 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
165 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
166 __feraiseexcept and define as weak alias of __feraiseexcept. Use
168 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
170 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
171 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
172 __feraiseexcept and define as weak alias of __feraiseexcept. Use
174 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
176 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
177 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
178 (__feraiseexcept): Likewise.
179 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
180 __feraiseexcept and define as weak alias of __feraiseexcept. Use
182 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
183 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
185 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
186 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
188 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
190 (feraiseexcept): Define as weak not strong alias. Use
192 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
193 New inline function. Factored out of ...
194 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
195 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
196 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
198 * math/w_acos.c (__acos): Likewise.
199 * math/w_asin.c (__asin): Likewise.
200 * math/w_ilogb.c (__ilogb): Likewise.
201 * math/w_j0.c (y0): Likewise.
202 * math/w_j1.c (y1): Likewise.
203 * math/w_jn.c (yn): Likewise.
204 * math/w_log.c (__log): Likewise.
205 * math/w_log10.c (__log10): Likewise.
206 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
207 * sysdeps/aarch64/fpu/math_private.h
208 (libc_feupdateenv_test_aarch64): Likewise.
209 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
210 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
211 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
212 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
213 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
214 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
215 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
216 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
217 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
218 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
220 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
223 * io/test-utime.c (main): Replace %ld with %jd and cast to
225 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
226 * nptl/tst-mutex5.c: Include <stdint.h>.
227 (do_test): Replace %ld with %jd and cast to intmax_t.
228 * posix/tst-regex.c (run_test): Likewise.
229 (run_test_backwards): Likewise.
230 * rt/tst-clock.c: Include <stdint.h>.
231 (clock_test): Replace %ld with %jd and cast to intmax_t.
232 * rt/tst-cpuclock1.c: Include <stdint.h>.
233 (do_test): Replace %lu with %ju and cast to uintmax_t.
234 * rt/tst-cpuclock2.c: Include <stdint.h>.
235 (do_test): Replace %lu with %ju and cast to uintmax_t.
236 * rt/tst-mqueue1.c: Include <stdint.h>.
237 (check_attrs): Replace %ld with %jd and cast to intmax_t.
238 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
240 * rt/tst-mqueue4.c (do_test): Likewise.
241 * rt/tst-timer4.c: Include <stdint.h>.
242 (check_ts): Replace %ld with %jd and cast to intmax_t.
244 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
245 and cast to intmax_t.
246 * sysdeps/pthread/tst-timer.c (main): Likewise.
247 * time/clocktest.c (main): Likewise.
248 * time/tst-posixtz.c (do_test): Likewise.
249 * timezone/tst-timezone.c (main): Likewise.
251 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
252 H.J. Lu <hongjiu.lu@intel.com>
254 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
255 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
256 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
257 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
258 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
259 version if bit_Fast_Unaligned_Load is set.
260 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
261 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
262 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
263 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
264 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
265 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
267 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
268 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
269 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
271 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
272 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
273 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
274 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
276 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
278 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
279 instead of #if to avoid a Wundef warning.
280 * stdlib/tst-limits.c (do_test): Likewise.
282 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
283 parallel other exception macros.
284 (fegetenv): Convert from macro to extern inline so that it applies
285 retroactively to inline functions already seen by the compiler.
286 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
288 * posix/Makefile (before-compile): Use $(objpfx) for
289 posix-conf-vars-def.h.
291 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
293 * posix/getconf.c (main): Use size_t for type of I.
294 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
297 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
298 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
299 * posix/posix-envs.def: Likewise.
300 * sysdeps/posix/sysconf.c: Likewise.
301 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
302 (specs): Remove array.
303 * scripts/gen-posix-conf-vars.awk: Support generation of specs
306 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
307 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
308 (__sysconf): Use CONF_IS_* macros.
310 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
311 ($(objpfx)posix-conf-vars-def.h): New target.
312 * posix/posix-conf-vars.list: New file.
313 * posix/posix-conf-vars.h: New file.
314 * posix/confstr.c: Include posix-conf-vars.h.
315 (confstr): Use CONF_IS_* macros.
316 * posix/posix-envs.def: Include posix-conf-vars.h. Use
318 * scripts/gen-posix-conf-vars.awk: New file.
320 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
322 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
323 fegetround): Add no-op macros to avoid linknamespace issues.
325 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
326 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
328 * sysdeps/unix/sysv/linux/tile/sysdep.h
329 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
330 assembly-specific section to avoid a redefinition warning.
332 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
333 long before casting to pointer to avoid a cast warning.
335 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
337 * sysdeps/tile/tilegx/Implies: New file.
339 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
341 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
343 2014-12-23 Florian Weimer <fweimer@redhat.com>
345 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
347 2014-12-22 Joseph Myers <joseph@codesourcery.com>
349 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
351 * sysdeps/unix/sysv/linux/utimes.c: Do not include
353 (__utimes) [__NR_utimes]: Make code unconditional.
354 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
355 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
356 (__ASSUME_UTIMES): Do not undefine.
357 * sysdeps/unix/sysv/linux/tile/kernel-features.h
358 (__ASSUME_UTIMES): Likewise.
359 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
360 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
361 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
362 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
364 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
366 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
368 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
371 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
372 alias to weak alias for j0l, y0l.
373 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
374 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
377 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
380 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
382 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
383 to zero if not already defined.
385 2014-12-22 Joseph Myers <joseph@codesourcery.com>
388 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
389 (__kernel_standard_f): Remove. Moved to k_standardf.c.
390 (__kernel_standard_l): Remove. Moved to k_standardl.c with
391 (char *) casts added.
392 * sysdeps/ieee754/k_standardf.c: New file.
393 * sysdeps/ieee754/k_standardl.c: Likewise.
394 * math/Makefile (libm-support): Remove k_standard.
395 (libm-calls): Add k_standard.
397 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
399 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
400 Optimize to avoid an unnecessary FPCR read.
402 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
404 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
405 Optimize to reduce FPCR/FPSR accesses.
407 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
409 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
410 Call libc_fetestexcept_aarch64.
412 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
414 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
415 Call libc_fesetround_aarch64.
417 2014-12-22 Joseph Myers <joseph@codesourcery.com>
420 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
421 (__bind): Do not define as weak alias.
422 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
424 (__getsockname): Do not define as weak alias.
426 2014-12-22 Will Newton <will.newton@linaro.org>
428 * manual/install.texi: Document that we require bison 2.7
430 * INSTALL: Regenerate.
431 * configure.ac: Use AC_CHECK_PROG_VER instead of
432 AC_PATH_PROG when checking for bison and check for
433 version 2.7 or above.
434 * configure: Regenerate.
436 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
439 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
440 * sysdeps/tile/ffsll.c (ffsll): To here.
442 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
444 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
446 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
448 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
450 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
451 hidden ___tls_get_addr.
452 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
453 hidden __tls_get_addr.
454 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
455 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
458 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
460 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
463 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
465 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
466 from "call _dl_init@PLT".
467 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
469 2014-12-21 Anders Kaseorg <andersk@mit.edu>
471 * manual/search.texi: (Array Sort Function): Clarify stable sorting
474 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
476 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
478 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
481 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
484 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
486 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
488 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
489 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
490 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
491 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
492 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
494 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
496 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
497 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
498 (PTR_SUBU): Use subu for mips32r6/mips64r6.
499 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
500 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
502 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
504 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
506 * string/strncat.c (STRNCAT): Simplify implementation.
508 2014-12-19 David S. Miller <davem@davemloft.net>
510 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
511 access the quad as both a long double and as a series of 4 words.
513 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
514 link_map->l_info array access.
516 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
518 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
520 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
521 * math/atest-exp2.c (TIMEOUT): Likewise.
522 * math/atest-sincos.c (TIMEOUT): Likewise.
524 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
526 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
527 -Wno-error with -fno-builtin-lround.
529 2014-12-19 Torvald Riegel <triegel@redhat.com>
531 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
532 Contains futex constants and functions moved over from ...
533 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
534 <lowlevellock-futex.h>.
535 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
536 (lll_timedwait_tid): Add comments and parentheses around macro
539 2014-12-19 Torvald Riegel <triegel@redhat.com>
541 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
542 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
543 (__lll_private_flag): Remove.
544 (lll_futex_wait): Likewise.
545 (lll_futex_timed_wait): Likewise.
546 (lll_futex_wake): Likewise.
547 (lll_futex_requeue): Likewise.
548 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
549 (__lll_timedwait_tid): Spell out argument names.
550 (lll_timedwait_tid): Add comments and parentheses around macro
552 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
553 LLL_SHARED and LLL_PRIVATE usable from assembly code.
555 2014-12-19 Torvald Riegel <triegel@redhat.com>
557 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
558 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
559 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
560 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
561 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
562 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
563 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
564 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
565 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
566 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
567 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
568 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
569 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
570 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
571 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
572 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
573 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
574 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
575 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
577 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
579 * sysdeps/x86_64/x32/Makefile: New file.
581 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
583 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
584 1L with (mp_limb_t) 1.
586 2014-12-17 Roland McGrath <roland@hack.frob.com>
588 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
589 * nptl/libc_pthread_init.c: ... here.
590 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
591 * nptl/register-atfork.c: ... here.
593 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
594 Use pthread_sigmask rather than INTERNAL_SYSCALL.
595 Use assert_perror to check its return value.
596 (__gai_create_helper_thread): Likewise.
598 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
600 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
602 2014-12-17 Joseph Myers <joseph@codesourcery.com>
605 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
607 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
609 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
611 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
613 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
614 (profil_counter): Likewise.
615 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
616 (profil_counter): Likewise.
617 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
619 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
621 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
622 (profil_counter): Likewise.
623 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
625 [!__profil_counter] (profil_counter): Define as weak alias of
627 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
628 (profil_counter): Rename to __profil_counter.
629 [!__profil_counter] (profil_counter): Define as weak alias of
631 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
632 (profil_counter): Rename to __profil_counter.
633 [!__profil_counter] (profil_counter): Define as weak alias of
635 * sysdeps/posix/profil.c: Update comment referring to
637 (__profil): Use __profil_counter instead of profil_counter.
638 * sysdeps/posix/sprofil.c (profil_counter): Rename to
639 __profil_counter. Use __profil_counter_ushort and
640 __profil_counter_uint in definitions.
641 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
642 instead of profil_counter_uint and profil_counter_ushort.
645 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
646 define as weak alias of __inet_makeaddr.
647 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
648 as weak alias of __inet_addr.
649 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
650 as weak alias of __inet_pton. Use libc_hidden_weak.
651 * include/arpa/inet.h (__inet_pton): Declare. Use
653 (inet_makeaddr): Don't use libc_hidden_proto.
654 (__inet_makeaddr): Declare. Use libc_hidden_proto.
655 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
656 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
657 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
659 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
660 (test-xfail-POSIX/time.h/linknamespace): Likewise.
662 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
664 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
666 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
668 * stdio-common/bug-vfprintf-nargs.c (do_test):
669 Cast value to intptr_t to avoid format warning
670 for usage with PRIdPTR printing macro.
672 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
674 * libio/tst-widetext.c (do_test):
675 Use format type %td instead of %Zd for ptrdiff_t
676 in order to avoid format warning.
678 2014-12-17 Andreas Schwab <schwab@suse.de>
680 * nscd/mem.c (gc): Add size_t cast to match printf format.
682 2014-12-16 Roland McGrath <roland@hack.frob.com>
684 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
685 (init): Apply PTR_MANGLE to pointers before storing them.
686 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
689 2014-12-16 Joseph Myers <joseph@codesourcery.com>
692 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
693 define as weak alias of __memrchr.
694 (__memrchr): Do not define as strong alias of memrchr.
695 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
697 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
698 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
699 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
702 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
703 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
704 (if_indextoname): Rename to __if_indextoname and define as weak
705 alias of __if_indextoname. Use libc_hidden_weak.
706 (if_freenameindex): Rename to __if_freenameindex and define as
707 weak alias of __if_freenameindex.
708 (if_nameindex): Rename to __if_nameindex and define as weak alias
710 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
711 __if_nametoindex and define as weak alias of __if_nametoindex.
712 Use libc_hidden_weak.
713 (if_freenameindex): Rename to __if_freenameindex and define as
714 weak alias of __if_freenameindex.
715 (if_nameindex): Rename to __if_nameindex and define as weak alias
717 (if_indextoname): Rename to __if_indextoname and define as weak
718 alias of __if_indextoname. Use libc_hidden_weak.
719 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
720 __if_nametoindex and define as weak alias of __if_nametoindex.
721 Use libc_hidden_weak.
722 (if_freenameindex): Rename to __if_freenameindex and define as
723 weak alias of __if_freenameindex. Use libc_hidden_weak.
724 (if_nameindex_netlink): Use __if_freenameindex instead of
726 (if_nameindex): Rename to __if_nameindex and define as weak alias
727 of __if_nameindex. Use libc_hidden_weak.
728 (if_indextoname): Rename to __if_indextoname and define as weak
729 alias of __if_indextoname. Use libc_hidden_weak.
730 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
732 [!_ISOMAC] (__if_freenameindex): Likewise.
733 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
735 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
737 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
738 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
739 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
740 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
741 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
742 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
743 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
745 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
747 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
748 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
750 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
752 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
753 subscript above bounds'
755 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
758 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
760 * libio/tst-fopenloc.c: Use test-skeleton.c.
762 * stdlib/tst-bsearch.c: Use test-skeleton.c.
763 (entry): Rename to ITEM.
764 (do_test, comp): Adjust.
766 * stdio-common/tst-fseek.c: Use test-skeleton.c.
768 2014-12-16 Torvald Riegel <triegel@redhat.com>
770 * string/tester.c: Include <libc-internal.h>.
771 (test_memset): Ignore -Wmemset-transposed-args.
773 2014-12-16 Torvald Riegel <triegel@redhat.com>
775 * misc/tst-mntent2.c (do_test): Fix warning.
777 2014-12-16 Torvald Riegel <triegel@redhat.com>
779 * elf/tst-unique4lib.cc(a): Mark as used.
781 2014-12-16 Florian Weimer <fweimer@redhat.com>
784 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
787 2014-12-16 Allan McRae <allan@archlinux.org>
789 * stdio-common/Makefile (tests): Re-add bug26.
791 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
794 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
797 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
799 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
800 (__lll_lock_wait): Likewise.
801 (__lll_timedlock_wait): Likewise.
802 (__lll_timedwait_tid): Likewise.
803 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
804 (__lll_robust_timedlock_wait): Likewise.
805 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
806 (lll_cond_trylock): Likewise.
807 (__lll_lock): Likewise.
808 (__lll_robust_lock): Likewise.
809 (__lll_cond_lock): Likewise.
810 (lll_robust_cond_lock): Likewise.
811 (__lll_timedlock): Likewise.
812 (__lll_robust_timedlock): Likewise.
813 (__lll_unlock): Likewise.
814 (__lll_robust_unlock): Likewise.
815 (lll_wait_tid): Likewise.
816 (lll_timedwait_tid): Likewise.
818 2014-12-15 Torvald Riegel <triegel@redhat.com>
820 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
822 2014-12-15 Torvald Riegel <triegel@redhat.com>
824 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
826 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
828 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
829 * stdio-common/tst-sprintf.c: Likewise.
831 2014-12-15 Torvald Riegel <triegel@redhat.com>
833 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
835 2014-12-15 Jeff Law <law@redhat.com>
838 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
839 on the heap. (CVE-2012-3406)
840 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
841 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
842 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
844 2014-12-15 Will Newton <will.newton@linaro.org>
846 * manual/install.texi: Bump required version of texinfo
848 * INSTALL: Regenerated.
849 * configure.ac: Check for makeinfo version 4.7 and above.
850 * configure: Regenerated.
852 2014-12-12 Roland McGrath <roland@hack.frob.com>
854 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
855 PREFIX, string constant to insert between directory and name.
856 * sysdeps/posix/shm_open.c: Update caller.
857 * sysdeps/posix/shm_unlink.c: Likewise.
858 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
859 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
860 (SEM_SHM_PREFIX): New macro.
861 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
862 [$(have-thread-library) = no].
863 * nptl/Makefile (libpthread-routines): Add shm-directory.
864 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
865 * sysdeps/nptl/shm-directory.h: New file.
866 * sysdeps/posix/shm-directory.c
867 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
868 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
869 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
871 (__where_is_shmfs): Function removed.
872 (mountpoint, defaultmount, defaultdir, __namedsem_once):
874 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
876 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
878 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
879 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
880 unconditional for use inside libpthread.
881 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
883 2014-12-12 Roland McGrath <roland@hack.frob.com>
885 * nptl/pthread_getaffinity.c: New file.
886 * nptl/pthread_setaffinity.c: New file.
887 * nptl/pthread_getname.c: New file.
888 * nptl/pthread_setname.c: New file.
890 * nptl/pthread_create.c (START_THREAD_DEFN)
891 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
893 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
894 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
896 * resolv/res_send.c (send_vc): Disable warning resplen may
897 be used uninitialized.
899 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
902 (ATTR_NULL): New define checks ATTR against NULL.
903 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
904 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
906 2014-12-11 James Lemke <jwlemke@codesourcery.com>
910 (mem2mem_check): Revert my previous change.
911 (malloc_check_get_size): Revert my previous change.
912 (mem2chunk_check): Revert my previous change.
914 2014-12-11 Roland McGrath <roland@hack.frob.com>
916 * sysdeps/posix/shm-directory.c: New file.
917 * sysdeps/posix/shm-directory.h: New file.
918 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
919 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
920 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
921 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
922 Transmute EPERM to EACCES.
923 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
925 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
926 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
928 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
930 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
931 pointer and cast to uintptr_t.
932 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
933 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
934 Add cast to avoid warning.
935 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
937 2014-12-11 Joseph Myers <joseph@codesourcery.com>
939 * nptl/semaphore.h: Move to ...
940 * sysdeps/pthread/semaphore.h: ... here.
941 * Makefile (installed-headers): Change nptl/semaphore.h to
942 sysdeps/pthread/semaphore.h.
944 2014-12-11 Roland McGrath <roland@hack.frob.com>
946 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
947 generated error format strings.
949 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
950 -Wformat-extra-args warnings for scanf formats.
951 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
952 test of zero-length format (duh).
953 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
954 corner-case scanf format test.
955 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
956 generated fprintf format string.
957 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
958 corner-case sprintf format tests.
959 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
960 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
961 -Wformat-extra-args warnings throughout.
962 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
963 (CFLAGS-scanf4.c): Likewise.
964 (CFLAGS-scanf7.c): Likewise.
965 (CFLAGS-tst-sprintf.c): Likewise.
966 (CFLAGS-tst-printf.c): Likewise.
967 (CFLAGS-tst-printfsz.c): Likewise.
969 2014-12-11 Joseph Myers <joseph@codesourcery.com>
971 * include/cpio.h: New file.
972 * include/fmtmsg.h: Likewise.
974 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
975 corresponding format argument to size_t.
976 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
978 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
979 corresponding format argument to size_t.
980 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
982 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
983 corresponding format argument to size_t.
984 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
985 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
986 (CFLAGS-tst-mbswcs2.c): Likewise.
987 (CFLAGS-tst-mbswcs3.c): Likewise.
988 (CFLAGS-tst-mbswcs4.c): Likewise.
989 (CFLAGS-tst-mbswcs5.c): Likewise.
990 (CFLAGS-tst-trans.c): Likewise
992 2014-12-11 Roland McGrath <roland@hack.frob.com>
994 * posix/regexbug1.c (main): Use "%s" format with regerror results,
995 rather than assuming they won't contain any '%'s.
997 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
999 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1000 inhibit_loop_to_libcall to avoid recursive calls.
1001 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1002 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1004 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1006 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1009 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1011 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1012 integer value instead of boolean.
1014 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1016 * malloc/malloc.c: Fix powerof2 check.
1018 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1020 * locale/programs/locfile.h (maybe_swap_uint32):
1021 Remove inline and add unused attribute.
1023 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1025 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1026 Truncating assembler expression to a .long expression.
1028 2014-12-11 Andreas Schwab <schwab@suse.de>
1030 * elf/rtld.c (struct map_args): Constify str member.
1031 (do_preload): Constify fname argument.
1033 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1035 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1036 constants definition.
1038 2014-12-11 Andreas Schwab <schwab@suse.de>
1041 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1042 FORCE_ELISION instead of DO_ELISION.
1043 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1045 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1048 * iconvdata/gconv-modules: Remove duplicate entry.
1050 2014-12-11 Will Newton <will.newton@linaro.org>
1052 Merge gettext 0.19.3 into intl/.
1054 This involves a number of cosmetic changes to comments
1055 and ANSI function definitions and prototypes throughout
1056 all the files. The gettext copyright header is used but
1057 with the date ranges taken from the glibc copy.
1059 * NEWS: Add gettext merge to 2.21.
1060 * intl/bindtextdom.c: Switch to gettext copyright.
1061 Use ANSI definitions and prototypes.
1062 Use gl_* locking primitives rather than __libc_* ones.
1063 Use __builtin_expect rather than __glibc_likely/unlikely.
1064 * intl/dcgettext.c: Switch to gettext copyright.
1065 Use ANSI definitions and prototypes.
1066 * intl/dcigettext.c: Switch to gettext copyright.
1067 Use ANSI definitions and prototypes.
1068 (INTDIV0_RAISES_SIGFPE): New define.
1069 Use gl_* locking primitives rather than __libc_* ones.
1070 Include eval-plural.h instead of plural-eval.c.
1071 Use __builtin_expect rather than __glibc_likely/unlikely.
1072 * intl/dcngettext.c: Switch to gettext copyright.
1073 Use ANSI definitions and prototypes.
1074 * intl/dgettext.c: Likewise.
1075 * intl/dngettext.c: Likewise.
1076 * intl/plural-eval.c: Renamed to...
1077 * intl/eval-plural.h: ...this.
1078 * intl/explodename.c: Switch to gettext copyright.
1079 Use ANSI definitions and prototypes.
1080 (_nl_explode_name): Use strchr instead of __rawmemchr.
1081 * intl/finddomain.c: Switch to gettext copyright.
1082 Use ANSI definitions and prototypes.
1083 Use gl_* locking primitives rather than __libc_* ones.
1084 (_nl_find_domain): Use malloc rather than alloca for
1085 allocation of temporary locale name.
1086 * intl/gettext.c: Switch to gettext copyright.
1087 Use ANSI definitions and prototypes.
1088 * intl/gettextP.h: Switch to gettext copyright.
1089 Use ANSI definitions and prototypes.
1090 Use gl_* locking primitives rather than __libc_* ones.
1091 * intl/gmo.h: Switch to gettext copyright.
1092 (struct sysdep_string): Move struct segment_pair outside of
1094 * intl/hash-string.c: Use ANSI definitions and prototypes.
1095 * intl/hash-string.h: Switch to gettext copyright.
1096 Use ANSI definitions and prototypes.
1097 * intl/l10nflist.c: Switch to gettext copyright.
1098 Use ANSI definitions and prototypes.
1099 (_nl_normalize_codeset): Avoid integer overflow.
1100 * intl/loadinfo.h: Switch to gettext copyright.
1101 Use ANSI definitions and prototypes.
1102 (LIBINTL_DLL_EXPORTED): New define.
1103 (PATH_SEPARATOR): New define.
1104 * intl/loadmsgcat.c: Switch to gettext copyright.
1105 * intl/localealias.c: Switch to gettext copyright.
1106 Use ANSI definitions and prototypes.
1107 (_nl_expand_alias): Use PATH_SEPARATOR.
1108 * intl/ngettext.c: Switch to gettext copyright.
1109 Use ANSI definitions and prototypes.
1110 * intl/plural-exp.c: Likewise.
1111 * intl/plural-exp.h: Switch to gettext copyright.
1112 Use ANSI definitions and prototypes.
1113 (struct expression): Move definition of enum operator outside
1114 of struct definition.
1115 * intl/plural.c: Regenerate.
1116 * intl/plural.y: Switch to gettext copyright.
1117 Use ANSI definitions and prototypes.
1119 * intl/textdomain.c: Switch to gettext copyright.
1120 Use ANSI definitions and prototypes.
1121 Use gl_* locking primitives rather than __libc_* ones.
1123 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1125 * debug/warning-nop.c: Add used atrribute.
1127 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1129 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1131 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1132 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1133 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1135 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1136 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1139 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1140 Undefine after defining function. Define as weak alias of
1141 __wcschr. Use libc_hidden_weak.
1142 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1143 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1144 (libc_hidden_def): Also define __GI___wcschr alias.
1145 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1146 __wcschr and define as weak alias of __wcschr.
1147 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1149 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1150 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1151 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1152 libc_hidden_weak. Do not use libc_hidden_def.
1153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1154 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1155 __GI___wcschr alias.
1156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1157 [IS_IN (libc)] (wcschr): Define as macro expanding to
1159 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1160 [IS_IN (libc)] (__wcschr_power6): Likewise.
1161 [IS_IN (libc)] (__wcschr_power7): Likewise.
1162 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1164 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1166 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1167 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1168 __wcschr and define as weak alias of __wcschr. Use
1169 libc_hidden_builtin_def.
1170 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1171 as weak alias of __wcschr. Use libc_hidden_weak.
1172 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1174 * time/era.c (_nl_init_era_entries): Likewise.
1175 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1177 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1178 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1180 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1182 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1183 format for long int variable.
1185 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1188 * manual/search.texi: (Array Sort Function): Remove claim how to make
1191 2014-12-10 Andreas Schwab <schwab@suse.de>
1194 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1195 user-controlled locks.
1197 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1199 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1202 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1204 * configure.ac (--disable-werror): New configure option.
1205 (enable_werror): New AC_SUBST.
1206 * configure: Regenerated.
1207 * config.make.in (enable-werror): New variable.
1208 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1210 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1211 * manual/install.texi (Configuring and compiling): Document
1213 * INSTALL: Regenerated.
1214 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1215 (CFLAGS-tst-chk2.c): Likewise.
1216 (CFLAGS-tst-chk3.c): Likewise.
1217 (CFLAGS-tst-chk4.cc): Likewise.
1218 (CFLAGS-tst-chk5.cc): Likewise.
1219 (CFLAGS-tst-chk6.cc): Likewise.
1220 (CFLAGS-tst-lfschk1.c): Likewise.
1221 (CFLAGS-tst-lfschk2.c): Likewise.
1222 (CFLAGS-tst-lfschk3.c): Likewise.
1223 (CFLAGS-tst-lfschk4.cc): Likewise.
1224 (CFLAGS-tst-lfschk5.cc): Likewise.
1225 (CFLAGS-tst-lfschk6.cc): Likewise.
1227 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1228 (main): Disable -Wdeprecated-declarations around calls to
1229 register_printf_function.
1231 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1232 (do_test): Disable -Wdiv-by-zero around some calls to
1233 fwrite_unlocked and fread_unlocked.
1235 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1236 (DIAG_POP_NEEDS_COMMENT): Likewise.
1237 (_DIAG_STR1): Likewise.
1238 (_DIAG_STR): Likewise.
1239 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1240 * stdio-common/bug21.c: Include <libc-internal.h>.
1241 (do_test): Disable -Wformat around call to sscanf.
1242 * stdio-common/scanf14.c: Include <libc-internal.h>.
1243 (main): Disable -Wformat around some calls to scanf functions.
1245 2014-12-09 Torvald Riegel <triegel@redhat.com>
1247 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1249 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1251 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1252 stack variable alignment.
1254 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1257 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1258 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1259 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1260 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1261 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1262 __getrlimit instead of getrlimit.
1263 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1264 __gettimeofday instead of gettimeofday.
1265 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1267 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1269 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1270 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1272 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1273 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1275 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1277 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1278 for wide-character tests.
1280 2014-12-04 Roland McGrath <roland@hack.frob.com>
1282 * io/openat64.c: #include <libc-internal.h>
1283 (__openat64): Prototypify. Use ignore_value on MODE.
1284 * io/openat.c: Likewise.
1285 * misc/reboot.c: #include <libc-internal.h>
1286 (reboot): Prototypify. Use ignore_value on HOWTO.
1287 * misc/ptrace.c: #include <libc-internal.h>
1288 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1290 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1292 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1293 XPG4, UNIX98 and XOPEN2K.
1294 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1296 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1298 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1300 * libio/fileops.c: Use ISO C style for function definitions.
1301 * libio/iofopen.c: Likewise.
1302 * libio/wfileops.c: Likewise.
1305 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1307 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1308 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1309 (fgets_func): Function pointer to fgets and fgetws.
1310 (do_ftell_test): Add test to verify ftell value after read
1312 (do_test): Set fgets_func.
1314 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1315 O_TRUNC flag for w and w+ modes.
1316 (do_rewind_test): Likewise.
1317 (do_ftell_test): Likewise.
1318 (do_write_test): Likewise.
1321 * libio/fileops.c (do_ftell): Seek only when there are
1323 * libio/wfileops.c (do_ftell_wide): Likewise.
1324 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1326 (do_one_test): Call it.
1328 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1330 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1331 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1332 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1334 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1335 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1336 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1338 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1340 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1342 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1345 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1346 as weak alias of __getifaddrs. Use libc_hidden_weak.
1347 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1348 __freeifaddrs. Use libc_hidden_weak.
1349 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1350 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1351 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1352 __freeifaddrs. Use libc_hidden_weak.
1353 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1354 __getifaddrs and define as weak alias of __getifaddrs. Use
1356 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1357 __freeifaddrs. Use libc_hidden_weak.
1358 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1360 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1361 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1363 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1366 * sysdeps/mips/start.S (__start): Use indirect jump to call
1369 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1371 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1373 * nptl/tst-mutex1.c: Include <stdbool.h>.
1374 [!ATTR] (ATTR_NULL): New macro.
1375 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1376 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1377 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1379 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1383 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1384 Change conditional to [__USE_MISC].
1387 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1389 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1391 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1393 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1395 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1396 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1397 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1398 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1399 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1400 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1401 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1402 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1403 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1405 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1407 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1410 Remove strpbrk objects.
1411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1412 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1413 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1414 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1415 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1416 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1418 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1419 Remove strcspn objects.
1420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1421 (__libc_ifunc_impl_list): Remove strcspn implementation.
1422 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1423 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1424 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1425 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1427 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1428 Remove strspn objetcs.
1429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1430 (__libc_ifunc_impl_list): Remove strspn implementation.
1431 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1432 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1433 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1434 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1436 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1440 (mem2mem_check): Add a terminator to the chain of checking blocks.
1441 (malloc_check_get_size): Use it here.
1442 (mem2chunk_check): Ditto.
1444 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1446 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1447 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1449 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1451 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1453 * nptl/nptl-init.c: Include libc-internal.h.
1454 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1456 * elf/ldconfig.c (search_dir): Expand comment.
1458 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1460 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1462 (linknamespace-symlist-stdlibs-tests): Likewise.
1463 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1464 instead of $(objpfx)symlist-stdlibs.
1465 (linknamespace-libs-isoc): New variable.
1466 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1467 (linknamespace-libs-ISO): New variable.
1468 (linknamespace-libs-ISO99): Likewise.
1469 (linknamespace-libs-ISO11): Likewise.
1470 (linknamespace-libs-XPG3): Likewise.
1471 (linknamespace-libs-XPG4): Likewise.
1472 (linknamespace-libs-POSIX): Likewise.
1473 (linknamespace-libs-UNIX98): Likewise.
1474 (linknamespace-libs-XOPEN2K): Likewise.
1475 (linknamespace-libs-POSIX2008): Likewise.
1476 (linknamespace-libs-XOPEN2K8): Likewise.
1477 ($(objpfx)symlist-stdlibs): Replace by
1478 $(linknamespace-symlist-stdlibs-tests). Use
1479 $(linknamespace-libs-$*) as set of libraries.
1480 ($(linknamespace-header-tests)): Update dependencies. Use
1481 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1482 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1483 * conform/linknamespace.pl: Remove comment about considering
1484 definitions of symbols from irrelevant libraries.
1486 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1489 * elf/dl-tls.c: Include <atomic.h>.
1490 (oom): Remove #ifdef SHARED/#endif.
1491 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1492 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1493 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1495 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1496 * nptl/Makefile (tests): Add tst-stack4.
1497 (modules-names): Add tst-stack4mod.
1498 ($(objpfx)tst-stack4): New.
1499 (tst-stack4mod.sos): Likewise.
1500 ($(objpfx)tst-stack4.out): Likewise.
1501 ($(tst-stack4mod.sos)): Likewise.
1503 * nptl/tst-stack4.c: New file.
1504 * nptl/tst-stack4mod.c: Likewise.
1506 2014-11-27 J. Brown <jb999@gmx.de>
1508 * sysdeps/x86/bits/string.h: Add recent CPUs.
1510 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1512 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1515 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1518 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1521 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1523 * nscd/connections.c: Include libc-internal.h because of macro
1526 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1528 * string/bits/string3.h (__warn_memset_zero_len): Don't
1529 declare for gcc newer than 5.0.
1530 (memset): Don't test for zero-length __LEN for gcc newer than
1533 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1535 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1536 size_t for %zu format.
1538 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1539 difference, not %ju.
1541 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1543 * include/libc-internal.h (ignore_value): New macro.
1544 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1547 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1550 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1551 pthread_cleanup_push to void *.
1553 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1558 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1559 instead of 1L << 52.
1561 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1562 * libio/bug-rewind2.c (do_test): Likewise.
1564 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1565 * debug/test-strcpy_chk-ifunc.c: Likewise.
1566 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1567 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1568 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1569 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1570 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1571 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1572 * Rules [$(multi-arch) = no] (tests): Do not filter out
1574 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1575 * debug/Makefile (tests-ifunc): Remove variable.
1576 (tests): Do not add $(tests-ifunc).
1577 * wcsmbs/Makefile (tests-ifunc): Remove variable.
1578 (tests): Do not add $(tests-ifunc).
1579 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1580 [TEST_IFUNC]: Remove conditionals.
1581 * string/test-string.h (TEST_IFUNC): Remove macro.
1582 [TEST_IFUNC]: Remove conditionals.
1584 * string/test-strchr.c [!WIDE] (L): New macro.
1585 [WIDE] (L): Likewise.
1586 (check1): Use CHAR instead of char. Use L on string and character
1589 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1591 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1593 * sysdeps/powerpc/bits/atomic.h
1594 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1595 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1596 (atomic_exchange_and_add_acq): Likewise.
1597 (atomic_exchange_and_add_rel): Likewise.
1598 * sysdeps/powerpc/powerpc32/bits/atomic.h
1599 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1600 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1601 * sysdeps/powerpc/powerpc64/bits/atomic.h
1602 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1603 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1605 2014-11-26 Torvald Riegel <triegel@redhat.com>
1607 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1608 Change synchronization of __sched_fifo_min_prio and
1609 __sched_fifo_max_prio.
1610 * nptl/pthread_mutexattr_getprioceiling.c
1611 (pthread_mutexattr_getprioceiling): Likewise.
1612 * nptl/pthread_mutexattr_setprioceiling.c
1613 (pthread_mutexattr_setprioceiling): Likewise.
1614 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1615 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1618 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1620 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1623 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1625 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1626 third argument const.
1628 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1630 fnmatch: work around GCC compiler warning bug with uninit var
1631 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1632 This works around a bug with x86-64 GCC 4.9.2 and earlier
1633 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1634 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1635 used uninitialized in this function [-Wmaybe-uninitialized]".
1637 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1639 * posix/bug-regex31.c (main): Return RES not 0.
1641 2014-11-25 Anton Blanchard <anton@samba.org>
1643 * sysdeps/powerpc/bits/atomic.h
1644 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1646 2014-11-24 Sterling Augustine <saugustine@google.com>
1648 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1650 2014-11-24 Ryan Cumming <etaoins@gmail.com>
1653 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1655 2014-11-24 Joseph Myers <joseph@codesourcery.com>
1658 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1659 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1661 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1662 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1664 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1666 * string/strncpy.c (strncpy): Improve performance by using memset.
1668 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1670 * string/strcpy.c (strcpy):
1671 Improve performance by using strlen and memcpy.
1673 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
1675 * string/strcoll_l.c (get_next_seq): __always_inline.
1676 * string/strcoll_l.c (do_compare): __always_inline.
1678 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1680 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1682 * include/mqueue.h: Likewise.
1683 * include/stdlib.h: Likewise.
1685 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1686 (get_null_defines): Adjust.
1687 * sunrpc/Makefile: Adjust comment.
1688 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1689 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1690 (CFLAGS-interp.c): Likewise.
1691 (CFLAGS-ldconfig.c): Likewise.
1692 (CPPFLAGS-.os): Likewise.
1693 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1694 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1695 * extra-modules.mk (extra-modules.mk): Likewise.
1696 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1697 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1698 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1699 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1700 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1701 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1702 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1703 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1704 * iconvdata/Makefile (CPPFLAGS): Likewise.
1705 (cpp-srcs-left): Add libof for all iconvdata routines.
1706 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1707 * include/assert.h: Likewise.
1708 * include/ctype.h: Likewise.
1709 * include/errno.h: Likewise.
1710 * include/libc-symbols.h: Likewise.
1711 * include/math.h: Likewise.
1712 * include/netdb.h: Likewise.
1713 * include/resolv.h: Likewise.
1714 * include/stdio.h: Likewise.
1715 * include/stdlib.h: Likewise.
1716 * include/string.h: Likewise.
1717 * include/sys/stat.h: Likewise.
1718 * include/wctype.h: Likewise.
1719 * intl/l10nflist.c: Likewise.
1720 * libidn/idn-stub.c: Likewise.
1721 * libio/libioP.h: Likewise.
1722 * nptl/libc_multiple_threads.c: Likewise.
1723 * nptl/pthreadP.h: Likewise.
1724 * posix/regex_internal.h: Likewise.
1725 * resolv/res_hconf.c: Likewise.
1726 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1727 * sysdeps/arm/memmove.S: Likewise.
1728 * sysdeps/arm/sysdep.h: Likewise.
1729 * sysdeps/generic/_itoa.h: Likewise.
1730 * sysdeps/generic/symbol-hacks.h: Likewise.
1731 * sysdeps/gnu/errlist.awk: Likewise.
1732 * sysdeps/gnu/errlist.c: Likewise.
1733 * sysdeps/i386/i586/memcpy.S: Likewise.
1734 * sysdeps/i386/i586/memset.S: Likewise.
1735 * sysdeps/i386/i686/memcpy.S: Likewise.
1736 * sysdeps/i386/i686/memmove.S: Likewise.
1737 * sysdeps/i386/i686/mempcpy.S: Likewise.
1738 * sysdeps/i386/i686/memset.S: Likewise.
1739 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1740 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1741 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1742 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1743 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1744 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1745 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1746 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1747 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1748 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1749 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1750 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1751 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1752 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1753 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1754 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1755 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1756 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1757 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1758 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1759 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1760 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1761 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1762 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1763 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1764 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1765 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1766 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1767 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1768 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1769 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1770 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1772 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1773 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1774 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1775 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1776 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1777 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1778 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1779 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1780 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1781 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1782 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1783 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1784 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1785 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1786 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1787 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1788 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1789 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1790 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1791 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1792 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1793 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1794 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1795 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1796 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1797 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1798 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1799 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1800 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1801 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1802 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1803 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1804 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1805 * sysdeps/posix/closedir.c: Likewise.
1806 * sysdeps/posix/opendir.c: Likewise.
1807 * sysdeps/posix/readdir.c: Likewise.
1808 * sysdeps/posix/rewinddir.c: Likewise.
1809 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1810 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1811 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1812 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1813 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1814 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1815 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1816 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1817 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1819 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1820 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1821 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1822 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1823 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1825 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1826 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1828 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1830 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1833 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1834 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1835 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1837 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1840 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1844 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1845 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1846 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1847 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1848 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1849 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1850 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1851 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1852 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1853 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1854 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1855 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1856 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1857 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1858 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1859 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1860 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1861 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1862 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1863 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1864 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1865 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1866 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1867 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1868 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1869 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1870 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1871 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1872 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1873 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1874 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1875 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1876 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1877 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1878 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1879 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1880 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1881 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1882 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1883 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1884 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1885 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1886 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1887 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1888 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1889 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1890 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1891 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1892 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1893 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1894 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1895 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1896 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1897 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1898 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1899 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1900 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1901 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1902 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1903 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1904 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1905 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1907 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1908 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1909 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1910 * sysdeps/unix/alpha/sysdep.S: Likewise.
1911 * sysdeps/unix/alpha/sysdep.h: Likewise.
1912 * sysdeps/unix/make-syscalls.sh: Likewise.
1913 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1914 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1915 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1916 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1917 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1918 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1919 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1920 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1921 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1922 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1923 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1924 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1926 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1927 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1928 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1929 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1930 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1931 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1932 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1933 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1934 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1935 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1936 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1937 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1938 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1939 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1942 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1943 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1947 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1950 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1951 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1952 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1953 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1954 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1955 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1956 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1957 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1960 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1963 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1964 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1965 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1966 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1967 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1968 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1969 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1971 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1972 * sysdeps/x86_64/memcpy.S: Likewise.
1973 * sysdeps/x86_64/memmove.c: Likewise.
1974 * sysdeps/x86_64/memset.S: Likewise.
1975 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1976 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1977 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1978 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1979 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1980 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1981 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1982 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1983 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1984 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1985 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1986 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1987 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1988 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1989 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1990 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1991 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1992 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1993 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1994 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1995 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1996 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1997 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1998 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1999 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2000 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2001 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2002 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2003 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2004 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2005 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2006 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2007 * sysdeps/x86_64/strcmp.S: Likewise.
2009 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2011 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2012 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2013 * elf/rtld-Rules: Likewise.
2014 * elf/setup-vdso.h: Likewise.
2015 * include/assert.h: Likewise.
2016 * include/bits/stdlib-float.h: Likewise.
2017 * include/errno.h: Likewise.
2018 * include/sys/stat.h: Likewise.
2019 * include/unistd.h: Likewise.
2020 * sysdeps/aarch64/setjmp.S: Likewise.
2021 * sysdeps/alpha/setjmp.S: Likewise.
2022 * sysdeps/arm/__longjmp.S: Likewise.
2023 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2024 * sysdeps/arm/setjmp.S: Likewise.
2025 * sysdeps/arm/sysdep.h: Likewise.
2026 * sysdeps/generic/_itoa.h: Likewise.
2027 * sysdeps/generic/dl-sysdep.h: Likewise.
2028 * sysdeps/generic/ldsodefs.h: Likewise.
2029 * sysdeps/i386/dl-tls.h: Likewise.
2030 * sysdeps/i386/setjmp.S: Likewise.
2031 * sysdeps/m68k/setjmp.c: Likewise.
2032 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2033 * sysdeps/mach/hurd/opendir.c: Likewise.
2034 * sysdeps/posix/getcwd.c: Likewise.
2035 * sysdeps/posix/opendir.c: Likewise.
2036 * sysdeps/posix/profil.c: Likewise.
2037 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2038 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2039 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2040 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2041 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2043 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2044 * sysdeps/s390/dl-tls.h: Likewise.
2045 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2046 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2047 * sysdeps/sh/sh3/setjmp.S: Likewise.
2048 * sysdeps/sh/sh4/setjmp.S: Likewise.
2049 * sysdeps/unix/alpha/sysdep.h: Likewise.
2050 * sysdeps/unix/arm/sysdep.S: Likewise.
2051 * sysdeps/unix/i386/sysdep.S: Likewise.
2052 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2053 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2054 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2055 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2056 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2057 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2058 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2059 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2060 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2061 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2062 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2063 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2064 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2067 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2068 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2069 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2070 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2071 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2072 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2075 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2076 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2077 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2079 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2080 * sysdeps/x86_64/setjmp.S: Likewise.
2082 * include/math.h: Use IS_IN instead of IS_IN_libm.
2083 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2084 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2094 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2095 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2103 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2104 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2105 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2106 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2107 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2108 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2110 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2111 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2112 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2113 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2114 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2115 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2126 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2127 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2128 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2129 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2130 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2131 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2137 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2138 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2139 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2140 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2141 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2142 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2143 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2144 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2145 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2146 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2147 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2148 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2149 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2150 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2152 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2154 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2155 * nptl/pthreadP.h: Likewise.
2156 * nptl_db/structs.def: Likewise.
2157 * sysdeps/arm/sysdep.h: Likewise.
2158 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2159 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2160 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2161 * sysdeps/unix/alpha/sysdep.h: Likewise.
2162 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2164 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2165 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2166 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2167 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2168 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2169 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2170 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2171 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2172 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2173 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2174 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2175 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2178 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2179 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2180 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2183 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2184 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2185 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2186 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2187 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2189 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2190 * nptl/pthreadP.h: Likewise.
2191 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2192 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2193 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2194 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2195 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2196 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2197 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2198 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2199 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2200 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2201 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2202 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2207 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2208 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2209 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2212 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2213 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2214 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2216 * dlfcn/dladdr.c: Use IS_IN.
2217 * dlfcn/dladdr1.c: Likewise.
2218 * dlfcn/dlclose.c: Likewise.
2219 * dlfcn/dlerror.c: Likewise.
2220 * dlfcn/dlinfo.c: Likewise.
2221 * dlfcn/dlmopen.c: Likewise.
2222 * dlfcn/dlopen.c: Likewise.
2223 * dlfcn/dlsym.c: Likewise.
2224 * dlfcn/dlvsym.c: Likewise.
2226 * include/ifaddrs.h: Use IS_IN.
2227 * inet/check_pf.c: Likewise.
2228 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2229 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2231 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2233 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2234 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2236 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2237 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2240 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2242 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2243 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2244 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2245 * include/libc-symbols.h (IS_IN_LIB): New macro.
2246 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2247 * include/netdb.h: Likewise.
2248 * include/stap-probe.h: Remove all uses of IN_LIB.
2250 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2251 instead of IN_MODULE.
2252 * include/libc-symbols.h (IN_MODULE): Define using
2254 (PASTE_NAME, PASTE_NAME1): New macros.
2255 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2257 (STAP_PROBE_ASM): Likewise.
2259 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2261 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2262 __mach_init in dlopened libc.
2264 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2266 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2267 * sysdeps/arm/preconfigure: Regenerate.
2269 2014-11-21 Roland McGrath <roland@hack.frob.com>
2271 * nptl/pthread_create.c (__pthread_create_2_1): Set
2272 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2273 when copying values from IATTR into PD.
2275 2014-11-21 Will Newton <will.newton@linaro.org>
2276 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2278 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2279 Refactor inline-asm. Also add comment.
2281 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2282 ElfW macro instead of hardcoded Elf64 types.
2283 (la_aarch64_gnu_pltenter): Likewise.
2284 * sysdeps/aarch64/dl-machine.h
2285 (elf_machine_runtime_setup): Use ElfW(Addr).
2287 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2288 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2289 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2290 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2291 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2292 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2293 (R_AARCH64_TLS_DTPMOD): This.
2294 (R_AARCH64_TLS_DTPREL64): Rename to ...
2295 (R_AARCH64_TLS_DTPREL): This.
2296 (R_AARCH64_TLS_TPREL64): Rename to ...
2297 (R_AARCH64_TLS_TPREL): This.
2298 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2299 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2300 R_AARCH64_TLS_TPREL64.
2301 (elf_machine_rela): Likewise.
2303 2014-11-21 Torvald Riegel <triegel@redhat.com>
2305 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2306 by setting it to 0. 64b atomics are not supported currently.
2308 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2311 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2312 search domain names.
2314 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2318 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2320 * posix/tst-getaddrinfo5.c: New.
2321 * posix/Makefile (tests): Add it.
2323 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2327 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2328 after parsing line but before break_if_match.
2329 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2330 if there is a protocol mismatch.
2332 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2334 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2335 because the potential race is on the user-supplied stream.
2337 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2339 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2340 string literal if not passed a buffer.
2341 * manual/job.texi (ctermid): Update reasoning, note deviation
2342 from posix, suggest mtasurace when not passed a buffer, for
2343 future non-preliminary safety notes.
2345 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2347 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2348 of not passing it a buffer.
2349 Reported by Peng Haitao.
2351 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2353 * manual/Makefile ($(objpfx)stamp-summary): Require
2354 check-safety.sh to pass.
2355 * manual/check-safety.sh: Wish for verification that every
2356 @deftypefn and @deftypefun is followed by a @safety remark.
2358 2014-11-20 Roland McGrath <roland@hack.frob.com>
2360 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2362 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2363 PTHREAD_CANCEL_ASYNCHRONOUS.
2364 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2367 * nptl/default-sched.h: New file.
2368 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2369 * nptl/pthread_create.c: Include it.
2370 (__pthread_create_2_1): Use collect_default_sched instead of making
2371 Linux syscalls here directly.
2373 2014-11-20 Torvald Riegel <triegel@redhat.com>
2375 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2376 __pthread_once): Use C11 atomics.
2378 2014-11-20 Torvald Riegel <triegel@redhat.com>
2380 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2382 2014-11-20 Torvald Riegel <triegel@redhat.com>
2384 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2385 atomic_thread_fence_acquire, atomic_thread_fence_release,
2386 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2387 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2388 atomic_compare_exchange_weak_relaxed,
2389 atomic_compare_exchange_weak_acquire,
2390 atomic_compare_exchange_weak_release,
2391 atomic_exchange_acquire, atomic_exchange_release,
2392 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2393 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2394 atomic_fetch_and_acquire,
2395 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2397 2014-11-20 Torvald Riegel <triegel@redhat.com>
2399 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2400 USE_ATOMIC_COMPILER_BUILTINS): Define.
2401 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2402 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2403 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2404 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2405 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2406 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2407 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2408 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2409 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2410 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2411 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2412 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2413 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2414 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2415 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2416 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2417 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2418 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2419 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2420 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2421 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2422 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2423 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2424 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2425 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2426 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2427 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2428 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2429 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2430 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2431 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2432 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2433 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2434 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2435 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2436 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2437 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2438 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2439 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2440 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2442 2014-11-19 Roland McGrath <roland@hack.frob.com>
2444 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2445 the sched_priority value here. It was already checked when the user
2446 called pthread_attr_setschedparam.
2448 * nptl/tst-bad-schedattr.c: New file.
2449 * nptl/Makefile (tests): Add it.
2451 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2452 Florian Weimer <fweimer@redhat.com>
2453 Joseph Myers <joseph@codesourcery.com>
2454 Adam Conrad <adconrad@0c3.net>
2455 Andreas Schwab <schwab@suse.de>
2456 Brooks <bmoses@google.com>
2459 * wordexp-test.c (__dso_handle): Add prototype.
2460 (__register_atfork): Likewise.
2461 (__app_register_atfork): New function.
2462 (registered_forks): New global.
2463 (register_fork): New function.
2464 (test_case): Add 3 new tests for WRDE_CMDSUB.
2465 (main): Call __app_register_atfork.
2466 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2467 fork count is non-zero fail the test.
2468 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2470 (parse_dollars): Remove check for WRDE_NOCMD.
2471 (parse_dquote): Likewise.
2473 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2475 * Makeconfig (built-modules): List non-library modules to be
2477 (module-cppflags): Include libc-modules.h for
2478 everything except shlib-versions.v.i.
2480 (before-compile): Add libc-modules.h.
2481 ($(common-objpfx)libc-modules.h,
2482 $(common-objpfx)libc-modules.stmp): New targets.
2483 (common-generated): Add libc-modules.h and libc-modules.stmp.
2484 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2485 * include/libc-symbols.h: Don't include libc-modules.h.
2486 * include/libc-modules.h: Remove file.
2487 * scripts/gen-libc-modules.awk: New script to generate
2489 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2490 Depend on libc-modules.stmp.
2492 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2494 * Makeconfig (in-module): Get value of libof set for the
2496 (CPPFLAGS): Use $(in-module).
2497 * Makerules: Don't suffix routine names for nonlib.
2498 * include/libc-modules.h: New file.
2499 * include/libc-symbols.h: Include libc-modules.h
2500 (IS_IN): New macro to replace IS_IN_* macros.
2501 * elf/Makefile: Set libof-* for each routine.
2502 * elf/rtld-Rules: Likewise.
2503 * extra-modules.mk: Likewise.
2504 * iconv/Makefile: Likewise.
2505 * iconvdata/Makefile: Likewise.
2506 * locale/Makefile: Likewise.
2507 * malloc/Makefile: Likewise.
2508 * nss/Makefile: Likewise.
2509 * sysdeps/gnu/Makefile: Likewise.
2510 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2511 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2512 * sysdeps/s390/s390-64/Makefile: Likewise.
2513 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2514 CPPFLAGS for nscd instead of nonlib.
2516 2014-11-18 Roland McGrath <roland@hack.frob.com>
2518 * nptl/createthread.c: New file.
2520 * nptl/createthread.c: Moved ...
2521 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2523 * nptl/createthread.c: Add proper top-line comment.
2524 (do_clone): Folded into ...
2525 (create_thread): ... here. Take new arguments STOPPED_START and
2526 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2527 increment __nptl_threads, do event-reporting logic, do
2528 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2529 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2530 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2531 just send SIGCANCEL.
2532 * nptl/pthread_create.c: Forward-declare create_thread before
2533 including createthread.c.
2534 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2535 declaration, and new macro START_THREAD_SELF to replace argument.
2536 Remove return statement.
2537 (report_thread_creation): New function.
2538 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2539 synchronization logic, and __nptl_nthreads increment here, around
2540 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2541 PD->parent_cancelhandling here, before create_thread. When
2542 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2543 __deallocate_stack, and ENOMEM translation here.
2545 2014-11-18 Joseph Myers <joseph@codesourcery.com>
2548 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2549 (mptwo): Rename to __mptwo.
2550 (__inv): Use __mptwo instead of mptwo.
2551 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2552 (mptwo): Rename to __mptwo.
2553 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2554 of mpone and __mptwo instead of mptwo.
2555 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2558 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2559 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2560 of mpone and __mptwo instead of mptwo.
2561 (__mpranred): Use __mpone instead of mpone.
2562 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2564 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2565 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2566 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2567 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2568 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2569 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2570 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2571 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2572 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2573 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2574 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2575 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2576 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2577 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2578 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2579 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2580 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2581 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2582 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2584 2014-11-18 Tom de Vries <tom@codesoucery.com>
2586 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2587 replace BSD Handler xref with BSD Signal Handling.
2589 2014-11-17 Richard Henderson <rth@redhat.com>
2591 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2592 (_FP_PACK_RAW_2): Remove.
2593 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2594 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2595 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2596 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2597 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2598 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2599 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2600 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2601 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2602 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2603 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2604 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2605 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2606 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2607 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2608 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2610 2014-11-14 Roland McGrath <roland@hack.frob.com>
2612 * signal/signal.h [__USE_MISC]
2613 (struct sigvec): Remove type.
2614 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2615 (sigvec): Remove declaration.
2616 * sysdeps/posix/sigvec.c: Moved ...
2617 * signal/sigvec.c: ... here, replacing old file.
2618 (struct sigvec): New type, copied from old signal.h definition.
2619 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2620 (__sigvec): Convert definition to prototype.
2621 (sigvec): Replace weak_alias with compat_symbol.
2622 * signal/Versions (libc: GLIBC_2.21): New version set.
2623 * include/signal.h: Remove __sigvec declaration.
2624 * sysdeps/unix/bsd/sigvec.c: Remove file.
2625 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2626 * manual/signal.texi (BSD Handler): Remove subsection.
2627 Move siginterrupt up to ...
2628 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2629 (Blocking in BSD): Fold subsection into its parent.
2630 * NEWS: Mention sigvec removal.
2632 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2634 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2635 (DLA_FMS): Make definition conditional only on [__FMA4__].
2636 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2639 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2640 Make definition conditional only on [PROF].
2641 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2643 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2644 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2646 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2648 * include/signal.h (__sigpause): Move declaration above call to
2650 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2652 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2653 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2655 2014-11-14 David S. Miller <davem@davemloft.net>
2657 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2658 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2660 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2662 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2663 * configure: Regenerated.
2664 * manual/install.texi (Tools for Compilation): Document a
2665 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2666 compiler verified to work.
2667 * INSTALL: Regenerated.
2669 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2670 redeclare with asm name.
2671 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2672 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2673 including <string.h>.
2674 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2675 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2676 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2677 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2678 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2679 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2680 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2682 2014-11-13 Joseph Myers <joseph@codesourcery.com>
2684 * stdlib/strtol.c (__strtol): Use prototype definition.
2687 * stdlib/strtol.c (SYM__): New macro.
2689 (__strtol): Likewise.
2690 (strtol): Rename to __strtol and define as weak alias of
2691 __strtol. Use libc_hidden_weak.
2693 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2695 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2696 Use numbered labels in inline assembly.
2698 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2700 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2701 Add setjmp LIBC_PROBE.
2702 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2704 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2705 Add longjmp, longjmp_target LIBC_PROBE.
2706 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2709 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2711 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2712 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2713 to get rid of unused variable warning.
2715 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2717 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2718 Check for unwind_backtrace == NULL only in SHARED case.
2719 (__backchain_backtrace): Compile only in SHARED case.
2720 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2722 (__backchain_backtrace): Declare as static.
2724 2014-11-12 Roland McGrath <roland@hack.frob.com>
2726 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2727 (__libc_multiple_threads_ptr): Variable moved ...
2728 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2730 2014-11-12 Joseph Myers <joseph@codesourcery.com>
2732 * conform/GlibcConform.pm: New file.
2733 * conform/conformtest.pl: Use GlibcConform module.
2734 * conform/linknamespace.pl: New file.
2735 * conform/list-header-symbols.pl: Likewise.
2736 * conform/Makefile (linknamespace-symlists-base): New variable.
2737 (linknamespace-symlists-tests): Likewise.
2738 (linknamespace-header-base): Likewise.
2739 (linknamespace-header-tests): Likewise.
2740 (tests-special): Add new tests.
2741 ($(linknamespace-symlists-tests)): New rule.
2742 (linknamespace-libs): New variable.
2743 ($(objpfx)symlist-stdlibs): New rule.
2744 ($(linknamespace-header-tests)): Likewise.
2745 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2746 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2747 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2748 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2749 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2750 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2751 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2752 (test-xfail-ISO/math.h/linknamespace): Likewise.
2753 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2754 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2755 (test-xfail-ISO/time.h/linknamespace): Likewise.
2756 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2757 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2758 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2759 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2760 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2761 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2762 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2763 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2764 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2765 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2766 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2767 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2768 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2769 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2770 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2771 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2772 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2773 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2774 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2775 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2776 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2777 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2778 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2779 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2780 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2781 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2782 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2783 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2784 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2785 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2786 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2787 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2788 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2789 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2790 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2791 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2792 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2793 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2794 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2795 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2796 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2797 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2798 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2799 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2800 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2801 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2802 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2803 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2804 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2805 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2806 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2807 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2808 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2809 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2810 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2811 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2812 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2813 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2814 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2815 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2816 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2817 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2818 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2819 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2820 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2821 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2822 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2823 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2824 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2825 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2826 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2827 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2828 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2829 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2830 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2831 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2832 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2833 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2834 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2835 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2836 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2837 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2838 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2839 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2840 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2841 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2842 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2843 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2844 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2845 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2846 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2847 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2848 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2849 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2850 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2851 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2852 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2853 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2854 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2855 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2856 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2857 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2858 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2859 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2860 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2861 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2862 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2863 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2864 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2865 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2866 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2867 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2868 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2869 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2870 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2871 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2872 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2873 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2874 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2875 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2876 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2877 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2878 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2879 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2880 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2881 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2882 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2883 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2884 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2885 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2886 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2887 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2888 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2889 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2890 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2891 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2892 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2893 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2894 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2895 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2896 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2897 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2898 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2899 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2900 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2901 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2902 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2903 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2904 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2905 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2908 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2912 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2913 (memmem): Rename to __memmem and define as weak alias of
2914 __memmem. Use libc_hidden_weak.
2915 (__memmem): Use libc_hidden_def.
2916 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2917 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2921 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2922 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2923 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2924 and define as weak alias of __fgets_unlocked. Use
2926 (__fgets_unlocked): Use libc_hidden_def.
2927 * include/stdio.h (__fgets_unlocked): Declare. Use
2929 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2930 __fgets_unlocked instead of fgets_unlocked.
2931 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2932 (GET_NPROCS_CONF_PARSER): Likewise.
2933 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2934 (GET_NPROCS_CONF_PARSER): Likewise.
2937 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2938 weak alias of __wmemset. Use libc_hidden_weak.
2939 (__wmemset): Use libc_hidden_def.
2940 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2941 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2945 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2946 with asm name __mempcpy.
2947 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2950 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2951 and define as weak alias of __rawmemchr.
2952 (__rawmemchr): Do not define as strong alias of rawmemchr.
2955 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2957 (qsort): Call __qsort_r instead of qsort_r.
2958 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2959 (__qsort_r): Declare. Call libc_hidden_proto.
2960 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2962 * nscd/gai.c (__qsort_r): Define to qsort_r.
2963 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2964 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2965 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2968 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2969 define as weak alias of __malloc_info.
2972 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2973 as weak alias of __rewinddir. Don't use libc_hidden_def.
2974 (__rewinddir): Use libc_hidden_def.
2975 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2976 as weak alias of __rewinddir. Don't use libc_hidden_def.
2977 (__rewinddir): Use libc_hidden_def.
2978 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2979 weak alias of __rewinddir. Don't use libc_hidden_def.
2980 (__rewinddir): Use libc_hidden_def.
2981 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2982 (__rewinddir): Use libc_hidden_proto.
2983 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2985 (__getcwd): Use __rewinddir instead of rewinddir.
2988 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2989 alias of __fileno. Use libc_hidden_weak.
2990 (__fileno): Use libc_hidden_def.
2991 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2992 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2994 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2996 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2997 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2999 (fread_unlocked): Don't use libc_hidden_ver.
3000 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3001 and define as weak alias of __fread_unlocked. Don't use
3003 (__fread_unlocked): Use libc_hidden_def.
3004 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3005 (ftello): Don't use libc_hidden_proto.
3006 (__ftello): Declare. Use libc_hidden_proto.
3007 (fread_unlocked): Don't use libc_hidden_proto.
3008 (__fread_unlocked): Declare. Use libc_hidden_proto.
3009 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3010 and __ftello instead of fileno, fread_unlocked and ftello.
3012 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3014 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3016 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3018 (_dl_start_user): Likewise.
3019 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3021 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3022 Siddhesh Poyarekar <siddhesh@redhat.com>
3024 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3025 Move argv and envp down instead of moving argc up.
3026 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3028 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3031 * test-skeleton.c (main): Return successful if one of
3032 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3033 * string/tst-strcoll-overflow.c: Define expected status.
3035 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3038 * locale/iso-639.def: Define Bhili and Tulu language codes.
3040 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3042 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3044 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3047 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3049 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3051 * configure.ac: Updated check of minimal required version to
3053 * manual/install.texi (Tools for Compilation): Updated version
3055 * configure: Regenerated.
3056 * INSTALL: Likewise.
3058 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3060 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3063 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3065 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3066 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3067 (__waitpid): Don't define as alias. Use libc_hidden_def not
3069 (waitpid): Define as alias of __waitpid.
3070 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3072 (__waitpid): Don't define as alias. Use libc_hidden_def not
3074 (waitpid): Define as alias of __waitpid.
3075 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3076 __libc_waitpid alias.
3077 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3078 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3080 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3081 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3082 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3084 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3086 (__waitpid): Don't define as alias. Use libc_hidden_def not
3088 (waitpid): Define as alias of __waitpid.
3090 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3092 * manual/llio.texi: Add comment that write safety has been
3095 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3096 (localplt-build-dso): Add elf/ld.so.
3097 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3098 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3101 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3106 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3107 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3108 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3109 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3110 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3111 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3112 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3113 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3114 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3115 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3116 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3118 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3121 * include/libc-symbols.h (INTUSE): Remove macro.
3123 (INTVARDEF): Likewise.
3124 (_INTVARDEF): Likewise.
3125 (INTDEF2): Likewise.
3126 (INTVARDEF2): Likewise.
3127 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3128 rtld_hidden_def instead of INTVARDEF.
3129 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3130 (_dl_starting_up_internal): Remove declaration.
3131 (_dl_starting_up): Use rtld_hidden_proto.
3132 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3134 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3135 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3137 * elf/dl-writev.h (_dl_writev): Likewise.
3138 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3139 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3140 _dl_starting_up_internal.
3142 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3144 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3147 2014-11-05 Will Newton <will.newton@linaro.org>
3149 * benchtests/Makefile: (bench-malloc): Add malloc thread
3150 scalability benchmark.
3151 * benchtests/bench-malloc-threads.c: New file.
3153 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3155 * sysdeps/aarch64/strchrnul.S: New file.
3157 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3159 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3161 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3163 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3165 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3167 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3169 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3172 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3174 * catgets/test-gencat.c: Use test-skeleton.c.
3175 * catgets/tst-catgets.c: Likewise.
3176 * csu/tst-empty.c: Likewise.
3177 * elf/tst-audit2.c: Likewise.
3178 * elf/tst-global1.c: Likewise.
3179 * elf/tst-pathopt.c: Likewise.
3180 * elf/tst-piemod1.c: Likewise.
3181 * elf/tst-tls10.c: Likewise.
3182 * elf/tst-tls11.c: Likewise.
3183 * elf/tst-tls12.c: Likewise.
3184 * gnulib/tst-gcc.c: Likewise.
3185 * iconvdata/tst-e2big.c: Likewise.
3186 * iconvdata/tst-loading.c: Likewise.
3187 * iconv/tst-iconv1.c: Likewise.
3188 * iconv/tst-iconv2.c: Likewise.
3189 * inet/test-inet6_opt.c: Likewise.
3190 * inet/tst-gethnm.c: Likewise.
3191 * inet/tst-network.c: Likewise.
3192 * inet/tst-ntoa.c: Likewise.
3193 * intl/tst-codeset.c: Likewise.
3194 * intl/tst-gettext2.c: Likewise.
3195 * intl/tst-gettext3.c: Likewise.
3196 * intl/tst-ngettext.c: Likewise.
3197 * intl/tst-translit.c: Likewise.
3198 * io/test-stat.c: Likewise.
3199 * libio/test-fmemopen.c: Likewise.
3200 * libio/tst-freopen.c: Likewise.
3201 * libio/tst-sscanf.c: Likewise.
3202 * libio/tst-ungetwc1.c: Likewise.
3203 * libio/tst-ungetwc2.c: Likewise.
3204 * libio/tst-widetext.c: Likewise.
3205 * localedata/tst-ctype.c: Likewise.
3206 * localedata/tst-digits.c: Likewise.
3207 * localedata/tst-leaks.c: Likewise.
3208 * localedata/tst-mbswcs1.c: Likewise.
3209 * localedata/tst-mbswcs2.c: Likewise.
3210 * localedata/tst-mbswcs3.c: Likewise.
3211 * localedata/tst-mbswcs4.c: Likewise.
3212 * localedata/tst-mbswcs5.c: Likewise.
3213 * localedata/tst-setlocale.c: Likewise.
3214 * localedata/tst-trans.c: Likewise.
3215 * localedata/tst-wctype.c: Likewise.
3216 * localedata/tst-xlocale1.c: Likewise.
3217 * login/tst-grantpt.c: Likewise.
3218 * malloc/tst-calloc.c: Likewise.
3219 * malloc/tst-malloc.c: Likewise.
3220 * malloc/tst-mallocstate.c: Likewise.
3221 * malloc/tst-mcheck.c: Likewise.
3222 * malloc/tst-mtrace.c: Likewise.
3223 * malloc/tst-obstack.c: Likewise.
3224 * math/atest-exp2.c: Likewise.
3225 * math/atest-exp.c: Likewise.
3226 * math/atest-sincos.c: Likewise.
3227 * math/test-matherr.c: Likewise.
3228 * math/test-misc.c: Likewise.
3229 * math/test-powl.c: Likewise.
3230 * math/tst-definitions.c: Likewise.
3231 * misc/tst-dirname.c: Likewise.
3232 * misc/tst-efgcvt.c: Likewise.
3233 * misc/tst-fdset.c: Likewise.
3234 * misc/tst-hsearch.c: Likewise.
3235 * misc/tst-mntent2.c: Likewise.
3236 * nptl/tst-sem7.c: Likewise.
3237 * nptl/tst-sem8.c: Likewise.
3238 * nptl/tst-sem9.c: Likewise.
3239 * nss/test-netdb.c: Likewise.
3240 * posix/tst-fnmatch.c: Likewise.
3241 * posix/tst-getlogin.c: Likewise.
3242 * posix/tst-gnuglob.c: Likewise.
3243 * posix/tst-mmap.c: Likewise.
3244 * pwd/tst-getpw.c: Likewise.
3245 * resolv/tst-inet_ntop.c: Likewise.
3246 * rt/tst-timer.c: Likewise.
3247 * stdio-common/test-fseek.c: Likewise.
3248 * stdio-common/test-popen.c: Likewise.
3249 * stdio-common/test-vfprintf.c: Likewise.
3250 * stdio-common/tst-cookie.c: Likewise.
3251 * stdio-common/tst-fileno.c: Likewise.
3252 * stdio-common/tst-gets.c: Likewise.
3253 * stdio-common/tst-obprintf.c: Likewise.
3254 * stdio-common/tst-perror.c: Likewise.
3255 * stdio-common/tst-sprintf2.c: Likewise.
3256 * stdio-common/tst-sprintf3.c: Likewise.
3257 * stdio-common/tst-sprintf.c: Likewise.
3258 * stdio-common/tst-swprintf.c: Likewise.
3259 * stdio-common/tst-tmpnam.c: Likewise.
3260 * stdio-common/tst-unbputc.c: Likewise.
3261 * stdio-common/tst-wc-printf.c: Likewise.
3262 * stdlib/tst-environ.c: Likewise.
3263 * stdlib/tst-fmtmsg.c: Likewise.
3264 * stdlib/tst-limits.c: Likewise.
3265 * stdlib/tst-rand48-2.c: Likewise.
3266 * stdlib/tst-rand48.c: Likewise.
3267 * stdlib/tst-random2.c: Likewise.
3268 * stdlib/tst-random.c: Likewise.
3269 * stdlib/tst-strtol.c: Likewise.
3270 * stdlib/tst-strtoll.c: Likewise.
3271 * stdlib/tst-tls-atexit.c: Likewise.
3272 * stdlib/tst-xpg-basename.c: Likewise.
3273 * string/test-ffs.c: Likewise.
3274 * string/tst-bswap.c: Likewise.
3275 * string/tst-inlcall.c: Likewise.
3276 * string/tst-strtok.c: Likewise.
3277 * string/tst-strxfrm.c: Likewise.
3278 * sysdeps/x86_64/tst-audit10.c: Likewise.
3279 * sysdeps/x86_64/tst-audit3.c: Likewise.
3280 * sysdeps/x86_64/tst-audit4.c: Likewise.
3281 * sysdeps/x86_64/tst-audit5.c: Likewise.
3282 * time/tst-ftime_l.c: Likewise.
3283 * time/tst-getdate.c: Likewise.
3284 * time/tst-mktime3.c: Likewise.
3285 * time/tst-mktime.c: Likewise.
3286 * time/tst-posixtz.c: Likewise.
3287 * time/tst-strptime2.c: Likewise.
3288 * time/tst-strptime3.c: Likewise.
3289 * wcsmbs/tst-btowc.c: Likewise.
3290 * wcsmbs/tst-mbrtowc.c: Likewise.
3291 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3292 * wcsmbs/tst-wchar-h.c: Likewise.
3293 * wcsmbs/tst-wcpncpy.c: Likewise.
3294 * wcsmbs/tst-wcrtomb.c: Likewise.
3295 * wcsmbs/tst-wcsnlen.c: Likewise.
3296 * wcsmbs/tst-wcstof.c: Likewise.
3298 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3301 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3303 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3305 (_dl_mcount): Use rtld_hidden_proto.
3306 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3308 * elf/rtld.c (_rtld_global_ro): Likewise.
3311 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3312 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3313 of _dl_init_internal.
3314 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3315 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3316 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3317 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3318 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3319 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3320 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3321 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3322 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3323 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3324 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3325 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3326 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3327 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3328 * sysdeps/tile/dl-start.S (_start): Likewise.
3329 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3330 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3333 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3334 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3335 (rtld_progname): Make macro definition unconditional.
3336 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3338 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3339 (dl_main): Likewise.
3340 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3341 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3342 instead of _dl_argv_internal.
3343 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3344 __GI__dl_argv instead of INTUSE(_dl_argv).
3345 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3346 __GI__dl_argv instead of _dl_argv_internal.
3348 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3349 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3351 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3352 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3354 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3355 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3357 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3358 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3360 2014-11-04 Andreas Schwab <schwab@suse.de>
3362 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3364 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3366 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3367 mtvsrd instruction in binary form.
3369 2014-11-03 Andreas Schwab <schwab@suse.de>
3372 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3373 for less than MB_LEN_MAX use a local buffer of that size.
3374 * libio/tst-fputws.c: New file.
3375 * libio/Makefile (tests): Add tst-fputws.
3377 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3379 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3380 the size of the fpu_fr.fpu_dregs[] array.
3382 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3384 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3385 (__nanosleep): Do not define as alias.
3386 (nanosleep): Define as alias of __nanosleep.
3387 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3388 __libc_nanosleep name.
3390 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3392 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3393 install.texi in comment.
3395 2014-10-31 Torvald Riegel <triegel@redhat.com>
3397 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3398 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3399 ... add here and use lwsync or sync ...
3400 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3401 ... and add here using lwsync.
3403 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3405 * elf/dl-machine-reject-phdr.h: New file.
3406 * elf/dl-load.c: #include that.
3407 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3408 if that returned true.
3410 2014-10-31 Roland McGrath <roland@hack.frob.com>
3413 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3414 gen-as-const-headers chunk. Add a big scare comment after the last
3415 safe place to touch before-compile.
3417 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3419 * manual/install.texi (Tools for Compilation): Update autoconf
3420 version requirements.
3421 * INSTALL: Regenerated.
3423 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3424 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3425 (__libc_pselect): Likewise.
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3433 2014-10-31 Torvald Riegel <triegel@redhat.com>
3435 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3436 correct barrier instruction.
3437 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3439 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3442 2014-10-30 Roland McGrath <roland@hack.frob.com>
3444 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3445 after defining inlines. Instead, just use parens to defeat macro
3446 expansion of __isctype in its declaration.
3448 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3450 * include/sys/uio.h (__libc_readv): Remove declaration.
3451 (__libc_writev): Likewise.
3452 * misc/readv.c (__libc_readv): Rename to __readv.
3453 (__readv): Do not define as alias.
3454 (readv): Define as alias of __readv.
3455 * misc/writev.c (__libc_writev): Rename to __writev.
3456 (__writev): Do not define as alias.
3457 (writev): Define as alias of __writev.
3458 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3459 (__readv): Do not define as alias.
3460 (readv): Define unconditionally as alias of __readv.
3461 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3462 (__writev): Do not define as alias.
3463 (writev): Define unconditionally as alias of __writev.
3464 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3466 (writev): Do not define __libc_writev name.
3468 2014-10-30 Roland McGrath <roland@hack.frob.com>
3470 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3471 (convert_charseq): New function, broken out of ...
3472 (use_from_charmap): ... here. Call it.
3473 (use_to_charmap): Use convert_charseq and free instead of duplicating
3474 its code with a variable-length stack struct.
3476 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3478 * include/fcntl.h (__libc_creat): Remove declaration.
3479 * io/creat.c (__libc_creat): Rename to creat.
3480 (creat): Do not define as alias.
3481 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3482 of creat instead of __libc_creat.
3483 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3485 (creat): Do not define as alias.
3486 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3488 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3490 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3493 2014-10-29 Carlos O'Donell <carlos@redhat.com>
3495 * manual/llio.texi: Add comments discussing why write() may be
3496 considered MT-unsafe on Linux.
3498 2014-10-28 Carlos O'Donell <carlos@redhat.com>
3500 * dl-load.c (local_strdup): Remove.
3501 (expand_dynamic_string_token): Use __strdup.
3502 (decompose_rpath): Likewise.
3503 (_dl_map_object): Likewise.
3505 2014-10-28 Joseph Myers <joseph@codesourcery.com>
3508 * sysdeps/generic/unwind-dw2-fde.c
3509 (__register_frame_info_bases_internal): Do not declare.
3510 (__register_frame_info_table_bases_internal): Likewise.
3511 (__deregister_frame_info_bases_internal): Likewise.
3512 (__register_frame_info_bases): Declare and use hidden_proto before
3513 definition. Use hidden_def instead of INTDEF.
3514 (__register_frame_info_table_bases): Likewise.
3515 (__deregister_frame_info_bases): Likewise.
3516 (__register_frame_info): Do not use INTUSE.
3517 (__register_frame): Likewise.
3518 (__register_frame_info_table): Likewise.
3519 (__register_frame_table): Likewise.
3520 (__deregister_frame_info): Likewise.
3521 (__deregister_frame): Likewise.
3523 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3525 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3526 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3528 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3530 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3533 2014-10-27 Joseph Myers <joseph@codesourcery.com>
3536 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3537 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3538 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3539 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3540 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3541 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3542 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3543 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3544 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3545 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3546 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3547 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3548 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3550 (setfsuid): Likewise.
3551 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3552 (setfsuid): Likewise.
3553 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3554 (setfsuid): Likewise.
3555 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3557 (setfsuid): Likewise.
3558 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3559 (setfsuid): Likewise.
3560 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3562 (setfsuid): Likewise.
3564 2014-10-27 Andreas Schwab <schwab@suse.de>
3567 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3568 check for Slow_SSE4_2 feature bit.
3569 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3570 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3571 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3572 Likewise. Fix check for Fast_Unaligned_Load feature bit.
3574 2014-10-24 Roland McGrath <roland@hack.frob.com>
3576 * configure.ac: Validate compiler version with a empirical test of
3577 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3579 * configure: Regenerated.
3581 * inet/htons.c (htons): Prototypify.
3582 * inet/htonl.c (htonl): Likewise.
3584 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3586 * string/strncat.c (strncat): Improve performance by using strlen.
3588 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3590 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3592 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3594 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3595 Call libc_fetestexcept_aarch64.
3597 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3599 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3600 Call libc_feholdexcept_aarch64.
3602 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3604 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3605 Call get_rounding_mode.
3607 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3609 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3612 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3614 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3617 2014-10-24 Joseph Myers <joseph@codesourcery.com>
3620 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3621 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3622 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3623 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3624 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3625 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3626 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3627 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3628 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3629 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3630 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3631 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3632 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3633 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3634 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3635 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3636 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3637 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3638 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3639 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3640 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3641 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3642 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3643 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3644 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3645 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3646 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3647 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3648 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3649 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3650 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3651 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3652 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3653 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3654 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3655 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3656 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3657 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3658 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3659 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3660 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3662 (geteuid): Likewise.
3665 (getresgid): Likewise.
3666 (getresuid): Likewise.
3667 (getgroups): Likewise.
3668 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3669 (geteuid): Likewise.
3672 (getresgid): Likewise.
3673 (getresuid): Likewise.
3674 (getgroups): Likewise.
3675 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3676 (geteuid): Likewise.
3679 (getresgid): Likewise.
3680 (getresuid): Likewise.
3681 (getgroups): Likewise.
3682 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3684 (geteuid): Likewise.
3687 (getresgid): Likewise.
3688 (getresuid): Likewise.
3689 (getgroups): Likewise.
3690 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3691 (geteuid): Likewise.
3694 (getresgid): Likewise.
3695 (getresuid): Likewise.
3696 (getgroups): Likewise.
3697 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3699 (geteuid): Likewise.
3702 (getgroups): Likewise.
3705 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3706 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3707 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3708 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3709 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3710 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3711 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3712 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3713 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3714 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3715 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3716 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3717 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3719 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3722 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3726 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3729 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3734 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3736 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3739 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3741 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3744 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3746 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3747 Remove unused include.
3749 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3751 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3752 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3753 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3754 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3756 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3757 Helge Deller <deller@gmx.de>
3760 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3761 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3762 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3764 2014-10-23 Joseph Myers <joseph@codesourcery.com>
3767 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3768 Remove macro definition.
3769 (__ashrdi3_v_glibc20): Likewise.
3770 (__lshrdi3_v_glibc20): Likewise.
3771 (__cmpdi2_v_glibc20): Likewise.
3772 (__ucmpdi2_v_glibc20): Likewise.
3773 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3774 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3775 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3776 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3777 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3778 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3780 2014-10-22 Roland McGrath <roland@hack.frob.com>
3782 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3783 old GNU extension [0] syntax.
3784 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3785 alloca rather than an array member with variable length.
3786 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3787 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3788 (parse_opt): ... here. Likewise use alloca there.
3789 Validate the -i argument before checking for rootness.
3790 (send_shutdown): New function, broken out of ...
3791 (parse_opt): ... here.
3793 2014-10-22 Roland McGrath <roland@hack.frob.com>
3795 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3796 macro to get at the _rt_local_ro field.
3797 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3798 ([PIC] case) or _dl_hwcap ([!PIC] case).
3799 * sysdeps/arm/setjmp.S: Likewise.
3801 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3802 * sysdeps/arm/configure.ac: New check to define it.
3803 * sysdeps/arm/configure: Regenerated.
3804 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3805 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3806 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3807 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3808 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3809 Use move/movt pair instead of a load.
3810 (LDST_GLOBAL): Macro removed.
3811 (LDR_GLOBAL): New macro replaces it.
3812 (LDR_HIDDEN): New macro.
3813 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3814 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3816 * setjmp/tst-setjmp-static.c: New file.
3817 * setjmp/Makefile (tests): Add it.
3818 (tests-static): New variable.
3820 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3823 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3825 2014-10-21 Joseph Myers <joseph@codesourcery.com>
3828 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3830 2014-10-21 Roland McGrath <roland@hack.frob.com>
3832 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3834 2014-10-20 Roland McGrath <roland@hack.frob.com>
3836 * io/fts.c (dirent_not_directory): New function.
3837 (fts_build): Call it.
3839 2014-10-20 Roland McGrath <roland@hack.frob.com>
3841 * nptl/version.c (__nptl_main): Use normal __write rather than
3843 (banner): Update copyright years.
3845 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3847 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3848 * nptl/pthread_cond_timedwait.c: Likewise.
3849 * nptl/pthread_mutex_timedlock.c: Likewise.
3850 * nptl/sem_timedwait.c: Likewise.
3852 * sysdeps/nptl/bits/libc-lock.h
3853 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3854 (__libc_lock_init_recursive): Return void, not 0.
3855 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3856 (__libc_rwlock_init): Likewise.
3857 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3859 2014-10-20 Torvald Riegel <triegel@redhat.com>
3862 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3863 (__pthread_once_slow): ... here.
3864 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3865 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3867 2014-10-20 Torvald Riegel <triegel@redhat.com>
3870 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3871 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3872 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3873 * nptl/pthread_once.c (__pthread_once): Likewise.
3876 2014-10-20 Joseph Myers <joseph@codesourcery.com>
3879 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3881 (writev): Use __libc_writev as strong name.
3882 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3883 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3885 2014-10-17 Roland McGrath <roland@hack.frob.com>
3887 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3889 * sysdeps/i386/nptl/tls.h
3890 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3891 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3893 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3894 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3895 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3896 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3897 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3898 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3900 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3901 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3903 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3905 (__pthread_mutex_init): ... here. Call it.
3906 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3907 Conditionalize PI cases on [__NR_futex].
3908 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3909 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3910 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3912 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3913 conditional on [SIGSETXID].
3914 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3915 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3916 is defined. Likewise for SIGSETXID.
3917 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3918 Conditionalize definitions on [SIGSETXID].
3919 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3920 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3921 unblocking on [SIGCANCEL].
3923 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3924 [__NR_set_robust_list].
3926 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3928 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3929 (do_compare): Likewise.
3931 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
3934 * string/strcoll_l.c: Don't include stdio.h.
3935 (coll_seq): Remove members idxarr and rulearr.
3936 (get_next_seq_cached): Remove function.
3937 (get_next_seq): Likewise.
3938 (get_next_seq_nocache): Rename to get_next_seq.
3939 (do_compare): Remove function.
3940 (do_compare_nocache): Rename to do_compare.
3941 (STRCOLL): Remove weight and rules cache.
3943 2014-10-16 Roland McGrath <roland@hack.frob.com>
3945 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3946 * sysdeps/arm/sfp-machine.h: ... to here.
3947 * sysdeps/arm/Implies: Remove arm/soft-fp.
3949 2014-10-14 Joseph Myers <joseph@codesourcery.com>
3951 * conform/data/sys/utsname.h-data (*_t): Allow.
3952 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3953 [POSIX] (WEXITED): Do not expect constant.
3954 [POSIX] (WSTOPPED): Likewise.
3955 [POSIX] (WNOHANG): Likewise.
3956 [POSIX] (WNOWAIT): Likewise.
3957 [POSIX] (siginfo_t): Do not expect type or elements.
3958 [POSIX] (pid_t): Do not expect type.
3959 [POSIX] (signal.h): Do not allow header.
3960 [POSIX] (sys/resource.h): Likewise.
3961 [POSIX] (si_*): Do not allow pattern.
3962 [POSIX] (W*): Likewise.
3963 [POSIX] (P_*): Likewise.
3964 [POSIX] (BUS_*): Likewise.
3965 [POSIX] (CLD_*): Likewise.
3966 [POSIX] (FPE_*): Likewise.
3967 [POSIX] (ILL_*): Likewise.
3968 [POSIX] (POLL_*): Likewise.
3969 [POSIX] (SEGV_*): Likewise.
3970 [POSIX] (SI_*): Likewise.
3971 [POSIX] (TRAP_*): Likewise.
3972 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3975 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3978 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3979 infinite loop when __recvmsg returns 0.
3981 2014-10-10 Joseph Myers <joseph@codesourcery.com>
3983 * CANCEL-FCT-WAIVE: Remove file.
3984 * CANCEL-FILE-WAIVE: Likewise.
3987 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3988 instead of INTVARDEF.
3989 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3990 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3991 rtld_hidden_data_def instead of INTVARDEF.
3992 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3993 * elf/dl-deps.c (expand_dst): Likewise.
3994 * elf/dl-load.c (_dl_dst_count): Likewise.
3995 (_dl_dst_substitute): Likewise.
3996 (decompose_rpath): Likewise.
3997 (_dl_init_paths): Likewise.
3998 (open_path): Likewise.
3999 (_dl_map_object): Likewise.
4000 * elf/rtld.c (dl_main): Likewise.
4001 (process_dl_audit): Likewise.
4002 (process_envvars): Likewise.
4003 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4005 (__libc_enable_secure): Use rtld_hidden_proto.
4007 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4010 (add_path): New function broken out of _dl_rtld_di_serinfo.
4011 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4013 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4015 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4016 parentheses around macro arguments.
4017 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4018 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4019 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4020 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4021 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4022 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4023 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4024 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4025 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4026 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4027 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4028 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4029 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4030 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4031 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4032 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4033 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4034 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4035 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4036 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4037 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4038 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4039 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4040 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4041 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4042 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4043 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4044 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4045 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4046 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4047 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4048 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4049 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4050 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4051 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4052 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4054 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4055 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4056 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4057 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4058 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4059 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4060 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4061 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4062 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4063 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4064 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4065 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4066 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4067 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4068 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4069 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4070 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4071 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4072 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4073 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4074 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4075 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4076 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4077 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4078 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4079 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4080 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4081 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4082 (_FP_FRAC_SRS_1): Likewise.
4083 (_FP_FRAC_CLZ_1): Likewise.
4084 (_FP_MUL_MEAT_1_imm): Likewise.
4085 (_FP_MUL_MEAT_1_wide): Likewise.
4086 (_FP_MUL_MEAT_1_hard): Likewise.
4087 (_FP_SQRT_MEAT_1): Likewise.
4088 (_FP_FRAC_ASSEMBLE_1): Likewise.
4089 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4090 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4091 (__FP_CLZ_2): Likewise.
4092 (_FP_MUL_MEAT_2_wide): Likewise.
4093 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4094 (_FP_MUL_MEAT_2_gmp): Likewise.
4095 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4096 (_FP_SQRT_MEAT_2): Likewise.
4097 (_FP_FRAC_ASSEMBLE_2): Likewise.
4098 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4099 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4100 (_FP_FRAC_CLZ_4): Likewise.
4101 (_FP_MUL_MEAT_4_wide): Likewise.
4102 (_FP_MUL_MEAT_4_gmp): Likewise.
4103 (_FP_SQRT_MEAT_4): Likewise.
4104 (_FP_FRAC_ASSEMBLE_4): Likewise.
4105 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4106 * soft-fp/op-common.h (_FP_CMP): Likewise.
4107 (_FP_CMP_EQ): Likewise.
4108 (_FP_CMP_UNORD): Likewise.
4109 (_FP_TO_INT): Likewise.
4110 (_FP_FROM_INT): Likewise.
4111 [!__FP_CLZ] (__FP_CLZ): Likewise.
4112 (_FP_DIV_HELP_imm): Likewise.
4113 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4115 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4116 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4117 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4118 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4119 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4120 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4121 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4122 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4123 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4124 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4125 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4126 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4127 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4128 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4129 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4130 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4131 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4132 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4133 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4134 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4135 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4136 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4137 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4138 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4139 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4140 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4141 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4142 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4143 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4144 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4145 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4146 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4147 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4148 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4149 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4150 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4151 (FP_UNPACK_RAW_SP): Likewise.
4152 (FP_PACK_RAW_S): Likewise.
4153 (FP_PACK_RAW_SP): Likewise.
4154 (FP_UNPACK_S): Likewise.
4155 (FP_UNPACK_SP): Likewise.
4156 (FP_UNPACK_SEMIRAW_S): Likewise.
4157 (FP_UNPACK_SEMIRAW_SP): Likewise.
4158 (FP_PACK_S): Likewise.
4159 (FP_PACK_SP): Likewise.
4160 (FP_PACK_SEMIRAW_S): Likewise.
4161 (FP_PACK_SEMIRAW_SP): Likewise.
4162 (_FP_SQRT_MEAT_S): Likewise.
4163 (FP_CMP_S): Likewise.
4164 (FP_CMP_EQ_S): Likewise.
4165 (FP_CMP_UNORD_S): Likewise.
4166 (FP_TO_INT_S): Likewise.
4167 (FP_FROM_INT_S): Likewise.
4169 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4171 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4172 (FP_EX_INVALID_IMZ): Likewise.
4173 (FP_EX_INVALID_IMZ_FMA): Likewise.
4174 (FP_EX_INVALID_ISI): Likewise.
4175 (FP_EX_INVALID_ZDZ): Likewise.
4176 (FP_EX_INVALID_IDI): Likewise.
4177 (FP_EX_INVALID_SQRT): Likewise.
4178 (FP_EX_INVALID_CVI): Likewise.
4179 (FP_EX_INVALID_VC): Likewise.
4180 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4181 "invalid" exceptions.
4182 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4183 (_FP_ADD_INTERNAL): Likewise.
4184 (_FP_MUL): Likewise.
4185 (_FP_FMA): Likewise.
4186 (_FP_DIV): Likewise.
4187 (_FP_CMP_CHECK_NAN): Likewise.
4188 (_FP_SQRT): Likewise.
4189 (_FP_TO_INT): Likewise.
4190 (FP_EXTEND): Likewise.
4192 2014-10-09 Allan McRae <allan@archlinux.org>
4194 * po/fr.po: Update French translation from translation project.
4196 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4199 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4201 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4202 (__cxa_atexit): Use libc_hidden_proto.
4203 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4206 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4208 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4209 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4210 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4211 [!_ISOMAC] (__iswctype_internal): Likewise.
4212 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4213 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4215 (fcntl): Remove __fcntl_internal alias.
4216 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4217 __connect_internal alias.
4218 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4221 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4222 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4224 (_FP_CHECK_FLUSH_ZERO): New macro.
4225 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4226 (_FP_CMP): Likewise.
4227 (_FP_CMP_EQ): Likewise.
4228 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4230 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4231 (FP_TRUNC): Likewise.
4233 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4234 treated as invalid conversion, not as normal exponent.
4236 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4237 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4238 (_FP_CMP_EQ): Likewise.
4239 (_FP_CMP_UNORD): Likewise.
4240 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4241 (FP_CMP_EQ_D): Likewise.
4242 (FP_CMP_UNORD_D): Likewise.
4243 * soft-fp/extended.h (FP_CMP_E): Likewise.
4244 (FP_CMP_EQ_E): Likewise.
4245 (FP_CMP_UNORD_E): Likewise.
4246 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4247 (FP_CMP_EQ_Q): Likewise.
4248 (FP_CMP_UNORD_Q): Likewise.
4249 * soft-fp/single.h (FP_CMP_S): Likewise.
4250 (FP_CMP_EQ_S): Likewise.
4251 (FP_CMP_UNORD_S): Likewise.
4252 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4253 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4254 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4255 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4256 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4257 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4258 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4259 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4260 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4261 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4262 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4263 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4264 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4266 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4268 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4269 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4271 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4273 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4274 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4275 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4276 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4278 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4280 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4281 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4283 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4285 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4286 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4287 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4288 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4291 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4292 a subnormal result, set the underflow exception if trapping on
4293 underflow is enabled.
4294 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4295 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4296 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4298 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4299 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4300 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4301 * soft-fp/extendxftf2.c (__extendxftf2): Use
4302 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4304 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4305 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4306 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4307 FP_HANDLE_EXCEPTIONS.
4308 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4309 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4310 FP_HANDLE_EXCEPTIONS.
4311 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4312 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4313 FP_HANDLE_EXCEPTIONS.
4314 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4315 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4316 FP_HANDLE_EXCEPTIONS.
4318 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4321 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4322 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4324 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4325 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4327 (__adjtimex): Define using libc_hidden_ver.
4328 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4330 (ntp_gettime): Call __adjtimex directly.
4331 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4333 (ntp_gettimex): Call __adjtimex directly.
4334 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4335 __adjtimex_internal alias.
4337 2014-10-08 Roland McGrath <roland@hack.frob.com>
4340 * nscd/nscd.c (more_help): Rewrite list of tables collection
4341 using xstrdup and asprintf.
4343 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4345 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4346 Roland McGrath <roland@hack.frob.com>
4348 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4349 (do_lookup_unique): ... local function 'enter' here; update callers.
4351 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4353 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4354 compat_symbol calls on [SHARED].
4355 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4356 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4358 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4359 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4360 (oldsetrlimit): Remove.
4361 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4363 (lchown): New syscall entry.
4364 (oldsetrlimit): Remove.
4365 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4366 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4367 (oldsetrlimit): Remove.
4368 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4371 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4372 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4373 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4374 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4375 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4376 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4378 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4383 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4385 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4386 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4387 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4388 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4389 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4391 (__old_sem_post): Likewise.
4393 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4395 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4396 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4397 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4398 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4399 Use INLINE_VSYSCALL macro.
4400 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4401 __vdso_clock_gettime.
4402 * sysdeps/unix/sysv/linux/tile/init-first.c
4403 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4404 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4405 __vdso_clock_gettime.
4407 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4408 to set up frame more cleanly.
4410 * sysdeps/tile/memcmp.c: New file.
4412 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4414 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4415 * sysdeps/tile/tilegx/strcasestr.c: New file.
4416 * sysdeps/tile/tilegx/strnlen.c: New file.
4417 * sysdeps/tile/tilegx/strstr.c: New file.
4419 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4421 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4423 * nptl/tst-setuid3.c: Write errors to stdout.
4425 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4428 (preload): New functions broken out of _dl_map_object_deps.
4429 (_dl_map_object_deps): Remove a nested function. Update call sites.
4431 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4434 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4435 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4437 2014-10-01 Steve Ellcey <sellcey@mips.com>
4439 * sysdeps/mips/strcmp.S: New.
4441 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4444 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4446 (mkdirat): Likewise.
4447 (readlinkat): Likewise.
4448 (renameat): Likewise.
4449 (symlinkat): Likewise.
4450 (unlinkat): Likewise.
4451 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4452 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4453 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4454 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4455 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4456 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4457 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4459 2014-09-30 Will Newton <will.newton@linaro.org>
4461 * math/math.h: Define long double math functions if
4462 _LIBC_TEST is defined.
4463 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4465 * localedata/Makefile: Move assignment to tests-special
4466 into an ifdef testing run-built-tests.
4467 * timezone/Makefile: Likewise.
4469 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4471 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4472 with $(BASH) not $(SHELL).
4474 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4475 Matthew LeGendre <legendre1@llnl.gov>
4478 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4481 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4483 * stdio-common/printf_fp.c
4484 (hack_digit): New function, broken out of ...
4485 (__printf_fp): ... local function here. Update call sites.
4486 hack_digit now takes an additional parameter that is a pointer
4487 to a struct of the referenced locals. Those locals moved inside
4488 the struct and references updated.
4490 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4492 * aclocal.m4: Require autoconf 2.69.
4493 * configure: Regenerated.
4494 * sysdeps/aarch64/configure: Likewise.
4495 * sysdeps/alpha/configure: Likewise.
4496 * sysdeps/arm/armv7/configure: Likewise.
4497 * sysdeps/arm/configure: Likewise.
4498 * sysdeps/ia64/configure: Likewise.
4499 * sysdeps/mach/configure: Likewise.
4500 * sysdeps/mips/configure: Likewise.
4501 * sysdeps/s390/configure: Likewise.
4502 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4505 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4507 * sysdeps/ia64/configure.ac: Likewise.
4509 2014-09-26 Joseph Myers <joseph@codesourcery.com>
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4512 specify symbol version for ld.so. Do not include entry for
4514 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4515 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4516 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4519 * Makeconfig [$(build-shared) = yes]
4520 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4522 [$(build-shared) = yes && $(soversions.mk-done) = t]
4523 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4524 [$(build-shared) = yes && $(soversions.mk-done) = t]
4525 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4527 [$(build-shared) = yes && $(soversions.mk-done) = t]
4528 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4530 [$(build-shared) = yes && $(soversions.mk-done) = t]
4531 (common-generated): Don't append gnu/lib-names.h and
4532 gnu/lib-names.stmp here.
4533 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4534 (lib-names-h-abi): New variable.
4535 [$(build-shared) = yes && $(soversions.mk-done) = t]
4536 (lib-names-stmp-abi): Likewise.
4537 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4538 abi-variants] (before-compile): Append
4539 $(common-objpfx)$(lib-names-h-abi).
4540 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4541 abi-variants] (common-generated): Append gnu/lib-names.h.
4542 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4543 abi-variants] (install-others-nosubdir): Depend on
4544 $(inst_includedir)/$(lib-names-h-abi).
4545 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4546 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4547 [$(build-shared) = yes && $(soversions.mk-done) = t]
4548 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4549 [$(build-shared) = yes && $(soversions.mk-done) = t]
4550 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4551 [$(build-shared) = yes && $(soversions.mk-done) = t]
4552 (common-generated): Append $(lib-names-h-abi) and
4553 $(lib-names-stmp-abi).
4554 * scripts/lib-names.awk: Do not handle multi being set.
4555 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4557 (abi-lp64_be-ld-soname): Likewise.
4558 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4560 (abi-hard-ld-soname): Likewise.
4561 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4562 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4564 (abi-o32_hard-ld-soname): Likewise.
4565 (abi-o32_soft_2008-ld-soname): Likewise.
4566 (abi-o32_hard_2008-ld-soname): Likewise.
4567 (abi-n32_soft-ld-soname): Likewise.
4568 (abi-n32_hard-ld-soname): Likewise.
4569 (abi-n32_soft_2008-ld-soname): Likewise.
4570 (abi-n32_hard_2008-ld-soname): Likewise.
4571 (abi-n64_soft-ld-soname): Likewise.
4572 (abi-n64_hard-ld-soname): Likewise.
4573 (abi-n64_soft_2008-ld-soname): Likewise.
4574 (abi-n64_hard_2008-ld-soname): Likewise.
4575 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4577 (abi-64-v2-ld-soname): Likewise.
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4580 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4582 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4584 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4586 (abi-64-ld-soname): Likewise.
4587 (abi-x32-ld-soname): Likewise.
4588 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4590 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4592 2014-09-23 Joseph Myers <joseph@codesourcery.com>
4595 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4596 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4597 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4598 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4599 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4600 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4601 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4602 syscall entry for GLIBC_2.2 symbol version.
4603 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4606 (setrlimit): Likewise.
4607 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4610 2014-09-23 Will Newton <will.newton@linaro.org>
4612 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4613 _LINUX_ARM_SYSDEP_H include guard too.
4614 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4617 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4619 * sysdeps/unix/sysv/linux/eventfd.c:
4620 Make first argument unsigned.
4621 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4622 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4624 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
4626 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4627 * socket/sys/socket.h: Likewise
4628 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4630 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4632 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4634 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
4636 * time/tst-ftime.c: New test.
4637 * time/Makefile (tests): Add tst-ftime.
4639 2014-09-17 Joseph Myers <joseph@codesourcery.com>
4641 * soft-fp/extended.h: Fix comment formatting.
4642 * soft-fp/op-1.h: Likewise.
4643 * soft-fp/op-2.h: Likewise.
4644 * soft-fp/op-4.h: Likewise.
4645 * soft-fp/op-8.h: Likewise.
4646 * soft-fp/op-common.h: Likewise.
4647 * soft-fp/soft-fp.h: Likewise.
4649 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4651 2014-09-16 Joseph Myers <joseph@codesourcery.com>
4654 * Makeconfig (soversions-default-setname): Remove variable.
4655 ($(common-objpfx)soversions.i): Don't pass default_setname to
4657 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4658 oldest_abi to abi-versions.awk.
4659 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4660 * config.make.in (oldest-abi): Remove variable.
4661 * configure.ac (--enable-oldest-abi): Remove configure option.
4662 * configure: Regenerated.
4663 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4665 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4666 * scripts/soversions.awk: Do not handle default_setname variable.
4667 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4669 * sysdeps/mach/hurd/configure: Regenerated.
4670 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4672 * sysdeps/unix/sysv/linux/configure: Regenerated.
4674 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4676 * elf/Makefile (CFLAGS-interp.c): Remove.
4677 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4679 * elf/interp.c: Include generated runtime-linker.h
4681 * Makerules (lib%.so): Don't include $(+interp) in
4683 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4684 * dlfcn/eval.c: Remove file.
4686 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4690 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4694 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4696 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4697 Jakub Jelinek <jakub@redhat.com>
4700 * libio/stdio.h: Check definition of __fortify_function
4701 instead of __extern_always_inline to include bits/stdio2.h.
4702 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4703 check if __extern_always_inline is defined.
4704 [__USE_MISC || __USE_XOPEN]: Likewise.
4705 [__USE_ISOC99] Likewise.
4706 * misc/sys/cdefs.h (__fortify_function): Define only if
4707 __extern_always_inline is defined.
4708 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4709 __extern_always_inline and __extern_inline only for g++-4.3
4710 and newer or a compatible gcc.
4712 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4715 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4716 last change to handle zero prefix length.
4718 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4720 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4723 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4726 2014-09-13 Allan McRae <allan@archlinux.org>
4728 * po/ru.po: Update Russian translation from translation project.
4730 2014-09-12 Roland McGrath <roland@hack.frob.com>
4732 * locale/programs/locale.c (show_locale_vars): Inline local function
4733 into its sole call site. Clean up some style nits.
4734 (print_item): New function, broken out of ...
4735 (show_info): ... local function here. Clean up style nits.
4737 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4739 (set_class_defaults): ... local function set_default here.
4740 Define set_default as a macro locally to pass constant parameters.
4741 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4742 rather than a shared local.
4744 * stdlib/rpmatch.c (try): New function, broken out of ...
4745 (rpmatch): ... local function here. Also, prototypify definition.
4747 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4749 * scripts/soversions.awk: Do not handle configuration names.
4750 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4751 vendor and os variables to soversions.awk.
4752 * configure.ac: Do not modify gnu-* host_os.
4753 * configure: Regenerated
4754 * shlib-versions: Remove first column with configuration names.
4755 * nptl/shlib-versions: Likewise.
4756 * nptl_db/shlib-versions: Likewise.
4757 * sysdeps/hppa/shlib-versions: Likewise.
4758 * sysdeps/m68k/shlib-versions: Likewise.
4759 * sysdeps/mach/hurd/shlib-versions: Likewise.
4760 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4761 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4762 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4763 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4764 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4765 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4766 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4767 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4770 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4771 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4772 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4773 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4774 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4775 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4776 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4777 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4780 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4783 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4785 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4787 * shlib-versions: Remove OS-specific entries. Moved to files in
4789 * sysdeps/mach/hurd/shlib-versions: New file.
4790 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4792 * nptl/shlib-versions: Remove architecture-specific entries.
4793 Moved to files in sysdeps.
4794 * shlib-versions: Likewise.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4797 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4798 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4799 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4800 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4802 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4803 (UDP_NO_CHECK6_RX): Likewise.
4805 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4807 * sysdeps/posix/sysconf.c (__sysconf): Spell
4808 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4810 2014-08-12 Florian Weimer <fweimer@redhat.com>
4812 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4814 * iconv/Versions (__gconv_transliterate): Export for use from
4816 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4817 (struct __gconv_trans_data, __gconv_trans_fct,
4818 __gconv_trans_context_fct, __gconv_trans_query_fct,
4819 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4821 (struct __gconv_step_data): Remove __trans member.
4822 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4823 longer hidden. Remove unused trans_data argument.
4824 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4825 (__gconv_translit_find): Remove declaration.
4826 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4828 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4829 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4830 trans_data argument. Add hidden definition.
4831 (__gconv_translit_find): Remove.
4832 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4833 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4834 * iconv/skeleton.c: Remove transliteration initialization.
4835 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4836 __gconv_step_data initialization.
4837 * libio/iofwide.c (__libio_translit_): Remove.
4838 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4839 * wcsmbs/btowc.c (__btowc): Likewise.
4840 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4841 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4842 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4843 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4844 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4845 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4846 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4847 * wcsmbs/wctob.c (wctob): Likewise.
4849 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4852 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4853 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4855 * sysdeps/x86/Makefile: Adjust.
4857 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4858 Roland McGrath <roland@hack.frob.com>
4860 * locale/weight.h: Add include guard.
4861 (findidx): Make static rather than auto; take new parameters
4862 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4863 * locale/weightwc.h: Likewise.
4864 * posix/fnmatch_loop.c
4865 (FCT): Change type of EXTRA from int32_t to wint_t.
4866 Don't include either header inside the function.
4867 Call FINDIDX rather than findidx, and pass new arguments.
4868 #undef FINDIDX at the end of the file.
4869 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4870 FINDIDX before including fnmatch_loop.c for the non-wide version.
4871 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4872 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4873 for the wide version.
4874 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4875 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4876 Pass new arguments to findidx.
4877 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4878 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4879 Don't #include it inside the function. Pass new arguments to findidx.
4880 * posix/regex_internal.h
4881 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4882 (re_string_elem_size_at): Don't #include it inside the function.
4883 Pass new arguments to findidx.
4884 * string/strcoll_l.c: #include WEIGHT_H at top level.
4885 (get_next_seq): Don't #include it inside the function.
4886 Pass new arguments to findidx.
4887 (get_next_seq_nocache): Likewise.
4888 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4889 (STRXFRM): Don't #include it inside the function.
4890 Pass new arguments to findidx.
4892 2014-09-11 Florian Weimer <fweimer@redhat.com>
4895 * malloc/malloc.c (unlink): Turn asserts into a call to
4898 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
4901 * libio/wfileops (do_ftell_wide): Free OUT.
4903 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4905 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4907 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4910 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4911 group if the current group is empty.
4913 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4915 * benchtests/bench-memset.c (test_main): Add more test from size
4916 from 32 to 512 bytes.
4917 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4918 Add POWER8 memset object.
4919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4920 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4921 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4923 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4925 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4926 multiarch POWER8 memset optimization.
4927 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4928 POWER8 memset optimization.
4930 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4931 Remove bzero multiarch objects.
4932 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4933 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4934 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4935 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4937 [__bzero]: Redefine to specific name.
4938 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4939 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4940 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4942 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4943 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4945 2014-09-10 Florian Weimer <fweimer@redhat.com>
4947 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4948 warnings into errors.
4950 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4951 __cxa_thread_atexit_impl prototype.
4953 2014-09-09 Steve Ellcey <sellcey@mips.com>
4955 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4956 Fix capitalization of error message.
4958 2014-09-09 Steve Ellcey <sellcey@mips.com>
4960 * sysdeps/mips/preconfigure: Modify ABI tests.
4962 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4964 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4966 2014-09-07 Roland McGrath <roland@hack.frob.com>
4967 Carlos O'Donell <carlos@systemhalted.org>
4969 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4970 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4971 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4972 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4973 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4974 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4975 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4976 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4977 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4978 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4979 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4980 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4981 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4982 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4983 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4984 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4985 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4986 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4987 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4988 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4989 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4990 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4991 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4992 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4993 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4994 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4995 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4996 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4997 Deconditionalize the code that was previously under [RESET_PID].
4998 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4999 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5000 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5001 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5004 2014-09-08 Allan McRae <allan@archlinux.org>
5006 * version.h (RELEASE): Set to "development".
5007 (VERSION): Set to "2.20.90"
5009 2014-09-07 Allan McRae <allan@archlinux.org
5011 * version.h (RELEASE): Set to "stable".
5012 (VERSION): Set to "2.20"
5013 * include/features.h (__GLIBC_MINOR__): Set to 20.
5015 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5018 * po/ko.po: Update Korean translation from translation project.
5020 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5023 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5024 macro for handling signed relocations.
5026 2014-09-03 Florian Weimer <fweimer@redhat.com>
5029 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5030 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5032 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5033 * iconvdata/ibm935.c (BODY): Likewise.
5034 * iconvdata/ibm937.c (BODY): Likewise.
5035 * iconvdata/ibm939.c (BODY): Likewise.
5036 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5038 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5040 * iconvdata/run-iconv-test.sh: New test loop for checking for
5043 2014-09-02 Khem Raj <raj.khem@gmail.com>
5045 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5048 2014-09-01 Allan McRae <allan@archlinux.org>
5050 * po/eo.po: Update Esperanto translation from translation project.
5052 * po/ca.po: Update Catalan translation from translation project.
5054 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5056 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5059 2014-08-27 Mark Wielaard <mjw@redhat.com>
5062 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5063 to call set_thread_area instead of hand written asm.
5064 (__NR_set_thread_area): Removed define.
5065 (TLS_FLAG_WRITABLE): Likewise.
5066 (__ASSUME_SET_THREAD_AREA): Remove check.
5067 (TLS_EBX_ARG): Remove define.
5068 (TLS_LOAD_EBX): Likewise.
5070 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5072 Simplify atomicity of socket creation in bind.
5074 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5075 looking up the name after linking the file.
5077 2014-08-27 Allan McRae <allan@archlinux.org>
5079 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5081 2014-08-26 Florian Weimer <fweimer@redhat.com>
5084 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5085 trans_compare, open_translit, __gconv_translit_find):
5086 Remove module loading code.
5088 2014-08-26 Allan McRae <allan@archlinux.org>
5090 * po/vi.po: Update Vietnamese translation from translation project.
5092 * po/uk.po: Update Ukrainian translation from translation project.
5094 * po/fr.po: Update French translation from translation project.
5096 * po/ru.po: Update Russian translation from translation project.
5098 * po/pl.po: Update Polish translation from translation project.
5100 * po/cs.po: Update Czech translation from translation project.
5102 * po/de.po: Update German translation from translation project.
5104 * po/bg.po: Update Bulgarian translation from translation project.
5106 * po/sv.po: Update Sweedish translation from translation project.
5108 * po/nl.po: Update Dutch translation from translation project.
5110 * po/es.po: Update Spanish translation from translation project.
5112 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5114 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5116 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5117 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5118 (CPPFLAGS-iconvconfig): Likewise.
5119 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5121 * include/libc-symbols.h: Remove unnecessary check for
5123 * nptl/pthreadP.h: Likewise.
5124 * sysdeps/aarch64/setjmp.S: Likewise.
5125 * sysdeps/alpha/setjmp.S: Likewise.
5126 * sysdeps/arm/sysdep.h: Likewise.
5127 * sysdeps/i386/setjmp.S: Likewise.
5128 * sysdeps/m68k/setjmp.c: Likewise.
5129 * sysdeps/posix/getcwd.c: Likewise.
5130 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5131 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5132 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5133 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5134 * sysdeps/sh/sh3/setjmp.S: Likewise.
5135 * sysdeps/sh/sh4/setjmp.S: Likewise.
5136 * sysdeps/unix/alpha/sysdep.h: Likewise.
5137 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5138 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5139 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5140 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5144 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5145 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5148 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5150 * sysdeps/x86_64/setjmp.S: Likewise.
5152 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5155 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5157 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5158 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5160 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5162 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5165 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5166 and __x86_64__ when disabling x87 inline functions.
5168 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5171 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5172 asm statement with __cpuid_count.
5174 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5176 * configure.ac: Change __ehdr_start code to dereference the struct.
5177 Run readelf on the output to look for relocations.
5178 * configure: Regenerated.
5180 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5183 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5185 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5187 2014-08-12 Roland McGrath <roland@hack.frob.com>
5189 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5191 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5194 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5195 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5197 2014-08-12 Sean Anderson <seanga2@gmail.com>
5199 * malloc/malloc.c: Fix typo in comment.
5201 2014-08-09 Allan McRae <allan@archlinux.org>
5203 * Regenerate libc.po.
5205 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5207 * intl/tst-gettext2.sh: Check every lang file for creation.
5209 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5211 * sysdeps/aarch64/fpu/math_private.h
5212 (libc_feholdsetround_noex_aarch64_ctx): New function.
5214 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5216 * sysdeps/arm/armv6/strcpy.S (strcpy):
5217 Fix performance issue in misaligned cases.
5219 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5221 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5222 Move definition from termios.h.
5223 (struct termio): Likewise.
5224 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5225 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5226 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5227 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5229 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5230 Move definition to ioctl-types.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):
5238 2014-08-05 Richard Henderson <rth@redhat.com>
5240 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5242 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5244 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5245 Use __feraiseexcept.
5246 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5247 Protect libm symbols with IS_IN_libm.
5249 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5251 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5253 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5255 2014-08-04 Will Newton <will.newton@linaro.org>
5257 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5260 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5262 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5263 variants for each function.
5265 2014-08-04 Roland McGrath <roland@hack.frob.com>
5267 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5269 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5270 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5272 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5273 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5274 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5275 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5276 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5277 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5278 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5279 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5280 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5281 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5282 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5284 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5285 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5286 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5287 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5288 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5289 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5290 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5291 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5292 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5293 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5294 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5295 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5296 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5297 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5298 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5299 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5300 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5301 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5302 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5303 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5304 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5305 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5306 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5307 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5308 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5309 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5310 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5311 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5312 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5313 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5314 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5315 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5316 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5317 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5318 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5319 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5320 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5321 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5322 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5323 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5324 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5326 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5327 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5329 2014-08-04 Roland McGrath <roland@hack.frob.com>
5331 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5332 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5333 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5334 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5335 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5336 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5338 2014-08-04 Roland McGrath <roland@hack.frob.com>
5340 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5341 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5342 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5343 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5345 2014-08-04 Roland McGrath <roland@hack.frob.com>
5347 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5348 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5349 (__libc_vfork): Define function under this name.
5350 (__vfork): Define as an alias.
5351 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5352 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5354 2014-08-04 Roland McGrath <roland@hack.frob.com>
5356 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5357 that was previously under [RESET_PID].
5358 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5360 2014-08-04 Andreas Schwab <schwab@suse.de>
5362 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5364 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5366 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5369 2014-08-01 Roland McGrath <roland@hack.frob.com>
5371 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5373 2014-08-01 Richard Henderon <rth@redhat.com>
5375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5376 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5377 typo in exact zero test.
5378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5379 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5382 2014-08-01 Roland McGrath <roland@hack.frob.com>
5384 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5385 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5386 * sysdeps/arm/sysdep.h: ... here.
5387 [!__ASSEMBLER__]: Include <stdint.h>.
5389 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5391 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5392 (HAVE_WCTYPE_H): Likewise.
5393 (HAVE_ISWCTYPE): Likewise.
5394 (ENABLE_NLS): Likewise.
5395 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5396 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5398 * posix/regex_internal.c: Check if DEBUG is defined and is
5401 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5402 (HAVE_MBSRTOWCS): Likewise.
5403 * posix/fnmatch.c: Include string.h unconditionally.
5405 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5407 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5410 2014-07-31 Roland McGrath <roland@hack.frob.com>
5412 * sysdeps/generic/safe-fatal.h: New file.
5413 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5414 * nptl/forward.c: Include it.
5415 (__pthread_unwind): Use __safe_fatal as default action, rather
5416 than a bogus use of INTERNAL_SYSCALL that could never work.
5418 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5419 * configure.ac (libc_cv_builtin_trap): New test.
5420 * configure: Regenerated.
5421 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5422 (ABORT_INSTRUCTION): Define using __builtin_trap.
5424 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5425 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5426 * sysdeps/nptl/nptl-signals.h: New file.
5427 * nptl/pthreadP.h: Include <nptl-signals.h>.
5429 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5431 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5432 (ONE_DIRECTION): Define.
5433 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5434 (ONE_DIRECTION): Define.
5435 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5436 (ONE_DIRECTION): Define.
5438 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5440 * sysdeps/s390/Makefile: Delete file.
5441 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5442 * sysdeps/s390/__longjmp.c: Delete file.
5443 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5444 Remove fields __flags and __reserved.
5445 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5447 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5448 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5449 * sysdeps/s390/rtld-setjmp.S: Likewise.
5450 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5451 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5452 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5453 * sysdeps/s390/s390-32/setjmp.S: ... here.
5455 (__sigsetjmp): Remove setting __flags field.
5456 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5457 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5458 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5459 * sysdeps/s390/s390-64/setjmp.S: ... here.
5461 (__sigsetjmp): Remove setting __flags field.
5462 * sysdeps/s390/setjmp.S: Delete file.
5463 * sysdeps/s390/sigjmp.c: Likewise.
5464 * sysdeps/s390/v1-longjmp.c: Likewise.
5465 * sysdeps/s390/v1-setjmp.h: Likewise.
5466 * sysdeps/s390/v1-sigjmp.c: Likewise.
5467 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5468 Remove v1-longjmp_chk.
5469 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5470 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5471 Include debug/longjmp_chk.c and add versioning.
5472 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5473 Include nptl/pt-longjmp.c and add versioning.
5474 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5475 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5476 Include __longjmp.c.
5477 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5479 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5480 (__getcontext): Remove setting __flags field.
5482 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5483 Don't restore upper high grps.
5484 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5486 (__swapcontext): Remove setting uc_flags field.
5487 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5489 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5490 Include __longjmp.c.
5491 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5493 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5494 (__getcontext): Remove setting __flags field.
5496 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5497 (__swapcontext): Remove setting uc_flags field.
5498 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5499 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5500 Remove fields uc_high_gprs and __reserved.
5501 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5502 New file with reverted content.
5503 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5504 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5506 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5509 2014-07-31 Andreas Schwab <schwab@suse.de>
5511 * config.h.in (HAVE_IFUNC): Define to 0.
5512 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5515 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5518 memmove-avx-unaligned, memcpy-avx-unaligned and
5519 mempcpy-avx-unaligned.
5520 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5521 Add tests for AVX memcpy functions.
5522 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5523 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5525 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5526 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5528 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5529 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5531 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5532 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5533 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5535 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5538 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5541 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
5544 * manual/llio.texi: Add section about open file description locks.
5545 * manual/examples/ofdlocks.c: Example of open file description
5547 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5548 F_OFD_SETLK, and F_OFD_SETLKW.
5550 2014-07-23 Allan McRae <allan@archlinux.org>
5552 * po/es.po: Update Spanish translation from translation project.
5554 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5556 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5558 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5561 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5562 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5563 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5565 2014-07-17 Joseph Myers <joseph@codesourcery.com>
5568 * math/fesetenv.c (__fesetenv)
5569 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5570 * math/feupdateenv.c (__feupdateenv)
5571 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5573 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5574 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5575 (__ASSUME_SOCKETCALL): Do not define.
5577 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5578 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5579 (__ASSUME_SOCKETCALL): Do not define.
5580 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5581 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5582 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5583 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5584 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5585 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5586 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5587 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5589 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5590 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5591 (__ASSUME_SOCKETCALL): Do not define.
5592 (__ASSUME_IPC64): Define unconditionally.
5593 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5594 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5595 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5596 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5597 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5598 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5599 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5602 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5603 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5604 (__ASSUME_SOCKETCALL): Do not define.
5605 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5606 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5607 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5608 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5609 (__ASSUME_REQUEUE_PI): Define unconditionally.
5610 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5611 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5612 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5613 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5614 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5615 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5617 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5618 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5619 (__ASSUME_SOCKETCALL): Do not define.
5620 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5621 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5622 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5623 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5624 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5625 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5627 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5628 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5629 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5630 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5631 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5632 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5633 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5634 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5635 (__ASSUME_GETCPU_SYSCALL): Likewise.
5637 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5638 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5639 cases for individual architectures.
5640 * sysdeps/gnu/configure: Regenerated.
5641 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5642 LIBC_SLIBDIR_RTLDDIR.
5643 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5644 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5645 LIBC_SLIBDIR_RTLDDIR.
5646 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5648 LIBC_SLIBDIR_RTLDDIR.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5651 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5652 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5654 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5655 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5657 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5658 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5659 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5660 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5662 * sysdeps/aarch64/shlib-versions: Move to ...
5663 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5664 * sysdeps/alpha/shlib-versions: Move to ...
5665 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5666 * sysdeps/arm/shlib-versions: Move to ...
5667 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5668 * sysdeps/hppa/shlib-versions: Move all contents except for
5669 libgcc_s entry to ...
5670 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5672 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5673 * sysdeps/ia64/shlib-versions: Move to ...
5674 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5676 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5677 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5678 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5679 * sysdeps/microblaze/shlib-versions: Move to ...
5680 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5681 * sysdeps/mips/shlib-versions: Move to ...
5682 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5684 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5685 * sysdeps/tile/shlib-versions: Move to ...
5686 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5687 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5689 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5690 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5692 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5694 2014-07-17 Will Newton <will.newton@linaro.org>
5696 * sysdeps/arm/bits/atomic.h
5697 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5698 (__arch_compare_and_exchange_bool_16_int): Likewise.
5699 (__arch_compare_and_exchange_bool_64_int): Likewise.
5701 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5702 into an #else block.
5704 2014-07-16 Roland McGrath <roland@hack.frob.com>
5706 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5707 just Linux configurations. Test empirically that the compiler sets
5708 __ARM_EABI__, rather than using the tuple to decide.
5709 * sysdeps/arm/preconfigure: Regenerated.
5710 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5711 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5712 contents appended ...
5713 * sysdeps/arm/configure.ac: ... here.
5714 * sysdeps/arm/configure: Regenerated.
5716 2014-07-15 Roland McGrath <roland@hack.frob.com>
5718 * nptl/pthread_kill.c: New file.
5719 * nptl/pthread_sigmask.c: New file.
5720 * nptl/pthread_sigqueue.c: New file.
5722 * sysdeps/nptl/lowlevellock.h: New file.
5723 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5724 * sysdeps/nptl/lowlevellock-futex.h: New file.
5726 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5727 Remove dead declarations.
5729 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5731 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5732 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5734 * sysdeps/x86_64/configure.ac: Likewise.
5735 * sysdeps/i386/configure: Regenerated.
5736 * sysdeps/x86_64/configure: Likewise.
5737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5738 memset-avx2 only if config-cflags-avx2 is yes.
5739 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5740 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5742 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5743 only if HAVE_AVX2_SUPPORT is defined.
5744 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5746 2014-07-14 Alan Modra <amodra@gmail.com>
5749 * elf/elf.h (DT_PPC64_NUM): Correct value.
5750 * NEWS: Add to fixed bug list.
5752 2014-07-13 Jim Meyering <meyering@fb.com>
5755 regex: don't deref NULL upon heap allocation failure
5756 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5757 failure in one more place.
5758 To trigger the segfault, configure grep -with-included-regex,
5759 build it, and run these commands:
5760 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5762 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5764 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5766 2014-07-11 Richard Henderson <rth@redhat.com>
5768 * sysdeps/aarch64/libm-test-ulps: Update.
5770 2014-07-10 Florian Weimer <fweimer@redhat.com>
5773 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5774 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5775 (__nptl_setxid): Initialize error member. Call
5776 __nptl_setxid_error.
5777 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5778 * nptl/descr.h (struct xid_command): Add error member.
5779 * nptl/tst-setuid3.c: New file.
5780 * nptl/Makefile (tests): Add it.
5782 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5784 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5786 (__lll_trylock): Use __lll_base_trylock.
5787 (__lll_cond_trylock): Likewise.
5789 2014-07-10 Roland McGrath <roland@hack.frob.com>
5791 * nptl/pthread_create.c (start_thread): Use atomic_or and
5792 lll_futex_wake directly rather than lll_robust_dead.
5793 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5794 (lll_robust_dead): Macro removed.
5795 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5796 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5797 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5798 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5799 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5800 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5801 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5802 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5803 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5804 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5805 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5806 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5807 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5808 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5809 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5811 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5812 Use atomic_compare_and_exchange_val_acq directly rather than
5814 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5815 (__lll_robust_trylock, lll_robust_trylock): Removed.
5816 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5817 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5818 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5819 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5820 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5821 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5822 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5823 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5824 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5825 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5826 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5827 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5828 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5829 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5831 2014-07-02 Florian Weimer <fweimer@redhat.com>
5833 * manual/locale.texi (Locale Names): New section documenting
5834 locale name syntax. Adjust menu and node chaining accordingly.
5835 (Choosing Locale): Reference Locale Names, Locale Categories.
5836 Mention setting LC_ALL=C. Reflect that name syntax is now
5838 (Locale Categories): New section title. Reference Locale Names.
5839 LC_ALL is an environment variable, but not a category.
5840 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5841 description, now in Locale Name. Reference that section. Locale
5842 name syntax is now documented.
5844 2014-07-02 Florian Weimer <fweimer@redhat.com>
5847 * locale/findlocale.c (name_present, valid_locale_name): New
5849 (_nl_find_locale): Use the loc_name variable to store name
5850 candidates. Call name_present and valid_locale_name to check and
5851 validate locale names. Return an error if the locale is invalid.
5853 2014-07-02 Florian Weimer <fweimer@redhat.com>
5855 * locale/setlocale.c (setlocale): Use strdup for allocating
5856 composite name copy.
5858 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5860 Sync up with gnulib.
5861 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5862 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5863 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5864 and _GL_ARG_NONNULL.
5865 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5866 [!_LIBC]: Include code for Windows and Cygwin.
5867 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5868 Include prototype for int strerror_r.
5869 [!_LIBC] (is_open): New function.
5870 (flush_stdout): New function.
5871 (print_errno_message): Use it.
5873 (error_at_line): Likewise.
5874 (error_tail) Add function attribute macros. Use
5877 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5879 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5881 * io/ftw.c: Include sys/param.h unconditionally.
5883 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5886 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5888 (freecache): New function to free CACHE on exit.
5890 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5893 2014-07-09 David S. Miller <davem@davemloft.net>
5895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5897 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5898 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5899 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5900 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5901 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5902 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5903 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5904 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5905 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5906 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5907 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5908 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5909 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5911 2014-07-09 Andreas Schwab <schwab@suse.de>
5913 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5915 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5916 (do_test): Likewise.
5918 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5920 2014-07-09 Will Newton <will.newton@linaro.org>
5922 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5923 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5924 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5925 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5926 * sysdeps/hppa/start.S (_start): Likewise.
5928 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5930 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5932 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5935 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5937 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5938 after checking that it is non-NULL.
5940 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5942 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5944 * sysdeps/powerpc/memmove.c: Remove file.
5945 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5946 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5947 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5948 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5949 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5950 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5951 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5952 string memmove instead of removed powerpc one.
5954 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5955 [weak_alias]: Fix compiler warning due trailing data.
5956 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5957 [weak_alias]: Likewise.
5958 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5959 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5962 (__libc_ifunc_impl_list): Add memmove functions.
5964 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5966 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5968 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5970 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5972 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5974 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5976 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5978 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5980 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5982 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5984 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5986 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5988 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5990 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5992 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5994 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5996 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5998 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6001 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6003 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6004 to avoid alignment traps in non-cacheable memory.
6005 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6009 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6010 file: multiarch power7 memmove.
6011 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6012 multiarch default memmove.
6013 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6014 multiarch memove for powerpc32/power4.
6016 * string/bcopy.c: Use full path to include memmove.c.
6017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6019 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6020 bcopy for powerpc64.
6021 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6022 bcopy for powerpc64.
6023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6024 and memmove implementations.
6025 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6026 optimized multiarch memmove for POWER7/powerpc64.
6027 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6028 default multiarch memmove for powerpc64.
6029 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6030 multiarch for powerpc64.
6031 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6032 for POWER7/powerpc64.
6033 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6034 memmove for POWER7/powerpc64.
6036 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6039 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6040 __ELF_NATIVE_CLASS equal to 64.
6042 2014-07-07 Roland McGrath <roland@hack.frob.com>
6044 * sysdeps/nptl/lowlevellock.h: File removed.
6046 * NEWS: NPTL is no longer an add-on!
6047 * nptl/internaltypes.h: Moved ...
6048 * sysdeps/nptl/internaltypes.h: ... here.
6049 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6050 * sysdeps/nptl/fork.c: Likewise.
6051 * sysdeps/nptl/gai_misc.h: Likewise.
6052 * sysdeps/nptl/librt-cancellation.c: Likewise.
6053 * sysdeps/nptl/jmp-unwind.c: Likewise.
6054 * sysdeps/nptl/setxid.h: Likewise.
6055 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6056 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6057 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6058 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6059 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6060 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6061 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6062 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6063 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6064 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6065 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6066 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6067 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6068 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6069 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6070 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6071 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6072 * nptl/Makeconfig: Moved ...
6073 * sysdeps/nptl/Makeconfig: ... here.
6074 * nptl/configure: File removed.
6075 * nptl/ANNOUNCE: File removed.
6076 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6077 * sysdeps/unix/sysv/linux/configure: Regenerated.
6079 * nptl/Makefile (routines): Add libc_pthread_init,
6080 libc_multiple_threads, register-atfork and unregister-atfork.
6081 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6082 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6083 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6084 pthread-pi-defines.sym, structsem.sym.
6085 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6086 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6087 [$(subdir) = nptl] (tests): Add tst-setgetname.
6088 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6089 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6090 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6091 [!LIBC_SIGACTION]: Remove aliases.
6092 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6093 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6094 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6095 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6096 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6097 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6098 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6099 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6100 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6101 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6102 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6103 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6104 __libc_allocate_rtsig_private.
6105 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6106 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6107 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6108 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6109 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6110 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6111 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6112 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6113 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6114 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6115 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6116 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6117 * nptl/internaltypes.h: ... here.
6118 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6119 * sysdeps/nptl/jmp-unwind.c: ... here.
6120 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6121 * nptl/libc-lowlevellock.c: ... here.
6122 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6123 * nptl/libc_multiple_threads.c: ... here.
6124 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6125 * nptl/libc_pthread_init.c: ... here.
6126 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6127 * nptl/lowlevelbarrier.sym: ... here.
6128 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6129 * nptl/lowlevelcond.sym: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6131 * nptl/lowlevellock.c: ... here.
6132 * nptl/lowlevellock.h: Moved ...
6133 * sysdeps/nptl/lowlevellock.h: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6135 * nptl/lowlevelrobustlock.c: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6137 * nptl/lowlevelrobustlock.sym: ... here.
6138 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6139 * nptl/lowlevelrwlock.sym: ... here.
6140 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6141 * nptl/pt-fork.c: ... here.
6142 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6143 * nptl/pthread-pi-defines.sym: ... here.
6144 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6145 * nptl/pthread_attr_getaffinity.c: ... here.
6146 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6147 * nptl/pthread_attr_setaffinity.c: ... here.
6148 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6149 * nptl/pthread_mutex_cond_lock.c: ... here.
6150 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6152 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6153 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6154 * nptl/pthread_once.c: ... here, replacing old file.
6155 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6156 * nptl/pthread_yield.c: ... here.
6157 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6158 * nptl/register-atfork.c: ... here.
6159 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6160 * nptl/sem_post.c: ... here.
6161 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6162 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6163 * nptl/sem_timedwait.c: ... here.
6164 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6165 * nptl/sem_trywait.c: ... here.
6166 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6167 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6168 * nptl/sem_wait.c: ... here.
6169 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6170 * nptl/structsem.sym: ... here.
6171 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6172 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6173 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6174 * nptl/unregister-atfork.c: ... here.
6175 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6176 * nptl/unwindbuf.sym: ... here.
6177 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6178 * sysdeps/nptl/fork.c: ... here.
6179 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6180 * sysdeps/nptl/fork.h: ... here.
6181 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6182 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6183 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6184 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6185 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6186 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6187 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6188 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6189 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6190 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6191 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6192 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6193 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6194 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6195 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6196 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6197 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6198 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6199 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6200 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6201 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6202 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6203 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6204 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6205 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6206 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6207 * sysdeps/unix/sysv/linux/raise.c: ... here.
6208 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6209 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6210 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6211 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6212 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6213 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6214 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6215 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6217 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6218 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6219 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6220 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6221 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6222 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6224 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6226 * sysdeps/generic/memcopy.h: Add comment for
6227 MEMCPY_OK_FOR_FWD_MEMMOVE.
6229 2014-07-04 Will Newton <will.newton@linaro.org>
6231 * string/memchr.c: Merge from gnulib.
6232 [_LIBC]: Remove conditionals.
6233 (__ptr_t): Remove define.
6234 (LONG_MAX_32_BITS): Likewise.
6235 (LONG_MAX): Likewise.
6236 (MEMCHR): Use ANSI prototype and optimize algorithm.
6238 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6240 2014-07-03 Roland McGrath <roland@hack.frob.com>
6242 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6243 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6245 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6246 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6247 in a bare environment with no <stdlib.h> installed.
6248 * sysdeps/nptl/configure: Regenerated.
6250 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6252 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6253 AC_EGREP_CPP for kernel header checks, so they only succeed if
6254 including <linux/version.h> actually works right.
6255 * sysdeps/unix/sysv/linux/configure: Regenerated.
6257 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6258 value so it's not diagnosed as unused.
6260 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6261 thing) with "ifeq ($(subdir),rt)".
6263 2014-07-03 Richard Henderson <rth@redhat.com>
6265 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6266 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6267 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6269 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6270 (math_force_eval): New.
6272 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6273 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6275 * sysdeps/alpha/fpu/s_round.c: Remove file.
6276 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6278 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6279 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6280 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6281 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6282 (_dl_start, print_statistics): Likewise.
6283 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6284 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6286 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6287 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6288 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6289 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6290 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6291 (HP_SMALL_TIMING_AVAIL): Define.
6292 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6293 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6294 (HP_SMALL_TIMING_AVAIL): Define.
6295 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6296 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6298 * sysdeps/aarch64/hp-timing.h: New file.
6300 * sysdeps/generic/hp-timing.h: Remove dead comment.
6301 * sysdeps/generic/hp-timing-common.h: New file.
6302 * sysdeps/alpha/hp-timing.h: Include it.
6303 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6304 * sysdeps/i386/i686/hp-timing.h: Likewise.
6305 * sysdeps/ia64/hp-timing.h: Likewise.
6306 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6307 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6308 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6309 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6310 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6311 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6314 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6315 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6316 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6317 * elf/rtld.c (_dl_start_final): Likewise.
6318 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6319 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6320 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6321 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6322 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6323 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6324 (HP_TIMING_DIFF_INIT): Remove.
6325 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6326 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6327 (HP_TIMING_DIFF_INIT): Remove.
6328 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6329 * sysdeps/i386/i686/hp-timing.c: Remove file.
6330 * sysdeps/x86_64/hp-timing.c: Remove file.
6331 * sysdeps/ia64/hp-timing.c: Remove file.
6332 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6333 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6334 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6335 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6337 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6338 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6339 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6340 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6341 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6342 (HP_TIMING_ACCUM): Remove.
6343 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6344 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6345 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6347 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6348 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6349 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6350 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6351 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6352 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6353 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6354 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6356 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6358 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6360 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6362 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6364 Sync up with gettext.
6365 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6366 [_MSC_VER]: Include malloc.h
6367 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6368 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6369 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6370 TEMP_FAILURE_RETRY. Cast return of alloca.
6371 [!_LIBC] Call gl_rwlock_init.
6372 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6374 2014-07-02 Roland McGrath <roland@hack.frob.com>
6376 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6377 before checking its value.
6379 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6381 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6383 * debug/memcpy_chk.c: Don't include pagecopy.h.
6384 * debug/mempcpy_chk.c: Likewise.
6385 * string/memcpy.c: Likewise.
6386 * string/memmove.c: Likewise.
6387 * sysdeps/powerpc/memmove.c: Likewise.
6388 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6389 definition of PAGE_COPY_FWD_MAYBE here...
6390 * sysdeps/generic/pagecopy.h: ... from here.
6391 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6393 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6394 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6400 (__libc_ifunc_impl_list): Likewise.
6401 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6402 multiarch strcat for PPC64.
6403 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6404 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6406 2014-07-02 Roland McGrath <roland@hack.frob.com>
6408 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6410 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6412 * intl/loadmsgcat.c: Remove declaration of
6413 get_sysdep_segment_value.
6414 (get_sysdep_segment_value): Use ISO C style.
6415 (_nl_load_domain): Use ISO C style. Get rid of redundant
6416 semicolon. Fix typo and formatting in comment.
6417 (_nl_unload_domain): Use ISO C style.
6419 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6421 2014-07-02 Will Newton <will.newton@linaro.org>
6423 * malloc/obstack.c: Merge from gnulib master.
6424 [HAVE_CONFIG_H]: Remove conditional code.
6425 [!_LIBC]: Include config.h.
6426 [!ELIDE_CODE]: Don't include inttypes.h, include
6427 stdint.h unconditionally.
6428 (print_and_abort): Mark as _Noreturn.
6429 (_obstack_allocated_p): Mark as __attribute_pure__.
6430 (obstack_free): Rename to __obstack_free.
6431 [!__attribute__]: Remove conditional code.
6432 * malloc/obstack.h: Merge from gnulib master.
6433 [__cplusplus]: Move conditional down.
6434 [!__attribute_pure__]: Define __attribute_pure__ here
6435 if it is not already defined.
6436 (_obstack_memory_used): Mark as __attribute_pure__.
6437 [!__obstack_free]: Define as obstack_free.
6438 [__GNUC__]: Remove check for ancient NeXT gcc.
6440 2014-07-02 Will Newton <will.newton@linaro.org>
6441 Paul Eggert <eggert@cs.ucla.edu>
6443 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6445 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6447 * resolv/gethnamaddr.c: Add comment warning that the file is
6450 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6452 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6455 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6456 entry for aio_cancel and aio_cancel64.
6457 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6458 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6459 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6460 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6461 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6462 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6463 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6464 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6465 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6466 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6467 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6468 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6469 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6471 2014-07-01 Roland McGrath <roland@hack.frob.com>
6473 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6474 * nptl/pthread_mutex_lock.c: Likewise.
6475 * nptl/pthread_mutex_timedlock.c: Likewise.
6476 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6478 2014-07-01 Richard henderson <rth@redhat.com>
6480 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6481 (__isnan, __isnanl): Remove.
6482 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6484 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6486 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6488 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6490 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6492 * resolv/nss_dns/dns-host.c (getanswer_r)
6493 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6495 2014-07-01 Joseph Myers <joseph@codesourcery.com>
6497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6498 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6500 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6501 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6503 2014-07-01 Roland McGrath <roland@hack.frob.com>
6505 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6506 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6508 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6509 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6511 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6512 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6514 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6515 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6517 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6518 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6519 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6520 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6522 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6523 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6524 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6525 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6526 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6528 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6530 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6531 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6532 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6533 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6534 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6535 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6536 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6537 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6538 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6539 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6540 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6541 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6542 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6543 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6544 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6545 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6546 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6547 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6548 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6549 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6551 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6552 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6553 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6554 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6555 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6556 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6557 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6558 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6560 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6562 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6563 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6564 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6567 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6571 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6573 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6574 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6576 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6578 * sysdeps/arm/libm-test-ulps: Regenerated.
6580 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6581 Roland McGrath <roland@hack.frob.com>
6583 * test-skeleton.c (signal_handler): Kill the whole process group
6584 before killing the child individually.
6585 (main): Report any failure on `setpgid'.
6587 2014-06-30 Roland McGrath <roland@hack.frob.com>
6589 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6590 from _TLS_H to _ARM_NPTL_TLS_H.
6591 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6592 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6594 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6597 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6598 (__expm1l): Return argument unchanged when small but not
6601 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6603 (_FP_UNPACK_RAW_1_P): Likewise.
6604 (_FP_PACK_RAW_1): Likewise.
6605 (_FP_PACK_RAW_1_P): Likewise.
6606 (_FP_MUL_MEAT_1_wide): Likewise.
6607 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6608 (_FP_MUL_MEAT_1_hard): Likewise.
6609 (_FP_DIV_MEAT_1_imm): Likewise.
6610 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6611 (_FP_DIV_MEAT_1_udiv): Likewise.
6612 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6613 (_FP_UNPACK_RAW_2): Likewise.
6614 (_FP_UNPACK_RAW_2_P): Likewise.
6615 (_FP_PACK_RAW_2): Likewise.
6616 (_FP_PACK_RAW_2_P): Likewise.
6617 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6618 (_FP_MUL_MEAT_2_wide): Likewise.
6619 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6620 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6621 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6622 (_FP_MUL_MEAT_2_gmp): Likewise.
6623 (_FP_DIV_MEAT_2_udiv): Likewise.
6624 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6625 (_FP_FRAC_SRL_4): Likewise.
6626 (_FP_FRAC_SRST_4): Likewise.
6627 (_FP_FRAC_SRS_4): Likewise.
6628 (_FP_UNPACK_RAW_4): Likewise.
6629 (_FP_UNPACK_RAW_4_P): Likewise.
6630 (_FP_PACK_RAW_4): Likewise.
6631 (_FP_PACK_RAW_4_P): Likewise.
6632 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6633 (_FP_MUL_MEAT_4_wide): Likewise.
6634 (_FP_MUL_MEAT_4_gmp): Likewise.
6635 (umul_ppppmnnn): Likewise.
6636 (_FP_DIV_MEAT_4_udiv): Likewise.
6637 (__FP_FRAC_ADD_4): Likewise.
6638 (__FP_FRAC_SUB_3): Likewise.
6639 (__FP_FRAC_SUB_4): Likewise.
6640 (__FP_FRAC_DEC_3): Likewise.
6641 (__FP_FRAC_DEC_4): Likewise.
6642 (__FP_FRAC_ADDI_4): Likewise.
6643 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6644 (_FP_FRAC_SRL_8): Likewise.
6645 (_FP_FRAC_SRS_8): Likewise.
6647 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6649 (FP_UNPACK_RAW_EP): Likewise.
6650 (FP_PACK_RAW_E): Likewise.
6651 (FP_PACK_RAW_EP): Likewise.
6652 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6653 (_FP_ISSIGNAN): Likewise.
6654 (_FP_ADD_INTERNAL): Likewise.
6655 (_FP_FMA): Likewise.
6656 (_FP_CMP): Likewise.
6657 (_FP_SQRT): Likewise.
6658 (_FP_TO_INT): Likewise.
6659 (_FP_FROM_INT): Likewise.
6660 (FP_EXTEND): Likewise.
6661 (_FP_DIV_MEAT_N_loop): Likewise.
6663 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6665 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6668 2014-06-29 Joseph Myers <joseph@codesourcery.com>
6671 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6672 result with correct sign in case of exponents that produce
6673 overflow except for X very close to 1.
6675 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6677 mktime: merge #if/#ifdef usage from glibc
6678 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6679 as that works with both Glibc's and Gnulib's style.
6680 See thread starting at Siddhesh Poyarekar's bug report at:
6681 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6683 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6685 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6686 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6687 * sysdeps/tile/tilegx/memmove.c: Remove file.
6689 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6691 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6692 abi-name definition.
6693 * scripts/soversions.awk: Do not handle or generate ABI lines.
6694 * shlib-versions: Remove ABI entries.
6695 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6696 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6698 2014-06-27 Roland McGrath <roland@hack.frob.com>
6700 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6701 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6702 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6703 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6704 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6705 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6706 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6708 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6710 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6711 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6712 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6713 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6714 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6715 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6716 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6717 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6718 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6719 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6720 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6721 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6722 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6724 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6725 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6726 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6727 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6728 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6729 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6731 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6732 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6734 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6735 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6736 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6737 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6739 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6740 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6741 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6742 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6743 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6744 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6745 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6746 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6748 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6749 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6750 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6751 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6753 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6754 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6756 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6757 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6758 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6759 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6761 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6763 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6764 Identical file removed.
6765 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6767 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6768 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6769 Identical file removed.
6770 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6771 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6772 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6774 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6775 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6776 Identical file removed.
6777 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6778 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6779 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6780 Identical file removed.
6781 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6782 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6783 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6784 Identical file removed.
6785 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6786 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6787 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6788 Identical file removed.
6789 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6791 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6792 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6793 Identical file removed.
6794 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6796 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6797 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6798 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6799 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6800 Identical file removed.
6801 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6803 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6805 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6806 Identical file removed.
6807 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6809 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6810 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6811 Identical file removed.
6812 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6814 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6815 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6816 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6817 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6818 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6819 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6821 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6822 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6823 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6825 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6826 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6827 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6828 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6829 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6831 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
6834 * nscd/nscd.c (monitor_child): Return exit status of child
6835 instead of return value from wait syscall.
6837 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6839 * configure.ac (libc_commonpagesize): Remove variable.
6840 (libc_relro_required): Likewise.
6841 (libc_cv_z_relro): Remove configure test.
6842 * configure: Regenerated.
6843 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6845 (libc_relro_required): Likewise.
6846 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6847 (libc_relro_required): Likewise.
6848 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6849 (libc_relro_required): Likewise.
6850 * sysdeps/arm/preconfigure: Regenerated.
6851 * sysdeps/ia64/preconfigure: Remove file.
6852 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6854 (libc_relro_required): Likewise.
6858 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6859 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6860 recompute overflowing results in original rounding mode.
6861 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6862 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6863 recompute overflowing results in original rounding mode.
6864 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6865 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6866 recompute overflowing results in original rounding mode.
6867 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6868 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6869 recompute overflowing results in original rounding mode.
6870 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6871 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6872 recompute overflowing results in original rounding mode.
6873 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6874 (libc_feholdsetround_ctx): New macro.
6875 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6876 * sysdeps/i386/fpu/libm-test-ulps: Update.
6877 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6879 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6881 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6882 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6883 corresponding .cpsetup call.
6885 2014-06-26 Roland McGrath <roland@hack.frob.com>
6887 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6888 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6889 * sysdeps/arm/Makefile [$(subdir) = csu]
6890 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6891 (static-only-routines): Add aeabi_read_tp here.
6892 (shared-only-routines): Add libc-aeabi_read_tp here.
6893 (CFLAGS-libc-start.c): Add -fexceptions here.
6894 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6895 (sysdep_routines, static-only-routines, shared-only-routines):
6896 Don't add to these here.
6897 (CFLAGS-libc-start.c): Likewise.
6899 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6900 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6901 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6902 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6903 * sysdeps/arm/Makefile [$(subdir) = rt]
6904 (librt-sysdep_routines, librt-shared-only-routines):
6905 Append rt-aeabi_unwind_cpp_pr1 here.
6906 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6907 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6908 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6909 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6910 Append nptl-aeabi_unwind_cpp_pr1 here.
6911 (tests): Filter out tst-cleanupx4 here.
6912 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6913 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6914 Don't do those here.
6916 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6918 * scripts/list-sources.sh: Do not handle ports specially.
6920 2014-06-26 Roland McGrath <roland@hack.frob.com>
6922 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6923 * sysdeps/arm/feupdateenv.c: Likewise.
6925 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6927 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6929 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6930 trailing whitespace removed.
6931 * scripts/config.guess: Update to version 2014-03-23.
6932 * scripts/config.sub: Update to version 2014-05-01
6933 * scripts/install-sh: Update to version 2013-12-25.23.
6934 * scripts/move-if-change: Update from gnulib.
6936 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6938 * debug/memmove_chk.c: Remove pagecopy.h include.
6940 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6942 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6943 identical to gnulib mktime.
6945 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6947 * configure.ac: Do not test for machine being rs6000. Do not test
6949 * configure: Regenerated.
6951 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6953 * configure: Regenerated.
6954 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6955 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6956 Remove configure test.
6957 * sysdeps/arm/configure: Regenerated.
6958 * sysdeps/nptl/configure.ac: Do not check
6959 libc_cv_asm_cfi_directives.
6960 * sysdeps/nptl/configure: Regenerated.
6961 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6962 * sysdeps/x86_64/nptl/configure: Remove generated file.
6963 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6965 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6967 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6969 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6970 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6971 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6974 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6975 instead of whether it is defined.
6976 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6977 * sysdeps/hppa/dl-machine.h: Likewise.
6978 * sysdeps/ia64/dl-machine.h: Likewise.
6979 * sysdeps/m68k/dl-machine.h: Likewise.
6980 * sysdeps/microblaze/dl-machine.h: Likewise.
6981 * sysdeps/mips/dl-machine.: Likewise.
6982 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6983 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6984 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6985 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6986 * sysdeps/sh/dl-machine.h: Likewise.
6987 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6988 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6989 * sysdeps/tile/dl-machine.h: Likewise.
6990 * sysdeps/x86_64/dl-machine.h: Likewise.
6992 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6994 (verify_persistent_db): Likewise.
6996 2014-06-26 Roland McGrath <roland@hack.frob.com>
6998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6999 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7001 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7004 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7007 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7009 Identical file removed.
7010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7011 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7013 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7015 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7017 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7019 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7022 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7024 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7026 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7029 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7031 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7033 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7035 Identical file removed.
7036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7037 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7039 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7042 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7045 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7047 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7049 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7051 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7053 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7056 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7059 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7061 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7064 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7066 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7068 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7070 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7071 * sysdeps/unix/sysv/linux/s390/Versions
7072 (libpthread: GLIBC_2.19): New version set.
7073 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7074 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7075 (librt: GLIBC_2.3.3): New version set.
7076 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7077 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7078 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7079 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7080 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7081 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7082 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7083 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7084 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7085 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7086 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7087 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7088 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7089 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7090 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7091 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7092 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7093 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7094 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7095 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7096 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7097 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7098 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7099 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7100 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7101 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7102 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7103 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7104 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7105 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7106 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7107 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7108 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7109 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7110 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7111 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7112 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7113 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7114 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7116 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7118 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7119 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7120 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7122 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7123 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7124 (__libc_vfork): Define the function under this name.
7125 [!NOT_IN_libc] (__vfork): Make this an alias.
7126 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7127 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7128 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7129 (__libc_vfork): Define the function under this name.
7130 [!NOT_IN_libc] (__vfork): Make this an alias.
7131 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7132 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7133 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7134 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7135 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7136 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7138 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7139 code that was previously under [RESET_PID].
7140 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7141 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7142 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7144 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7145 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7146 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7147 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7148 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7149 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7150 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7151 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7152 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7153 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7154 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7156 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7157 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7158 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7159 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7160 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7161 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7162 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7163 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7164 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7165 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7166 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7167 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7168 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7169 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7170 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7171 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7172 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7173 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7174 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7175 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7176 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7177 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7178 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7179 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7180 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7181 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7182 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7183 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7184 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7186 2014-06-25 Roland McGrath <roland@hack.frob.com>
7188 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7189 that was previously under [RESET_PID].
7190 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7192 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7194 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7195 not undefine and redefine.
7196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7197 [O_CLOEXEC]: Make code unconditional.
7198 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7199 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7200 <kernel-features.h>.
7201 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7202 conditional variable definition.
7203 (shm_open) [O_CLOEXEC]: Make code unconditional.
7204 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7207 * configure.ac (USE_REGPARMS): Don't define here.
7208 * configure: Regenerated.
7209 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7210 * sysdeps/i386/configure: Regenerated.
7212 * nptl/createthread.c: Don't include kernel-features.h.
7213 * nptl/pthread_cancel.c: Likewise.
7214 * nptl/pthread_condattr_setclock.c: Likewise.
7215 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7216 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7217 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7218 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7219 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7220 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7221 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7222 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7223 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7224 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7225 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7226 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7227 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7228 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7229 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7230 * nscd/gai.c: Likewise.
7231 * nss/nss_db/db-open.c: Likewise.
7232 * sysdeps/generic/ldsodefs.h: Likewise.
7233 * sysdeps/sh/nptl/tls.h: Likewise.
7234 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7235 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7236 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7237 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7238 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7239 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7240 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7241 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7242 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7243 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7244 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7245 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7246 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7247 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7248 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7249 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7250 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7251 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7252 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7253 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7254 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7255 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7256 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7257 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7258 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7259 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7260 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7261 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7262 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7263 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7264 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7265 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7266 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7267 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7268 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7269 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7270 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7271 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7272 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7273 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7274 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7275 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7276 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7277 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7278 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7279 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7280 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7281 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7282 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7283 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7284 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7285 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7286 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7287 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7288 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7289 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7290 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7291 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7314 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7315 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7316 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7317 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7318 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7319 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7320 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7321 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7322 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7323 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7324 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7325 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7326 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7327 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7328 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7329 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7330 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7331 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7332 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7333 * sysdeps/unix/sysv/linux/system.c: Likewise.
7334 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7335 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7336 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7337 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7338 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7339 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7340 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7342 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7343 * configure: Regenerated.
7344 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7346 * configure.ac (base_machine): Do not set specially for particular
7348 * configure: Regenerated.
7349 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7350 settings from configure.ac.
7351 * sysdeps/i386/preconfigure: New file.
7352 * sysdeps/s390/preconfigure: Likewise.
7353 * sysdeps/sh/preconfigure: Likewise.
7354 * sysdeps/sparc/preconfigure: Likewise.
7356 2014-06-25 Roland McGrath <roland@hack.frob.com>
7358 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7359 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7360 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7361 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7362 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7363 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7364 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7365 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7366 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7367 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7368 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7369 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7370 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7371 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7372 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7373 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7374 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7375 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7376 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7378 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7379 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7380 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7381 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7382 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7383 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7384 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7385 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7386 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7387 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7388 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7389 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7390 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7391 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7392 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7393 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7394 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7395 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7396 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7397 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7398 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7399 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7400 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7401 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7402 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7403 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7404 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7405 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7406 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7407 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7408 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7409 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7410 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7411 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7412 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7413 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7414 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7415 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7418 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7420 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7423 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7426 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7428 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7431 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7433 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7435 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7437 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7440 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7443 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7445 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7448 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7450 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7452 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7454 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7456 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7459 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7462 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7464 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7467 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7471 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7473 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7476 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7479 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7481 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7484 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7486 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7488 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7490 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7492 * timezone/checktab.awk: Update from tzcode 2014e.
7493 * timezone/private.h: Likewise.
7494 * timezone/tzfile.h: Likewise.
7495 * timezone/zdump.c: Likewise.
7496 * timezone/zic.c: Likewise.
7498 * sysdeps/unix/sysv/linux/kernel-features.h
7499 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7500 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7501 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7502 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7503 Remove conditional code.
7505 2014-06-25 Will Newton <will.newton@linaro.org>
7507 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7508 (_dl_arm_cap_flags): Add HWCAP2 values.
7509 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7510 (_DL_HWCAP_COUNT): Increase to 37.
7511 (_DL_HWCAP_LAST): New define.
7512 (_DL_HWCAP2_LAST): New define.
7513 (_dl_procinfo): Add support for printing
7515 (_dl_string_hwcap): Use _dl_hwcap_string.
7517 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7521 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7523 * README: Do not mention ports directory.
7525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7527 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7528 <kernel-features.h>.
7529 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7530 conditional variable definition.
7531 (__futimes): Update comment.
7532 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7533 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7536 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7537 arguments close to 0.
7538 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7540 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7542 * math/auto-libm-test-in: Add more tests of exp10.
7543 * math/auto-libm-test-out: Regenerated.
7544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7546 * sysdeps/unix/sysv/linux/kernel-features.h
7547 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7548 * sysdeps/unix/sysv/linux/readv.c: Do not include
7549 <kernel-features.h>.
7550 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7551 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7552 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7554 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7556 * sysdeps/unix/sysv/linux/writev.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_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7562 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7565 2014-06-25 Will Newton <will.newton@linaro.org>
7567 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7568 comment changes throughout the file. Remove checks
7569 for HAVE_*_H definitions that are not required.
7570 (__gen_tempname): Call abort if an unknown kind value is
7573 2014-06-25 Andreas Schwab <schwab@suse.de>
7576 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7577 scalbln, scalblnf, scalblnl in libc.
7579 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7582 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7583 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7584 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7586 2014-06-24 Roland McGrath <roland@hack.frob.com>
7588 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7589 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7590 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7591 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7593 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7594 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7596 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7597 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7598 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7599 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7600 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7601 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7602 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7603 * sysdeps/x86/bits/semaphore.h: ... here.
7604 * sysdeps/x86/nptl/elide.h: Moved ...
7605 * sysdeps/x86/elide.h: ... here.
7606 * sysdeps/x86_64/nptl/Implies: File removed.
7607 * sysdeps/i386/nptl/Implies: File removed.
7609 2014-06-24 Joseph Myers <joseph@codesourcery.com>
7612 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7613 return the argument for normal arguments with exponent below -64.
7614 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7616 * math/auto-libm-test-in: Add another test of expm1.
7617 * math/auto-libm-test-out: Regenerated.
7620 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7621 calling __erfcl for arguments at least 16.
7622 * math/auto-libm-test-in: Add more tests of erf.
7623 * math/auto-libm-test-out: Regenerated.
7625 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7626 individual architectures.
7627 * sysdeps/unix/sysv/linux/configure: Regenerated.
7628 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7629 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7630 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7631 (ldd_rewrite_script): Define variable.
7632 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7637 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7638 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7639 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7640 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7641 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7642 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7643 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7644 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7646 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7649 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7650 Rename member __data.d to __data.__elision_data.
7652 2014-06-24 Wilco <wdijkstr@arm.com>
7654 * NEWS: Add 16918 to fixed bug list.
7656 2014-06-24 Wilco <wdijkstr@arm.com>
7658 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7660 2014-06-24 Wilco <wdijkstr@arm.com>
7662 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7663 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7664 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7665 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7666 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7667 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7668 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7671 2014-06-24 Wilco <wdijkstr@arm.com>
7673 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7675 2014-06-24 Wilco <wdijkstr@arm.com>
7677 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7678 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7679 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7680 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7682 2014-06-24 Wilco <wdijkstr@arm.com>
7685 * sysdeps/arm/feupdateenv.c (feupdateenv):
7686 Rewrite to reduce FPSCR accesses and fix return value.
7688 2014-06-24 Wilco <wdijkstr@arm.com>
7690 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7691 Optimize to avoid unnecessary FPSCR writes.
7692 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7693 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7694 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7695 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7697 2014-06-24 Wilco <wdijkstr@arm.com>
7699 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7700 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7701 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7702 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7703 Call libc_fetestexcept_vfp.
7704 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7705 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7706 __SOFTFP__ ifdef so that they can be built for softfp.
7708 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7710 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7711 argument type signed char.
7713 * Makerules (check-abi): Dump diff of symlist if the test
7716 2014-06-23 Roland McGrath <roland@hack.frob.com>
7718 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7721 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7722 Remove unused variable ST.
7724 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7728 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7729 small arguments before calling __expm1.
7730 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7731 small arguments before calling __expm1f.
7732 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7733 small arguments before calling __expm1l.
7734 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7736 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7737 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7738 spurious underflow for some cosh tests.
7739 * math/auto-libm-test-out: Regenerated.
7740 * sysdeps/i386/fpu/libm-test-ulps: Update.
7743 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7744 (__ieee754_y1): Set errno if return value overflows.
7745 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7746 (__ieee754_y1f): Set errno if return value overflows.
7747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7748 (__ieee754_y1l): Set errno if return value overflows.
7749 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7750 (__ieee754_y1l): Set errno if return value overflows.
7751 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7752 * math/auto-libm-test-out: Regenerated.
7754 * math/gen-auto-libm-tests.c: Document use of
7755 ignore-zero-inf-sign.
7756 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7757 (input_flags): Add ignore-zero-inf-sign.
7758 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7759 * math/gen-libm-test.pl (generate_testfile): Handle
7760 ignore-zero-inf-sign.
7761 * math/auto-libm-test-in: Mark some cpow tests with
7762 ignore-zero-inf-sign and some with xfail-rounding.
7763 * math/auto-libm-test-out: Regenerated.
7764 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7765 * sysdeps/i386/fpu/libm-test-ulps: Update.
7766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7769 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7770 overflowing or underflowing operations take place with sign of
7772 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7773 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7774 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7775 (__ieee754_pow): Recompute overflowing and underflowing results in
7776 original rounding mode.
7777 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7778 (__powl_helper): Allow negative argument X and scale negated value
7779 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7780 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7781 overflowing or underflowing operations take place with sign of
7783 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7785 * math/auto-libm-test-in: Add more tests of pow.
7786 * math/auto-libm-test-out: Regenerated.
7787 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7788 (pow_tonearest_test_data): Remove.
7789 (pow_test_tonearest): Likewise.
7790 (pow_towardzero_test_data): Likewise.
7791 (pow_test_towardzero): Likewise.
7792 (pow_downward_test_data): Likewise.
7793 (pow_test_downward): Likewise.
7794 (pow_upward_test_data): Likewise.
7795 (pow_test_upward): Likewise.
7796 (main): Don't call removed functions.
7797 * sysdeps/i386/fpu/libm-test-ulps: Update.
7798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7800 2014-06-23 Roland McGrath <roland@hack.frob.com>
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7976 2014-06-23 Will Newton <will.newton@linaro.org>
7977 Wilco <wdijkstr@arm.com>
7979 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7980 implementation. Include get-rounding-mode.h.
7981 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7982 [!libc_feholdsetround_noex_ctx]: Define
7983 libc_feholdsetround_noex_ctx.
7984 [!libc_feholdsetround_noexf_ctx]: Define
7985 libc_feholdsetround_noexf_ctx.
7986 [!libc_feholdsetround_noexl_ctx]: Define
7987 libc_feholdsetround_noexl_ctx.
7988 (libc_feholdsetround_ctx): New function.
7989 (libc_feresetround_ctx): New function.
7990 (libc_feholdsetround_noex_ctx): New function.
7991 (libc_feresetround_noex_ctx): New function.
7993 2014-06-23 Roland McGrath <roland@hack.frob.com>
7995 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7996 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7997 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7998 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7999 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8000 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8002 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8003 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8004 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8005 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8006 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8007 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8008 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8009 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8010 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8011 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8012 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8014 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8016 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8017 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8018 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8019 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8020 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8022 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8023 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8024 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8025 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8026 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8027 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8028 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8029 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8031 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8032 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8034 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8035 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8036 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8037 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8039 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8040 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8041 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8042 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8043 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8044 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8045 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8046 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8047 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8048 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8050 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8052 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8053 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8054 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8055 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8056 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8057 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8058 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8059 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8060 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8061 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8062 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8063 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8064 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8066 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8067 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8068 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8069 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8070 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8071 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8073 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8074 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8075 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8077 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8079 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8080 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8081 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8082 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8084 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8085 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8086 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8088 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8089 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8090 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8092 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8093 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8094 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8095 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8096 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8097 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8098 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8099 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8100 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8101 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8102 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8103 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8104 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8105 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8106 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8108 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8110 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8111 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8112 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8113 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8114 (IPV6_PMTUDISC_INTERFACE): Likewise.
8115 (IPV6_PMTUDISC_OMIT): Likewise.
8117 2014-06-23 Andreas Schwab <schwab@suse.de>
8119 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8120 Remove unused errout label.
8122 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8124 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8125 macro: hardware supports Vector Crypto instructions.
8127 2014-06-23 Will Newton <will.newton@linaro.org>
8129 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8130 rather than __builtin_expect.
8132 * elf/dl-lookup.c (undefined_msg): Remove variable.
8133 (_dl_lookup_symbol_x): Replace undefined_msg with string
8136 * elf/dl-lookup.c (do_lookup_unique): New function.
8137 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8138 to a separate function.
8140 2014-06-23 Andreas Schwab <schwab@suse.de>
8143 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8144 before reading the next line.
8146 2014-06-23 Will Newton <will.newton@linaro.org>
8148 * test-skeleton.c (signal_handler): Use printf and %m
8149 rather than perror. Use printf rather than fprintf to
8150 stderr. Use puts rather than fputs to stderr.
8153 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8155 * nscd/nscd.c (thread_info_t): Remove typedef.
8156 (thread_info): Remove variable.
8158 2014-06-21 Allan McRae <allan@archlinux.org>
8160 * NEWS: Mention CVE-2014-4043.
8162 2014-06-20 Roland McGrath <roland@hack.frob.com>
8164 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8165 * nptl/smp.h: ... here.
8167 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8169 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8170 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8171 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8172 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8174 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8175 * nptl/stack-aliasing.h: New file.
8176 * sysdeps/i386/i686/stack-aliasing.h: New file.
8177 * sysdeps/i386/i686/nptl/Makefile: File removed.
8178 * sysdeps/x86_64/stack-aliasing.h: New file.
8179 * sysdeps/x86_64/nptl/Makefile
8180 (CFLAGS-pthread_create.c): Variable removed.
8182 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8183 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8185 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8186 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8189 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8191 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8192 (__ASSUME_SIGFRAME_V2): Remove macro.
8193 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8194 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8195 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8196 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8197 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8198 Declare as function. Remove conditional macro definitions.
8199 (__default_rt_sa_restorer): Likewise.
8200 (__default_sa_restorer_v1): Remove declaration.
8201 (__default_sa_restorer_v2): Likewise.
8202 (__default_rt_sa_restorer_v1): Likewise.
8203 (__default_rt_sa_restorer_v2): Likewise.
8204 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8205 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8206 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8208 2014-06-20 Roland McGrath <roland@hack.frob.com>
8210 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8211 (libpthread-routines): Add sysdep.
8212 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8213 * sysdeps/unix/sysv/linux/sparc/Versions
8214 (libpthread: GLIBC_2.3.3): New version set.
8215 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8216 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8217 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8218 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8219 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8220 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8222 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8223 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8224 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8225 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8226 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8227 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8228 * sysdeps/sparc/nptl/sem_init.c: ... here.
8229 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8230 * sysdeps/sparc/nptl/sem_post.c: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8232 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8233 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8234 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8235 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8236 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8237 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8238 (libpthread-routines): Add cpu_relax.
8239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8241 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8242 (librt: GLIBC_2.3.3): New version set.
8243 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8244 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8245 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8246 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8249 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8252 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8253 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8254 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8256 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8258 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8259 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8260 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8263 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8267 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8271 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8275 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8279 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8283 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8286 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8287 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8291 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8292 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8294 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8297 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8298 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8299 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8300 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8301 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8303 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8305 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8306 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8307 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8308 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8309 * nscd/nscd.c: Likewise.
8310 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8311 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8312 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8313 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8315 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8316 <kernel-features.h>.
8317 (init_mq_netlink): Remove conditional have_sock_cloexec
8318 definitions. Remove code conditional on have_sock_cloexec < 0.
8319 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8320 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8321 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8322 <kernel-features.h>.
8323 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8324 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8326 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8328 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8329 Add tests for memset_chk and memset.
8331 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8334 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8337 * elf/tst-dl-iter-static.c: New file.
8338 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8340 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8343 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8345 * sysdeps/unix/sysv/linux/kernel-features.h
8346 (__ASSUME_F_GETOWN_EX): Remove macro.
8347 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8348 <kernel-features.h>.
8349 (miss_F_GETOWN_EX): Remove variable or macro.
8350 (do_fcntl): Do not check miss_F_GETOWN_EX.
8351 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8353 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8356 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8357 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8359 * sysdeps/unix/sysv/linux/kernel-features.h
8360 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8361 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8362 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8363 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8365 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8368 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8369 Fix calculation of the symbol's value.
8370 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8371 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8372 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8373 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8374 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8375 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8376 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8377 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8378 (modules-names): Add `tst-armtlsdescmod',
8379 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8380 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8381 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8382 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8383 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8384 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8385 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8386 ($(objpfx)tst-armtlsdescloc): New dependency.
8387 ($(objpfx)tst-armtlsdescextnow): Likewise.
8388 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8389 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8391 * sysdeps/arm/configure: Regenerate.
8393 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8395 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8396 (__atfct_seterrno_2): Likewise.
8397 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8398 <kernel-features.h>.
8399 (__ASSUME_ATFCTS): Do not undefine and redefine.
8400 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8401 (__have_atfcts): Remove conditional definition.
8402 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8403 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8404 unreachable if [__ASSUME_ATFCTS].
8405 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8406 not undefine and redefine.
8407 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8408 <kernel-features.h>.
8409 (faccessat) [__NR_faccessat]: Make code unconditional.
8410 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8411 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8412 <kernel-features.h>.
8413 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8414 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8415 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8416 <kernel-features.h>.
8417 (fchownat) [__NR_fchownat]: Make code unconditional.
8418 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8419 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8420 <kernel-features.h>.
8421 (futimesat) [__NR_futimesat]: Make code unconditional.
8422 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8423 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8424 <kernel-features.h>.
8425 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8426 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8427 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8428 <kernel-features.h>.
8429 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8430 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8431 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8432 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8433 <kernel-features.h>.
8434 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8435 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8436 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8437 <kernel-features.h>.
8438 (linkat) [__NR_linkat]: Make code unconditional.
8439 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8440 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8441 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8442 <kernel-features.h>.
8443 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8444 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8445 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8446 <kernel-features.h>.
8447 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8448 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8449 * sysdeps/unix/sysv/linux/openat.c: Do not include
8450 <kernel-features.h>.
8451 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8452 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8453 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8454 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8455 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8456 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8457 <kernel-features.h>.
8458 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8459 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8460 result of INLINE_SYSCALL directly, not via int variable.
8461 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8462 <kernel-features.h>.
8463 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8464 (renameat) [__NR_renameat]: Make code unconditional.
8465 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8466 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8467 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8468 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8469 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8470 (__ASSUME_ATFCTS): Do not undefine and redefine.
8471 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8472 <kernel-features.h>.
8473 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8474 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8475 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8476 <kernel-features.h>.
8477 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8478 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8479 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8480 (__ASSUME_ATFCTS): Do not undefine and redefine.
8481 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8482 <kernel-features.h>.
8483 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8484 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8485 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8486 <kernel-features.h>.
8487 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8488 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8490 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8492 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8494 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8497 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8498 constructed tree before returning error.
8499 * posix/bug-regexp36.c: Expand test case.
8501 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8504 * math/libm-test.inc (scalbln_test_date):
8505 Add errno expectations.
8506 * math/w_scalblnf.c: New File.
8507 Add wrapper which checks for setting errno to ERANGE.
8508 Add weak_alias for corresponding scalbln function.
8509 * math/w_scalbln.c: Likewise.
8510 * math/w_scalblnl.c: Likewise.
8511 * math/Makefile (libm-calls): Add w_scalbln.
8512 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8513 Remove weak_alias for corresponding scalbln function.
8514 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8516 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8518 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8519 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8520 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8521 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8522 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8523 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8524 Remove long_double_symbol for scalblnl function in libm, libc.
8525 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8526 Add wrapper which checks for setting errno to ERANGE.
8527 Add long_double_symbol for scalblnl function in libm, libc.
8528 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8529 Remove long_double_symbol for scalblnl in libm.
8530 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8531 Add wrapper which checks for setting errno to ERANGE.
8532 Add long_double_symbol for scalblnl function in libm.
8533 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8534 Do not use wrapper because of own implementation.
8536 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8538 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8539 3 bytes for __pad1 for x32.
8540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8542 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8543 H.J. Lu <hongjiu.lu@intel.com>
8545 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8546 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8547 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8548 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8549 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8551 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8554 * posix/regcomp.c (parse_expression): Deallocate partially
8555 constructed tree before returning error.
8556 * posix/Makefile.c (tests): Add bug-regex36.
8557 (generated): Add bug-regex36.mtrace.
8558 (tests-special): Add $(objpfx)bug-regex36-mem.out
8559 (bug-regex36-ENV): New variable.
8560 ($(objpfx)bug-regex36-mem.out): New rule.
8561 * posix/bug-regex36.c: New file.
8563 2014-06-19 Will Newton <will.newton@linaro.org>
8565 * malloc/malloc.c (systrim): If extra is zero then return
8568 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8570 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8572 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
8574 * sysdeps/aarch64/strchr.S: New file.
8576 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8579 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8580 from arguments -2 or below.
8581 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8582 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8584 2014-06-18 Andreas Schwab <schwab@suse.de>
8587 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8588 of a bracket expr not to run off the end of the string.
8589 * posix/Makefile (tests): Add tst-fnmatch3.
8590 * posix/tst-fnmatch3.c: New file.
8592 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8594 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8595 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8596 [$(cross-compiling) = no]: Likewise.
8597 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8598 [$(cross-compiling) = no]: Likewise.
8600 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8603 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8604 double, adjusted for any remainder from the high double.
8605 * math/libm-test.inc (nearbyint): Add tests.
8608 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8610 * nptl/sysdeps/powerpc/Makefile: Moved ...
8611 * sysdeps/powerpc/nptl/Makefile: ... here.
8612 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8613 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8614 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8615 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8616 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8617 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8618 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8619 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8620 * nptl/sysdeps/powerpc/tls.h: Moved ...
8621 * sysdeps/powerpc/nptl/tls.h: ... here.
8623 2014-06-16 Joseph Myers <joseph@codesourcery.com>
8626 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8627 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8628 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8629 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8630 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8631 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8632 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8633 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8634 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8636 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8638 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8640 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8642 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8645 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8648 2014-06-16 Florian Weimer <fweimer@redhat.com>
8651 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8652 non-executed part of the test.
8654 2014-06-16 Andreas Schwab <schwab@suse.de>
8656 * string/bits/string2.h (strdup, strndup): Update feature guard.
8658 2014-06-14 David S. Miller <davem@davemloft.net>
8660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8662 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8664 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8665 that was previously under [RESET_PID].
8666 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8668 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8669 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8670 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8671 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8672 (__libc_vfork): New strong alias.
8673 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8675 2014-06-14 Andi Kleen <ak@linux.intel.com>
8677 * sysdeps/generic/elide.h: New file.
8679 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8681 * Makefile (installed-headers): Adjust path of pthread.h header.
8683 2014-06-13 Roland McGrath <roland@hack.frob.com>
8685 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8686 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8687 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8688 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8690 * nptl/sysdeps/s390/Makefile: Moved ...
8691 * sysdeps/s390/nptl/Makefile: ... here.
8692 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8693 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8694 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8695 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8696 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8697 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8698 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8699 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8700 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8701 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8702 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8703 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8704 * nptl/sysdeps/s390/tls.h: Moved ...
8705 * sysdeps/s390/nptl/tls.h: ... here.
8707 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8708 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8710 2014-06-13 David S. Miller <davem@davemloft.net>
8712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8715 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8719 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8720 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8721 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8722 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8723 Remove RESET_PID cpp guards.
8724 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8725 Remove RESET_PID cpp guards.
8726 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8728 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8730 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8733 2014-06-13 Andi Kleen <ak@linux.intel.com>
8735 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8736 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8737 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8738 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8739 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8740 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8741 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8742 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8743 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8744 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8745 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8746 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8747 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8748 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8749 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8750 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8751 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8752 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8753 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8754 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8756 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8757 (pthread_rwlock_rdlock): Add elision.
8758 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8759 (pthread_rwlock_wrlock): Add elision.
8760 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8761 (pthread_rwlock_trywrlock): Add elision.
8762 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8763 (pthread_rwlock_tryrdlock): Add elision.
8764 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8765 (pthread_rwlock_tryrdlock): Add elision unlock.
8766 * nptl/sysdeps/pthread/pthread.h:
8767 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8768 (PTHREAD_RWLOCK_INITIALIZER,
8769 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8770 Handle new elision field.
8771 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8772 * sysdeps/arm/nptl/bits/pthreadtypes.h
8773 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8774 * sysdeps/sh/nptl/bits/pthreadtypes.h
8775 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8776 * sysdeps/tile/nptl/bits/pthreadtypes.h
8777 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8778 * sysdeps/a/nptl/bits/pthreadtypes.h
8779 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8780 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8781 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8782 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8783 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8784 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8785 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8786 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8787 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8788 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8789 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8790 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8791 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8792 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8793 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8794 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8795 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8796 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8797 (elision_init): Set try_xbegin to zero when no RTM.
8798 * sysdeps/x86/nptl/bits/pthreadtypes.h
8799 (pthread_rwlock_t): Change __pad1 to __rwelision.
8800 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8802 2014-06-13 Andi Kleen <ak@linux.intel.com>
8804 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8805 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8806 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8807 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8809 2014-06-13 Meador Inge <meadori@codesourcery.com>
8812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8813 that the cached result has been set before returning it.
8815 2014-06-12 Roland McGrath <roland@hack.frob.com>
8817 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8818 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8819 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8820 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8821 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8822 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8824 * nptl/sysdeps/sparc/Makefile: Moved ...
8825 * sysdeps/sparc/nptl/Makefile: ... here.
8826 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8827 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8828 * nptl/sysdeps/sparc/tls.h: Moved ...
8829 * sysdeps/sparc/nptl/tls.h: ... here.
8830 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8831 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8832 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8833 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8834 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8835 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8836 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8837 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8838 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8839 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8840 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8841 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8842 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8843 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8844 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8845 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8846 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8847 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8849 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8850 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8852 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8853 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8855 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8856 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8859 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8861 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8862 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8864 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8865 (struct list_links): Type removed.
8866 (struct thread_node, struct timer_node): Replace struct list_links
8867 with struct list_head.
8868 (list_unlink_ip): Likewise.
8869 * sysdeps/pthread/timer_routines.c
8870 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8871 (list_append, list_insbefore): Likewise.
8872 (list_init): Function removed.
8873 (thread_init, init_module): Use INIT_LIST_HEAD instead.
8874 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8875 * sysdeps/pthread/Makefile: ... here, new file.
8877 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8878 * sysdeps/nptl/Implies: ... here.
8879 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8880 * nptl/sysdeps/pthread/list.h: Moved ...
8881 * include/list.h: ... here.
8882 * nptl/sysdeps/pthread/createthread.c: Moved ...
8883 * nptl/createthread.c: ... here.
8884 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8885 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8886 * nptl/pt-longjmp.c: ... here.
8887 * nptl/sysdeps/pthread/Makefile: Moved ...
8888 * sysdeps/nptl/Makefile: ... here.
8889 * nptl/sysdeps/pthread/Subdirs: Moved ...
8890 * sysdeps/nptl/Subdirs: ... here.
8891 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8892 * sysdeps/nptl/aio_misc.h: ... here.
8893 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8894 * sysdeps/nptl/bits/libc-lock.h: ... here.
8895 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8896 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8897 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8898 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8899 * nptl/sysdeps/pthread/configure: Moved ...
8900 * sysdeps/nptl/configure: ... here.
8901 * nptl/sysdeps/pthread/configure.ac: Moved ...
8902 * sysdeps/nptl/configure.ac: ... here.
8903 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8904 * sysdeps/nptl/gai_misc.h: ... here.
8905 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8906 * sysdeps/nptl/librt-cancellation.c: ... here.
8907 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8908 * sysdeps/nptl/malloc-machine.h: ... here.
8909 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8910 * sysdeps/nptl/pthread-functions.h: ... here.
8911 * nptl/sysdeps/pthread/pthread.h: Moved ...
8912 * sysdeps/nptl/pthread.h: ... here.
8913 * nptl/sysdeps/pthread/setxid.h: Moved ...
8914 * sysdeps/nptl/setxid.h: ... here.
8915 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8916 * sysdeps/nptl/sigfillset.c: ... here.
8917 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8918 * sysdeps/nptl/tcb-offsets.h: ... here.
8919 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8920 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8921 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8922 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8923 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8924 * sysdeps/pthread/allocalim.h: ... here.
8925 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8926 * sysdeps/pthread/bits/sigthread.h: ... here.
8927 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8928 * sysdeps/pthread/flockfile.c: ... here.
8929 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8930 * sysdeps/pthread/ftrylockfile.c: ... here.
8931 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8932 * sysdeps/pthread/funlockfile.c: ... here.
8933 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8934 * sysdeps/pthread/posix-timer.h: ... here.
8935 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8936 * sysdeps/pthread/timer_create.c: ... here.
8937 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8938 * sysdeps/pthread/timer_delete.c: ... here.
8939 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8940 * sysdeps/pthread/timer_getoverr.c: ... here.
8941 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8942 * sysdeps/pthread/timer_gettime.c: ... here.
8943 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8944 * sysdeps/pthread/timer_routines.c: ... here.
8945 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8946 * sysdeps/pthread/timer_settime.c: ... here.
8947 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8948 * sysdeps/pthread/tst-timer.c: ... here.
8949 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8950 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8952 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8953 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8955 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8956 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8957 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8958 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8959 Update #include target.
8960 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8961 * sysdeps/i386/i686/nptl/Makefile: ... here.
8962 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8963 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8964 Update #include target.
8965 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8966 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8967 * nptl/sysdeps/i386/Makefile: Moved ...
8968 * sysdeps/i386/nptl/Makefile: ... here.
8969 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8970 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8971 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8972 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8973 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8974 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8975 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8976 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8977 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8978 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8979 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8980 * nptl/sysdeps/i386/tls.h: Moved ...
8981 * sysdeps/i386/nptl/tls.h: ... here.
8983 * sysdeps/sh/Makefile [$(subdir) = csu]
8984 (gen-as-const-headers): Add tcb-offsets.sym.
8985 * nptl/sysdeps/sh/Makefile: File removed.
8986 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8987 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8988 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8989 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8990 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8991 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8992 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8993 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8994 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8995 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8996 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8997 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8998 * nptl/sysdeps/sh/tls.h: Moved ...
8999 * sysdeps/sh/nptl/tls.h: ... here.
9000 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9001 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9002 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9003 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9004 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9005 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9006 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9007 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9008 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9009 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9010 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9011 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9012 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9013 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9014 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9015 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9016 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9017 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9018 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9019 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9020 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9021 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9022 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9023 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9024 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9026 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9027 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9029 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9030 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9031 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9032 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9033 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9034 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9035 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9036 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9037 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9038 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9039 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9040 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9041 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9042 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9043 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9045 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9046 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9047 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9049 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9051 * posix/spawn_faction_addopen.c: Include string.h.
9053 2014-06-11 Roland McGrath <roland@hack.frob.com>
9055 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9056 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9057 * nptl/sysdeps/x86_64/Makefile: Moved ...
9058 * sysdeps/x86_64/nptl/Makefile: ... here.
9059 * nptl/sysdeps/x86_64/configure: Moved ...
9060 * sysdeps/x86_64/nptl/configure: ... here.
9061 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9062 * sysdeps/x86_64/nptl/configure.ac: ... here.
9063 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9064 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9065 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9066 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9067 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9068 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9069 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9070 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9071 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9072 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9073 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9074 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9075 * nptl/sysdeps/x86_64/tls.h: Moved ...
9076 * sysdeps/x86_64/nptl/tls.h: ... here.
9077 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9078 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9079 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9080 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9082 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9084 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9088 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9090 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9092 [POSIX] (off_t): Likewise.
9093 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9094 [POSIX] (S_ISBLK): Require macro.
9095 [POSIX] (S_ISCHR): Likewise.
9096 [POSIX] (S_ISDIR): Likewise.
9097 [POSIX] (S_ISFIFO): Likewise.
9098 [POSIX] (S_ISREG): Likewise.
9099 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9101 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9103 [POSIX] (time_t): Likewise.
9104 [POSIX] (timer_t): Likewise.
9106 2014-06-11 Florian Weimer <fweimer@redhat.com>
9109 * posix/spawn_int.h (struct __spawn_action): Make the path string
9110 non-const to support deallocation.
9111 * posix/spawn_faction_addopen.c
9112 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9113 * posix/spawn_faction_destroy.c
9114 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9115 path in all spawn_do_open actions.
9116 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9117 posix_spawn_file_actions_addopen.
9119 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9121 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9122 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9123 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9124 conditional code always true.
9125 (__libc_vfork): New alias.
9127 2014-06-11 Roland McGrath <roland@hack.frob.com>
9129 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9130 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9132 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9134 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9135 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9137 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9138 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9140 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9141 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9143 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9145 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9146 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9147 multiarch strcmp for PPC64.
9148 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9149 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9151 multiarch optimizations.
9152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9153 (__libc_ifunc_impl_list): Likewise.
9155 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9157 * benchtests/scripts/validate_benchout.py: New script.
9158 * benchtests/Makefile (bench-func): Call it.
9159 * benchtests/scripts/benchout.schema.json: New file.
9161 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9163 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9164 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9165 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9166 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9167 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9168 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9169 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9170 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9171 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9172 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9173 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9174 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9175 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9176 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9177 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9178 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9282 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9283 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9284 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9285 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9286 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9288 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9290 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9291 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9292 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9293 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9294 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9295 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9296 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9297 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9299 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9300 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9301 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9304 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9305 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9307 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9308 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9309 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9312 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9313 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9314 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9315 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9316 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9317 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9318 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9320 2014-06-10 Wilco <wdijkstr@arm.com>
9322 * math/test-fenv-return.c: New file.
9323 * math/Makefile: Add new test test-fenv-return.
9325 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9328 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9330 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9331 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9332 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9333 0.0L for an argument of 1.0L.
9334 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9336 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9337 value when x - 1 is zero.
9338 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9339 * sysdeps/i386/fpu/libm-test-ulps: Update.
9340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9342 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9345 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9347 2014-06-09 Roland McGrath <roland@hack.frob.com>
9349 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9350 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9352 2014-06-09 Roland McGrath <roland@hack.frob.com>
9354 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9355 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9357 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9358 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9360 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9361 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9363 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9364 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9366 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9367 if not already defined.
9368 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9369 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9370 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9371 (TLS_INIT_TP): Use it.
9372 (TLS_DEFINE_INIT_TP): New macro.
9373 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9375 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9377 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9379 [POSIX] (IXANY): Likewise.
9380 [POSIX] (OLCUC): Likewise.
9381 [POSIX || POSIX2008] (CBAUD): Do not allow.
9382 [POSIX || POSIX2008] (DEFECHO): Likewise.
9383 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9384 [POSIX || POSIX2008] (ECHOKE): Likewise.
9385 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9386 [POSIX || POSIX2008] (EXTA): Likewise.
9387 [POSIX || POSIX2008] (EXTB): Likewise.
9388 [POSIX || POSIX2008] (FLUSHO): Likewise.
9389 [POSIX || POSIX2008] (LOBLK): Likewise.
9390 [POSIX || POSIX2008] (PENDIN): Likewise.
9391 [POSIX || POSIX2008] (SWTCH): Likewise.
9392 [POSIX || POSIX2008] (VDISCARD): Likewise.
9393 [POSIX || POSIX2008] (VDSUSP): Likewise.
9394 [POSIX || POSIX2008] (VLNEXT): Likewise.
9395 [POSIX || POSIX2008] (VREPRINT): Likewise.
9396 [POSIX || POSIX2008] (VSTATUS): Likewise.
9397 [POSIX || POSIX2008] (VWERASE): Likewise.
9398 (B*): Change to B[0123456789]*.
9399 * conform/data/time.h-data [POSIX || UNIX98]
9400 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9401 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9402 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9403 [POSIX] (tm_*): Do not allow.
9405 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9407 * Makefile (install): Don't set LANGUAGE.
9408 * Makefile.in (install): Likewise.
9409 * assert/Makefile (test-assert-ENV): Remove variable.
9410 (test-assert-perr-ENV): Likewise.
9411 * elf/Makefile (neededtest4-ENV): Likewise.
9412 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9413 [$(cross-compiling) = no]: Don't set LANGUAGE.
9414 * io/ftwtest-sh (LANG): Remove variable.
9415 * libio/Makefile (tst-widetext-ENV): Likewise.
9416 * manual/install.texi (Running make install): Don't refer to
9417 environment settings for make install.
9418 * INSTALL: Regenerated.
9419 * nptl/tst-tls6.sh: Don't set LANG.
9420 * posix/globtest.sh (LANG): Remove variable.
9421 * string/Makefile (tester-ENV): Likewise.
9422 (inl-tester-ENV): Likewise.
9423 (noinl-tester-ENV): Likewise.
9424 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9425 [$(cross-compiling) = no]: Don't set LANGUAGE.
9426 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9427 without explicit environment settings.
9429 2014-06-06 Roland McGrath <roland@hack.frob.com>
9431 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9432 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9433 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9434 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9436 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9438 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9439 other files in the crypt directory.
9440 * crypt/crypt.c: Remove duplicate includes.
9441 * crypt/crypt-entry.c: Likewise.
9442 * crypt/crypt_util.c: Likewise.
9444 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9446 * Makeconfig (run-program-env): New variable.
9447 (run-program-prefix-before-env): Likewise.
9448 (run-program-prefix-after-env): Likewise.
9449 (run-program-prefix): Define in terms of new variables.
9450 (built-program-cmd-before-env): New variable.
9451 (built-program-cmd-after-env): Likewise.
9452 (built-program-cmd): Define in terms of new variables.
9453 (test-program-prefix-before-env): New variable.
9454 (test-program-prefix-after-env): Likewise.
9455 (test-program-prefix): Define in terms of new variables.
9456 (test-program-cmd-before-env): New variable.
9457 (test-program-cmd-after-env): Likewise.
9458 (test-program-cmd): Define in terms of new variables.
9459 * Rules (make-test-out): Use $(run-program-env).
9460 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9461 (help): Do not mention environment variables. Mention
9462 --timeoutfactor option.
9463 (timeoutfactor): New variable.
9464 (blacklist_exports): Remove function.
9465 (exports): Remove variable.
9466 (command): Do not include ${exports}.
9467 * manual/install.texi (Configuring and compiling): Do not mention
9468 test wrappers preserving environment variables. Mention that last
9469 assignment to a variable must take precedence.
9470 * INSTALL: Regenerated.
9471 * benchtests/Makefile (run-bench): Use $(run-program-env).
9472 * catgets/Makefile ($(objpfx)test1.cat): Use
9473 $(built-program-cmd-before-env), $(run-program-env) and
9474 $(built-program-cmd-after-env).
9475 ($(objpfx)test2.cat): Do not specify environment variables
9477 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9478 $(run-program-env) and $(built-program-cmd-after-env).
9479 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9480 $(run-program-env) and $(test-program-cmd-after-env).
9481 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9483 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9484 run_program_env and test_program_cmd_after_env arguments.
9485 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9486 * elf/tst-pathopt.sh: Use run_program_env argument.
9487 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9488 $(test-wrapper-env) and $(run-program-env).
9489 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9490 run_program_env arguments.
9491 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9492 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9493 $(test-program-prefix-before-env), $(run-program-env) and
9494 $(test-program-prefix-after-env).
9495 ($(objpfx)tst-gettext2.out): Likewise.
9496 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9497 run_program_env and test_program_prefix_after_env arguments.
9498 * intl/tst-gettext2.sh: Likewise.
9499 * intl/tst-gettext4.sh: Do not set environment variables
9501 * intl/tst-gettext6.sh: Likewise.
9502 * intl/tst-translit.sh: Likewise.
9503 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9504 $(test-program-prefix-before-env), $(run-program-env) and
9505 $(test-program-prefix-after-env).
9506 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9507 run_program_env and test_program_prefix_after_env arguments.
9508 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9509 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9510 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9511 explicitly with each use of ${test_wrapper_env}.
9512 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9513 $(test-program-prefix-before-env), $(run-program-env) and
9514 $(test-program-prefix-after-env).
9515 * posix/tst-getconf.sh: Do not set environment variables
9517 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9518 run_program_env and test_program_prefix_after_env arguments.
9519 * stdio-common/tst-printf.sh: Do not set environment variables
9521 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9522 $(test-program-prefix-before-env), $(run-program-env) and
9523 $(test-program-prefix-after-env).
9524 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9525 run_program_env and test_program_prefix_after_env arguments.
9526 Split $test calls into $test_pre and $test.
9527 * timezone/Makefile (build-testdata): Use
9528 $(built-program-cmd-before-env), $(run-program-env) and
9529 $(built-program-cmd-after-env).
9531 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9533 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9534 strlen for non SHARED builds.
9536 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9538 * nptl/allocatestack.c (check_list): Inlined function...
9539 (__reclaim_stacks): ... here.
9541 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9544 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9547 2014-06-05 Joseph Myers <joseph@codesourcery.com>
9549 * Rules (make-test-out): Include
9550 LOCPATH=$(common-objpfx)localedata in default environment.
9551 * debug/Makefile (tst-chk1-ENV): Remove variable.
9552 (tst-chk2-ENV): Likewise.
9553 (tst-chk3-ENV): Likewise.
9554 (tst-chk4-ENV): Likewise.
9555 (tst-chk5-ENV): Likewise.
9556 (tst-chk6-ENV): Likewise.
9557 (tst-lfschk1-ENV): Likewise.
9558 (tst-lfschk2-ENV): Likewise.
9559 (tst-lfschk3-ENV): Likewise.
9560 (tst-lfschk4-ENV): Likewise.
9561 (tst-lfschk5-ENV): Likewise.
9562 (tst-lfschk6-ENV): Likewise.
9563 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9564 (tst-iconv7-ENV): Likewise.
9565 * intl/Makefile (LOCPATH-ENV): Likewise.
9566 (tst-codeset-ENV): Likewise.
9567 (tst-gettext3-ENV): Likewise.
9568 (tst-gettext5-ENV): Likewise.
9569 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9570 (tst-fopenloc-ENV): Likewise.
9571 (tst-fgetws-ENV): Remove variable.
9572 (tst-ungetwc1-ENV): Likewise.
9573 (tst-ungetwc2-ENV): Likewise.
9574 (bug-ungetwc2-ENV): Likewise.
9575 (tst-swscanf-ENV): Likewise.
9576 (bug-ftell-ENV): Likewise.
9577 (tst-fgetwc-ENV): Likewise.
9578 (tst-fseek-ENV): Likewise.
9579 (tst-ftell-partial-wide-ENV): Likewise.
9580 (tst-ftell-active-handler-ENV): Likewise.
9581 (tst-ftell-append-ENV): Likewise.
9582 * posix/Makefile (tst-fnmatch-ENV): Likewise.
9583 (tst-regexloc-ENV): Likewise.
9584 (bug-regex1-ENV): Likewise.
9585 (tst-regex-ENV): Likewise.
9586 (tst-regex2-ENV): Likewise.
9587 (bug-regex5-ENV): Likewise.
9588 (bug-regex6-ENV): Likewise.
9589 (bug-regex17-ENV): Likewise.
9590 (bug-regex18-ENV): Likewise.
9591 (bug-regex19-ENV): Likewise.
9592 (bug-regex20-ENV): Likewise.
9593 (bug-regex22-ENV): Likewise.
9594 (bug-regex23-ENV): Likewise.
9595 (bug-regex25-ENV): Likewise.
9596 (bug-regex26-ENV): Likewise.
9597 (bug-regex30-ENV): Likewise.
9598 (bug-regex32-ENV): Likewise.
9599 (bug-regex33-ENV): Likewise.
9600 (bug-regex34-ENV): Likewise.
9601 (bug-regex35-ENV): Likewise.
9602 (tst-rxspencer-ENV): Likewise.
9603 (tst-rxspencer-no-utf8-ENV): Likewise.
9604 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9605 (tst-sscanf-ENV): Likewise.
9606 (tst-swprintf-ENV): Likewise.
9607 (tst-swscanf-ENV): Likewise.
9608 (test-vfprintf-ENV): Likewise.
9609 (scanf13-ENV): Likewise.
9610 (bug14-ENV): Likewise.
9611 (tst-grouping-ENV): Likewise.
9612 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9613 (tst-strtod3-ENV): Likewise.
9614 (tst-strtod4-ENV): Likewise.
9615 (tst-strtod5-ENV): Likewise.
9616 (testmb2-ENV): Likewise./
9617 * string/Makefile (tst-strxfrm-ENV): Likewise.
9618 (tst-strxfrm2-ENV): Likewise.
9619 (bug-strcoll1-ENV): Likewise.
9620 (test-strcasecmp-ENV): Likewise.
9621 (test-strncasecmp-ENV): Likewise.
9622 * time/Makefile (tst-strptime-ENV): Likewise.
9623 (tst-ftime_l-ENV): Likewise.
9624 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9625 (tst-mbrtowc-ENV): Likewise.
9626 (tst-wcrtomb-ENV): Likewise.
9627 (tst-mbrtowc2-ENV): Likewise.
9628 (tst-c16c32-1-ENV): Likewise.
9629 (tst-mbsnrtowcs-ENV): Likewise.
9631 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9633 * manual/resource.texi (How to get information about the memory
9634 subsystem?): Fix typo.
9635 Reported by Peon de la Parra Ivan <peon@keba.com>
9637 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9640 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9641 (pthread_spin_lock): Branch out of spin loop to proper location.
9642 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9643 (pthread_spin_lock): Likewise.
9645 * nptl/tst-spin4.c: New test.
9646 * nptl/Makefile (tests): Add tst-spin4.
9648 2014-06-03 Andreas Schwab <schwab@suse.de>
9651 * resolv/res_send.c (send_dg): Reload file descriptor after
9654 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9656 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9658 2014-06-03 Richard Henderson <rth@redhat.com>
9660 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9661 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9662 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9663 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9664 in the SAVE_PID block.
9665 (__libc_vfork): New alias.
9666 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9668 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9669 child in registers, not on the stack. Remove RESET_PID conditionals.
9670 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9672 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9674 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9676 2014-06-03 Wilco <wdijkstr@arm.com>
9678 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9679 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9680 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9681 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9682 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9685 2014-06-03 Wilco <wdijkstr@arm.com>
9687 * sysdeps/aarch64/fpu/math_private.h
9688 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9689 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9690 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9691 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9694 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9696 * crypt/crypt-private.h: Include ufc-crypt.h.
9697 (__b64_from_24bit): Declare extern.
9698 * crypt/crypt_util.c(__b64_from_24bit): New function.
9699 (b64t): New static const variable.
9700 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9701 (b64t): Remove variable.
9702 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9703 * crypt/sha256-crypt.c: Include crypt-private.h.
9704 (b64t): Remove variable.
9705 (__sha256_crypt_r): Remove b64_from_24bit and replace
9706 with __b64_from_24bit.
9707 * crypt/sha512-crypt.c: Likewise.
9709 2014-06-02 Roland McGrath <roland@hack.frob.com>
9711 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9712 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9713 Label the code __libc_vfork rather than __vfork.
9714 [!NOT_IN_libc] (vfork): Define as weak alias.
9715 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9716 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9717 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9719 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9721 * malloc/malloc.c (malloc_info): Fix format specifier for
9724 2014-06-02 Wilco <wdijkstr@arm.com>
9726 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9729 2014-06-02 Wilco <wdijkstr@arm.com>
9732 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9733 Rewrite to reduce FPCR/FPSR accesses.
9735 2014-06-01 David S. Miller <davem@davemloft.net>
9737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9739 2014-05-31 David S. Miller <davem@davemloft.net>
9741 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9742 to occur in round to nearest mode when |x| >= 2.0
9744 2014-05-30 Richard Henderson <rth@twiddle.net>
9746 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9747 (PSEUDO_RET_NOERRNO): Remove.
9748 (ret): Don't redefine.
9749 (ret_NOERRNO): Define in terms of ret.
9750 (ret_ERRVAL): Likewise.
9752 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9753 use of PSEUDO_RET; perform the error check directly.
9755 2014-05-30 Marko Myllynen <myllynen@redhat.com>
9757 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9760 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9762 * malloc/malloc (malloc_info): Fix formatting.
9764 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9765 Roland McGrath <roland@hack.frob.com>
9767 * malloc/malloc (malloc_info): Also print mmapped statistics.
9769 2014-05-30 Roland McGrath <roland@hack.frob.com>
9771 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9772 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9774 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
9776 * malloc/malloc.c (malloc_info): Inline mi_arena.
9778 2014-05-29 Richard Henderson <rth@twiddle.net>
9780 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9781 Remove comma before expanding ASM_ARGS_##nr.
9782 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9783 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9785 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9786 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9787 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9788 (ASM_ARGS_1): Add leading comma.
9790 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9791 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9792 to __errno_location.
9793 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9794 Remove the expected plt for __errno_location.
9796 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9797 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9800 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9801 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9802 it and break it down.
9803 (DOCARGS_0, DOCARGS_1): Do nothing.
9804 (DOCARGS_2): Update to store into the new stack frame.
9805 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9806 (UNDOCARGS_1): Update to restore from the new stack frame.
9807 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9808 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9810 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9811 (SINGLE_THREAD_P): New parameter for result regno.
9812 (PSEUDO): Update to match; use cbz instead of beq.
9814 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9815 Use ENTRY to define the _nocancel entry point. Share the syscall
9816 and syscall error check paths with the cancel path.
9819 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9820 whitespace; tabs before and after asm mnemonics.
9822 2014-05-29 Eric Wong <normalperson@yhbt.net>
9825 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9826 Call fstat64 or stat64 internally, depending on arguments passed.
9827 Replace stat buffer argument with file descriptor argument.
9828 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9829 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9830 Pass fd to __internal_statvfs instead of calling fstat64.
9831 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9832 Pass fd to __internal_statvfs64 instead of calling fstat64.
9833 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9834 Pass -1 to __internal_statvfs instead of calling stat64.
9835 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9836 Pass -1 to __internal_statvfs64 instead of calling stat64.
9838 2014-05-28 Roland McGrath <roland@hack.frob.com>
9840 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9841 that was previously under [RESET_PID].
9842 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9844 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9845 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9847 2014-05-27 Roland McGrath <roland@hack.frob.com>
9849 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9851 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9852 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9854 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
9856 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9858 2014-05-27 Andreas Schwab <schwab@suse.de>
9860 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9862 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9863 * elf/rtld.c (init_tls, dl_main): Likewise.
9864 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9865 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9866 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9867 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9868 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9869 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9870 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9871 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9872 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9873 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9874 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9875 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9876 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9877 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9878 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9879 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9880 * sysdeps/generic/tls.h: Update description.
9882 2014-05-27 Will Newton <will.newton@linaro.org>
9885 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9886 and restore r2 rather than just restoring.
9888 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9891 * libio/tst-ftell-append.c: New test case.
9892 * libio/Makefile (tests): Add test case.
9893 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9895 * libio/wfileops.c (do_ftell_wide): Likewise.
9897 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9901 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9905 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9906 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9907 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9908 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9909 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9910 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9911 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9914 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9917 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9918 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9919 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9920 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9921 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9923 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9924 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9926 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9928 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9930 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9931 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9932 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9934 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9935 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9936 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9937 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9939 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9942 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9945 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9948 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9952 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9955 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9960 conditional [RESET_PID].
9961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9962 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9964 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9969 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9970 (__libc_vfork): New strong alias.
9971 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9973 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9978 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9979 (__libc_vfork): New strong alias.
9980 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9982 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9985 2014-05-26 Carlos O'Donell <carlos@redhat.com>
9987 * malloc/malloc.c (mi_arena): New function.
9988 (malloc_info): Remove nested function mi_arena. Call non-nosted
9991 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9993 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9995 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9996 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9997 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9998 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9999 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10000 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10001 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10003 2014-05-26 Andreas Schwab <schwab@suse.de>
10006 * locale/programs/repertoire.c (repertoire_read): Add slash
10007 between I18NPATH element and file name.
10008 * locale/programs/locfile.c (locfile_read): Likewise.
10010 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10012 * nptl/pthread_mutexattr_settype.c
10013 (__pthread_mutexattr_settype):
10014 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10016 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10018 * nptl/tst-mutex5 (do_test):
10019 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10021 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10023 * benchtests/README: Document 'init' directive.
10024 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10026 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10027 (parse_file): Recognize 'init' directive.
10029 2014-05-26 Kyle McMartin <kyle@redhat.com>
10032 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10033 alignment of struct pthread.
10035 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10038 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10039 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10040 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10041 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10043 2014-05-25 Richard Henderson <rth@twiddle.net>
10045 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10046 (SINGLE_THREAD_P_PIC): Remove.
10047 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10048 (SINGLE_THREAD_P_PIC): Remove.
10050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10051 branch to syscall error ...
10052 (PSEUDO): ... here.
10053 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10054 from __local_syscall_error to .Lsyscall_error.
10055 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10056 (SYSCALL_ERROR): Update label name.
10058 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10059 Do not use DOARGS/UNDOARGS.
10060 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10061 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10062 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10063 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10064 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10066 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10069 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10070 define if !NOT_IN_libc.
10071 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10072 define with non-default symbol versions.
10074 2014-05-23 Richard Henderson <rth@twiddle.net>
10076 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10077 (vfork, __vfork): Define via compat_symbol.
10079 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10080 [!HAVE_IFUNC] (vfork_compat): Remove.
10081 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10083 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10086 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10087 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10090 2014-05-23 Richard Henderson <rth@twiddle.net>
10092 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10093 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10094 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10095 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10097 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10098 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10099 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10100 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10101 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10102 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10103 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10104 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10105 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10106 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10107 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10108 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10109 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10110 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10111 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10112 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10113 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10114 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10115 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10116 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10117 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10118 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10119 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10120 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10121 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10122 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10123 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10124 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10125 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10126 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10127 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10128 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10129 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10130 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10131 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10132 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10133 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10134 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10135 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10136 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10137 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10138 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10139 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10140 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10141 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10142 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10143 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10144 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10145 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10146 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10147 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10148 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10149 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10150 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10151 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10152 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10154 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10155 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10156 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10157 before exiting on error.
10158 (__libc_vfork): New strong alias.
10159 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10160 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10162 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10163 that was previously under [RESET_PID].
10164 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10166 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10168 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10171 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10172 value when x - 1 is zero.
10173 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10174 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10175 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10176 0.0L for an argument of 1.0L.
10177 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10179 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10180 value when x - 1 is zero.
10181 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10182 * sysdeps/i386/fpu/libm-test-ulps: Update.
10183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10185 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10187 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10188 alphasort and versionsort.
10190 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10192 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10194 [copysignf]: Likewise.
10196 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10198 * crypt/md5-crypt.c: Fix formatting.
10200 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10202 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10203 (b64_from_24bit): New function.
10205 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10207 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10208 libc_hidden_builtin_def to ifunc.
10209 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10210 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10212 2014-05-21 Roland McGrath <roland@hack.frob.com>
10214 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10215 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10217 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10219 * nscd/Depend (linuxthreads): Remove.
10221 * resolv/Depend (linuxthreads): Remove.
10222 * rt/Depend (linuxthreads): Remove.
10224 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10225 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10226 $(common-objpfx)elf/.
10227 (link-libc-before-gnulib): Likewise.
10228 (elfobjdir): Remove variable.
10229 * Makefile (install): Use $(elf-objpfx) instead of
10230 $(common-objpfx)elf/.
10231 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10233 (link-libc-deps): Likewise.
10234 ($(common-objpfx)libc.so): Likewise.
10235 ($(common-objpfx)linkobj/libc.so): Likewise.
10236 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10237 instead of $(common-objpfx)elf/.
10238 (symbolic-link-list): Likewise.
10239 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10240 [$(cross-compiling) = no]: Likewise.
10241 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10243 (static-gnulib-arch): Likewise.
10244 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10245 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10246 $(common-objpfx)elf/.
10248 2014-05-21 Richard Henderson <rth@redhat.com>
10250 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10251 (SINGLE_THREAD_P): Use the correct width load. Fold
10252 into the ldr offset.
10254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10255 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10257 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10259 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10260 (libgcc_s_resume): Use __attribute_used__.
10261 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10264 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10266 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10267 optimization when used with float constants.
10269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10271 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10274 * locale/nl_langinfo_l.c: Make direct reference to every
10275 _nl_current_CATEGORY symbol.
10276 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10277 (tests-static): Add tst-langinfo-static.
10278 (tests-special): Add tst-langinfo-static.out.
10279 ($(objpfx)tst-langinfo.out): Redirect output.
10280 ($(objpfx)tst-langinfo-static.out): New.
10281 * localedata/tst-langinfo.sh: Send output to stdout.
10282 * localedata/tst-langinfo-static.c: New file.
10285 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10286 when the shift amount is modulo the limb size.
10288 2014-05-20 Richard Henderson <rth@redhat.com>
10291 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10292 Change type of sa_flags from unsigned int to int.
10295 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10297 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10299 2014-05-20 Will Newton <will.newton@linaro.org>
10301 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10302 Test the return value of the system call in the nocancel case.
10304 2014-05-20 Will Newton <will.newton@linaro.org>
10305 Yvan Roux <yvan.roux@linaro.org>
10307 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10308 #include of asm/ptrace.h.
10309 (PTRACE_GET_THREAD_AREA): Remove #undef.
10310 (PTRACE_GETHBPREGS): Likewise.
10311 (PTRACE_SETHBPREGS): Likewise.
10312 (struct user_regs_struct): New structure.
10313 (struct user_fpsimd_struct): New structure.
10314 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10315 #include of asm/ptrace.h and second #include of sys/user.h.
10316 (PTRACE_GET_THREAD_AREA): Remove #undef.
10317 (PTRACE_GETHBPREGS): Likewise.
10318 (PTRACE_SETHBPREGS): Likewise.
10319 (ELF_NGREG): Use new struct user_regs_struct.
10320 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10322 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10324 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10325 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10327 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10330 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10331 membar to avoid block loads/stores to overlap previous stores.
10333 2014-05-17 Richard Henderson <rth@redhat.com>
10335 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10336 Create the __##syscall_name##_nocancel entry point.
10337 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10338 Remove; let the sysdep-cancel.h code create it.
10340 2014-05-17 David S. Miller <davem@davemloft.net>
10342 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10343 Protect with __USE_GNU.
10344 (TIOCSET_TEMPT): Likewise.
10345 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10346 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10347 these are already provided in bits/ioctl-types.h
10349 2014-05-16 Roland McGrath <roland@hack.frob.com>
10351 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10352 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10354 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10355 Use wait4 regardless of [__NR_waitpid].
10357 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10360 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10361 (_FP_NANSIGN_Q): Set the quiet bit.
10363 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10365 * benchtests/Makefile
10366 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10367 not $(common-objpfx)math/libm.so.
10368 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10369 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10370 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10371 $(common-objpfx)dlfcn/libdl.so.
10372 ($(objpfx)tst-audit8): Depend on $(libm), not
10373 $(common-objpfx)math/libm.so.
10374 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10375 not $(common-objpfx)dlfcn/libdl.so.
10377 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10378 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10379 [$(build-shared) = yes].
10380 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10381 $(common-objpfx)nptl/libpthread.so.
10382 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10383 $(common-objpfx)math/libm.so$(libm.so-version) or
10384 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10385 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10386 $(common-objpfx)dlfcn/libdl.so.
10387 * setjmp/Makefile (link-libm): Remove variable.
10388 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10389 * stdio-common/Makefile (link-libm): Remove variable.
10390 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10391 * stdlib/Makefile (link-libm): Remove variable.
10392 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10393 ($(objpfx)tst-strtod-round): Likewise.
10394 ($(objpfx)tst-tininess): Likewise.
10395 ($(objpfx)tst-strtod-underflow): Likewise.
10396 ($(objpfx)tst-strtod6): Likewise.
10397 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10398 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10399 $(common-objpfx)dlfcn/libdl.so.
10401 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10403 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10404 BSD terminal modes definitions.
10406 2014-05-16 Roland McGrath <roland@hack.frob.com>
10408 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10409 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10411 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10412 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10413 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10414 Don't do #include_next.
10415 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10416 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10417 Don't do #include_next.
10418 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10419 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10420 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10421 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10423 2014-05-16 Allan McRae <allan@archlinux.org>
10425 * po/sv.po: Update Swedish translation from translation project.
10427 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10430 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10433 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10434 errno if the TIOCGPTN ioctl fails with an error different than
10436 * login/tst-ptsname.c: New file.
10437 * login/Makefile (tests): Add tst-ptsname.
10440 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10443 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10447 herrno to return EAI_AGAIN.
10449 2014-05-14 Roland McGrath <roland@hack.frob.com>
10451 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10452 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10453 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10454 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10455 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10456 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10457 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10458 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10459 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10460 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10461 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10462 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10463 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10464 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10465 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10466 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10467 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10468 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10469 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10470 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10471 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10472 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10473 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10474 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10475 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10476 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10477 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10478 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10479 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10480 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10482 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10484 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10487 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10489 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10491 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10493 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10495 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10497 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10499 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10501 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10503 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10505 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10507 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10509 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10511 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10513 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10516 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10518 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10520 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10522 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10524 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10526 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10528 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10530 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10532 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10534 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10537 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10539 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10541 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10542 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10543 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10544 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10545 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10546 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10547 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10548 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10549 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10550 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10551 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10552 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10553 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10554 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10555 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10556 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10557 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10558 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10559 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10560 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10561 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10562 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10563 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10564 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10565 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10566 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10567 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10568 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10569 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10570 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10571 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10573 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10574 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10576 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10577 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10578 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10579 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10580 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10581 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10583 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10584 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10586 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10587 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10589 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10590 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10592 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10593 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10594 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10595 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10597 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10598 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10599 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10600 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10601 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10602 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10603 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10604 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10606 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10607 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10609 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10611 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10612 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10613 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10614 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10615 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10617 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10619 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10621 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10622 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10623 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10624 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10625 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10626 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10628 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10629 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10631 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10632 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10634 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10635 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10637 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10638 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10639 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10640 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10642 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10643 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10644 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10645 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10646 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10647 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10648 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10649 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10651 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10652 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10654 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10656 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10657 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10658 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10659 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10660 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10662 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10664 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10666 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10667 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10668 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10669 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10670 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10671 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10672 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10673 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10674 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10675 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10677 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10678 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10680 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10681 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10683 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10684 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10686 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10687 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10688 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10689 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10690 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10691 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10693 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10694 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10695 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10696 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10697 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10698 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10699 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10700 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10702 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10703 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10705 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10707 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10708 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10709 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10710 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10711 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10713 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10715 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10717 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10718 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10719 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10720 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10721 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10722 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10723 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10724 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10725 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10726 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10727 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10729 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10730 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10732 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10733 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10735 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10736 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10737 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10738 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10739 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10740 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10741 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10742 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10743 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10744 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10745 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10746 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10747 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10748 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10749 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10750 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10751 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10752 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10754 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10755 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10756 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10757 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10759 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10760 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10761 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10762 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10763 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10764 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10765 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10766 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10768 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10769 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10771 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10772 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10773 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10774 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10775 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10776 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10777 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10778 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10779 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10780 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10781 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10782 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10783 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10784 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10785 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10786 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10787 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10789 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10790 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10791 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10792 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10793 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10795 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10796 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10797 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10798 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10799 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10800 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10801 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10802 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10803 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10804 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10806 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10807 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10809 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10810 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10811 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10812 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10813 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10814 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10815 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10816 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10817 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10818 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10819 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10820 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10821 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10822 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10825 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10827 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10843 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10844 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10845 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10846 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10847 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10848 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10849 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10850 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10851 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10852 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10853 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10854 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10855 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10856 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10857 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
10859 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10860 that was previously under [RESET_PID].
10861 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10862 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10863 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10865 * sysdeps/i386/nptl/Implies: New file.
10866 * sysdeps/x86_64/nptl/Implies: New file.
10867 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10868 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10869 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10870 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10872 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10873 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10874 (__libc_vfork): New strong alias.
10875 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10876 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10878 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10879 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10880 (__libc_vfork): New strong alias.
10881 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10882 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10884 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10885 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10886 (__libc_vfork): New strong alias.
10887 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10888 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10889 * nptl/pt-vfork.c: New file.
10890 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10891 (libpthread: GLIBC_2.20): New version set (empty).
10893 2014-05-14 Will Newton <will.newton@linaro.org>
10895 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10898 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10901 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10902 arguments with exponent 65 or above.
10903 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10904 arguments 0x1p113L or above.
10905 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10906 to arguments 0x1p107L or above.
10907 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10908 positive arguments with exponent 65 or above.
10909 * math/auto-libm-test-in: Add more tests of log1p.
10910 * math/auto-libm-test-out: Regenerated.
10913 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10914 non-finite arguments is +0.
10915 * math/s_cacosf.c (__cacosf): Likewise.
10916 * math/s_cacosl.c (__cacosl): Likewise.
10917 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10918 * sysdeps/i386/fpu/libm-test-ulps: Update.
10919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10922 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10924 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10925 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10926 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10927 for explicit high bit of mantissa when testing for argument equal
10929 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10930 * sysdeps/i386/fpu/libm-test-ulps: Update.
10931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10934 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10935 (__erf): Scale by 16 instead of 8 in potentially underflowing
10936 case. Ensure exception if result actually underflows.
10937 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10938 (__erff): Scale by 16 instead of 8 in potentially underflowing
10939 case. Ensure exception if result actually underflows.
10940 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10941 (efx8): Remove variable.
10942 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10943 case. Ensure exception if result actually underflows.
10944 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10945 (efx8): Remove variable.
10946 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10947 case. Ensure exception if result actually underflows.
10948 * sysdeps/ieee754/ldbl-96/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 * math/auto-libm-test-in: Add more tests of erf.
10953 * math/auto-libm-test-out: Regenerated.
10955 2014-05-14 Andreas Schwab <schwab@suse.de>
10957 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10958 Remove code conditionalized on USE___THREAD.
10960 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10961 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10964 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10966 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10967 Define unconditionally.
10968 (__ASSUME_O_CLOEXEC): Likewise.
10969 (__ASSUME_SOCK_CLOEXEC): Likewise.
10970 (__ASSUME_IN_NONBLOCK): Likewise.
10971 (__ASSUME_PIPE2): Likewise.
10972 (__ASSUME_EVENTFD2): Likewise.
10973 (__ASSUME_SIGNALFD4): Likewise.
10974 (__ASSUME_DUP3): Likewise.
10975 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10976 (__ASSUME_DUP3): Do not define.
10977 (__ASSUME_EVENTFD2): Likewise.
10978 (__ASSUME_IN_NONBLOCK): Likewise.
10979 (__ASSUME_O_CLOEXEC): Likewise.
10980 (__ASSUME_PIPE2): Likewise.
10981 (__ASSUME_SIGNALFD4): Likewise.
10982 (__ASSUME_SOCK_CLOEXEC): Likewise.
10983 (__ASSUME_UTIMES): Undefine.
10984 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10985 (__ASSUME_UTIMES): Do not define.
10986 (__ASSUME_O_CLOEXEC): Likewise.
10987 (__ASSUME_SOCK_CLOEXEC): Likewise.
10988 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10989 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10991 (__ASSUME_PIPE2): Likewise.
10992 (__ASSUME_EVENTFD2): Likewise.
10993 (__ASSUME_SIGNALFD4): Likewise.
10994 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10995 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10997 (__ASSUME_EVENTFD2): Likewise.
10998 (__ASSUME_SIGNALFD4): Likewise.
10999 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11000 (__ASSUME_32BITUIDS): Likewise.
11001 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11002 (__ASSUME_IPC64): Likewise.
11003 (__ASSUME_ST_INO_64_BIT): Likewise.
11004 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11005 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11006 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11007 (__ASSUME_UTIMES): Do not define.
11008 (__ASSUME_PSELECT): Likewise.
11009 (__ASSUME_PPOLL): Likewise.
11010 (__ASSUME_O_CLOEXEC): Likewise.
11011 (__ASSUME_SOCK_CLOEXEC): Likewise.
11012 (__ASSUME_IN_NONBLOCK): Likewise.
11013 (__ASSUME_PIPE2): Likewise.
11014 (__ASSUME_EVENTFD2): Likewise.
11015 (__ASSUME_SIGNALFD4): Likewise.
11016 (__ASSUME_DUP3): Likewise.
11017 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11018 (__ASSUME_UTIMES): Likewise.
11019 (__ASSUME_O_CLOEXEC): Likewise.
11020 (__ASSUME_SOCK_CLOEXEC): Likewise.
11021 (__ASSUME_IN_NONBLOCK): Likewise.
11022 (__ASSUME_PIPE2): Likewise.
11023 (__ASSUME_EVENTFD2): Likewise.
11024 (__ASSUME_SIGNALFD4): Likewise.
11025 (__ASSUME_DUP3): Likewise.
11026 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11027 (__ASSUME_UTIMES): Likewise.
11028 (__ASSUME_O_CLOEXEC): Likewise.
11029 (__ASSUME_SOCK_CLOEXEC): Likewise.
11030 (__ASSUME_IN_NONBLOCK): Likewise.
11031 (__ASSUME_PIPE2): Likewise.
11032 (__ASSUME_EVENTFD2): Likewise.
11033 (__ASSUME_SIGNALFD4): Likewise.
11034 (__ASSUME_DUP3): Likewise.
11035 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11037 (__ASSUME_UTIMES): Likewise.
11038 (__ASSUME_EVENTFD2): Likewise.
11039 (__ASSUME_SIGNALFD4): Likewise.
11040 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11041 (__ASSUME_O_CLOEXEC): Likewise.
11042 (__ASSUME_SOCK_CLOEXEC): Likewise.
11043 (__ASSUME_IN_NONBLOCK): Likewise.
11044 (__ASSUME_PIPE2): Likewise.
11045 (__ASSUME_EVENTFD2): Likewise.
11046 (__ASSUME_SIGNALFD4): Likewise.
11047 (__ASSUME_DUP3): Likewise.
11048 (__ASSUME_UTIMES): Undefine.
11050 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11051 feclearexcept. Remove symbol versioning code.
11052 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11053 symbol versioning code.
11054 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11055 symbol versioning code.
11056 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11057 feupdateenv. Remove symbol versioning code.
11058 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11059 fegetexceptflag. Remove symbol versioning code.
11060 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11061 fesetexceptflag. Remove symbol versioning code.
11062 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11063 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11064 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11065 (__posix_fadvise64_l32): Remove prototype.
11066 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11069 2014-05-13 Roland McGrath <roland@hack.frob.com>
11071 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11072 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11073 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11074 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11076 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11078 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11079 current working directory
11081 2014-05-13 Roland McGrath <roland@hack.frob.com>
11083 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11084 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11085 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11086 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11087 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11088 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11089 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11090 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11091 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11092 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11093 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11094 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11095 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11096 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11097 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11098 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11099 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11100 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11101 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11102 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11103 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11104 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11105 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11106 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11107 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11108 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11109 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11110 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11111 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11112 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11113 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11114 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11115 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11116 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11117 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11118 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11119 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11120 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11121 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11122 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11123 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11124 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11126 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11127 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11129 * sysdeps/unix/sysv/linux/arm/Makefile
11130 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11131 Add rt-aeabi_unwind_cpp_pr1.
11132 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11133 Add nptl-aeabi_unwind_cpp_pr1.
11134 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11135 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11136 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11137 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11138 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11139 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11141 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11142 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11143 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11144 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11146 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11147 Deconditionalize the code that was previously under [RESET_PID].
11148 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11150 * sysdeps/generic/exit-thread.h: New file.
11151 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11152 * include/unistd.h (__exit_thread): Remove declaration.
11153 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11154 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11155 * csu/libc-start.c: Include <exit-thread.h>.
11156 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11157 * nptl/pthread_create.c: Include <exit-thread.h>.
11158 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11159 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11160 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11161 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11162 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11163 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11164 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11165 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11166 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11167 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11168 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11169 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11170 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11171 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11172 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11173 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11174 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11176 2014-05-13 Andreas Schwab <schwab@suse.de>
11178 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11180 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11182 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11183 (__ASSUME_UTIMES): Do not condition on kernel version.
11184 (__ASSUME_PSELECT): Define unconditionally.
11185 (__ASSUME_PPOLL): Likewise.
11186 (__ASSUME_ATFCTS): Likewise.
11187 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11188 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11189 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11190 (__ASSUME_UTIMENSAT): Define unconditionally.
11191 (__ASSUME_PRIVATE_FUTEX): Likewise.
11192 (__ASSUME_FALLOCATE): Likewise.
11193 (__ASSUME_O_CLOEXEC): Likewise.
11194 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11195 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11196 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11197 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11198 (__ASSUME_IN_NONBLOCK): Likewise.
11199 (__ASSUME_PIPE2): Likewise.
11200 (__ASSUME_EVENTFD2): Likewise.
11201 (__ASSUME_SIGNALFD4): Likewise.
11202 (__ASSUME_DUP3): Likewise.
11203 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11204 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11205 (__ASSUME_AT_RANDOM): Likewise.
11206 (__ASSUME_PREADV): Likewise.
11207 (__ASSUME_PWRITEV): Likewise.
11208 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11209 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11210 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11211 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11212 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11213 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11214 (__ASSUME_O_CLOEXEC): Define unconditionally.
11215 (__ASSUME_PSELECT): Do not undefine conditionally.
11216 (__ASSUME_PPOLL): Likewise.
11217 (__ASSUME_ATFCTS): Likewise.
11218 (__ASSUME_SET_ROBUST_LIST): Likewise.
11219 (__ASSUME_UTIMENSAT): Likewise.
11220 (__ASSUME_FDATASYNC): Define unconditionally.
11221 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11222 (__ASSUME_SIGFRAME_V2): Likewise.
11223 )__ASSUME_EVENTFD2): Likewise.
11224 (__ASSUME_SIGNALFD4): Likewise.
11225 (__ASSUME_PSELECT): Do not undefine conditionally.
11226 (__ASSUME_PPOLL): Likewise.
11227 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11228 (__ASSUME_PSELECT): Define unconditionally.
11229 (__ASSUME_PPOLL): Likewise.
11230 (__ASSUME_O_CLOEXEC): Likewise.
11231 (__ASSUME_SOCK_CLOEXEC): Likewise.
11232 (__ASSUME_IN_NONBLOCK): Likewise.
11233 (__ASSUME_PIPE2): Likewise.
11234 (__ASSUME_EVENTFD2): Likewise.
11235 (__ASSUME_SIGNALFD4): Likewise.
11236 (__ASSUME_DUP3): Likewise.
11237 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
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/mips/kernel-features.h
11246 (__ASSUME_EVENTFD2): Likewise.
11247 (__ASSUME_SIGNALFD4): Likewise.
11248 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11250 2014-05-12 Andreas Schwab <schwab@suse.de>
11253 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11254 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11255 than maximum RPC packet size.
11256 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11257 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11258 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11259 (_nss_nis_getservbyport_r): Likewise.
11261 2014-05-12 Will Newton <will.newton@linaro.org>
11263 * malloc/Makefile (tests): Add tst-mallopt.
11264 * malloc/tst-mallopt.c: New file.
11266 2014-05-09 Roland McGrath <roland@hack.frob.com>
11268 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11269 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11271 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11273 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11274 (tst-tlsmod6.so): Likewise.
11276 2014-05-09 Roland McGrath <roland@hack.frob.com>
11278 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11280 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11283 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11284 and <dl-procinfo.h>.
11285 (__fegetenv): Save SSE state in envp->__eip if supported.
11286 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11287 envp->__eip if supported.
11288 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11289 and <dl-procinfo.h>.
11290 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11291 __data_offset and __data_selector in environment to 0. Set SSE
11292 state if supported.
11293 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11295 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11297 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11299 2014-05-09 Will Newton <will.newton@linaro.org>
11301 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11302 and libc_relro_required for ARM.
11303 * sysdeps/arm/preconfigure: Regenerate.
11305 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11306 Stefan Liebler <stli@linux.vnet.ibm.com>
11308 * config.make.in (enable-lock-elision): New Makefile variable.
11309 * configure.ac: Likewise.
11310 * configure: Regenerate.
11311 * sysdeps/s390/configure.ac:
11312 Add check for gcc transactions support.
11313 * sysdeps/s390/configure: Regenerate.
11314 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11315 Build elision files if enabled.
11316 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11317 Add lock elision support for s390.
11318 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11319 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11320 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11321 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11322 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11323 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11324 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11326 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11328 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11330 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11332 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11333 (__lll_timedlock_elision, __lll_lock_elision)
11334 (__lll_unlock_elision, __lll_trylock_elision)
11335 (lll_timedlock_elision, lll_lock_elision)
11336 (lll_unlock_elision, lll_trylock_elision): Add.
11337 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11338 (pthread_mutex_t): Add lock elision support for s390.
11340 2014-05-14 Wilco <wdijkstr@arm.com>
11342 * sysdeps/arm/fclrexcpt.c: Cleanup.
11343 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11344 * sysdeps/arm/feenablxcpt.c: Cleanup.
11345 * sysdeps/arm/fegetenv.c: Cleanup.
11346 * sysdeps/arm/fegetexcept.c: Cleanup.
11347 * sysdeps/arm/fegetround.c: Cleanup.
11348 * sysdeps/arm/feholdexcpt.c: Cleanup.
11349 * sysdeps/arm/fesetenv.c: Cleanup.
11350 * sysdeps/arm/fesetround.c: Cleanup.
11351 * sysdeps/arm/feupdateenv.c: Cleanup.
11352 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11353 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11354 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11355 * sysdeps/arm/ftestexcept.c: Cleanup.
11356 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11357 * sysdeps/arm/setfpucw.c: Cleanup.
11359 2014-05-09 Will Newton <will.newton@linaro.org>
11361 * sysdeps/arm/armv7/strcmp.S: New file.
11362 * NEWS: Mention addition of ARMv7 optimized strcmp.
11364 2014-05-08 Roland McGrath <roland@hack.frob.com>
11366 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11367 look for %.ac rather than %.in.
11369 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11370 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11371 * sysdeps/mach/hurd/configure: Regenerated.
11372 * sysdeps/unix/sysv/linux/configure: Regenerated.
11374 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11376 2014-05-07 Steve Ellcey <sellcey@mips.com>
11379 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11383 2014-05-07 Andreas Schwab <schwab@suse.de>
11385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11386 when skipping over non-matching result from nscd.
11388 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11391 * nptl/sockperf.c (client): Check socket return value.
11394 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11395 nscd security class.
11397 2014-05-06 Roland McGrath <roland@hack.frob.com>
11399 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11400 * sysdeps/arm/unwind.h: ... here.
11402 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11405 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11408 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11410 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11411 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11412 multiarch strncpy for PPC64.
11413 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11414 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11416 multiarch optimizations.
11417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11418 (__libc_ifunc_impl_list): Likewise.
11419 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11420 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11421 multiarch stpncpy for PPC64.
11422 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11423 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11425 2014-05-06 Andreas Schwab <schwab@suse.de>
11428 * gmon/mcount.c (_MCOUNT_DECL): Use
11429 atomic_compare_and_exchange_bool_acq instead of
11430 catomic_compare_and_exchange_bool_acq.
11432 2014-05-05 Roland McGrath <roland@hack.frob.com>
11434 * elf/Makefile (others, install-bin): Remove pldd.
11435 (pldd-modules): Variable removed.
11436 ($(objpfx)pldd): Target removed.
11437 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11438 (others, install-bin): Append pldd here.
11439 ($(objpfx)pldd): New target.
11441 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11442 to 0, so the first #if test emitted later doesn't see it undefined.
11443 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11444 * sysdeps/gnu/errlist.c: Regenerated.
11446 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11448 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11449 [libc_hidden_builtin_def]: Define to empty value.
11450 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11451 [libc_hidden_builtin_def]: Likewise.
11452 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11453 [libc_hidden_builtin_def]: Likewise.
11454 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11455 [libc_hidden_builtin_def]: Likewise.
11456 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11457 __redirect_memcpy and define ifunc as default hidden symbol.
11458 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11459 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11461 2014-05-04 Adam Conrad <adconrad@0c3.net>
11463 * locale/iso-4217.def: Reintroduce XDR currency.
11465 2014-05-04 Allan McRae <allan@archlinux.org>
11467 * po/eo.po: Update Esperanto translation from translation project.
11469 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11471 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11472 and FEATURE_INDEX_MAX to 1.
11473 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11475 2014-05-01 Steve Ellcey <sellcey@mips.com>
11477 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11478 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11479 * iconvdata/big5.c (ONE_DIRECTION): Define.
11480 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11481 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11482 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11483 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11484 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11485 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11486 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11487 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11488 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11489 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11490 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11491 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11492 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11493 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11494 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11495 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11496 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11497 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11498 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11499 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11500 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11501 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11502 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11503 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11504 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11505 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11506 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11507 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11508 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11509 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11510 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11511 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11512 * iconvdata/johab.c (ONE_DIRECTION): Define.
11513 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11514 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11515 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11516 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11517 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11518 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11519 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11520 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11521 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11522 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11524 2014-05-01 Roland McGrath <roland@hack.frob.com>
11526 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11527 (_IO_JUMPS_OFFSET): Define to 0.
11529 * nptl/sysdeps/pthread/bits/libc-lock.h
11530 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11531 (__libc_lock_define_initialized_recursive): Always define using
11532 initializer. Modern compilers treat uninitialized (implicit zero) and
11533 explicit zero initializers the same (i.e. put the datum in bss).
11535 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11537 * nscd/nscd-client.h: Include <string.h>.
11539 2014-05-01 David S. Miller <davem@davemloft.net>
11542 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11543 multiple zero bytes exist at the end of a string.
11544 Reported by Aurelien Jarno <aurelien@aurel32.net>
11546 * string/test-strcmp.c (check): Add explicit test for situations where
11547 there are multiple zero bytes after the first.
11549 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11552 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11553 when compiling wprintf.
11554 * stdio-common/tstdiomisc.c (t3): New function.
11557 2014-05-01 Steve Ellcey <sellcey@mips.com>
11559 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11560 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11561 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11562 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11564 2014-05-01 Steve Ellcey <sellcey@mips.com>
11566 * stdlib/longlong.h: Updated from GCC.
11568 2014-05-01 Will Newton <will.newton@linaro.org>
11569 Bernard Ogden <bernie.ogden@linaro.org>
11571 * NEWS: Update fixed bug list.
11574 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11576 2014-04-30 David S. Miller <davem@davemloft.net>
11578 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11579 (libc_feholdexcept_setround_sparc_ctx): New function.
11580 (libc_fesetenv_sparc_ctx): Likewise.
11581 (libc_feupdateenv_sparc_ctx): Likewise.
11582 (libc_feholdsetround_sparc_ctx): Likewise.
11583 (libc_feholdexcept_setround_ctx): Define.
11584 (libc_feholdexcept_setroundf_ctx): Likewise.
11585 (libc_feholdexcept_setroundl_ctx): Likewise.
11586 (libc_fesetenv_ctx): Likewise.
11587 (libc_fesetenvf_ctx): Likewise.
11588 (libc_fesetenvl_ctx): Likewise.
11589 (libc_feupdateenv_ctx): Likewise.
11590 (libc_feupdateenvf_ctx): Likewise.
11591 (libc_feupdateenvl_ctx): Likewise.
11592 (libc_feresetround_ctx): Likewise.
11593 (libc_feresetroundf_ctx): Likewise.
11594 (libc_feresetroundl_ctx): Likewise.
11595 (libc_feholdsetround_ctx): Likewise.
11596 (libc_feholdsetroundf_ctx): Likewise.
11597 (libc_feholdsetroundl_ctx): Likewise.
11599 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11600 with __USE_GNU instead of XOPEN cpp guards.
11602 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11605 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11606 with XOPEN cpp guards.
11608 2014-04-30 Julian Brown <julian@codesourcery.com>
11611 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11614 2014-04-30 Joseph Myers <joseph@codesourcery.com>
11617 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11619 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11620 * sysdeps/unix/sysv/linux/configure: Regenerated.
11621 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11622 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11623 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11624 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11625 * README: Update reference to required Linux kernel version.
11626 * manual/install.texi (Linux): Update reference to required Linux
11627 kernel headers version.
11628 * INSTALL: Regenerated.
11630 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11632 [POSIX] (limits.h): Likewise.
11633 [POSIX] (math.h): Likewise.
11634 [POSIX] (sys/wait.h): Likewise.
11635 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11637 [POSIX] (stddef.h): Do not allow header inclusion.
11639 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11641 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11643 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11645 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11646 Return immediately after lll_futex_wake.
11648 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11651 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11653 (datahead_init_pos): Call datahead_init_common early.
11654 (datahead_init_neg): Likewise.
11656 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11657 datahead_init_neg): New functions.
11658 * nscd/aicache.c (addhstaiX): Use them.
11659 * nscd/grpcache.c (cache_addgr): Likewise.
11660 * nscd/hstcache.c (cache_addhst): Likewise.
11661 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11662 * nscd/netgroupcache.c (do_notfound): Likewise.
11663 (addgetnetgrentX): Likewise.
11664 (addinnetgrX): Likewise.
11665 * nscd/pwdcache.c (cache_addpw): Likewise.
11666 * nscd/servicescache.c (cache_addserv): Likewise.
11668 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11669 Atsushi Onoe <atsushi@onoe.org>
11674 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11675 one response is valid.
11676 * resolv/res_send.c (send_dg): Check for validity of other
11677 response if the current response is a referral.
11679 2014-04-29 Steve Ellcey <sellcey@mips.com>
11681 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11683 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11686 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11687 Always divide by positive zero when computing -Inf result.
11688 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11689 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11691 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11693 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11694 FPSCR if value do not change.
11695 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11696 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11697 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11698 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11699 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11700 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11703 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11705 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11706 * sysdeps/unix/sysv/linux/hppa: Move directory from
11707 ports/systeps/unix/sysv/linux/hppa.
11708 * README: Update listing for hppa-*-linux-gnu.
11710 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
11713 * manual/stdio.texi (Hook functions): Fix types of stream hook
11716 * socket/sys/socket.h: Fix typo in comment.
11718 2014-04-28 Wilco <wdijkstr@arm.com>
11720 * sysdeps/arm/fenv_private.h: New file.
11721 * sysdeps/arm/math_private.h: New file.
11722 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11724 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11726 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11728 (La_x86_64_retval): Likewise.
11730 2014-04-24 Ian Bolton <ian.bolton@arm.com>
11732 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11733 fpsr if value didn't change.
11734 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11735 to fpcr if value didn't change.
11736 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11737 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11738 fpsr or fpcr if value didn't change.
11739 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11740 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11741 fpcr if value didn't change.
11742 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11743 to fpsr if value didn't change.
11745 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11747 * nptl/tst-sem3.c: Use test-skeleton.c
11748 (main): Rename to do_test. Use return instead of
11750 * nptl/tst-sem4.c: Use test-skeleton.c
11751 (main): Rename to do_test.
11753 2014-04-22 David S. Miller <davem@davemloft.net>
11755 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11756 (struct sigaction): New struct member __glibc_reserved0, change
11757 type of sa_flags to int.
11759 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11761 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11762 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11764 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11766 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11767 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11769 2014-04-22 Will Newton <will.newton@linaro.org>
11770 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11772 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11773 (__longjmp): Add longjmp and longjmp_target SystemTap
11775 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11776 (__sigsetjmp): Add setjmp SystemTap probe.
11778 2014-04-17 Carlos O'Donell <carlos@redhat.com>
11780 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11781 match manual order.
11783 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11785 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11787 * sysdeps/powerpc/fpu/fenv_private.h
11788 (libc_feholdexcept_setroundl_ctx): Define to
11789 libc_feholdexcept_setround_ppc_ctx.
11790 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11791 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11792 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11793 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11795 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11797 * sysdeps/aarch64/math-tests.h: New file.
11799 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11801 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11804 Check and set bit_AVX2_Usable.
11805 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11807 (bit_AVX2): Likewise.
11808 (index_AVX2_Usable): Likewise.
11809 (CPUID_AVX2): Likewise.
11810 (HAS_AVX2): Likewise.
11812 2014-04-17 Will Newton <will.newton@linaro.org>
11814 * manual/setjmp.texi (System V contexts): Add note that
11815 calling setcontext on a context created by a call to a
11816 signal handler is undefined. Update text to note that
11817 setcontext from a signal handler is possible but not
11821 * stdlib/tst-setcontext.c: Include signal.h.
11822 (main): Check that the signal stack before and
11823 after swapcontext is the same.
11825 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11826 Re-implement to restore registers in user code and avoid
11827 rt_sigreturn system call.
11829 2014-04-17 Wilco <wdijkstr@arm.com>
11831 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11832 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11833 * math/test-fenv.c: Skip exception trap tests on targets which only
11834 support non-stop mode.
11836 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11837 Wilco Dijkstra <wilco.dijkstra@arm.com>
11839 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11840 (libc_feholdsetround_aarch64_ctx)
11841 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11842 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11843 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11844 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11845 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11846 (libc_feresetround_noexl_ctx): Define.
11848 2014-04-16 Richard Henderson <rth@redhat.com>
11850 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11852 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11855 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11856 const from the non-libc, non-ldso copy.
11858 * sysdeps/alpha/libm-test-ulps: Regenerate.
11860 2014-04-16 Ian Bolton <ian.bolton@arm.com>
11861 Wilco Dijkstra <wilco.dijkstra@arm.com>
11863 * sysdeps/aarch64/fpu/math_private.h: New file.
11865 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11867 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11869 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11872 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11873 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11874 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11875 Intel MPX bound registers before _dl_profile_fixup.
11876 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11877 registers after _dl_profile_fixup. Save and restore bound
11878 registers bnd0/bnd1 when calling _dl_call_pltexit.
11879 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11880 (LR_BND_OFFSET): Likewise.
11881 (LRV_BND0_OFFSET): Likewise.
11882 (LRV_BND1_OFFSET): Likewise.
11884 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11886 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11888 * sysdeps/mach/hurd/i386/tls.h: ... here.
11889 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11890 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11893 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11895 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11897 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11899 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11901 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11904 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11905 * sysdeps/s390/configure: Regenerate.
11908 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11909 Set round-to-nearest internally to reduce error accumulation.
11911 2014-04-16 Alan Modra <amodra@gmail.com>
11915 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11916 * math/libm-test.inc (frexp_test_data): Add tests.
11917 * NEWS: Update fixed bug list.
11919 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11921 * benchtests/Makefile: Depend on libraries in build directory.
11922 (bench-math): Separate out math tests.
11923 (bench-pthread): Separate out pthread tests.
11924 (bench): Include math and pthread tests.
11926 2014-04-14 Carlos O'Donell <carlos@redhat.com>
11929 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11930 _dl_debug_initialize.
11932 * configure.ac: Remove SELinux header check.
11933 * configure: Regenerate.
11934 * nscd/selinux.c (perms): Array of const char* to permission names.
11935 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11936 default policy. Call string_to_security_class and string_to_av_perm to
11937 translate strings. Enforce default policy and call avs_has_perm with
11938 results of translated strings.
11940 2014-04-13 David S. Miller <davem@davemloft.net>
11942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11944 2014-04-12 Allan McRae <allan@archlinux.org>
11947 * manual/string.texi (Collation Functions): Fix qsort argument
11949 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11951 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11953 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11954 Make the test a no-op if there are no exceptions defined.
11956 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11958 * elf/Makefile (tests): make tst-dlopen-aout conditional on
11959 enable-hardcoded-path-in-tests
11961 2014-04-11 Will Newton <will.newton@linaro.org>
11963 * benchtests/Makefile (extra-objs): Add json-lib.o.
11964 (bench-func): Tidy up JSON output.
11965 * benchtests/bench-skeleton.c: Include json-lib.h.
11966 (main): Use JSON library functions to do output of
11968 * benchtests/bench-timing-type.c (main): Output the
11969 timing type simply, leaving formatting to the user.
11970 * benchtests/json-lib.c: New file.
11971 * benchtests/json-lib.h: Likewise.
11973 2014-04-11 Torvald Riegel <triegel@redhat.com>
11976 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11977 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11978 memory barriers. Add comments.
11979 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11980 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11981 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11982 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11983 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11984 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11986 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11988 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11989 * sysdeps/s390/s390-64/configure.ac: ... this ...
11990 * sysdeps/s390/configure.ac: ... to here.
11991 * sysdeps/s390/s390-32/configure: Delete file.
11992 * sysdeps/s390/s390-64/configure: Delete file.
11993 * sysdeps/s390/configure: Regenerate.
11995 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11997 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11999 2014-04-11 Will Newton <will.newton@linaro.org>
12001 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12002 to zero if it is not defined elsewhere. (mtrim): Test
12003 the value of MALLOC_DEBUG with #if rather than #ifdef.
12005 2014-04-10 Torvald Riegel <triegel@redhat.com>
12007 * benchtests/pthread_once-inputs: New file.
12008 * benchtests/pthread_once-source.c: New file.
12009 * benchtests/README: Update documentation.
12011 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12012 H.J. Lu <hongjiu.lu@intel.com>
12015 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12016 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12017 * sysdeps/x86_64/configure: Regenerated.
12018 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12020 (REGISTER_SAVE_RAX): Likewise.
12021 (REGISTER_SAVE_RCX): Likewise.
12022 (REGISTER_SAVE_RDX): Likewise.
12023 (REGISTER_SAVE_RSI): Likewise.
12024 (REGISTER_SAVE_RDI): Likewise.
12025 (REGISTER_SAVE_R8): Likewise.
12026 (REGISTER_SAVE_R9): Likewise.
12027 (REGISTER_SAVE_BND0): Likewise.
12028 (REGISTER_SAVE_BND1): Likewise.
12029 (REGISTER_SAVE_BND2): Likewise.
12030 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12031 bound registers when calling _dl_fixup.
12033 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12035 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12036 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12038 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12039 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12040 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12041 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12042 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12043 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12044 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12046 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12049 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12050 pathconf(_PC_NAME_MAX).
12052 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12054 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12055 Remove macro usage.
12056 (__PTHREAD_SPINS): Move definition to ...
12057 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12058 (__PTHREAD_SPINS): ... here.
12059 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12060 (__PTHREAD_SPIN): Likewise.
12061 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12062 (__PTHREAD_SPIN): Likewise.
12063 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12064 (__PTHREAD_SPIN): Likewise.
12065 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12066 (__PTHREAD_SPIN): Likewise.
12067 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12068 (__PTHREAD_SPIN): Likewise.
12069 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12070 (__PTHREAD_SPIN): Likewise.
12071 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12072 (__PTHREAD_SPIN): Likewise.
12073 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12074 (__PTHREAD_SPIN): Likewise.
12075 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12076 (__PTHREAD_SPIN): Likewise.
12077 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12078 (__PTHREAD_SPIN): Likewise.
12079 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12080 (__PTHREAD_SPIN): Likewise.
12081 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12082 (__PTHREAD_SPIN): Likewise.
12084 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12085 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12086 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12087 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12089 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12090 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12091 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12092 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12093 correct imply path.
12094 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12095 strlen symbol for non multi-arch builds.
12096 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12097 missing hidden_def and weak_alias.
12099 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12101 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12103 2014-04-07 Will Newton <will.newton@linaro.org>
12105 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12106 and contents. [!_LIBC] Remove #ifndef and contents.
12107 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12108 * string/memccpy.c (__memccpy): Use ANSI prototype.
12109 * string/memfrob.c (memfrob): Likewise.
12110 * string/strcoll.c (STRCOLL): Likewise.
12111 * string/strlen.c (strlen): Likewise.
12112 * string/strtok.c (STRTOK): Likewise.
12113 * string/strcat.c: Remove unused #include of memcopy.h.
12114 (strcat): Use ANSI prototype.
12115 * string/strchr.c: Remove unused #include of memcopy.h.
12116 (strchr): Use ANSI prototype.
12117 * string/strcmp.c: Remove unused #include of memcopy.h.
12118 (strcmp): Use ANSI prototype.
12119 * string/strcpy.c: Remove unused #include of memcopy.h.
12120 (strcpy): Use ANSI prototype.
12122 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12124 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12125 * config.make.in (config-extra-cppflags): Set it from
12126 libc_extra_cppflags.
12127 * configure.ac (libc_extra_cflags): Make it accumulate over
12128 configure fragments.
12129 (libc_extra_cppflags): New flag.
12130 * configure. Regenerate.
12131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12132 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12133 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12137 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12138 result for FE_DOWNWARD rounding mode.
12139 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12143 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12145 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12146 in function argument name.
12148 2014-04-03 David Svoboda <svoboda@cert.org>
12151 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12154 2014-04-03 Roland McGrath <roland@hack.frob.com>
12156 * elf/dl-unmap-segments.h: New file.
12157 * sysdeps/generic/ldsodefs.h
12158 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12159 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12160 * elf/dl-fptr.c: Likewise.
12161 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12162 * sysdeps/aarch64/tlsdesc.c: Likewise.
12163 * sysdeps/arm/tlsdesc.c: Likewise.
12164 * sysdeps/i386/tlsdesc.c: Likewise.
12165 * sysdeps/tile/dl-runtime.c: Likewise.
12166 * sysdeps/x86_64/tlsdesc.c: Likewise.
12167 * elf/dl-load.h: New file.
12168 * elf/dl-load.c: Include it.
12169 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12170 Macros moved to dl-load.h.
12171 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12172 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12173 Use _dl_unmap_segments in place of __munmap.
12174 Break out segment-mapping loop into ...
12175 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12177 2014-04-03 Will Newton <will.newton@linaro.org>
12179 * elf/dl-lookup.c (do_lookup_x): Remove comment
12180 referring to nested function and move variable
12181 declarations down to before first use.
12183 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12187 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12189 * math/s_catanf.c (__catanf): Likewise.
12190 * math/s_catanh.c (__catanh): Likewise.
12191 * math/s_catanhf.c (__catanhf): Likewise.
12192 * math/s_catanhl.c (__catanhl): Likewise.
12193 * math/s_catanl.c (__catanl): Likewise.
12194 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12195 by positive zero when computing -Inf result.
12196 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12197 (catanh_test): Likewise.
12198 * sysdeps/i386/fpu/libm-test-ulps: Update.
12199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12202 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12203 instead of using underflowing value in computing result.
12204 * math/s_clog10.c (__clog10): Likewise.
12205 * math/s_clog10f.c (__clog10f): Likewise.
12206 * math/s_clog10l.c (__clog10l): Likewise.
12207 * math/s_clogf.c (__clogf): Likewise.
12208 * math/s_clogl.c (__clogl): Likewise.
12209 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12210 (clog10_test): Likewise.
12211 * sysdeps/i386/fpu/libm-test-ulps: Update.
12212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12214 2014-04-02 Alan Modra <amodra@gmail.com>
12217 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12218 output when value is near a power of two. Use int64_t for lx and
12219 remove casts. Use decimal rather than hex exponent constants.
12220 Don't use long double multiplication when double will suffice.
12221 * math/libm-test.inc (nextafter_test_data): Add tests.
12222 * NEWS: Add 16739 and 16786 to bug list.
12224 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12226 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12228 2014-04-01 Will Newton <will.newton@linaro.org>
12230 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12231 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12233 2014-04-01 Florian Weimer <fweimer@redhat.com>
12236 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12237 * nptl/tst-setuid2.c: New file.
12238 * nptl/Makefile (xtests): Add tst-setuid2.
12240 2014-04-01 Alan Modra <amodra@gmail.com>
12243 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12245 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12249 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12250 set errno as appropriate.
12251 * math/w_scalbf.c (__scalbf): Likewise.
12252 * math/w_scalbl.c (__scalbl): Likewise.
12253 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12254 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12255 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12256 Add more NaN tests.
12259 * math/w_atan2.c: Include <errno.h>.
12260 (__atan2): Set errno for result underflowing to zero.
12261 * math/w_atan2f.c: Include <errno.h>.
12262 (__atan2f): Set errno for result underflowing to zero.
12263 * math/w_atan2l.c: Include <errno.h>.
12264 (__atan2l): Set errno for result underflowing to zero.
12265 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12267 * math/auto-libm-test-out: Regenerated.
12269 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12271 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12272 Encode instruction correctly in little endian.
12273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12275 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12277 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12279 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12282 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12285 * sysdeps/unix/sysv/linux/kernel-features.h
12286 [__sparc__ && !__arch64__ && !__sparc_v9__]
12287 (__ASSUME_SET_ROBUST_LIST): Do not define.
12288 [__sparc__ && !__arch64__ && !__sparc_v9__]
12289 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12290 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12292 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12293 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12294 (__ASSUME_REQUEUE_PI): Likewise.
12295 (__ASSUME_SET_ROBUST_LIST): Likewise.
12296 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12297 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12299 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12300 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12302 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12304 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12306 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12307 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12309 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12310 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12314 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12316 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12318 2014-03-31 Will Newton <will.newton@linaro.org>
12320 * benchtests/Makefile (bench): Add ffs and ffsll to list
12322 * benchtests/ffs-inputs: New file.
12323 * benchtests/ffsll-inputs: Likewise.
12325 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12328 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12329 too large before casting to int.
12330 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12331 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12332 * math/libm-test.inc (scalb_test_data): Add more tests.
12334 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12336 * benchtests/Makefile (DETAILED_OPT): New make option.
12337 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12339 * benchtests/bench-skeleton.c: Include stdbool.h.
12340 (main): Store and print timings per input.
12341 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12342 member to each argument value.
12343 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12344 (_print_arg_data): Initialize per-input timing to 0.
12346 * benchtests/Makefile (timing-type): New binary.
12347 (bench-clean): Also remove bench-timing-type.
12348 (bench): New target for timing-type.
12349 (bench-func): Print output in JSON format.
12350 * benchtests/bench-skeleton.c (main): Print output in JSON
12352 * benchtests/bench-timing-type.c: New file.
12353 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12354 (TIMING_PRINT_STATS): Remove.
12355 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12358 * benchtests/bench-modf.c: Remove.
12359 * benchtests/modf-inputs: New inputs file.
12361 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12364 * math/s_clog10.c (M_PI_LOG10E): New macro.
12365 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12366 imaginary parts are 0.
12367 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12368 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12369 imaginary parts are 0.
12370 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12371 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12372 imaginary parts are 0.
12373 * math/libm-test.inc (clog10_test_data): Update expected results
12374 for when real and imaginary parts are 0.
12376 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12378 * elf/dl-load.c: Finish conversion of __builtin_expect into
12379 __glibc_{un}likely.
12381 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12384 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12385 1+x for argument with exponent below -67.
12386 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12388 * math/auto-libm-test-in: Add more tests of exp.
12389 * math/auto-libm-test-out: Regenerated.
12391 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12394 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12395 (nscd_getnetgrent): Use it.
12398 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12401 2014-03-27 Andi Kleen <ak@linux.intel.com>
12403 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12404 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12405 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12406 (lll_robust_unlock): Remove out of line section. Use cfi
12408 (LLL_STUB_UNWIND_INFO*): Remove.
12409 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12410 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12411 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12412 (lll_robust_unlock): Remove out of line section. Use cfi
12414 (LLL_STUB_UNWIND_INFO*): Remove.
12416 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12419 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12422 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12424 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12426 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12429 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12431 * math/test-fenv-preserve.c: New file.
12432 * math/Makefile (tests): Add test-fenv-preserve.
12434 2014-03-26 Will Newton <will.newton@linaro.org>
12436 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12438 2014-03-25 Roland McGrath <roland@hack.frob.com>
12440 * scripts/versionlist.awk: Partition the version sets and emit all
12441 GLIBC_* (sorted) before all others (sorted).
12443 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12445 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12446 GLIBC_2.2.5 version.
12448 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12450 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12453 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12458 2014-03-25 Andreas Schwab <schwab@suse.de>
12460 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12461 label to be used after in6ailist is initialized.
12463 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12465 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12466 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12468 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12472 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12474 (fp_formats): Update initializers.
12475 (init_fp_formats): Initialize new field.
12476 (output_for_one_input_case): Allow underflow for results up to
12478 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12479 * math/auto-libm-test-in: Don't mark some underflows from asin and
12481 * math/auto-libm-test-out: Regenerated.
12482 * sysdeps/i386/fpu/libm-test-ulps: Update.
12483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12485 2014-03-25 Andreas Schwab <schwab@suse.de>
12487 * libio/Makefile (tst-ftell-partial-wide-ENV)
12488 (tst-ftell-active-handler-ENV): Define.
12490 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12492 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12494 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12496 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12498 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12500 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12501 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12502 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12504 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12507 * elf/dl-load.c (open_verify): Add mode parameter.
12508 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12509 (open_path): Change from boolean 'secure' to complete flag 'mode'
12510 (_dl_map_object): Adjust.
12511 * elf/Makefile (tests): Add tst-dlopen-aout.
12512 * elf/tst-dlopen-aout.c: New test.
12514 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12517 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12518 (struct stat): Rename member pad0 to __glibc_reserved0.
12521 * sysdeps/s390/s390-32/bits/wordsize.h
12522 (__WORDSIZE32_SIZE_ULONG): New define.
12523 * sysdeps/s390/s390-64/bits/wordsize.h
12524 (__WORDSIZE32_SIZE_ULONG): Likewise.
12525 * sysdeps/generic/stdint.h (SIZE_MAX):
12526 Define as UL if __WORDSIZE32_SIZE_ULONG.
12529 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12530 (__glibc_reserved0): New variable.
12531 (sa_flags): Change type to int.
12533 * posix/Makefile (before-compile): Use += before-compile instead
12536 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12537 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12539 2014-03-20 Andreas Schwab <schwab@suse.de>
12542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12543 non-matching result from nscd.
12545 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12547 * scripts/bench.py: Moved to ...
12548 * benchtests/scripts/bench.py: ... here.
12549 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12551 2014-03-24 Andreas Schwab <schwab@suse.de>
12554 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12555 alloca_account and account alloca use for struct in6ailist.
12557 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12560 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12561 rounding mode to recompute results that overflow to infinity or
12563 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12565 * math/auto-libm-test-out: Regenerated.
12566 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12567 (ccosh_test): Likewise.
12568 (csin_test_data): Use plus_oflow.
12569 (csin_test): Use ALL_RM_TEST.
12570 (csinh_test_data): Use plus_oflow.
12571 (csinh_test): Use ALL_RM_TEST.
12572 * sysdeps/i386/fpu/libm-test-ulps: Update.
12573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12575 2014-03-21 Joseph Myers <joseph@codesourcery.com>
12577 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12578 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12579 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12582 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12583 when x - 1 is zero.
12584 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12585 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12586 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12587 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12589 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12590 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12592 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12593 * sysdeps/i386/fpu/libm-test-ulps: Update.
12594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12596 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12598 * scripts/bench.pl: Remove file.
12599 * scripts/bench.py: New benchmark script.
12600 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12601 * benchtests/README: Mention python dependency.
12602 * scripts/pylintrc: New file.
12603 * scripts/pylint: New file.
12605 * bits/mathdef.h: Use #ifdef instead of #if.
12606 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12607 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12608 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12609 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12610 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12611 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12613 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12614 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12616 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12618 and strpbrk-ppc64 objects.
12619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12620 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12621 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12622 multiarch strpbrk for POWER7.
12623 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12624 multiarch strpbrk for PPC64.
12625 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12627 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12628 strpbrk for POWER7.
12630 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12632 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12633 (atan_test): Likewise.
12634 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12635 (atanh_test): Use ALL_RM_TEST.
12636 (atan2_test_data): Likewise.
12637 (cabs_test): Likewise.
12638 (cacosh_test): Likewise.
12639 (carg_test): Likewise.
12640 (casin_test): Likewise.
12641 (casinh_test): Likewise.
12642 (cbrt_test): Likewise.
12643 (csqrt_test): Likewise.
12644 (erf_test): Likewise.
12645 (erfc_test): Likewise.
12646 (pow10_test): Likewise.
12647 (exp2_test): Likewise.
12648 (hypot_test): Likewise.
12649 (j0_test): Likewise.
12650 (j1_test): Likewise.
12651 (lgamma_test): Likewise.
12652 (gamma_test): Likewise.
12653 (sincos_test): Likewise.
12654 (tanh_test): Likewise.
12655 (y0_test): Likewise.
12656 (y1_test): Likewise.
12657 * sysdeps/i386/fpu/libm-test-ulps: Update.
12658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12660 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12662 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12664 and strcspn-ppc64 objects.
12665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12666 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12667 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12668 multiarch strcspn for POWER7.
12669 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12670 multiarch strcspn for PPC64.
12671 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12673 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12674 strcspn for POWER7.
12676 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12678 * math/gen-libm-test.pl (generate_testfile): Expect only function
12679 name as argument to AUTO_TESTS_* and pass results for all rounding
12680 modes to parse_args.
12681 (parse_auto_input): Separate inputs of automatic tests from
12682 outputs before storing in %auto_tests.
12683 * math/libm-test.inc (acos_test_data): Update call to
12685 (acos_test): Use ALL_RM_TEST.
12686 (acos_tonearest_test_data): Remove.
12687 (acos_test_tonearest): Likewise.
12688 (acos_towardzero_test_data): Likewise.
12689 (acos_test_towardzero): Likewise.
12690 (acos_downward_test_data): Likewise.
12691 (acos_test_downward): Likewise.
12692 (acos_upward_test_data): Likewise.
12693 (acos_test_upward): Likewise.
12694 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12695 (asin_test_data): Likewise.
12696 (asin_test): Use ALL_RM_TEST.
12697 (asin_tonearest_test_data): Remove.
12698 (asin_test_tonearest): Likewise.
12699 (asin_towardzero_test_data): Likewise.
12700 (asin_test_towardzero): Likewise.
12701 (asin_downward_test_data): Likewise.
12702 (asin_test_downward): Likewise.
12703 (asin_upward_test_data): Likewise.
12704 (asin_test_upward): Likewise.
12705 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12706 (atan_test_data): Likewise.
12707 (atanh_test_data): Likewise.
12708 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12709 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12710 (carg_test_data): Likewise.
12711 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12712 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12713 (ccosh_test_data): Likewise.
12714 (cexp_test_data): Likewise.
12715 (clog_test_data): Likewise.
12716 (clog10_test_data): Likewise.
12717 (cos_test_data): Update call to AUTO_TESTS_f_f.
12718 (cos_test): Use ALL_RM_TEST.
12719 (cos_tonearest_test_data): Remove.
12720 (cos_test_tonearest): Likewise.
12721 (cos_towardzero_test_data): Likewise.
12722 (cos_test_towardzero): Likewise.
12723 (cos_downward_test_data): Likewise.
12724 (cos_test_downward): Likewise.
12725 (cos_upward_test_data): Likewise.
12726 (cos_test_upward): Likewise.
12727 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12728 (cosh_test): Use ALL_RM_TEST.
12729 (cosh_tonearest_test_data): Remove.
12730 (cosh_test_tonearest): Likewise.
12731 (cosh_towardzero_test_data): Likewise.
12732 (cosh_test_towardzero): Likewise.
12733 (cosh_downward_test_data): Likewise.
12734 (cosh_test_downward): Likewise.
12735 (cosh_upward_test_data): Likewise.
12736 (cosh_test_upward): Likewise.
12737 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12738 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12739 (ctan_test_data): Likewise.
12740 (ctan_test): Use ALL_RM_TEST.
12741 (ctan_tonearest_test_data): Remove.
12742 (ctan_test_tonearest): Likewise.
12743 (ctan_towardzero_test_data): Likewise.
12744 (ctan_test_towardzero): Likewise.
12745 (ctan_downward_test_data): Likewise.
12746 (ctan_test_downward): Likewise.
12747 (ctan_upward_test_data): Likewise.
12748 (ctan_test_upward): Likewise.
12749 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12750 (ctanh_test): Use ALL_RM_TEST.
12751 (ctanh_tonearest_test_data): Remove.
12752 (ctanh_test_tonearest): Likewise.
12753 (ctanh_towardzero_test_data): Likewise.
12754 (ctanh_test_towardzero): Likewise.
12755 (ctanh_downward_test_data): Likewise.
12756 (ctanh_test_downward): Likewise.
12757 (ctanh_upward_test_data): Likewise.
12758 (ctanh_test_upward): Likewise.
12759 (erf_test_data): Update call to AUTO_TESTS_f_f.
12760 (erfc_test_data): Likewise.
12761 (exp_test_data): Likewise.
12762 (exp_test): Use ALL_RM_TEST.
12763 (exp_tonearest_test_data): Remove.
12764 (exp_test_tonearest): Likewise.
12765 (exp_towardzero_test_data): Likewise.
12766 (exp_test_towardzero): Likewise.
12767 (exp_downward_test_data): Likewise.
12768 (exp_test_downward): Likewise.
12769 (exp_upward_test_data): Likewise.
12770 (exp_test_upward): Likewise.
12771 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12772 (exp10_test): Use ALL_RM_TEST.
12773 (exp10_tonearest_test_data): Remove.
12774 (exp10_test_tonearest): Likewise.
12775 (exp10_towardzero_test_data): Likewise.
12776 (exp10_test_towardzero): Likewise.
12777 (exp10_downward_test_data): Likewise.
12778 (exp10_test_downward): Likewise.
12779 (exp10_upward_test_data): Likewise.
12780 (exp10_test_upward): Likewise.
12781 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12782 (expm1_test_data): Likewise.
12783 (expm1_test): Use ALL_RM_TEST.
12784 (expm1_tonearest_test_data): Remove.
12785 (expm1_test_tonearest): Likewise.
12786 (expm1_towardzero_test_data): Likewise.
12787 (expm1_test_towardzero): Likewise.
12788 (expm1_downward_test_data): Likewise.
12789 (expm1_test_downward): Likewise.
12790 (expm1_upward_test_data): Likewise.
12791 (expm1_test_upward): Likewise.
12792 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12793 (fma_test): Use ALL_RM_TEST.
12794 (fma_towardzero_test_data): Remove.
12795 (fma_test_towardzero): Likewise.
12796 (fma_downward_test_data): Likewise.
12797 (fma_test_downward): Likewise.
12798 (fma_upward_test_data): Likewise.
12799 (fma_test_upward): Likewise.
12800 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12801 (j0_test_data): Update call to AUTO_TESTS_f_f.
12802 (j1_test_data): Likewise.
12803 (jn_test_data): Update call to AUTO_TESTS_if_f.
12804 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12805 (log_test_data): Update call to AUTO_TESTS_f_f.
12806 (log10_test_data): Likewise.
12807 (log1p_test_data): Likewise.
12808 (log2_test_data): Likewise.
12809 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12810 (pow_tonearest_test_data): Likewise.
12811 (sin_test_data): Update call to AUTO_TESTS_f_f.
12812 (sin_test): Use ALL_RM_TEST.
12813 (sin_tonearest_test_data): Remove.
12814 (sin_test_tonearest): Likewise.
12815 (sin_towardzero_test_data): Likewise.
12816 (sin_test_towardzero): Likewise.
12817 (sin_downward_test_data): Likewise.
12818 (sin_test_downward): Likewise.
12819 (sin_upward_test_data): Likewise.
12820 (sin_test_upward): Likewise.
12821 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12822 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12823 (sinh_test): Use ALL_RM_TEST.
12824 (sinh_tonearest_test_data): Remove.
12825 (sinh_test_tonearest): Likewise.
12826 (sinh_towardzero_test_data): Likewise.
12827 (sinh_test_towardzero): Likewise.
12828 (sinh_downward_test_data): Likewise.
12829 (sinh_test_downward): Likewise.
12830 (sinh_upward_test_data): Likewise.
12831 (sinh_test_upward): Likewise.
12832 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12833 (sqrt_test): Use ALL_RM_TEST.
12834 (sqrt_tonearest_test_data): Remove.
12835 (sqrt_test_tonearest): Likewise.
12836 (sqrt_towardzero_test_data): Likewise.
12837 (sqrt_test_towardzero): Likewise.
12838 (sqrt_downward_test_data): Likewise.
12839 (sqrt_test_downward): Likewise.
12840 (sqrt_upward_test_data): Likewise.
12841 (sqrt_test_upward): Likewise.
12842 (tan_test_data): Update call to AUTO_TESTS_f_f.
12843 (tan_test): Use ALL_RM_TEST.
12844 (tan_tonearest_test_data): Remove.
12845 (tan_test_tonearest): Likewise.
12846 (tan_towardzero_test_data): Likewise.
12847 (tan_test_towardzero): Likewise.
12848 (tan_downward_test_data): Likewise.
12849 (tan_test_downward): Likewise.
12850 (tan_upward_test_data): Likewise.
12851 (tan_test_upward): Likewise.
12852 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12853 (tgamma_test_data): Likewise.
12854 (y0_test_data): Likewise.
12855 (y1_test_data): Likewise.
12856 (yn_test_data): Update call to AUTO_TESTS_if_f.
12857 (main): Do not call removed functions.
12859 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12861 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12862 (ldexp_test_data): Remove.
12863 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12865 (scalb_test): Use ALL_RM_TEST.
12867 2014-03-19 Andreas Schwab <schwab@suse.de>
12869 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12871 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12874 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12875 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12876 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12877 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12878 (__ASSUME_PREADV): Undefine.
12879 (__ASSUME_PWRITEV): Likewise.
12881 2014-03-18 Roland McGrath <roland@hack.frob.com>
12883 * bits/mman-linux.h: Add comment about non-Linux use.
12884 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12885 bits/mman-linux.h resting place.
12887 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12888 * bits/mman-linux.h: ... here.
12890 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12892 * conform/conformtest.pl: Add standard definition when calling C
12893 preprocessor on data files.
12894 (checknamespace): Remove unused variable.
12896 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12898 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12899 minus_oflow, plus_uflow and minus_uflow in expected results.
12900 * math/libm-test.inc (scalbn_test_data): Add more tests of
12901 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12903 (scalbn_test): Use ALL_RM_TEST.
12904 (scalbln_test_data): Add more tests of negative arguments. Use
12905 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12906 (scalbln_test): Use ALL_RM_TEST.
12908 2014-03-18 Roland McGrath <roland@hack.frob.com>
12910 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12912 2014-03-18 Will Newton <will.newton@linaro.org>
12914 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12915 inaccurate comment.
12917 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12919 * Makerules [!subdir] (check-abi): Exit with error status if a
12922 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12924 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12925 for rint. Include results for all rounding modes.
12926 (nearbyint_test): Use ALL_RM_TEST.
12927 (rint_test_data): Include all tests used for nearbyint.
12929 2014-03-17 Will Newton <will.newton@linaro.org>
12931 * nptl/sysdeps/pthread/pthread.h: Revert previous
12934 * sysdeps/generic/ldsodefs.h: Revert previous
12937 * libio/genops.c: Revert previous change.
12938 * libio/libioP.h: Likewise.
12939 * stdio-common/vfprintf.c: Likewise.
12941 * sysdeps/generic/math_private.h: Revert previous
12944 * sysdeps/generic/math_private.h: Check whether
12945 HAVE_RM_CTX is defined with #ifdef rather
12948 * argp/argp-fmtstream.h: Check whether
12949 __STRICT_ANSI__ is defined with #ifdef rather
12951 * argp/argp.h: Likewise.
12953 * libio/genops.c: Check whether
12954 _IO_JUMPS_OFFSET is defined with #ifdef rather
12956 * libio/libioP.h: Likewise.
12957 * stdio-common/vfprintf.c: Likewise.
12959 * sysdeps/generic/ldsodefs.h: Check whether
12960 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12963 * nptl/sysdeps/pthread/pthread.h: Check
12964 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12967 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12969 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12971 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12975 * libio/fileops.c (_IO_file_open): Seek to end of file but
12976 don't cache the offset.
12977 (get_file_offset): Remove function.
12978 (do_ftell): Use cached offset when available.
12979 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12980 don't cache the offset.
12981 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12983 (do_one_test): Call it.
12984 (do_ftell_test): Fix up expected old offset for a+ mode.
12985 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12988 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12989 up test status with function return status.
12990 (do_write_test): Likewise.
12991 (do_append_test): Likewise.
12993 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12994 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12997 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12999 * math/gen-libm-test.pl (parse_args): Handle results specified for
13000 each rounding mode separately.
13001 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13002 tests and results from lrint_tonearest_test_data,
13003 lrint_towardzero_test_data, lrint_downward_test_data and
13004 lrint_upward_test_data.
13005 (lrint_test): Use ALL_RM_TEST.
13006 (lrint_tonearest_test_data): Remove.
13007 (lrint_test_tonearest): Likewise.
13008 (lrint_towardzero_test_data): Likewise.
13009 (lrint_test_towardzero): Likewise.
13010 (lrint_downward_test_data): Likewise.
13011 (lrint_test_downward): Likewise.
13012 (lrint_upward_test_data): Likewise.
13013 (lrint_test_upward): Likewise.
13014 (llrint_test_data): Merge in per-rounding-mode tests and results
13015 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13016 llrint_downward_test_data and llrint_upward_test_data.
13017 (llrint_test): Use ALL_RM_TEST.
13018 (llrint_tonearest_test_data): Remove.
13019 (llrint_test_tonearest): Likewise.
13020 (llrint_towardzero_test_data): Likewise.
13021 (llrint_test_towardzero): Likewise.
13022 (llrint_downward_test_data): Likewise.
13023 (llrint_test_downward): Likewise.
13024 (llrint_upward_test_data): Likewise.
13025 (llrint_test_upward): Likewise.
13026 (rint_test_data): Merge in per-rounding-mode tests and results
13027 from rint_tonearest_test_data, rint_towardzero_test_data,
13028 rint_downward_test_data and rint_upward_test_data. Add
13029 per-rounding-mode results for tests not in those arrays.
13030 (rint_test): Use ALL_RM_TEST.
13031 (rint_tonearest_test_data): Remove.
13032 (rint_test_tonearest): Likewise.
13033 (rint_towardzero_test_data): Likewise.
13034 (rint_test_towardzero): Likewise.
13035 (rint_downward_test_data): Likewise.
13036 (rint_test_downward): Likewise.
13037 (rint_upward_test_data): Likewise.
13038 (rint_test_upward): Likewise.
13039 (main): Don't call removed functions.
13041 2014-03-14 Roland McGrath <roland@hack.frob.com>
13043 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13044 "Compiled on ..." crapola. It is anti-useful.
13046 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13048 * scripts/evaluate-test.sh: Handle fourth argument to determine
13049 whether test run should stop on failure.
13050 * Makeconfig (stop-on-test-failure): New variable.
13051 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13052 $(stop-on-test-failure).
13053 * Makefile (tests): Give a summary of results from testing and
13054 exit with failure status if they include an ERROR or FAIL.
13055 (xtests): Likewise.
13056 * manual/install.texi (Configuring and compiling): Mention
13057 stop-on-test-failure=y.
13058 * INSTALL: Regenerated.
13060 2014-03-14 Roland McGrath <roland@hack.frob.com>
13062 * scripts/versionlist.awk: New file.
13063 * Makerules [$(build-shared) = yes]
13064 (postclean-generated): Add Versions.def, not Versions.def.v and
13066 ($(common-objpfx)Versions.def.v.i): Target removed.
13067 ($(common-objpfx)Versions.def): New target.
13068 ($(common-objpfx)Versions.all): Depend on that rather that
13069 $(common-objpfx)Versions.def.v.
13070 * Versions.def: File removed.
13072 * Makeconfig (+gccwarn): Add -Wundef.
13073 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13074 a dl-sysdep.h breaking its contract.
13075 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13076 * include/stackinfo.h: New file.
13077 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13078 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13079 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13080 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13081 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13082 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13083 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13084 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13085 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13086 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13087 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13088 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13089 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13090 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13091 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13093 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13096 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13098 * math/libm-test.inc (round_test_data): Add more tests.
13101 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13103 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13106 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13108 * math/libm-test.inc (ceil_test_data): Add more tests.
13110 * math/libm-test.inc (trunc_test_data): Add more tests related to
13113 2014-03-14 Roland McGrath <roland@hack.frob.com>
13115 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13116 with #if rather than #ifdef.
13117 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13119 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13121 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13122 first. Disable AVX-512 GCC support if assembler doesn't support
13124 * sysdeps/x86_64/configure: Regenerated.
13126 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13128 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13129 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13130 (__old_pthread_attr_setstack): Likewise.
13131 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13132 [!_STACK_GROWS_DOWN]: Likewise.
13134 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13136 * config.make.in (have-bash2): Delete.
13137 * configure.ac (libc_cv_have_bash2): Delete.
13138 * configure: Regenerate.
13139 * elf/Makefile (common-ldd-rewrite): Rename to ...
13140 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13141 (sh-ldd-rewrite): Delete.
13142 (bash-ldd-rewrite): Delete.
13143 (have-bash2): Delete checks.
13144 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13147 * config.make.in (have-ksh): Delete.
13149 * configure.ac (libc_cv_have_ksh): Delete.
13150 * configure: Regenerate.
13152 * elf/Makefile: Delete $(have-ksh) check.
13153 ($(objpfx)sotruss): Change KSH to BASH.
13154 * elf/sotruss.ksh: Rename to ...
13155 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13156 function style to match POSIX. Drop ksh vim mode setting.
13158 * manual/time.texi (Specifying the Time Zone with TZ): Change
13159 Tuesday to Thursday.
13161 * debug/tst-longjmp_chk2.c: Update header comment.
13162 (stackoverflow_handler): Add comment. Call assert on pass value.
13164 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13167 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13168 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13169 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13170 (La_x86_64_vector): Add zmm.
13171 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13172 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13173 ($(objpfx)tst-audit10): New target.
13174 ($(objpfx)tst-audit10.out): Likewise.
13175 (tst-audit10-ENV): New.
13176 (AVX512-CFLAGS): Likewise.
13177 (CFLAGS-tst-audit10.c): Likewise.
13178 (CFLAGS-tst-auditmod10a.c): Likewise.
13179 (CFLAGS-tst-auditmod10b.c): Likewise.
13180 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13181 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13182 * sysdeps/x86_64/configure: Regenerated.
13183 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13184 AVX-512 zmm register support.
13185 (_dl_x86_64_save_sse): Likewise.
13186 (_dl_x86_64_restore_sse): Likewise.
13187 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13188 size vector registers.
13189 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13190 (ZMM_SIZE): Likewise.
13191 * sysdeps/x86_64/tst-audit10.c: New file.
13192 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13193 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13195 2014-03-13 Roland McGrath <roland@hack.frob.com>
13197 * configure.ac (HAVE_EHDR_START): New check.
13198 * configure: Regenerated.
13199 * config.h.in (HAVE_EHDR_START): New #undef.
13200 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13201 assuming the lowest-addressed segment maps the start of the file.
13203 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13205 * INSTALL: Regenerated.
13207 2014-03-13 Will Newton <will.newton@linaro.org>
13209 * manual/setjmp.texi (System V contexts): Improve
13210 clarity and grammar of documentation.
13212 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13215 * elf/Makefile (tests): Add tst-pie2.
13216 (tests-pie): Add tst-pie2.
13217 * elf/tst-pie2.c: New file.
13218 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13220 * elf/rtld.c (map_doit): Load executable as lt_executable.
13221 (dl_main): Likewise.
13223 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13226 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13227 (__ASSUME_PSELECT): Undefine.
13229 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13232 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13233 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13235 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13236 selector for static builds.
13238 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13241 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13244 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13246 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13247 IFUNC selector for static builds.
13249 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13251 * sysdeps/mips/math_private.h [__mips_hard_float]
13252 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13253 libc_feresetround_mips_ctx.
13254 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13255 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13256 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13259 * math/s_nextafter.c (__nextafter): Do not return value from
13260 overflowing computation.
13261 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13262 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13263 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13265 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13267 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13268 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13270 2014-03-11 Roland McGrath <roland@hack.frob.com>
13272 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13273 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13274 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13275 the new mov targetting sp.
13277 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13280 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13281 Define it for static builds as well.
13282 (NO_BZERO_IMPL): Likewise.
13284 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13286 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13287 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13288 multiarch strspn for PPC64.
13289 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13290 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13292 (__libc_ifunc_impl_list): Likewise.
13293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13294 multiarch optimizations
13295 * string/strspn.c (strspn): Using macro to redefine symbol name.
13297 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13298 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13300 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13301 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13302 multiarch strncat for PPC64.
13303 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13304 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13306 (__libc_ifunc_impl_list): Likewise.
13307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13308 multiarch optimizations
13310 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13313 * nscd/nscd.service: Make service type forking.
13315 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13317 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13318 sign in non default rounding modes.
13319 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13321 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13323 * math/libm-test.inc (ALL_RM_TEST): New macro.
13324 (ceil_test): Use ALL_RM_TEST.
13325 (cimag_test): Likewise.
13326 (conj_test): Likewise.
13327 (copysign_test): Likewise.
13328 (cproj_test): Likewise.
13329 (creal_test): Likewise.
13330 (fabs_test): Likewise.
13331 (floor_test): Likewise.
13332 (fmax_test): Likewise.
13333 (fmin_test): Likewise.
13334 (fmod_test): Likewise.
13335 (fpclassify_test): Likewise.
13336 (frexp_test): Likewise.
13337 (ilogb_test): Likewise.
13338 (isfinite_test): Likewise.
13339 (finite_test): Likewise.
13340 (isgreater_test): Likewise.
13341 (isgreaterequal_test): Likewise.
13342 (isinf_test): Likewise.
13343 (isless_test): Likewise.
13344 (islessequal_test): Likewise.
13345 (islessgreater_test): Likewise.
13346 (isnan_test): Likewise.
13347 (isnormal_test): Likewise.
13348 (issignaling_test): Likewise.
13349 (isunordered_test): Likewise.
13350 (logb_test): Likewise.
13351 (logb_downward_test_data): Remove.
13352 (logb_test_downward): Likewise.
13353 (lround_test): Use ALL_RM_TEST.
13354 (llround_test): Likewise.
13355 (modf_test): Likewise.
13356 (nexttoward_test): Likewise.
13357 (remainder_test): Likewise.
13358 (drem_test): Likewise.
13359 (remainder_tonearest_test_data): Likewise.
13360 (remainder_test_tonearest): Likewise.
13361 (drem_test_tonearest): Likewise.
13362 (remainder_towardzero_test_data): Likewise.
13363 (remainder_test_towardzero): Likewise.
13364 (drem_test_towardzero): Likewise.
13365 (remainder_downward_test_data): Likewise.
13366 (remainder_test_downward): Likewise.
13367 (drem_test_downward): Likewise.
13368 (remainder_upward_test_data): Likewise.
13369 (remainder_test_upward): Likewise.
13370 (drem_test_upward): Likewise.
13371 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13372 (round_test): Use ALL_RM_TEST.
13373 (signbit_test): Likewise.
13374 (trunc_test): Likewise.
13375 (significand_test): Likewise.
13376 (main): Don't call removed functions.
13378 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13381 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13382 || __USE_XOPEN2K8].
13383 (ILL_ILLOPN): Likewise.
13384 (ILL_ILLADR): Likewise.
13385 (ILL_ILLTRP): Likewise.
13386 (ILL_PRVOPC): Likewise.
13387 (ILL_PRVREG): Likewise.
13388 (ILL_COPROC): Likewise.
13389 (ILL_BADSTK): Likewise.
13390 (FPE_INTDIV): Likewise.
13391 (FPE_INTOVF): Likewise.
13392 (FPE_FLTDIV): Likewise.
13393 (FPE_FLTOVF): Likewise.
13394 (FPE_FLTUND): Likewise.
13395 (FPE_FLTRES): Likewise.
13396 (FPE_FLTINV): Likewise.
13397 (FPE_FLTSUB): Likewise.
13398 (SEGV_MAPERR): Likewise.
13399 (SEGV_ACCERR): Likewise.
13400 (BUS_ADRALN): Likewise.
13401 (BUS_ADRERR): Likewise.
13402 (BUS_OBJERR): Likewise.
13403 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13404 (TRAP_TRACE): Likewise.
13405 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13407 (CLD_KILLED): Likewise.
13408 (CLD_DUMPED): Likewise.
13409 (CLD_TRAPPED): Likewise.
13410 (CLD_STOPPED): Likewise.
13411 (CLD_CONTINUED): Likewise.
13412 (POLL_IN): Likewise.
13413 (POLL_OUT): Likewise.
13414 (POLL_MSG): Likewise.
13415 (POLL_ERR): Likewise.
13416 (POLL_PRI): Likewise.
13417 (POLL_HUP): Likewise.
13418 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13420 (ILL_ILLOPN): Likewise.
13421 (ILL_ILLADR): Likewise.
13422 (ILL_ILLTRP): Likewise.
13423 (ILL_PRVOPC): Likewise.
13424 (ILL_PRVREG): Likewise.
13425 (ILL_COPROC): Likewise.
13426 (ILL_BADSTK): Likewise.
13427 (FPE_INTDIV): Likewise.
13428 (FPE_INTOVF): Likewise.
13429 (FPE_FLTDIV): Likewise.
13430 (FPE_FLTOVF): Likewise.
13431 (FPE_FLTUND): Likewise.
13432 (FPE_FLTRES): Likewise.
13433 (FPE_FLTINV): Likewise.
13434 (FPE_FLTSUB): Likewise.
13435 (SEGV_MAPERR): Likewise.
13436 (SEGV_ACCERR): Likewise.
13437 (BUS_ADRALN): Likewise.
13438 (BUS_ADRERR): Likewise.
13439 (BUS_OBJERR): Likewise.
13440 (BUS_MCEERR_AR): Likewise.
13441 (BUS_MCEERR_AO): Likewise.
13442 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13443 (TRAP_TRACE): Likewise.
13444 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13446 (CLD_KILLED): Likewise.
13447 (CLD_DUMPED): Likewise.
13448 (CLD_TRAPPED): Likewise.
13449 (CLD_STOPPED): Likewise.
13450 (CLD_CONTINUED): Likewise.
13451 (POLL_IN): Likewise.
13452 (POLL_OUT): Likewise.
13453 (POLL_MSG): Likewise.
13454 (POLL_ERR): Likewise.
13455 (POLL_PRI): Likewise.
13456 (POLL_HUP): Likewise.
13457 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13458 (ILL_ILLOPN): Likewise.
13459 (ILL_ILLADR): Likewise.
13460 (ILL_ILLTRP): Likewise.
13461 (ILL_PRVOPC): Likewise.
13462 (ILL_PRVREG): Likewise.
13463 (ILL_COPROC): Likewise.
13464 (ILL_BADSTK): Likewise.
13465 (FPE_INTDIV): Likewise.
13466 (FPE_INTOVF): Likewise.
13467 (FPE_FLTDIV): Likewise.
13468 (FPE_FLTOVF): Likewise.
13469 (FPE_FLTUND): Likewise.
13470 (FPE_FLTRES): Likewise.
13471 (FPE_FLTINV): Likewise.
13472 (FPE_FLTSUB): Likewise.
13473 (SEGV_MAPERR): Likewise.
13474 (SEGV_ACCERR): Likewise.
13475 (BUS_ADRALN): Likewise.
13476 (BUS_ADRERR): Likewise.
13477 (BUS_OBJERR): Likewise.
13478 (BUS_MCEERR_AR): Likewise.
13479 (BUS_MCEERR_AO): Likewise.
13480 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13481 (TRAP_TRACE): Likewise.
13482 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13484 (CLD_KILLED): Likewise.
13485 (CLD_DUMPED): Likewise.
13486 (CLD_TRAPPED): Likewise.
13487 (CLD_STOPPED): Likewise.
13488 (CLD_CONTINUED): Likewise.
13489 (POLL_IN): Likewise.
13490 (POLL_OUT): Likewise.
13491 (POLL_MSG): Likewise.
13492 (POLL_ERR): Likewise.
13493 (POLL_PRI): Likewise.
13494 (POLL_HUP): Likewise.
13495 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13497 (ILL_ILLOPN): Likewise.
13498 (ILL_ILLADR): Likewise.
13499 (ILL_ILLTRP): Likewise.
13500 (ILL_PRVOPC): Likewise.
13501 (ILL_PRVREG): Likewise.
13502 (ILL_COPROC): Likewise.
13503 (ILL_BADSTK): Likewise.
13504 (ILL_BADIADDR): Likewise.
13505 (ILL_BREAK): Likewise.
13506 (FPE_INTDIV): Likewise.
13507 (FPE_INTOVF): Likewise.
13508 (FPE_FLTDIV): Likewise.
13509 (FPE_FLTOVF): Likewise.
13510 (FPE_FLTUND): Likewise.
13511 (FPE_FLTRES): Likewise.
13512 (FPE_FLTINV): Likewise.
13513 (FPE_FLTSUB): Likewise.
13514 (FPE_DECOVF): Likewise.
13515 (FPE_DECDIV): Likewise.
13516 (FPE_DECERR): Likewise.
13517 (FPE_INVASC): Likewise.
13518 (FPE_INVDEC): Likewise.
13519 (SEGV_MAPERR): Likewise.
13520 (SEGV_ACCERR): Likewise.
13521 (SEGV_PSTKOVF): Likewise.
13522 (BUS_ADRALN): Likewise.
13523 (BUS_ADRERR): Likewise.
13524 (BUS_OBJERR): Likewise.
13525 (BUS_MCEERR_AR): Likewise.
13526 (BUS_MCEERR_AO): Likewise.
13527 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13528 (TRAP_TRACE): Likewise.
13529 (TRAP_BRANCH): Likewise.
13530 (TRAP_HWBKPT): Likewise.
13531 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13533 (CLD_KILLED): Likewise.
13534 (CLD_DUMPED): Likewise.
13535 (CLD_TRAPPED): Likewise.
13536 (CLD_STOPPED): Likewise.
13537 (CLD_CONTINUED): Likewise.
13538 (POLL_IN): Likewise.
13539 (POLL_OUT): Likewise.
13540 (POLL_MSG): Likewise.
13541 (POLL_ERR): Likewise.
13542 (POLL_PRI): Likewise.
13543 (POLL_HUP): Likewise.
13544 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13545 (ILL_ILLOPN): Likewise.
13546 (ILL_ILLADR): Likewise.
13547 (ILL_ILLTRP): Likewise.
13548 (ILL_PRVOPC): Likewise.
13549 (ILL_PRVREG): Likewise.
13550 (ILL_COPROC): Likewise.
13551 (ILL_BADSTK): Likewise.
13552 (FPE_INTDIV): Likewise.
13553 (FPE_INTOVF): Likewise.
13554 (FPE_FLTDIV): Likewise.
13555 (FPE_FLTOVF): Likewise.
13556 (FPE_FLTUND): Likewise.
13557 (FPE_FLTRES): Likewise.
13558 (FPE_FLTINV): Likewise.
13559 (FPE_FLTSUB): Likewise.
13560 (SEGV_MAPERR): Likewise.
13561 (SEGV_ACCERR): Likewise.
13562 (BUS_ADRALN): Likewise.
13563 (BUS_ADRERR): Likewise.
13564 (BUS_OBJERR): Likewise.
13565 (BUS_MCEERR_AR): Likewise.
13566 (BUS_MCEERR_AO): Likewise.
13567 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13568 (TRAP_TRACE): Likewise.
13569 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13571 (CLD_KILLED): Likewise.
13572 (CLD_DUMPED): Likewise.
13573 (CLD_TRAPPED): Likewise.
13574 (CLD_STOPPED): Likewise.
13575 (CLD_CONTINUED): Likewise.
13576 (POLL_IN): Likewise.
13577 (POLL_OUT): Likewise.
13578 (POLL_MSG): Likewise.
13579 (POLL_ERR): Likewise.
13580 (POLL_PRI): Likewise.
13581 (POLL_HUP): Likewise.
13582 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13583 (ILL_ILLOPN): Likewise.
13584 (ILL_ILLADR): Likewise.
13585 (ILL_ILLTRP): Likewise.
13586 (ILL_PRVOPC): Likewise.
13587 (ILL_PRVREG): Likewise.
13588 (ILL_COPROC): Likewise.
13589 (ILL_BADSTK): Likewise.
13590 (FPE_INTDIV): Likewise.
13591 (FPE_INTOVF): Likewise.
13592 (FPE_FLTDIV): Likewise.
13593 (FPE_FLTOVF): Likewise.
13594 (FPE_FLTUND): Likewise.
13595 (FPE_FLTRES): Likewise.
13596 (FPE_FLTINV): Likewise.
13597 (FPE_FLTSUB): Likewise.
13598 (SEGV_MAPERR): Likewise.
13599 (SEGV_ACCERR): Likewise.
13600 (BUS_ADRALN): Likewise.
13601 (BUS_ADRERR): Likewise.
13602 (BUS_OBJERR): Likewise.
13603 (BUS_MCEERR_AR): Likewise.
13604 (BUS_MCEERR_AO): Likewise.
13605 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13606 (TRAP_TRACE): Likewise.
13607 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13609 (CLD_KILLED): Likewise.
13610 (CLD_DUMPED): Likewise.
13611 (CLD_TRAPPED): Likewise.
13612 (CLD_STOPPED): Likewise.
13613 (CLD_CONTINUED): Likewise.
13614 (POLL_IN): Likewise.
13615 (POLL_OUT): Likewise.
13616 (POLL_MSG): Likewise.
13617 (POLL_ERR): Likewise.
13618 (POLL_PRI): Likewise.
13619 (POLL_HUP): Likewise.
13620 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13621 (ILL_ILLOPN): Likewise.
13622 (ILL_ILLADR): Likewise.
13623 (ILL_ILLTRP): Likewise.
13624 (ILL_PRVOPC): Likewise.
13625 (ILL_PRVREG): Likewise.
13626 (ILL_COPROC): Likewise.
13627 (ILL_BADSTK): Likewise.
13628 (FPE_INTDIV): Likewise.
13629 (FPE_INTOVF): Likewise.
13630 (FPE_FLTDIV): Likewise.
13631 (FPE_FLTOVF): Likewise.
13632 (FPE_FLTUND): Likewise.
13633 (FPE_FLTRES): Likewise.
13634 (FPE_FLTINV): Likewise.
13635 (FPE_FLTSUB): Likewise.
13636 (SEGV_MAPERR): Likewise.
13637 (SEGV_ACCERR): Likewise.
13638 (BUS_ADRALN): Likewise.
13639 (BUS_ADRERR): Likewise.
13640 (BUS_OBJERR): Likewise.
13641 (BUS_MCEERR_AR): Likewise.
13642 (BUS_MCEERR_AO): Likewise.
13643 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13644 (TRAP_TRACE): Likewise.
13645 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13647 (CLD_KILLED): Likewise.
13648 (CLD_DUMPED): Likewise.
13649 (CLD_TRAPPED): Likewise.
13650 (CLD_STOPPED): Likewise.
13651 (CLD_CONTINUED): Likewise.
13652 (POLL_IN): Likewise.
13653 (POLL_OUT): Likewise.
13654 (POLL_MSG): Likewise.
13655 (POLL_ERR): Likewise.
13656 (POLL_PRI): Likewise.
13657 (POLL_HUP): Likewise.
13658 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13659 (ILL_ILLOPN): Likewise.
13660 (ILL_ILLADR): Likewise.
13661 (ILL_ILLTRP): Likewise.
13662 (ILL_PRVOPC): Likewise.
13663 (ILL_PRVREG): Likewise.
13664 (ILL_COPROC): Likewise.
13665 (ILL_BADSTK): Likewise.
13666 (ILL_DBLFLT): Likewise.
13667 (ILL_HARDWALL): Likewise.
13668 (FPE_INTDIV): Likewise.
13669 (FPE_INTOVF): Likewise.
13670 (FPE_FLTDIV): Likewise.
13671 (FPE_FLTOVF): Likewise.
13672 (FPE_FLTUND): Likewise.
13673 (FPE_FLTRES): Likewise.
13674 (FPE_FLTINV): Likewise.
13675 (FPE_FLTSUB): Likewise.
13676 (SEGV_MAPERR): Likewise.
13677 (SEGV_ACCERR): Likewise.
13678 (BUS_ADRALN): Likewise.
13679 (BUS_ADRERR): Likewise.
13680 (BUS_OBJERR): Likewise.
13681 (BUS_MCEERR_AR): Likewise.
13682 (BUS_MCEERR_AO): Likewise.
13683 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13684 (TRAP_TRACE): Likewise.
13685 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13687 (CLD_KILLED): Likewise.
13688 (CLD_DUMPED): Likewise.
13689 (CLD_TRAPPED): Likewise.
13690 (CLD_STOPPED): Likewise.
13691 (CLD_CONTINUED): Likewise.
13692 (POLL_IN): Likewise.
13693 (POLL_OUT): Likewise.
13694 (POLL_MSG): Likewise.
13695 (POLL_ERR): Likewise.
13696 (POLL_PRI): Likewise.
13697 (POLL_HUP): Likewise.
13698 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13699 (ILL_ILLOPN): Likewise.
13700 (ILL_ILLADR): Likewise.
13701 (ILL_ILLTRP): Likewise.
13702 (ILL_PRVOPC): Likewise.
13703 (ILL_PRVREG): Likewise.
13704 (ILL_COPROC): Likewise.
13705 (ILL_BADSTK): Likewise.
13706 (FPE_INTDIV): Likewise.
13707 (FPE_INTOVF): Likewise.
13708 (FPE_FLTDIV): Likewise.
13709 (FPE_FLTOVF): Likewise.
13710 (FPE_FLTUND): Likewise.
13711 (FPE_FLTRES): Likewise.
13712 (FPE_FLTINV): Likewise.
13713 (FPE_FLTSUB): Likewise.
13714 (SEGV_MAPERR): Likewise.
13715 (SEGV_ACCERR): Likewise.
13716 (BUS_ADRALN): Likewise.
13717 (BUS_ADRERR): Likewise.
13718 (BUS_OBJERR): Likewise.
13719 (BUS_MCEERR_AR): Likewise.
13720 (BUS_MCEERR_AO): Likewise.
13721 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13722 (TRAP_TRACE): Likewise.
13723 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13725 (CLD_KILLED): Likewise.
13726 (CLD_DUMPED): Likewise.
13727 (CLD_TRAPPED): Likewise.
13728 (CLD_STOPPED): Likewise.
13729 (CLD_CONTINUED): Likewise.
13730 (POLL_IN): Likewise.
13731 (POLL_OUT): Likewise.
13732 (POLL_MSG): Likewise.
13733 (POLL_ERR): Likewise.
13734 (POLL_PRI): Likewise.
13735 (POLL_HUP): Likewise.
13736 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13737 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13740 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13741 before #include of <time.h>.
13742 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13743 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13744 (test-xfail-UNIX98/sched.h/conform): Likewise.
13746 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13748 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13749 error absence of trapping exception support.
13750 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13752 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13754 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13755 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13756 * timezone/Makefile (testdata): Move definition above include of
13758 (test-zones): New variable.
13759 (tests-special): Add zone files.
13760 (build-testdata): Use $(evaluate-test).
13762 * elf/Makefile (tests-special): Rename tests to end with .out.
13763 ($(objpfx)noload-mem): Likewise.
13764 ($(objpfx)tst-leaks1-mem): Likewise.
13765 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13766 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13767 $(objpfx)test-iconvconfig.out.
13768 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13769 set -e inside subshell and redirect output to file.
13770 * iconvdata/Makefile (generated): Rename tests to end with .out.
13772 (tests-special): Rename tests to end with .out.
13773 ($(objpfx)mtrace-tst-loading): Likewise.
13774 * intl/Makefile (generated): Likewise.
13775 (tests-special): Likewise.
13776 ($(objpfx)mtrace-tst-gettext): Likewise.
13777 * misc/Makefile (generated): Likewise.
13778 (tests-special): Likewise.
13779 ($(objpfx)tst-error1-mem): Likewise.
13780 * nptl/Makefile (tests-special): Likewise.
13781 ($(objpfx)tst-stack3-mem): Likewise.
13782 (generated): Likewise.
13783 * posix/Makefile (generated): Likewise.
13784 (tests-special): Likewise.
13785 (xtests-special): Likewise.
13786 ($(objpfx)tst-fnmatch-mem): Likewise.
13787 ($(objpfx)bug-regex2-mem): Likewise.
13788 ($(objpfx)bug-regex14-mem): Likewise.
13789 ($(objpfx)bug-regex21-mem): Likewise.
13790 ($(objpfx)bug-regex31-mem): Likewise.
13791 ($(objpfx)tst-vfork3-mem): Likewise.
13792 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13793 ($(objpfx)tst-pcre-mem): Likewise.
13794 ($(objpfx)tst-boost-mem): Likewise.
13795 ($(objpfx)bug-ga2-mem): Likewise.
13796 ($(objpfx)bug-glob2-mem): Likewise.
13797 * resolv/Makefile (generate): Likewise.
13798 (tests-special): Likewise.
13799 (xtests-special): Likewise.
13800 (generated): Likewise.
13801 ($(objpfx)mtrace-tst-leaks): Likewise.
13802 ($(objpfx)mtrace-tst-leaks2): Likewise.
13804 * scripts/merge-test-results.sh: New file.
13805 * Makefile (tests-special-notdir): New variable.
13806 (tests): Run merge-test-results.sh.
13807 (xtests): Likewise.
13808 * Rules (tests-special-notdir): New variable.
13809 (xtests-special-notdir): Likewise.
13810 (tests): Run merge-test-results.sh
13811 (xtests): Likewise.
13813 * Makeconfig (test-xfail-name): New variable.
13814 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13815 compute variable name for expected failures.
13816 * conform/Makefile (conformtest-headers-data): New variable.
13817 (conformtest-standards): Likewise.
13818 (conformtest-headers-ISO): Likewise.
13819 (conformtest-headers-ISO99): Likewise.
13820 (conformtest-headers-ISO11): Likewise.
13821 (conformtest-headers-POSIX): Likewise.
13822 (conformtest-headers-XPG3): Likewise.
13823 (conformtest-headers-XPG4): Likewise.
13824 (conformtest-headers-UNIX98): Likewise.
13825 (conformtest-headers-XOPEN2K): Likewise.
13826 (conformtest-headers-POSIX2008): Likewise.
13827 (conformtest-headers-XOPEN2K8): Likewise.
13828 (conformtest-header-list-base): Likewise.
13829 (conformtest-header-list-tests): Likewise.
13830 (conformtest-header-base): Likewise.
13831 (conformtest-header-tests): Likewise.
13832 (tests-special): Add $(conformtest-header-list-tests). If
13833 [$(fast-check) && !$(cross-compiling)], add
13834 $(conformtest-header-tests) instead of
13835 $(objpfx)run-conformtest.out.
13836 (generated): Add $(conformtest-header-list-base). If
13837 [$(fast-check) && !$(cross-compiling)], add
13838 $(conformtest-header-base). Remove previous setting.
13839 ($(conformtest-header-list-tests)): New target.
13840 (test-xfail-run-conformtest): Remove variable.
13841 ($(objpfx)run-conformtest.out): Remove target.
13842 (test-xfail-ISO11/complex.h/conform): New variable.
13843 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13844 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13845 (test-xfail-XPG3/varargs.h/conform): Likewise.
13846 (test-xfail-XPG4/varargs.h/conform): Likewise.
13847 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13848 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13849 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13850 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13851 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13852 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13853 (test-xfail-XPG3/ftw.h/conform): Likewise.
13854 (test-xfail-XPG3/grp.h/conform): Likewise.
13855 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13856 (test-xfail-XPG3/limits.h/conform): Likewise.
13857 (test-xfail-XPG3/pwd.h/conform): Likewise.
13858 (test-xfail-XPG3/search.h/conform): Likewise.
13859 (test-xfail-XPG3/signal.h/conform): Likewise.
13860 (test-xfail-XPG3/stdio.h/conform): Likewise.
13861 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13862 (test-xfail-XPG3/string.h/conform): Likewise.
13863 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13864 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13865 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13866 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13867 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13868 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13869 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13870 (test-xfail-XPG3/termios.h/conform): Likewise.
13871 (test-xfail-XPG3/time.h/conform): Likewise.
13872 (test-xfail-XPG3/unistd.h/conform): Likewise.
13873 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13874 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13875 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13876 (test-xfail-XPG4/netdb.h/conform): Likewise.
13877 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13878 (test-xfail-XPG4/signal.h/conform): Likewise.
13879 (test-xfail-XPG4/stdio.h/conform): Likewise.
13880 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13881 (test-xfail-XPG4/stropts.h/conform): Likewise.
13882 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13883 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13884 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13885 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13886 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13887 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13888 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13889 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13890 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13891 (test-xfail-XPG4/termios.h/conform): Likewise.
13892 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13893 (test-xfail-XPG4/unistd.h/conform): Likewise.
13894 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13895 (test-xfail-POSIX/sched.h/conform): Likewise.
13896 (test-xfail-POSIX/signal.h/conform): Likewise.
13897 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13898 (test-xfail-POSIX/tar.h/conform): Likewise.
13899 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13900 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13901 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13902 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13903 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13904 (test-xfail-UNIX98/sched.h/conform): Likewise.
13905 (test-xfail-UNIX98/signal.h/conform): Likewise.
13906 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13907 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13908 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13909 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13910 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13911 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13912 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13913 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13914 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13915 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13916 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13917 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13918 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13919 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13920 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13921 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13922 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13923 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13924 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13925 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13926 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13927 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13928 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13929 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13930 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13931 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13932 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13933 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13934 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13935 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13936 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13937 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13938 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13939 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13940 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13941 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13942 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13943 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13944 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13945 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13946 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13947 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13948 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13949 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13950 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13951 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13952 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13953 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13954 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13955 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13956 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13957 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13958 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13959 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13960 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13961 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13962 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13963 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13964 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13965 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13966 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13967 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13968 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13969 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13970 (conformtest-cc-flags): Likewise.
13971 ($(conformtest-header-tests): New target.
13972 * conform/check-header-lists.sh: New file.
13973 * conform/run-conformtest.sh: Remove.
13975 * conform/conformtest.pl: Allow ' and \ in values given for
13977 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13979 [POSIX] (sys/types.h): Likewise.
13980 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13982 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13984 * conform/data/signal.h-data (SIGIO): Remove expectation.
13985 [XPG3] (SIGBUS): Do not expect.
13986 [POSIX || XPG3] (SIGPOLL): Likewise.
13987 [POSIX || XPG3] (SIGPROF): Likewise.
13988 [POSIX || XPG3] (SIGSYS): Likewise.
13989 [XPG3] (SIGTRAP): Likewise.
13990 [POSIX || XPG3] (SIGURG): Likewise.
13991 [POSIX || XPG3] (SIGVTALRM): Likewise.
13992 [POSIX || XPG3] (SIGXCPU): Likewise.
13993 [POSIX || XPG3] (SIGXFSZ): Likewise.
13994 [POSIX] (SA_SIGINFO): Expect.
13995 [XPG3] (siginfo_t): Do not expect type or contents.
13996 [POSIX] (si_pid): Do not expect element.
13997 [POSIX] (si_uid): Likewise.
13998 [POSIX] (si_addr): Likewise.
13999 [POSIX] (si_status): Likewise.
14000 [POSIX] (si_band): Likewise.
14001 [XPG4] (si_value): Likewise.
14002 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14003 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14004 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14005 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14006 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14007 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14008 [POSIX || XPG3] (ILL_COPROC): Likewise.
14009 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14010 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14011 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14012 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14013 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14014 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14015 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14016 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14017 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14018 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14019 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14020 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14021 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14022 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14023 [POSIX || XPG3] (CLD_EXITED): Likewise.
14024 [POSIX || XPG3] (CLD_KILLED): Likewise.
14025 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14026 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14027 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14028 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14029 [POSIX || XPG3] (POLL_IN): Likewise.
14030 [POSIX || XPG3] (POLL_OUT): Likewise.
14031 [POSIX || XPG3] (POLL_MSG): Likewise.
14032 [POSIX || XPG3] (POLL_ERR): Likewise.
14033 [POSIX || XPG3] (POLL_PRI): Likewise.
14034 [POSIX || XPG3] (POLL_HUP): Likewise.
14035 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14036 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14037 (SIG*): Do not allow.
14038 [XPG3] (si_*): Likewise.
14039 [XPG3] (SI_*): Likewise.
14040 [XPG3 || XPG4] (sigev_*): Likewise.
14041 [XPG3 || XPG4] (SIGEV_*): Likewise.
14042 [XPG3 || XPG4] (sival_*): Likewise.
14043 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14044 [POSIX || XPG3] (BUS_*): Likewise.
14045 [POSIX || XPG3] (CLD_*): Likewise.
14046 [POSIX || XPG3] (FPE_*): Likewise.
14047 [POSIX || XPG3] (ILL_*): Likewise.
14048 [POSIX || XPG3] (POLL_*): Likewise.
14049 [POSIX || XPG3] (SEGV_*): Likewise.
14050 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14051 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14052 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14053 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14054 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14055 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14056 Specify type and value.
14057 (TVERSLEN): Likewise.
14058 (REGTYPE): Likewise.
14059 (AREGTYPE): Likewise.
14060 (LNKTYPE): Likewise.
14061 (SYMTYPE): Likewise.
14062 (CHRTYPE): Likewise.
14063 (BLKTYPE): Likewise.
14064 (DIRTYPE): Likewise.
14065 (FIFOTYPE): Likewise.
14066 (CONTTYPE): Likewise.
14070 (TUREAD): Likewise.
14071 (TUWRITE): Likewise.
14072 (TUEXEC): Likewise.
14073 (TGREAD): Likewise.
14074 (TGWRITE): Likewise.
14075 (TGEXEC): Likewise.
14076 (TOREAD): Likewise.
14077 (TOWRITE): Likewise.
14078 (TOEXEC): Likewise.
14079 [POSIX] (TSVTX): Expect constant.
14081 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14083 * Makefile (tests): Change dependencies to ....
14084 (tests-special): ... additions to this variable.
14085 (tests): Depend on $(tests-special).
14086 * Makerules (check-abi-list): New variable.
14087 (check-abi): Depend on $(check-abi-list).
14088 [$(subdir) = elf] (tests-special): Add
14089 $(objpfx)check-abi-libc.out.
14090 [$(build-shared) = yes && subdir] (tests-special): Add
14092 [$(build-shared) = yes && subdir] (tests): Do not depend on
14094 * Rules (tests): Depend on $(tests-special).
14095 (xtests): Depend on $(xtests-special).
14096 * catgets/Makefile (tests): Change dependencies to ....
14097 (tests-special): ... additions to this variable.
14098 * conform/Makefile (tests): Change dependencies to ....
14099 (tests-special): ... additions to this variable.
14100 * elf/Makefile (tests): Change dependencies to ....
14101 (tests-special): ... additions to this variable.
14102 * grp/Makefile (tests): Change dependencies to ....
14103 (tests-special): ... additions to this variable.
14104 * iconv/Makefile (xtests): Change dependencies to ....
14105 (xtests-special): ... additions to this variable.
14106 * iconvdata/Makefile (tests): Change dependencies to ....
14107 (tests-special): ... additions to this variable.
14108 * intl/Makefile (tests): Change dependencies to ....
14109 (tests-special): ... additions to this variable. Also add
14110 $(objpfx)tst-gettext.out.
14111 * io/Makefile (tests): Change dependencies to ....
14112 (tests-special): ... additions to this variable.
14113 * libio/Makefile (tests): Change dependencies to ....
14114 (tests-special): ... additions to this variable.
14115 * malloc/Makefile (tests): Change dependencies to ....
14116 (tests-special): ... additions to this variable.
14117 * misc/Makefile (tests): Change dependencies to ....
14118 (tests-special): ... additions to this variable.
14119 * nptl/Makefile (tests): Change dependencies to ....
14120 (tests-special): ... additions to this variable.
14121 * nptl_db/Makefile (tests): Change dependencies to ....
14122 (tests-special): ... additions to this variable.
14123 * posix/Makefile (tests): Change dependencies to ....
14124 (tests-special): ... additions to this variable.
14125 (xtests): Change dependencies to ....
14126 (xtests-special): ... additions to this variable.
14127 * resolv/Makefile (tests): Change dependencies to ....
14128 (tests-special): ... additions to this variable.
14129 (xtests): Change dependencies to ....
14130 (xtests-special): ... additions to this variable.
14131 * stdio-common/Makefile (tests): Change dependencies to ....
14132 (tests-special): ... additions to this variable.
14133 (do-tst-unbputc): Remove target.
14134 (do-tst-printf): Likewise.
14135 * stdlib/Makefile (tests): Change dependencies to ....
14136 (tests-special): ... additions to this variable.
14137 * string/Makefile (tests): Change dependencies to ....
14138 (tests-special): ... additions to this variable.
14139 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14140 (tests-special): ... additions to this variable.
14142 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14144 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14146 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14147 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14149 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14150 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14151 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14152 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14153 * conform/data/libgen.h-data [XPG3]: Likewise.
14154 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14155 * conform/data/ndbm.h-data [XPG3]: Likewise.
14156 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14157 * conform/data/netdb.h-data [XPG3]: Likewise.
14158 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14159 * conform/data/poll.h-data [XPG3]: Likewise.
14160 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14161 * conform/data/strings.h-data [XPG3]: Likewise.
14162 * conform/data/stropts.h-data [XPG3]: Likewise.
14163 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14164 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14165 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14167 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14168 * conform/data/sys/time.h-data [XPG3]: Likewise.
14169 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14170 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14171 * conform/data/sys/un.h-data [XPG3]: Likewise.
14172 * conform/data/syslog.h-data [XPG3]: Likewise.
14173 * conform/data/ucontext.h-data [XPG3]: Likewise.
14174 * conform/data/utmpx.h-data [XPG3]: Likewise.
14175 * conform/data/varargs.h-data [UNIX98]: Enable file.
14177 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14179 * math/libm-test.inc (struct test_f_f_data): Move expected results
14180 into structure for each rounding mode.
14181 (struct test_ff_f_data): Likewise.
14182 (struct test_ff_f_data_nexttoward): Likewise.
14183 (struct test_fi_f_data): Likewise.
14184 (struct test_fl_f_data): Likewise.
14185 (struct test_if_f_data): Likewise.
14186 (struct test_fff_f_data): Likewise.
14187 (struct test_c_f_data): Likewise.
14188 (struct test_f_f1_data): Likewise.
14189 (struct test_fF_f1_data): Likewise.
14190 (struct test_ffI_f1_data): Likewise.
14191 (struct test_c_c_data): Likewise.
14192 (struct test_cc_c_data): Likewise.
14193 (struct test_f_i_data): Likewise.
14194 (struct test_ff_i_data): Likewise.
14195 (struct test_f_l_data): Likewise.
14196 (struct test_f_L_data): Likewise.
14197 (struct test_fFF_11_data): Likewise.
14199 (RM_FE_DOWNWARD): Likewise.
14200 (RM_FE_TONEAREST): Likewise.
14201 (RM_FE_TOWARDZERO): Likewise.
14202 (RM_FE_UPWARD): Likewise.
14203 (RUN_TEST_LOOP_f_f): Update references to expected results.
14204 (RUN_TEST_LOOP_2_f): Likewise.
14205 (RUN_TEST_LOOP_fff_f): Likewise.
14206 (RUN_TEST_LOOP_c_f): Likewise.
14207 (RUN_TEST_LOOP_f_f1): Likewise.
14208 (RUN_TEST_LOOP_fF_f1): Likewise.
14209 (RUN_TEST_LOOP_fI_f1): Likewise.
14210 (RUN_TEST_LOOP_ffI_f1): Likewise.
14211 (RUN_TEST_LOOP_c_c): Likewise.
14212 (RUN_TEST_LOOP_cc_c): Likewise.
14213 (RUN_TEST_LOOP_f_i): Likewise.
14214 (RUN_TEST_LOOP_f_i_tg): Likewise.
14215 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14216 (RUN_TEST_LOOP_f_b): Likewise.
14217 (RUN_TEST_LOOP_f_b_tg): Likewise.
14218 (RUN_TEST_LOOP_f_l): Likewise.
14219 (RUN_TEST_LOOP_f_L): Likewise.
14220 (RUN_TEST_LOOP_fFF_11): Likewise.
14221 * math/gen-libm-test.pl (parse_args): Output four copies of
14222 expected results for each test.
14224 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14225 (__ASSUME_UTIMES): Remove.
14226 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14227 (__ASSUME_UTIMES): Likewise.
14229 * math/gen-auto-libm-tests.c: Update comment on output format.
14230 (output_for_one_input_case): Generate before-rounding and
14231 after-rounding information as conditions on output flags not
14232 floating-point format.
14233 * math/auto-libm-test-out: Regenerated.
14234 * math/gen-libm-test.pl (cond_value): New function.
14235 (or_cond_value): Use cond_value.
14236 (generate_testfile): Handle conditional exceptions.
14238 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14240 * math/libm-test.inc (max_valid_error): New variable.
14241 (init_max_error): Take new argument specifying whether function
14242 results are exactly determined. Set max_valid_error and bound
14243 other variables for errors based on this argument.
14244 (set_max_error): Do not record results above max_valid_error.
14245 (check_float_internal): Only accept errors of up to 0.5ulps if
14246 also at most max_valid_error.
14247 (START): Take new argument EXACT and pass it to init_max_error.
14248 (acos_test): Update call to START.
14249 (acos_test_tonearest): Likewise.
14250 (acos_test_towardzero): Likewise.
14251 (acos_test_downward): Likewise.
14252 (acos_test_upward): Likewise.
14253 (acosh_test): Likewise.
14254 (asin_test): Likewise.
14255 (asin_test_tonearest): Likewise.
14256 (asin_test_towardzero): Likewise.
14257 (asin_test_downward): Likewise.
14258 (asin_test_upward): Likewise.
14259 (asinh_test): Likewise.
14260 (atan_test): Likewise.
14261 (atanh_test): Likewise.
14262 (atan2_test): Likewise.
14263 (cabs_test): Likewise.
14264 (cacos_test): Likewise.
14265 (cacosh_test): Likewise.
14266 (carg_test): Likewise.
14267 (casin_test): Likewise.
14268 (casinh_test): Likewise.
14269 (catan_test): Likewise.
14270 (catanh_test): Likewise.
14271 (cbrt_test): Likewise.
14272 (ccos_test): Likewise.
14273 (ccosh_test): Likewise.
14274 (ceil_test): Likewise.
14275 (cexp_test): Likewise.
14276 (cimag_test): Likewise.
14277 (clog_test): Likewise.
14278 (clog10_test): Likewise.
14279 (conj_test): Likewise.
14280 (copysign_test): Likewise.
14281 (cos_test): Likewise.
14282 (cos_test_tonearest): Likewise.
14283 (cos_test_towardzero): Likewise.
14284 (cos_test_downward): Likewise.
14285 (cos_test_upward): Likewise.
14286 (cosh_test): Likewise.
14287 (cosh_test_tonearest): Likewise.
14288 (cosh_test_towardzero): Likewise.
14289 (cosh_test_downward): Likewise.
14290 (cosh_test_upward): Likewise.
14291 (cpow_test): Likewise.
14292 (cproj_test): Likewise.
14293 (creal_test): Likewise.
14294 (csin_test): Likewise.
14295 (csinh_test): Likewise.
14296 (csqrt_test): Likewise.
14297 (ctan_test): Likewise.
14298 (ctan_test_tonearest): Likewise.
14299 (ctan_test_towardzero): Likewise.
14300 (ctan_test_downward): Likewise.
14301 (ctan_test_upward): Likewise.
14302 (ctanh_test): Likewise.
14303 (ctanh_test_tonearest): Likewise.
14304 (ctanh_test_towardzero): Likewise.
14305 (ctanh_test_downward): Likewise.
14306 (ctanh_test_upward): Likewise.
14307 (erf_test): Likewise.
14308 (erfc_test): Likewise.
14309 (exp_test): Likewise.
14310 (exp_test_tonearest): Likewise.
14311 (exp_test_towardzero): Likewise.
14312 (exp_test_downward): Likewise.
14313 (exp_test_upward): Likewise.
14314 (exp10_test): Likewise.
14315 (exp10_test_tonearest): Likewise.
14316 (exp10_test_towardzero): Likewise.
14317 (exp10_test_downward): Likewise.
14318 (exp10_test_upward): Likewise.
14319 (pow10_test): Likewise.
14320 (exp2_test): Likewise.
14321 (expm1_test): Likewise.
14322 (expm1_test_tonearest): Likewise.
14323 (expm1_test_towardzero): Likewise.
14324 (expm1_test_downward): Likewise.
14325 (expm1_test_upward): Likewise.
14326 (fabs_test): Likewise.
14327 (fdim_test): Likewise.
14328 (floor_test): Likewise.
14329 (fma_test): Likewise.
14330 (fma_test_towardzero): Likewise.
14331 (fma_test_downward): Likewise.
14332 (fma_test_upward): Likewise.
14333 (fmax_test): Likewise.
14334 (fmin_test): Likewise.
14335 (fmod_test): Likewise.
14336 (fpclassify_test): Likewise.
14337 (frexp_test): Likewise.
14338 (hypot_test): Likewise.
14339 (ilogb_test): Likewise.
14340 (isfinite_test): Likewise.
14341 (finite_test): Likewise.
14342 (isgreater_test): Likewise.
14343 (isgreaterequal_test): Likewise.
14344 (isinf_test): Likewise.
14345 (isless_test): Likewise.
14346 (islessequal_test): Likewise.
14347 (islessgreater_test): Likewise.
14348 (isnan_test): Likewise.
14349 (isnormal_test): Likewise.
14350 (issignaling_test): Likewise.
14351 (isunordered_test): Likewise.
14352 (j0_test): Likewise.
14353 (j1_test): Likewise.
14354 (jn_test): Likewise.
14355 (ldexp_test): Likewise.
14356 (lgamma_test): Likewise.
14357 (gamma_test): Likewise.
14358 (lrint_test): Likewise.
14359 (lrint_test_tonearest): Likewise.
14360 (lrint_test_towardzero): Likewise.
14361 (lrint_test_downward): Likewise.
14362 (lrint_test_upward): Likewise.
14363 (llrint_test): Likewise.
14364 (llrint_test_tonearest): Likewise.
14365 (llrint_test_towardzero): Likewise.
14366 (llrint_test_downward): Likewise.
14367 (llrint_test_upward): Likewise.
14368 (log_test): Likewise.
14369 (log10_test): Likewise.
14370 (log1p_test): Likewise.
14371 (log2_test): Likewise.
14372 (logb_test): Likewise.
14373 (logb_test_downward): Likewise.
14374 (lround_test): Likewise.
14375 (llround_test): Likewise.
14376 (modf_test): Likewise.
14377 (nearbyint_test): Likewise.
14378 (nextafter_test): Likewise.
14379 (nexttoward_test): Likewise.
14380 (pow_test): Likewise.
14381 (pow_test_tonearest): Likewise.
14382 (pow_test_towardzero): Likewise.
14383 (pow_test_downward): Likewise.
14384 (pow_test_upward): Likewise.
14385 (remainder_test): Likewise.
14386 (drem_test): Likewise.
14387 (remainder_test_tonearest): Likewise.
14388 (drem_test_tonearest): Likewise.
14389 (remainder_test_towardzero): Likewise.
14390 (drem_test_towardzero): Likewise.
14391 (remainder_test_downward): Likewise.
14392 (drem_test_downward): Likewise.
14393 (remainder_test_upward): Likewise.
14394 (drem_test_upward): Likewise.
14395 (remquo_test): Likewise.
14396 (rint_test): Likewise.
14397 (rint_test_tonearest): Likewise.
14398 (rint_test_towardzero): Likewise.
14399 (rint_test_downward): Likewise.
14400 (rint_test_upward): Likewise.
14401 (round_test): Likewise.
14402 (scalb_test): Likewise.
14403 (scalbn_test): Likewise.
14404 (scalbln_test): Likewise.
14405 (signbit_test): Likewise.
14406 (sin_test): Likewise.
14407 (sin_test_tonearest): Likewise.
14408 (sin_test_towardzero): Likewise.
14409 (sin_test_downward): Likewise.
14410 (sin_test_upward): Likewise.
14411 (sincos_test): Likewise.
14412 (sinh_test): Likewise.
14413 (sinh_test_tonearest): Likewise.
14414 (sinh_test_towardzero): Likewise.
14415 (sinh_test_downward): Likewise.
14416 (sinh_test_upward): Likewise.
14417 (sqrt_test): Likewise.
14418 (sqrt_test_tonearest): Likewise.
14419 (sqrt_test_towardzero): Likewise.
14420 (sqrt_test_downward): Likewise.
14421 (sqrt_test_upward): Likewise.
14422 (tan_test): Likewise.
14423 (tan_test_tonearest): Likewise.
14424 (tan_test_towardzero): Likewise.
14425 (tan_test_downward): Likewise.
14426 (tan_test_upward): Likewise.
14427 (tanh_test): Likewise.
14428 (tgamma_test): Likewise.
14429 (trunc_test): Likewise.
14430 (y0_test): Likewise.
14431 (y1_test): Likewise.
14432 (yn_test): Likewise.
14433 (significand_test): Likewise.
14435 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14436 individual tests in comment.
14437 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14438 (prev_max_error): New variable.
14439 (prev_real_max_error): Likewise.
14440 (prev_imag_max_error): Likewise.
14441 (compare_ulp_data): Don't refer to test names in comment.
14442 (find_test_ulps): Remove function.
14443 (find_function_ulps): Likewise.
14444 (find_complex_function_ulps): Likewise.
14445 (init_max_error): Take function name as argument. Look up ulps
14447 (print_ulps): Remove function.
14448 (print_max_error): Use prev_max_error instead of calling
14449 find_function_ulps.
14450 (print_complex_max_error): Use prev_real_max_error and
14451 prev_imag_max_error instead of calling find_complex_function_ulps.
14452 (check_float_internal): Take max_ulp parameter instead of calling
14453 find_test_ulps. Don't call print_ulps.
14454 (check_float): Update call to check_float_internal.
14455 (check_complex): Update calls to check_float_internal.
14456 (START): Pass argument to init_max_error.
14457 * math/gen-libm-test.pl (%results): Don't include "kind"
14459 (parse_ulps): Don't handle ulps of individual tests.
14460 (print_ulps_file): Likewise.
14461 (output_ulps): Likewise.
14462 * math/README.libm-test: Update.
14463 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14465 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14466 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14467 * sysdeps/arm/libm-test-ulps: Likewise.
14468 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14469 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14470 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14471 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14472 * sysdeps/microblaze/libm-test-ulps: Likewise.
14473 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14474 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14475 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14476 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14477 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14478 * sysdeps/sh/libm-test-ulps: Likewise.
14479 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14480 * sysdeps/tile/libm-test-ulps: Likewise.
14481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14483 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14485 * math/libm-test.inc (print_complex_max_error): Check separately
14486 whether real and imaginary errors are within allowed range and
14487 pass 0 to print_complex_function_ulps instead of value within
14490 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14492 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14494 (get_handles_fopen): Likewise.
14495 (do_write_test): Likewise.
14497 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14499 * libio/fileops.c (do_ftell): Use cached offset when
14501 * libio/iofwide.c (do_ftell_wide): Likewise.
14502 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14504 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14507 * libio/libioP.h (get_file_offset): New function.
14508 * libio/fileops.c (get_file_offset): Likewise.
14509 (do_ftell): Likewise.
14510 (_IO_new_file_seekoff): Split out ftell logic.
14511 * libio/wfileops.c (do_ftell_wide): Likewise.
14512 (_IO_wfile_seekoff): Split out ftell logic.
14513 * libio/tst-ftell-active-handler.c: New test case.
14514 * libio/Makefile (tests): Add it.
14516 2014-03-03 Roland McGrath <roland@hack.frob.com>
14518 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14519 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14521 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14524 * nscd/connections.c (nscd_init): Call do_exit.
14525 (start_threads): Call do_exit and notify_parent.
14526 (begin_drop_privileges): Call do_exit.
14527 (finish_drop_privileges): Likewise.
14528 * nscd/selinux.c (preserve_capabilities): Likewise.
14529 (install_real_capabilities): Likewise.
14530 (nscd_selinux_enabled): Likewise.
14531 (avc_create_thread): Likewise.
14532 (avc_alloc_lock): Likewise.
14533 (nscd_avc_init): Likewise.
14534 * nscd/nscd.c (parent_fd): New static variable.
14535 (main): Create a pipe between parent and child processes.
14536 Skip closing parent_fd.
14537 (monitor_child): New function.
14538 (do_exit): Likewise.
14539 (notify_parent): Likewise.
14540 * nscd/nscd.h (notify_parent): Likewise.
14541 (do_exit): Likewise.
14543 2014-03-03 Carlos O'Donell <carlos@redhat.com>
14545 * malloc/malloc.c (__libc_calloc): Revert last change.
14547 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14551 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14553 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14557 (__libc_ifunc_impl_list): Likewise.
14558 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14559 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14560 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14561 * string/strrchr.c: Define STRRCHR.
14563 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
14565 * benchtest/bench-strtok.c (simple_strtok): Delete.
14566 (strtok_string): Use as benchmark.
14567 * string/strtok (STRTOK): New macro.
14569 2014-02-28 Carlos O'Donell <carlos@redhat.com>
14571 * manual/threads.texi: Add header and standard comments to all
14574 * elf/dl-lookup.c (check_match): New function.
14575 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14576 (do_lookup_x): Remove nested function check_match. Use non-nested
14577 function check_match.
14579 2014-02-28 Roland McGrath <roland@hack.frob.com>
14581 * csu/Makefile (generated, before-compile): Use += rather than =.
14582 * catgets/Makefile (generated, generated-dirs): Likewise.
14583 * debug/Makefile (generated): Likewise.
14584 * dlfcn/Makefile (generated): Likewise.
14585 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14586 * iconvdata/Makefile (before-compile, generated): Likewise.
14587 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14588 * libio/Makefile (generated): Likewise.
14589 * malloc/Makefile (generated): Likewise.
14590 * manual/Makefile (generated, generated-dirs): Likewise.
14591 * misc/Makefile (generated): Likewise.
14592 * posix/Makefile (generated): Likewise.
14593 * resolv/Makefile (generated): Likewise.
14594 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14595 * timezone/Makefile (generated, generated-dirs): Likewise.
14597 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14599 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14602 power8 implementation.
14603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14604 file: POWER8 llround ifunc implementation.
14605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14606 (__lllround): Add POWER8 implementation.
14607 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14608 POWER8 llround implementation.
14610 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14611 power8 implementation.
14612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14613 file: POWER8 llrint ifunc implementation.
14614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14615 Add POWER8 implementation.
14616 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14617 POWER8 llrint implementation.
14619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14620 power8 implementation.
14621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14622 file: POWER8 finite ifunc implementation.
14623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14624 Add POWER8 implementation.
14625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14627 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14628 POWER8 finite implementation.
14629 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14631 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14632 power8 implementation.
14633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14634 file: POWER8 isinf ifunc implementation.
14635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14636 POWER8 implementation.
14637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14639 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14640 isinf implementation.
14641 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14643 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14644 (INIT_ARCH): Add hwcap2 initialization.
14645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14646 power8 implementation.
14647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14648 file: POWER8 isnan ifunc implementation.
14649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14650 POWER8 implementation.
14651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14653 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14654 isnan implementation.
14655 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14657 2014-02-27 Joey Ye <joey.ye@arm.com>
14659 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14660 (_FP_NANFRAC_Q): Set to zero.
14662 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14665 * math/auto-libm-test-in: New test inputs.
14666 * math/auto-libm-test-out: Regenerate.
14667 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14670 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14672 2014-02-27 Joseph Myers <joseph@codesourcery.com>
14674 * scripts/evaluate-test.sh: Take new argument indicating whether
14675 failure is expected.
14676 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14677 indicating whether failure is expected.
14678 * conform/Makefile (test-xfail-run-conformtest): New variable.
14679 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14681 * posix/Makefile (test-xfail-annexc): New variable.
14682 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14684 2014-02-26 Joseph Myers <joseph@codesourcery.com>
14686 * argp/Makefile: Include Makeconfig immediately after defining
14688 * assert/Makefile: Likewise.
14689 * benchtests/Makefile: Likewise.
14690 * catgets/Makefile: Likewise.
14691 * conform/Makefile: Likewise.
14692 * crypt/Makefile: Likewise.
14693 * csu/Makefile: Likewise.
14694 (all): Remove target.
14695 * ctype/Makefile: Include Makeconfig immediately after defining
14697 * debug/Makefile: Likewise.
14698 * dirent/Makefile: Likewise.
14699 * dlfcn/Makefile: Likewise.
14700 * gmon/Makefile: Likewise.
14701 * gnulib/Makefile: Likewise.
14702 * grp/Makefile: Likewise.
14703 * gshadow/Makefile: Likewise.
14704 * hesiod/Makefile: Likewise.
14705 * hurd/Makefile: Likewise.
14706 (all): Remove target.
14707 * iconvdata/Makefile: Include Makeconfig immediately after
14709 * inet/Makefile: Likewise.
14710 * intl/Makefile: Likewise.
14711 * io/Makefile: Likewise.
14712 * libio/Makefile: Likewise.
14713 (all): Remove target.
14714 * locale/Makefile: Include Makeconfig immediately after defining
14716 * login/Makefile: Likewise.
14717 * mach/Makefile: Likewise.
14718 (all): Remove target.
14719 * malloc/Makefile: Include Makeconfig immediately after defining
14721 (all): Remove target.
14722 * manual/Makefile: Include Makeconfig immediately after defining
14724 * math/Makefile: Likewise.
14725 * misc/Makefile: Likewise.
14726 * nis/Makefile: Likewise.
14727 * nss/Makefile: Likewise.
14728 * po/Makefile: Likewise.
14729 (all): Remove target.
14730 * posix/Makefile: Include Makeconfig immediately after defining
14732 * pwd/Makefile: Likewise.
14733 * resolv/Makefile: Likewise.
14734 * resource/Makefile: Likewise.
14735 * rt/Makefile: Likewise.
14736 * setjmp/Makefile: Likewise.
14737 * shadow/Makefile: Likewise.
14738 * signal/Makefile: Likewise.
14739 * socket/Makefile: Likewise.
14740 * soft-fp/Makefile: Likewise.
14741 * stdio-common/Makefile: Likewise.
14742 * stdlib/Makefile: Likewise.
14743 * streams/Makefile: Likewise.
14744 * string/Makefile: Likewise.
14745 * sunrpc/Makefile: Likewise.
14746 (all): Remove target.
14747 * sysvipc/Makefile: Include Makeconfig immediately after defining
14749 * termios/Makefile: Likewise.
14750 * time/Makefile: Likewise.
14751 * timezone/Makefile: Likewise.
14752 (all): Remove target.
14753 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14755 * wctype/Makefile: Likewise.
14757 2014-02-26 Steve Ellcey <sellcey@mips.com>
14759 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14760 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14761 (libc_feholdexcept_setround_mips): Ditto.
14762 (libc_feholdsetround): New.
14763 (libc_feholdsetroundf): New.
14764 (libc_feholdsetroundl): New.
14765 (libc_feupdateenv_test_mips): New.
14766 (libc_feupdateenv_test): New.
14767 (libc_feupdateenv_testf): New.
14768 (libc_feupdateenv_testl): New.
14769 (libc_feresetround): New.
14770 (libc_feresetroundf): New.
14771 (libc_feresetroundl): New.
14772 (libc_fetestexcept_mips): New.
14773 (libc_fetestexcept): New.
14774 (libc_fetestexceptf): New.
14775 (libc_fetestexceptl): New.
14776 (HAVE_RM_CTX): New.
14777 (libc_feholdexcept_setround_mips_ctx): New.
14778 (libc_feholdexcept_setround_ctx): New.
14779 (libc_feholdexcept_setroundf_ctx): New.
14780 (libc_feholdexcept_setroundl_ctx): New.
14781 (libc_fesetenv_mips_ctx): New.
14782 (libc_fesetenv_ctx): New.
14783 (libc_fesetenv_ctxf): New.
14784 (libc_fesetenv_ctxl): New.
14785 (libc_feupdateenv_mips_ctx): New.
14786 (libc_feupdateenv_ctx): New.
14787 (libc_feupdateenvf_ctx): New.
14788 (libc_feupdateenvl_ctx): New.
14789 (libc_feholdsetround_mips_ctx): New.
14790 (libc_feholdsetround_ctx): New.
14791 (libc_feholdsetroundf_ctx): New.
14792 (libc_feholdsetroundl_ctx): New.
14793 (libc_feresetround_mips_ctx): New.
14794 (libc_feresetround_ctx): New.
14795 (libc_feresetroundf_ctx): New.
14796 (libc_feresetroundl_ctx): New.
14798 2014-02-26 Carlos O'Donell <carlos@redhat.com>
14800 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14802 * manual/ipc.texi: New file.
14803 * manual/Makefile (chapters): Add ipc.
14804 * manual/job.texi: Add "Inter-Process Communication" to next.
14805 * manual/process.texi: Add "Inter-Process Communication" to prev.
14807 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14811 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
14813 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14815 * manual/arith.texi: Fix spaces after sentences.
14816 * manual/charset.texi: Likewise.
14817 * manual/errno.texi: Likewise.
14818 * manual/install.texi: Likewise.
14819 * manual/llio.texi: Likewise.
14820 * manual/locale.texi: Likewise.
14821 * manual/maint.texi: Likewise.
14822 * manual/math.texi: Likewise.
14823 * manual/memory.texi: Likewise.
14824 * manual/message.texi: Likewise.
14825 * manual/probes.texi: Likewise.
14826 * manual/resource.texi: Likewise.
14827 * manual/signal.texi: Likewise.
14828 * manual/socket.texi: Likewise.
14829 * manual/stdio.texi: Likewise.
14830 * manual/string.texi: Likewise.
14831 * manual/time.texi: Likewise.
14832 * manual/users.texi: Likewise.
14834 2014-02-25 Carlos O'Donell <carlos@redhat.com>
14837 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14838 _DEFAULT_SOURCE is defined.
14840 2014-02-25 Ulrich Drepper <drepper@gmail.com>
14841 Carlos O'Donell <carlos@redhat.com>
14844 * elf/dl-tls.c (_dl_count_modids): New function.
14845 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14846 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14847 audit library and increment generation counter.
14848 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14849 * elf/tst-audit9.c: New file.
14850 * elf/tst-auditmod9a.c: New file.
14851 * elf/tst-auditmod9b.c: New file.
14852 * elf/Makefile: Add rules to build and run tst-audit9.
14854 2014-02-25 Florian Weimer <fweimer@redhat.com>
14857 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14859 2014-02-25 Will Newton <will.newton@linaro.org>
14861 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14862 (__longjmp): Restore sp and lr before restoring callee
14863 saved registers. Add longjmp and longjmp_target
14864 SystemTap probe point.
14865 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14866 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14867 Define to zero to match jmpbuf layout.
14868 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14869 (__sigsetjmp): Save sp and lr before saving callee
14870 saved registers. Add setjmp SystemTap probe point.
14872 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14874 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14876 2014-02-24 Andreas Schwab <schwab@suse.de>
14879 * elf/pldd.c (wait_for_ptrace_stop): New function.
14880 (main): Call it after attaching.
14882 2014-02-22 Roland McGrath <roland@hack.frob.com>
14884 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14885 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14886 Versions files is now verboten.
14887 * hurd/Versions (libc: GLIBC_2.0):
14888 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14889 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14890 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14891 * mach/Versions: Likewise.
14893 * csu/Versions: Remove unused %include.
14894 * resolv/Versions: Likewise.
14896 2014-02-21 Joseph Myers <joseph@codesourcery.com>
14898 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14899 ($(objpfx)check-local-headers.out): Likewise.
14900 ($(objpfx)begin-end-check.out): Likewise.
14901 * Makerules (check-abi-%.out): Likewise.
14902 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14903 ($(objpfx)test2.cat): Likewise.
14904 ($(objpfx)de/libc.cat): Likewise.
14905 ($(objpfx)test-gencat.out): Likewise.
14906 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14907 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14908 ($(objpfx)noload-mem): Likewise.
14909 ($(objpfx)tst-pathopt.out): Likewise.
14910 ($(objpfx)tst-rtld-load-self.out): Likewise.
14911 ($(objpfx)tst-array1-cmp.out): Likewise.
14912 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14913 ($(objpfx)tst-array2-cmp.out): Likewise.
14914 ($(objpfx)tst-array3-cmp.out): Likewise.
14915 ($(objpfx)tst-array4-cmp.out): Likewise.
14916 ($(objpfx)tst-array5-cmp.out): Likewise.
14917 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14918 ($(objpfx)check-textrel.out): Likewise.
14919 ($(objpfx)check-execstack.out): Likewise.
14920 ($(objpfx)check-localplt.out): Likewise.
14921 ($(objpfx)order2-cmp.out): Likewise.
14922 ($(objpfx)tst-leaks1-mem): Likewise.
14923 ($(objpfx)tst-leaks1-static-mem): Likewise.
14924 ($(objpfx)tst-initorder-cmp.out): Likewise.
14925 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14926 ($(objpfx)tst-unused-dep.out): Likewise.
14927 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14928 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14929 * iconv/Makefile (test-iconvconfig): Likewise.
14930 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14931 ($(objpfx)iconv-test.out): Likewise.
14932 ($(objpfx)tst-tables.out): Likewise.
14933 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14934 ($(objpfx)tst-gettext.out): Likewise.
14935 ($(objpfx)tst-translit.out): Likewise.
14936 ($(objpfx)tst-gettext2.out): Likewise.
14937 ($(objpfx)tst-gettext4.out): Likewise.
14938 ($(objpfx)tst-gettext6.out): Likewise.
14939 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14940 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14941 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14942 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14943 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14944 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14945 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14946 ($(objpfx)wordexp-tst.out): Likewise.
14947 ($(objpfx)annexc.out): Likewise.
14948 ($(objpfx)tst-fnmatch-mem): Likewise.
14949 ($(objpfx)bug-regex2-mem): Likewise.
14950 ($(objpfx)bug-regex14-mem): Likewise.
14951 ($(objpfx)bug-regex21-mem): Likewise.
14952 ($(objpfx)bug-regex31-mem): Likewise.
14953 ($(objpfx)tst-vfork3-mem): Likewise.
14954 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14955 ($(objpfx)tst-pcre-mem): Likewise.
14956 ($(objpfx)tst-boost-mem): Likewise.
14957 ($(objpfx)tst-getconf.out): Likewise.
14958 ($(objpfx)bug-ga2-mem): Likewise.
14959 ($(objpfx)bug-glob2-mem): Likewise.
14960 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14961 ($(objpfx)mtrace-tst-leaks2): Likewise.
14962 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14963 ($(objpfx)tst-printf.out): Likewise.
14964 ($(objpfx)tst-setvbuf1.out): Likewise.
14965 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14966 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14967 ($(objpfx)tst-fmtmsg.out): Likewise.
14968 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14969 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14971 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14972 * bits/sigaction.h [__USE_MISC]: Likewise.
14973 * bits/waitstatus.h: Update #endif comments.
14974 * ctype/ctype.h: Likewise.
14975 * dirent/dirent.h: Likewise.
14976 [__USE_MISC]: Remove redundant conditionals.
14977 * grp/grp.h: Update #endif comments.
14978 [__USE_GNU]: Remove redundant conditionals.
14979 [__USE_MISC]: Likewise.
14980 * inet/netinet/in.h [__USE_GNU]: Likewise.
14981 * io/sys/stat.h [__USE_MISC]: Likewise.
14982 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14983 * libio/bits/stdio.h: Update #endif comments.
14984 [__USE_MISC]: Remove redundant conditionals.
14985 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14986 * libio/stdio.h: Update #endif comments.
14987 [__USE_MISC]: Remove redundant conditionals.
14988 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14989 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14990 * math/math.h: Update #else and #endif comments.
14991 [__USE_MISC]: Remove redundant conditionals.
14992 * misc/sys/uio.h: Update #endif comments.
14993 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14994 * posix/glob.h [__USE_MISC]: Likewise.
14995 * posix/sys/types.h: Update #endif comments.
14996 [__USE_MISC]: Remove redundant conditionals.
14997 * posix/sys/wait.h: Update #endif comments.
14998 [__USE_MISC]: Remove redundant conditionals.
14999 * posix/unistd.h: Update #endif comments.
15000 [__USE_MISC]: Remove redundant conditionals.
15001 * pwd/pwd.h [__USE_GNU]: Likewise.
15002 [__USE_MISC]: Likewise.
15003 * resolv/netdb.h [__USE_GNU]: Likewise.
15004 * signal/signal.h: Update #endif comments.
15005 [__USE_MISC]: Remove redundant conditionals.
15006 * stdlib/stdlib.h: Update #else and #endif comments.
15007 [__USE_MISC]: Remove redundant conditionals.
15008 [__USE_GNU]: Likewise.
15009 * string/bits/string2.h [__USE_MISC]: Likewise.
15010 * string/string.h: Update #endif comments.
15011 [__USE_MISC]: Remove redundant conditionals.
15012 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15014 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15015 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15016 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15018 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15020 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15022 [__USE_MISC]: Remove redundant conditionals.
15023 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15024 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15025 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15026 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15027 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15029 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15030 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15032 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15033 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15035 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15037 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15038 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15040 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15042 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15043 * sysdeps/x86/bits/string.h: Update #endif comments.
15044 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15046 * time/sys/time.h: Update #endif comments.
15047 * time/time.h: Likewise.
15048 [__USE_MISC]: Remove redundant conditionals.
15050 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15053 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15055 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15057 * Versions.def (librt): Add GLIBC_2.17.
15059 2014-02-21 Adam Conrad <adconrad@0c3.net>
15061 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15062 synonym for _SYS_AUXV_H to allow direct inclusion.
15063 * sysdeps/sparc/bits/hwcap.h: Likewise.
15064 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15065 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15066 * sysdeps/sparc/sysdep.h: Likewise.
15068 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15070 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15072 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15074 * benchtests/bench-strrchr.c: Print length instead of position.
15076 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15079 * sysdeps/unix/sysv/linux/kernel-features.h
15080 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15081 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15082 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15083 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15085 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15086 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15087 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15088 (__ASSUME_SENDMMSG): Define instead of using previous
15089 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15090 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15091 (__ASSUME_SENDMMSG_SYSCALL): Define.
15092 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15093 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15095 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15096 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15098 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15099 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15101 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15102 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15103 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15104 [__ASSUME_SENDMMSG]: Change conditionals to
15105 [__ASSUME_SENDMMSG_SOCKETCALL].
15106 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15107 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15109 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15110 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15112 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15113 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15114 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15115 [!__ASSUME_SENDMMSG]: Change conditional to
15116 [!__ASSUME_SENDMMSG_SOCKETCALL].
15117 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15118 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15122 * sysdeps/unix/sysv/linux/kernel-features.h
15123 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15124 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15125 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15126 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15127 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15128 [__i386__ || __sparc__]
15129 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15130 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15131 (__ASSUME_RECVMMSG): Define instead of using previous
15132 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15133 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15134 (__ASSUME_RECVMMSG_SYSCALL): Define.
15135 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15136 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15138 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15139 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15141 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15142 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15144 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15145 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15146 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15147 [__ASSUME_RECVMMSG]: Change condition to
15148 [__ASSUME_RECVMMSG_SOCKETCALL].
15149 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15150 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15152 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15153 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15154 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15156 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15157 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15158 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15159 [!__ASSUME_RECVMMSG]: Change condition to
15160 [!__ASSUME_RECVMMSG_SOCKETCALL].
15161 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15162 (__ASSUME_RECVMMSG_SYSCALL): Define.
15165 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15166 __powerpc__ || __s390__ || __sh__ || __sparc__]
15167 (__ASSUME_SOCKETCALL): Define.
15168 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15169 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15170 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15171 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15172 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15173 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15174 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15175 (__ASSUME_ACCEPT4): Define instead of using previous
15176 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15177 __powerpc__ || __sparc__ || __s390__)] condition.
15178 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15179 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15180 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15181 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15182 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15183 [!__ASSUME_ACCEPT4]: Change condition to
15184 [!__ASSUME_ACCEPT4_SOCKETCALL].
15185 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15186 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15187 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15188 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15189 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15190 __ASSUME_ACCEPT4_SYSCALL.
15191 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15192 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15193 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15194 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15195 __ASSUME_ACCEPT4_SYSCALL.
15196 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15197 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15198 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15199 [__ASSUME_ACCEPT4]: Change condition to
15200 [__ASSUME_ACCEPT4_SOCKETCALL].
15201 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15202 (__ASSUME_SOCKETCALL): Define.
15203 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15204 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15205 (__ASSUME_SOCKETCALL): Define.
15206 (__ASSUME_ACCEPT4): Remove.
15207 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15209 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15210 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15212 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15213 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15215 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15217 (HWCAP_ARM_LPAE): Likewise.
15218 (HWCAP_ARM_EVTSTRM): Likewise.
15219 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15220 Add vpfd32, lpae and evtstrm.
15221 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15224 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15226 * math/auto-libm-test-in: Add tests of clog10.
15227 * math/auto-libm-test-out: Regenerated.
15228 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15229 * sysdeps/i386/fpu/libm-test-ulps: Update.
15230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15232 2014-02-18 Andreas Schwab <schwab@suse.de>
15235 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15236 Store non-zero if the second buffer was newly allocated.
15237 (send_dg): Likewise.
15238 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15239 to send_vc and send_dg.
15240 (res_nsend): Pass NULL for ansp2_malloced.
15241 * resolv/res_query.c (__libc_res_nquery): Add parameter
15242 answerp2_malloced and pass it down to __libc_res_nsend.
15243 (res_nquery): Pass additional NULL to __libc_res_nquery.
15244 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15245 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15246 second answer buffer if answerp2_malloced was set.
15247 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15248 (__libc_res_nquerydomain): Add parameter
15249 answerp2_malloced and pass it down to __libc_res_nquery.
15250 (res_nquerydomain): Pass additional NULL to
15251 __libc_res_nquerydomain.
15252 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15253 additional NULL to __libc_res_nsend and __libc_res_nquery.
15254 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15255 additional NULL to __libc_res_nsearch.
15256 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15257 parameter of __libc_res_nsearch to check for separately allocated
15259 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15261 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15262 additional NULL to __libc_res_nquery.
15263 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15264 __libc_res_nsearch.
15265 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15266 * include/resolv.h: Update prototypes of __libc_res_nquery,
15267 __libc_res_nsearch, __libc_res_nsend.
15269 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15271 * math/auto-libm-test-in: Add tests of fma.
15272 * math/auto-libm-test-out: Regenerated.
15273 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15274 (fma_towardzero_test_data): Likewise.
15275 (fma_downward_test_data): Likewise.
15276 (fma_upward_test_data): Likewise.
15277 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15279 (rounding_modes): Add values for new field.
15280 (func_calc_method): Add value mpfr_fff_f.
15281 (func_calc_desc): Add mpfr_fff_f union field.
15282 (test_function): Add field exact_args.
15283 (FUNC): Add macro argument EXACT_ARGS.
15284 (FUNC_mpfr_f_f): Update call to FUNC.
15285 (FUNC_mpfr_f_f): Likewise.
15286 (FUNC_mpfr_ff_f): Likewise.
15287 (FUNC_mpfr_if_f): Likewise.
15288 (FUNC_mpc_c_f): Likewise.
15289 (FUNC_mpc_c_c): Likewise.
15290 (test_functions): Add fma. Update calls to FUNC.
15291 (handle_input_arg): Add argument exact_args.
15292 (add_test): Update call to handle_input_arg.
15293 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15294 (output_for_one_input_case): Update call to calc_generic_results.
15295 Recalculate exact zero results in each rounding mode.
15297 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15298 non-negative before setting low bit.
15299 * math/auto-libm-test-in: Mark one asin test possibly having
15300 spurious underflow.
15301 * math/auto-libm-test-out: Regenerated.
15302 * sysdeps/i386/fpu/libm-test-ulps: Update.
15303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15305 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15307 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15308 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15309 ports/sysdeps/unix/sysv/linux/microblaze.
15310 * README: Add missing listing for microblaze*-*-linux-gnu.
15312 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15314 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15317 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15319 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15320 * sysdeps/unix/sysv/linux/ia64: Move directory from
15321 ports/sysdeps/unix/sysv/linux/ia64.
15322 * README: Update listing for ia64-*-linux-gnu.
15324 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15325 Joseph Myers <joseph@codesourcery.com>
15327 * Makeconfig (test-name): New variable.
15328 (evaluate-test): Likewise.
15329 * Makerules (do-test-clean): Remove .test-result files.
15330 (common-mostlyclean): Likewise.
15331 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15332 * scripts/evaluate-test.sh: New file.
15334 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15336 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15337 separate $(objpfx)tst-fopenloc-cmp.out and
15338 $(objpfx)tst-fopenloc-mem.out targets.
15339 (tests): Update dependencies.
15340 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15341 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15342 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15343 (tst-rxspencer-no-utf8-ARGS): New variable.
15344 (tst-rxspencer-no-utf8-ENV): Likewise.
15345 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15346 instead of $(objpfx)tst-rxspencer-mem.
15347 ($(objpfx)tst-rxspencer-mem): Change target to
15348 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15349 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15350 * posix/tst-rxspencer-no-utf8.c: New file.
15352 * elf/Makefile ($(objpfx)order.out): Remove rule.
15353 [$(run-built-tests) = yes] (tests): Depend on
15354 $(objpfx)order-cmp.out.
15355 ($(objpfx)order-cmp.out): New rule.
15356 [$(run-built-tests) = yes] (tests): Depend on
15357 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15358 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15359 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15360 $(objpfx)tst-array5-static-cmp.out.
15361 ($(objpfx)tst-array1.out): Remove rule.
15362 ($(objpfx)tst-array1-cmp.out): New rule.
15363 ($(objpfx)tst-array1-static.out): Remove rule.
15364 ($(objpfx)tst-array1-static-cmp.out): New rule.
15365 ($(objpfx)tst-array2.out): Remove rule.
15366 ($(objpfx)tst-array2-cmp.out): New rule.
15367 ($(objpfx)tst-array3.out): Remove rule.
15368 ($(objpfx)tst-array3-cmp.out): New rule.
15369 ($(objpfx)tst-array4.out): Remove rule.
15370 ($(objpfx)tst-array4-cmp.out): New rule.
15371 ($(objpfx)tst-array5.out): Remove rule.
15372 ($(objpfx)tst-array5-cmp.out): New rule.
15373 ($(objpfx)tst-array5-static.out): Remove rule.
15374 ($(objpfx)tst-array5-static-cmp.out): New rule.
15375 [$(run-built-tests) = yes] (tests): Depend on
15376 $(objpfx)order2-cmp.out.
15377 ($(objpfx)order2.out): Remove rule.
15378 ($(objpfx)order2-cmp.out): New rule.
15379 ($(objpfx)tst-initorder.out): Remove rule.
15380 [$(run-built-tests) = yes] (tests): Depend on
15381 $(objpfx)tst-initorder-cmp.out.
15382 ($(objpfx)tst-initorder-cmp.out): New rule.
15383 ($(objpfx)tst-initorder2.out): Remove rule.
15384 [$(run-built-tests) = yes] (tests): Depend on
15385 $(objpfx)tst-initorder2-cmp.out.
15386 ($(objpfx)tst-initorder2-cmp.out): New rule.
15387 [$(run-built-tests) = yes] (tests): Depend on
15388 $(objpfx)tst-unused-dep-cmp.out.
15389 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15390 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15391 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15392 on $(objpfx)tst-setvbuf1-cmp.out.
15393 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15394 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15395 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15396 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15397 ($(objpfx)tst-svc.out): Remove rule.
15398 ($(objpfx)tst-svc-cmp.out): New rule.
15400 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15402 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15403 * ctype/ctype.h [__USE_MISC]: Likewise.
15404 * dirent/dirent.h [__USE_MISC]: Likewise.
15405 * grp/grp.h [__USE_MISC]: Likewise.
15406 * io/fcntl.h [__USE_MISC]: Likewise.
15407 * io/sys/stat.h [__USE_MISC]: Likewise.
15408 * libio/stdio.h [__USE_MISC]: Likewise.
15409 * posix/unistd.h [__USE_MISC]: Likewise.
15410 * pwd/pwd.h [__USE_MISC]: Likewise.
15411 * stdlib.h [__USE_MISC]: Likewise.
15412 * string/bits/string2.h [__USE_MISC]: Likewise.
15413 * string/string.h [__USE_MISC]: Likewise.
15414 * time/time.h [__USE_MISC]: Likewise.
15416 2014-02-13 Andreas Schwab <schwab@suse.de>
15419 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15420 second answer buffer if it was separately allocated.
15422 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15424 * sysdeps/mips/math-tests.h: Include <features.h>.
15425 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15426 (ROUNDING_TESTS_long_double): Do not define.
15427 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15428 (EXCEPTION_TESTS_long_double): Likewise.
15429 * sysdeps/mips/mips64/libm-test-ulps: Update.
15431 * include/features.h (__USE_BSD): Remove macro definitions.
15432 (__USE_SVID): Likewise.
15433 (_BSD_SOURCE): Likewise.
15434 (_SVID_SOURCE): Likewise.
15435 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15436 from definition of _DEFAULT_SOURCE.
15437 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15439 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15440 * bits/mman.h [__USE_BSD]: Likewise.
15441 * bits/termios.h [__USE_BSD]: Likewise.
15442 * bits/waitstatus.h [__USE_BSD]: Likewise.
15443 * ctype/ctype.h [__USE_SVID]: Likewise.
15444 * dirent/dirent.h [__USE_BSD]: Likewise.
15445 * grp/grp.h [__USE_SVID]: Likewise.
15446 [__USE_BSD]: Likewise.
15447 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15448 * io/fcntl.h [__USE_BSD]: Likewise.
15449 * io/ftw.h [__USE_BSD]: Likewise.
15450 * io/sys/stat.h [__USE_BSD]: Likewise.
15451 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15452 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15453 * libio/stdio.h [__USE_SVID]: Likewise.
15454 [__USE_BSD]: Likewise.
15455 * math/math.h [__USE_SVID]: Likewise.
15456 [__USE_BSD]: Likewise.
15457 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15458 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15459 * misc/search.h [__USE_SVID]: Likewise.
15460 * misc/sys/mman.h [__USE_BSD]: Likewise.
15461 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15462 * misc/sys/uio.h [__USE_BSD]: Likewise.
15463 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15464 * posix/glob.h [__USE_BSD]: Likewise.
15465 * posix/regex.h [__USE_BSD]: Likewise.
15466 * posix/sys/types.h [__USE_BSD]: Likewise.
15467 [__USE_SVID]: Likewise.
15468 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15469 * posix/sys/wait.h [__USE_BSD]: Likewise.
15470 [__USE_SVID]: Likewise.
15471 * posix/unistd.h [__USE_BSD]: Likewise.
15472 [__USE_SVID]: Likewise.
15473 * pwd/pwd.h [__USE_SVID]: Likewise.
15474 * resolv/netdb.h [__USE_BSD]: Likewise.
15475 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15476 * signal/signal.h [__USE_BSD]: Likewise.
15477 [__USE_SVID]: Likewise.
15478 * socket/sys/socket.h [__USE_BSD]: Likewise.
15479 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15480 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15481 [__USE_SVID]: Likewise.
15482 * string/bits/string2.h [__USE_BSD]: Likewise.
15483 [__USE_SVID]: Likewise.
15484 * string/bits/string3.h [__USE_BSD]: Likewise.
15485 * string/endian.h [__USE_BSD]: Likewise.
15486 * string/string.h [__USE_SVID]: Likewise.
15487 [__USE_BSD]: Likewise.
15488 * string/strings.h [__USE_BSD]: Likewise.
15489 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15490 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15491 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15492 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15493 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15494 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15498 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15499 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15501 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15502 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15504 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15506 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15507 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15508 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15510 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15512 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15513 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15514 * termios/termios.h [__USE_BSD]: Likewise.
15515 * time/sys/time.h [__USE_BSD]: Likewise.
15516 * time/time.h [__USE_BSD]: Likewise.
15517 [__USE_SVID]: Likewise.
15519 * Makefile (subdir_targets): Remove subdir_lint.out.
15521 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15522 (do-tst-printf): Likewise.
15523 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15524 $(objpfx)tst-printf.out.
15526 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15528 * Makerules (check-abi-%): Change target to
15529 $(objpfx)check-abi-%.out.
15530 (check-abi target): Update dependencies.
15531 (check-abi-pattern variable): Redirect output of diff to $@.
15532 (check-abi variable): Likewise.
15533 * elf/Makefile (check-abi): Update dependencies.
15535 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15537 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15538 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15540 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15541 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15542 value has largest subnormal exponent.
15543 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15544 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15545 * sysdeps/aarch64/soft-fp/sfp-machine.h
15546 (_FP_TININESS_AFTER_ROUNDING): New macro.
15547 * sysdeps/alpha/soft-fp/sfp-machine.h
15548 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15549 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15551 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15552 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15553 * sysdeps/mips/soft-fp/sfp-machine.h
15554 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15555 * sysdeps/powerpc/soft-fp/sfp-machine.h
15556 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15557 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15559 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15560 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15561 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15562 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15563 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15566 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
15569 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15572 2014-02-12 Richard Henderson <rth@redhat.com>
15574 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15575 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15576 * sysdeps/unix/sysv/linux/alpha: Move directory from
15577 ports/sysdeps/unix/sysv/linux/alpha.
15578 * README: Update listing for alpha-*-linux-gnu.
15580 2014-02-11 Joseph Myers <joseph@codesourcery.com>
15582 * include/features.h: Update comment documenting feature test
15584 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15586 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15587 (_SVID_SOURCE): Likewise.
15588 (_DEFAULT_SOURCE): Update description of default features.
15589 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15591 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15592 (S_ISVTX): Likewise.
15593 * manual/math.texi (Mathematical Constants): Likewise.
15594 * manual/signal.texi (Interrupted Primitives): Likewise.
15595 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15596 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15597 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15598 Don't refer to _SVID_SOURCE in warning text.
15600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15602 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15604 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15605 * sysdeps/mips/dl-lookup.c: Remove.
15606 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15608 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15611 * math/auto-libm-test-in: Add testcase for expl.
15612 * math/auto-libm-test-out: Regenerate.
15613 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15614 calculation of unsafe.
15615 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15617 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15619 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15620 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15621 ports/sysdeps/unix/sysv/linux/aarch64.
15622 * README: Update listing for aarch64*-*-linux-gnu.
15624 2014-02-11 Will Newton <will.newton@linaro.org>
15626 * manual/probes.texi (Mathematical Function Probes): Use
15627 "triggered" instead of "hit".
15629 * manual/probes.texi (Internal Probes): Add documentation
15630 of setjmp, longjmp and longjmp_target probes.
15632 * include/stap-probe.h: Add comment about probe argument
15635 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15636 definition. (tr_where, tr_freehook, tr_mallochook,
15637 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15639 2014-02-11 David S. Miller <davem@davemloft.net>
15641 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15642 processing int_tests.
15644 2014-02-10 Joseph Myers <joseph@codesourcery.com>
15646 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15647 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15648 * sysdeps/unix/sysv/linux/mips: Move directory from
15649 ports/sysdeps/unix/sysv/linux/mips.
15650 * README: Update listing for mips-*-linux-gnu and
15651 mips64-*-linux-gnu.
15653 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15655 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15656 * sysdeps/unix/sysv/linux/m68k: Move directory from
15657 ports/sysdeps/unix/sysv/linux/m68k.
15658 * README: Update listing for m68k-*-linux-gnu.
15660 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15662 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15663 * sysdeps/unix/sysv/linux/generic: Move directory from
15664 ports/sysdeps/unix/sysv/linux/generic.
15665 * sysdeps/unix/sysv/linux/tile: Move directory from
15666 ports/sysdeps/unix/sysv/linux/tile.
15667 * README: Update listing for tile*-*-linux-gnu.
15669 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
15671 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15673 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15674 * catgets/open_catalog.c (__open_catalog): Likewise.
15675 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15676 * debug/confstr_chk.c: Likewise.
15677 * debug/fread_chk.c (__fread_chk): Likewise.
15678 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15679 * debug/getgroups_chk.c: Likewise.
15680 * debug/mbsnrtowcs_chk.c: Likewise.
15681 * debug/mbsrtowcs_chk.c: Likewise.
15682 * debug/mbstowcs_chk.c: Likewise.
15683 * debug/memcpy_chk.c: Likewise.
15684 * debug/memmove_chk.c: Likewise.
15685 * debug/mempcpy_chk.c: Likewise.
15686 * debug/memset_chk.c: Likewise.
15687 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15688 * debug/strcat_chk.c (__strcat_chk): Likewise.
15689 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15690 * debug/strncat_chk.c (__strncat_chk): Likewise.
15691 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15692 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15693 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15694 * debug/wcpncpy_chk.c: Likewise.
15695 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15696 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15697 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15698 * debug/wcsncpy_chk.c: Likewise.
15699 * debug/wcsnrtombs_chk.c: Likewise.
15700 * debug/wcsrtombs_chk.c: Likewise.
15701 * debug/wcstombs_chk.c: Likewise.
15702 * debug/wmemcpy_chk.c: Likewise.
15703 * debug/wmemmove_chk.c: Likewise.
15704 * debug/wmempcpy_chk.c: Likewise.
15705 * debug/wmemset_chk.c: Likewise.
15706 * dirent/scandirat.c (SCANDIRAT): Likewise.
15707 * dlfcn/dladdr1.c (dladdr1): Likewise.
15708 * dlfcn/dladdr.c (dladdr): Likewise.
15709 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15710 * dlfcn/dlerror.c (__dlerror): Likewise.
15711 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15712 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15713 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15714 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15715 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15716 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15717 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15718 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15720 * elf/dl-conflict.c: Likewise.
15721 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15722 * elf/dl-dst.h: Likewise.
15723 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15724 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15725 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15726 * elf/dl-init.c (call_init, _dl_init): Likewise.
15727 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15728 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15729 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15731 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15733 * elf/dl-minimal.c (__libc_memalign): Likewise.
15734 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15735 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15736 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15737 * elf/dl-sym.c (do_sym): Likewise.
15738 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15739 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15740 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15741 * elf/dl-writev.h (_dl_writev): Likewise.
15742 * elf/ldconfig.c (search_dir): Likewise.
15743 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15744 (dl_main): Likewise.
15745 * elf/setup-vdso.h (setup_vdso): Likewise.
15746 * grp/compat-initgroups.c (compat_call): Likewise.
15747 * grp/fgetgrent.c (fgetgrent): Likewise.
15748 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15749 * grp/putgrent.c (putgrent): Likewise.
15750 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15752 * hurd/hurdinit.c: Likewise.
15753 * iconvdata/8bit-gap.c (struct): Likewise.
15754 * iconvdata/ansi_x3.110.c : Likewise.
15755 * iconvdata/big5.c : Likewise.
15756 * iconvdata/big5hkscs.c : Likewise.
15757 * iconvdata/cp1255.c: Likewise.
15758 * iconvdata/cp1258.c : Likewise.
15759 * iconvdata/cp932.c : Likewise.
15760 * iconvdata/euc-cn.c: Likewise.
15761 * iconvdata/euc-jisx0213.c : Likewise.
15762 * iconvdata/euc-jp.c: Likewise.
15763 * iconvdata/euc-jp-ms.c : Likewise.
15764 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15765 * iconvdata/gb18030.c : Likewise.
15766 * iconvdata/gbbig5.c (const): Likewise.
15767 * iconvdata/gbgbk.c: Likewise.
15768 * iconvdata/gbk.c : Likewise.
15769 * iconvdata/ibm1364.c : Likewise.
15770 * iconvdata/ibm930.c : Likewise.
15771 * iconvdata/ibm932.c: Likewise.
15772 * iconvdata/ibm933.c : Likewise.
15773 * iconvdata/ibm935.c : Likewise.
15774 * iconvdata/ibm937.c : Likewise.
15775 * iconvdata/ibm939.c : Likewise.
15776 * iconvdata/ibm943.c: Likewise.
15777 * iconvdata/iso_11548-1.c: Likewise.
15778 * iconvdata/iso-2022-cn.c : Likewise.
15779 * iconvdata/iso-2022-cn-ext.c : Likewise.
15780 * iconvdata/iso-2022-jp-3.c: Likewise.
15781 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15782 * iconvdata/iso-2022-kr.c : Likewise.
15783 * iconvdata/iso646.c (gconv_end): Likewise.
15784 * iconvdata/iso_6937-2.c : Likewise.
15785 * iconvdata/iso_6937.c : Likewise.
15786 * iconvdata/iso8859-1.c: Likewise.
15787 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15788 * iconvdata/shift_jisx0213.c : Likewise.
15789 * iconvdata/sjis.c : Likewise.
15790 * iconvdata/t.61.c : Likewise.
15791 * iconvdata/tcvn5712-1.c : Likewise.
15792 * iconvdata/tscii.c: Likewise.
15793 * iconvdata/uhc.c : Likewise.
15794 * iconvdata/unicode.c (gconv_end): Likewise.
15795 * iconvdata/utf-16.c (gconv_end): Likewise.
15796 * iconvdata/utf-32.c (gconv_end): Likewise.
15797 * iconvdata/utf-7.c (base64): Likewise.
15798 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15799 * iconv/gconv_close.c (__gconv_close): Likewise.
15800 * iconv/gconv_open.c (__gconv_open): Likewise.
15801 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15802 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15803 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15804 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15805 (ucs4le_internal_loop_single): Likewise.
15806 * iconv/iconv.c (iconv): Likewise.
15807 * iconv/iconv_close.c: Likewise.
15808 * iconv/loop.c (SINGLE): Likewise.
15809 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15810 * include/atomic.h: Likewise.
15811 * inet/inet6_option.c (option_alloc): Likewise.
15812 * intl/bindtextdom.c (set_binding_values): Likewise.
15813 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15814 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15815 * intl/localealias.c (read_alias_file): Likewise.
15816 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15817 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15818 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15819 * libio/fmemopen.c (fmemopen): Likewise.
15820 * libio/iofgets.c (_IO_fgets): Likewise.
15821 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15822 * libio/iofgetws.c (fgetws): Likewise.
15823 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15824 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15825 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15826 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15827 * locale/findlocale.c (_nl_find_locale): Likewise.
15828 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15829 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15831 * locale/setlocale.c (setlocale): Likewise.
15832 * login/programs/pt_chown.c (main): Likewise.
15833 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15834 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15835 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15836 (mmap, mmap64, mremap, munmap): Likewise.
15837 * math/e_exp2l.c: Likewise.
15838 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15839 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15840 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15841 * math/s_catan.c (__catan): Likewise.
15842 * math/s_catanf.c (__catanf): Likewise.
15843 * math/s_catanh.c (__catanh): Likewise.
15844 * math/s_catanhf.c (__catanhf): Likewise.
15845 * math/s_catanhl.c (__catanhl): Likewise.
15846 * math/s_catanl.c (__catanl): Likewise.
15847 * math/s_ccosh.c (__ccosh): Likewise.
15848 * math/s_ccoshf.c (__ccoshf): Likewise.
15849 * math/s_ccoshl.c (__ccoshl): Likewise.
15850 * math/s_cexp.c (__cexp): Likewise.
15851 * math/s_cexpf.c (__cexpf): Likewise.
15852 * math/s_cexpl.c (__cexpl): Likewise.
15853 * math/s_clog10.c (__clog10): Likewise.
15854 * math/s_clog10f.c (__clog10f): Likewise.
15855 * math/s_clog10l.c (__clog10l): Likewise.
15856 * math/s_clog.c (__clog): Likewise.
15857 * math/s_clogf.c (__clogf): Likewise.
15858 * math/s_clogl.c (__clogl): Likewise.
15859 * math/s_csin.c (__csin): Likewise.
15860 * math/s_csinf.c (__csinf): Likewise.
15861 * math/s_csinh.c (__csinh): Likewise.
15862 * math/s_csinhf.c (__csinhf): Likewise.
15863 * math/s_csinhl.c (__csinhl): Likewise.
15864 * math/s_csinl.c (__csinl): Likewise.
15865 * math/s_csqrt.c (__csqrt): Likewise.
15866 * math/s_csqrtf.c (__csqrtf): Likewise.
15867 * math/s_csqrtl.c (__csqrtl): Likewise.
15868 * math/s_ctan.c (__ctan): Likewise.
15869 * math/s_ctanf.c (__ctanf): Likewise.
15870 * math/s_ctanh.c (__ctanh): Likewise.
15871 * math/s_ctanhf.c (__ctanhf): Likewise.
15872 * math/s_ctanhl.c (__ctanhl): Likewise.
15873 * math/s_ctanl.c (__ctanl): Likewise.
15874 * math/w_pow.c: Likewise.
15875 * math/w_powf.c: Likewise.
15876 * math/w_powl.c: Likewise.
15877 * math/w_scalb.c (sysv_scalb): Likewise.
15878 * math/w_scalbf.c (sysv_scalbf): Likewise.
15879 * math/w_scalbl.c (sysv_scalbl): Likewise.
15880 * misc/error.c (error_tail): Likewise.
15881 * misc/pselect.c (__pselect): Likewise.
15882 * nis/nis_callback.c (__nis_create_callback): Likewise.
15883 * nis/nis_call.c (__nisfind_server): Likewise.
15884 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15885 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15886 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15887 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15888 * nis/nis_lookup.c (nis_lookup): Likewise.
15889 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15890 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15891 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15892 * nis/nis_xdr.c (xdr_endpoint): Likewise.
15893 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15894 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15895 * nis/nss_compat/compat-initgroups.c (add_group)
15896 (internal_getgrent_r): Likewise.
15897 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15898 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15899 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15900 (internal_getspnam_r): Likewise.
15901 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15902 (_nss_nis_getaliasbyname_r): Likewise.
15903 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15904 (_nss_nis_getntohost_r): Likewise.
15905 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15906 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15907 (_nss_nis_getgrgid_r): Likewise.
15908 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15909 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15910 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15911 (_nss_nis_gethostbyname4_r): Likewise.
15912 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15913 (initgroups_netid): Likewise.
15914 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15915 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15916 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15917 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15918 (_nss_nis_getprotobynumber_r): Likewise.
15919 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15920 (_nss_nis_getsecretkey): Likewise.
15921 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15922 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15923 (_nss_nis_getpwuid_r): Likewise.
15924 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15925 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15926 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15927 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15928 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15929 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15930 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15932 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15933 (_nss_nisplus_getntohost_r): Likewise.
15934 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15935 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15936 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15937 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15939 * nis/nss_nisplus/nisplus-initgroups.c
15940 (_nss_nisplus_initgroups_dyn): Likewise.
15941 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15942 (_nss_nisplus_getnetbyaddr_r): Likewise.
15943 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15944 (_nss_nisplus_getprotobynumber_r): Likewise.
15945 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15946 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15947 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15949 * nis/nss_nisplus/nisplus-service.c
15950 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15951 (_nss_nisplus_getservbyport_r): Likewise.
15952 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15953 (_nss_nisplus_getspnam_r): Likewise.
15954 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15956 * nscd/aicache.c (addhstaiX): Likewise.
15957 * nscd/cache.c (cache_search, prune_cache): Likewise.
15958 * nscd/connections.c (register_traced_file, send_ro_fd)
15959 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15960 (main_loop_epoll): Likewise.
15961 * nscd/grpcache.c (addgrbyX): Likewise.
15962 * nscd/hstcache.c (addhstbyX): Likewise.
15963 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15964 * nscd/mem.c (gc, mempool_alloc): Likewise.
15965 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15966 (addinnetgrX): Likewise.
15967 * nscd/nscd-client.h (__nscd_acquire_maplock)
15968 (__nscd_drop_map_ref): Likewise.
15969 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15970 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15971 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15973 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15974 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15975 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15976 (__nscd_get_map_ref): Likewise.
15977 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15978 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15980 * nscd/pwdcache.c (addpwbyX): Likewise.
15981 * nscd/selinux.c (preserve_capabilities): Likewise.
15982 * nscd/servicescache.c (addservbyX): Likewise.
15983 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15984 * posix/fnmatch.c (fnmatch): Likewise.
15985 * posix/getopt.c (_getopt_internal_r): Likewise.
15986 * posix/glob.c (glob, glob_in_dir): Likewise.
15987 * posix/wordexp.c (exec_comm_child): Likewise.
15988 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15989 (getanswer_r, gaih_getanswer_slice): Likewise.
15990 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15991 * resolv/res_init.c: Likewise.
15992 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15993 * resolv/res_query.c (__libc_res_nquery): Likewise.
15994 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15996 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15997 * stdio-common/perror.c (perror): Likewise.
15998 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15999 * stdio-common/tmpnam.c (tmpnam): Likewise.
16000 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16001 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16002 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16004 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16005 * stdlib/putenv.c (putenv): Likewise.
16006 * stdlib/setenv.c (__add_to_environ): Likewise.
16007 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16008 * stdlib/strtol_l.c (INTERNAL): Likewise.
16009 * string/memmem.c (memmem): Likewise.
16010 * string/strerror.c (strerror): Likewise.
16011 * string/strnlen.c (__strnlen): Likewise.
16012 * string/test-memmem.c (simple_memmem): Likewise.
16013 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16014 * sunrpc/pm_getport.c (__get_socket): Likewise.
16015 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16016 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16017 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16018 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16020 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16021 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16022 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16023 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16024 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16025 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16027 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16029 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16030 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16031 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16032 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16033 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16035 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16036 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16037 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16038 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16039 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16040 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16042 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16044 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16046 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16047 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16048 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16049 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16050 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16051 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16052 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16054 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16055 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16056 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16057 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16058 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16059 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16061 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16063 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16065 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16067 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16069 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16071 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16073 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16074 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16075 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16076 * sysdeps/posix/sleep.c: Likewise.
16077 * sysdeps/posix/tempname.c: Likewise.
16078 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16079 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16081 * sysdeps/powerpc/powerpc32/dl-machine.h
16082 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16083 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16084 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16085 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16086 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16088 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16089 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16090 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16091 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16092 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16093 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16094 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16095 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16096 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16097 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16099 (elf_machine_lazy_rel): Likewise.
16100 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16101 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16102 (elf_machine_lazy_rel): Likewise.
16103 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16104 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16105 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16106 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16107 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16108 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16109 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16110 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16112 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16113 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16114 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16115 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16116 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16117 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16118 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16119 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16120 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16121 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16122 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16124 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16125 (__posix_fallocate64_l64): Likewise.
16126 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16127 (posix_fallocate): Likewise.
16128 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16131 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16132 (getifaddrs_internal): Likewise.
16133 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16134 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16135 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16136 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16137 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16138 (__posix_fallocate64_l64): Likewise.
16139 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16141 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16142 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16143 (__get_clockfreq): Likewise.
16144 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16145 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16146 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16149 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16150 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16151 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16153 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16154 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16155 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16156 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16157 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16158 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16159 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16161 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16162 (posix_fallocate): Likewise.
16163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16164 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16165 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16166 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16167 (elf_machine_rela, elf_machine_rela_relative)
16168 (elf_machine_lazy_rel): Likewise.
16169 * time/asctime.c (asctime_internal): Likewise.
16170 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16171 * time/tzset.c (__tzset_parse_tz): Likewise.
16172 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16173 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16174 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16175 * wcsmbs/wcsmbsload.h: Likewise.
16178 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16180 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16181 (arena_get2): Remove THREAD_STATS conditionals.
16182 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16183 (__malloc_stats, int): Likewise.
16185 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16187 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16188 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16190 * manual/setjmp.texi: Fix typos/grammar errors.
16192 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16193 Only return early when n is <= 0. Delete unused return statement.
16195 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16196 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16197 * debug/tst-longjmp_chk3.c: New file.
16199 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16200 (test_main): Replace code with set_fortify_handler call.
16201 * debug/test-strcpy_chk.c: Likewise.
16202 * debug/tst-chk1.c: Likewise.
16203 * debug/tst-longjmp_chk.c: Likewise.
16204 * test-skeleton.c: Include fcntl.h & paths.h
16205 (set_fortify_handler): Define.
16207 * debug/tst-longjmp_chk.c: Add header comment and include
16208 ../test-skeleton.c.
16209 (do_test): Mark static.
16210 (TEST_FUNCTION): Define.
16212 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16213 (IP_PMTUDISC_INTERFACE): Likewise.
16214 (IP_MULTICAST_IF): Likewise.
16215 (IP_MULTICAST_TTL): Likewise.
16216 (IP_MULTICAST_LOOP): Likewise.
16217 (IP_ADD_MEMBERSHIP): Likewise.
16218 (IP_DROP_MEMBERSHIP): Likewise.
16219 (IP_UNBLOCK_SOURCE): Likewise.
16220 (IP_BLOCK_SOURCE): Likewise.
16221 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16222 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16223 (IP_MSFILTER): Likewise.
16224 (MCAST_JOIN_GROUP): Likewise.
16225 (MCAST_BLOCK_SOURCE): Likewise.
16226 (MCAST_UNBLOCK_SOURCE): Likewise.
16227 (MCAST_LEAVE_GROUP): Likewise.
16228 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16229 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16230 (MCAST_MSFILTER): Likewise.
16231 (IP_MULTICAST_ALL): Likewise.
16232 (IP_UNICAST_IF): Likewise.
16234 * timezone/Makefile: Delete $(have-ksh) check.
16235 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16236 * timezone/tzselect.ksh: Add +x mode bits.
16238 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16239 (ANON_INODE_FS_MAGIC): Likewise.
16240 (BDEVFS_MAGIC): Likewise.
16241 (BINFMTFS_MAGIC): Likewise.
16242 (BTRFS_TEST_MAGIC): Likewise.
16243 (CRAMFS_MAGIC_WEND): Likewise.
16244 (DEBUGFS_MAGIC): Likewise.
16245 (ECRYPTFS_SUPER_MAGIC): Likewise.
16246 (EXT3_SUPER_MAGIC): Likewise.
16247 (EXT4_SUPER_MAGIC): Likewise.
16248 (FUTEXFS_SUPER_MAGIC): Likewise.
16249 (HOSTFS_SUPER_MAGIC): Likewise.
16250 (HUGETLBFS_MAGIC): Likewise.
16251 (MINIX3_SUPER_MAGIC): Likewise.
16252 (MTD_INODE_FS_MAGIC): Likewise.
16253 (NILFS_SUPER_MAGIC): Likewise.
16254 (OPENPROM_SUPER_MAGIC): Likewise.
16255 (PIPEFS_MAGIC): Likewise.
16256 (PSTOREFS_MAGIC): Likewise.
16257 (QNX6_SUPER_MAGIC): Likewise.
16258 (RAMFS_MAGIC): Likewise.
16259 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16260 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16261 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16262 (SECURITYFS_MAGIC): Likewise.
16263 (SELINUX_MAGIC): Likewise.
16264 (SMACK_MAGIC): Likewise.
16265 (SOCKFS_MAGIC): Likewise.
16266 (SQUASHFS_MAGIC): Likewise.
16267 (STACK_END_MAGIC): Likewise.
16268 (TMPFS_MAGIC): Likewise.
16269 (USBDEVICE_SUPER_MAGIC): Likewise.
16270 (V9FS_MAGIC): Likewise.
16271 (XENFS_SUPER_MAGIC): Likewise.
16272 (CRAMFS_MAGIC): Fix typo in comment.
16273 (EXT2_SUPER_MAGIC): Update comment.
16274 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16276 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16278 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16279 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16280 * sysdeps/unix/sysv/linux/arm: Move directory from
16281 ports/sysdeps/unix/sysv/linux/arm.
16282 * README: Update listing for arm-*-linux-gnueabi.
16284 * README: Remove mention of am33.
16286 2014-02-07 Roland McGrath <roland@hack.frob.com>
16288 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16289 than the comma operator, to avoid "rhs of comma has no effect"
16291 (__sigfillset, __sigandset, __sigorset): Likewise.
16292 * include/signal.h (__sigemptyset): Likewise.
16293 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16295 2014-02-07 Allan McRae <allan@archlinux.org>
16297 * version.h (RELEASE): Set to "development".
16298 (VERSION): Set to "2.19.90"
16299 * NEWS: Add 2.20 section.
16301 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16304 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16306 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16308 * manual/contrib.texi: Update entry for Carlos O'Donell,
16309 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16311 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16313 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16315 * sysdeps/unix/sysv/linux/kernel-features.h
16316 [__LINUX_KERNEL_VERSION >= 0x020621]
16317 (__ASSUME_PROC_PID_TASK_COMM): Define.
16319 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16322 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16323 conversion when destination buffer does not have enough space.
16324 * libio/tst-ftell-partial-wide.c: New test case.
16325 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16327 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16328 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16329 Leonard and Allan McRae.
16331 2014-02-04 David S. Miller <davem@davemloft.net>
16333 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16336 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16365 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16367 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16368 * shlib-versions: Likewise.
16370 2014-02-04 Roland McGrath <roland@hack.frob.com>
16371 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16373 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16374 (abilist-pattern): New variable, set to %-le.abilist.
16376 * Makerules (abilist-pattern): New variable.
16377 (vpath): Use $(abilist-pattern) in place of %.abilist.
16378 (check-abi-% pattern rule): Likewise.
16379 (check-abi, update-abi): Likewise.
16381 2014-02-04 Eric Wong <normalperson@yhbt.net>
16383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16385 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16387 * manual/startup.texi: Add next, previous, and top entries for
16388 the `Program Arguments' and `Environment Variables' nodes.
16390 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16392 * manual/macros.texi: Add comments before MTASC-safety macros.
16394 * manual/users.texi: Document MTASC-safety properties.
16396 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16397 (pthread_getspecific, pthread_setspecific): Format with
16398 @deftypefun, and add @safety note.
16399 * manual/signal.texi: Move comments that analyze the above
16400 functions to their home place.
16402 2014-02-03 Allan McRae <allan@archlinux.org>
16404 * po/sl.po: Update Slovenian translation from translation project.
16406 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16408 * manual/time.texi (timegm): Add missing blank after @c.
16409 Reported by Joseph Myers <joseph@codesourcery.com>.
16411 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16413 * manual/check-safety.sh: New.
16414 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16416 * manual/terminal.texi: Document MTASC-safety properties.
16418 * manual/filesys.texi: Document MTASC-safety properties.
16420 * manual/errno.texi: Document MTASC-safety properties.
16422 * manual/intro.texi: Document safety identifiers and
16425 * manual/string.texi (wcstok): Fix prototype.
16426 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16428 * manual/time.texi: Document MTASC-safety properties.
16430 * manual/string.texi: Document MTASC-safety properties.
16432 * manual/threads.texi: Document MTASC-safety properties.
16434 * manual/stdio.texi: Document MTASC-safety properties.
16436 * manual/syslog.texi: Document MTASC-safety properties.
16438 * manual/sysinfo.texi: Document MTASC-safety properties.
16440 * manual/startup.texi: Document MTASC-safety properties.
16442 * manual/socket.texi: Document MTASC-safety properties.
16444 * manual/signal.texi: Document MTASC-safety properties.
16446 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16448 * manual/setjmp.texi: Document MTASC-safety properties.
16450 * manual/search.texi: Document MTASC-safety properties.
16452 * manual/resource.texi: Document MTASC-safety properties.
16454 * manual/process.texi: Document MTASC-safety properties.
16456 * manual/platform.texi: Document MTASC-safety properties.
16458 * manual/pipe.texi: Document MTASC-safety properties.
16460 * manual/pattern.texi: Document MTASC-safety properties.
16462 * manual/message.texi: Document MTASC-safety properties.
16465 * manual/memory.texi: Document MTASC-safety properties.
16467 * manual/math.texi: Document MTASC-safety properties.
16469 * manual/locale.texi: Document MTASC-safety properties.
16471 * manual/llio.texi: Document MTASC-safety properties.
16473 * manual/libdl.texi: New.
16475 * manual/lang.texi: Document MTASC-safety properties.
16477 * manual/job.texi: Document MTASC-safety properties.
16479 * manual/getopt.texi: Document MTASC-safety properties.
16481 * manual/ctype.texi: Document MTASC-safety properties.
16483 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16486 * csu/libc-tls.c (static_map): Remove variable.
16487 (__libc_setup_tls): Use main executable's link map for TLS data.
16488 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16489 casing for LM_ID_BASE and GL(dl_nns).
16490 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16491 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16492 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16493 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16494 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16496 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16499 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
16501 * manual/debug.texi: Document MTASC-safety properties.
16503 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16506 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16507 of __x86_64__ when disabling x87 inline functions.
16509 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
16511 * manual/charset.texi: Document MTASC-safety properties.
16513 * manual/crypt.texi: Document MTASC-safety properties.
16515 * manual/conf.texi: Document MTASC-safety properties.
16517 * manual/arith.texi: Document MTASC-safety properties.
16519 * manual/argp.texi: Document MTASC-safety properties.
16521 * manual/macros.texi: Introduce macros to document multi
16522 thread, asynchronous signal and asynchronous cancellation
16524 * manual/intro.texi: Introduce the properties themselves.
16526 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16528 * sysdeps/sh/sh4/Makefile: New file.
16530 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16532 * math/gen-libm-test.pl ($srcdir): New variable.
16533 ($auto_input): Use it.
16535 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16538 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16539 access beyond array bounds when parsing netgroups file.
16541 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16542 the old buffer before realloc.
16544 2014-01-27 Allan McRae <allan@archlinux.org>
16546 * po/fr.po: Update French translation from translation project.
16548 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16550 * sysdeps/sh/libm-test-ulps: Regenerate.
16552 2014-01-24 David S. Miller <davem@davemloft.net>
16554 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16556 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16558 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16559 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16561 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16564 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16565 string pointers after reallocation.
16567 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16569 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16570 __SH4A__ instead of __SH_FPU_ANY__.
16572 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16574 * sysdeps/sh/fpu_control.h: New file.
16575 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16576 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16577 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16578 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16579 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16580 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16581 * sysdeps/sh/sys/ucontext.h: Remove.
16582 * sysdeps/sh/sys: Remove directory.
16584 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16586 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16587 s390/sys/ucontext.h.
16588 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16589 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16591 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16594 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16596 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16599 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16600 Adjust the vDSO correctly for internal calls.
16601 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16603 2014-01-20 Allan McRae <allan@archlinux.org>
16605 * po/ca.po: Update Catalan translation from translation project.
16607 2014-01-16 Mike Frysinger <vapier@gentoo.org>
16609 * sysdeps/s390/sotruss-lib.c: New file.
16611 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16614 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16615 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16616 local calls issues by not having a PLT stub required for IFUNC calls.
16617 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16619 2014-01-16 Joseph Myers <joseph@codesourcery.com>
16621 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16622 * math/test-fpucw-static.c: Likewise.
16624 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16627 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16629 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16631 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16632 implementation for powerpc.
16634 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
16637 * sysdeps/posix/system.c (__libc_system): Do not enable
16638 asynchronous cancellation.
16640 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16643 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16644 handling only for numbers special also in the IEEE case.
16646 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16648 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16650 2014-01-11 Allan McRae <allan@archlinux.org>
16652 * po/bg.po: Update Bulgarian translation from translation project.
16654 * po/de.po: Update German translation from translation project.
16656 2014-01-10 Roland McGrath <roland@hack.frob.com>
16658 * sysdeps/generic/gcc-compat.h: New file.
16660 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16662 * benchtests/asin-inputs: Correct slow inputs.
16663 * benchtests/acos-inputs: Likewise.
16665 2014-01-10 Allan McRae <allan@archlinux.org>
16667 * po:sv.po: Update Swedish translation from translation project.
16669 * po/vi.po: Update Vietnamese translation from translation project.
16671 * po/eo.po: Update Esperanto translation from translation project.
16673 * po/cs.po: Update Czech translation from translation project.
16675 * po/nl.po: Update Dutch translation from translation project.
16677 * po/pl.po: Update Polish translation from translation project.
16679 * po/ru.po: Update Russian translation from translation project.
16681 * po/uk.po: Update Ukrainian translation from translation project.
16683 2014-01-08 Brooks Moses <bmoses@google.com>
16685 * elf/dl-load.c: Fix comment typo.
16687 2014-01-08 Carlos O'Donell <carlos@redhat.com>
16689 * po/header.pot: Rename to...
16690 * po/pot.header: ... this.
16691 * po/Makefile: Use pot.header.
16693 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16694 Maxim Kuvyrkov <maxim@kugelworks.com>
16697 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16698 SRC and DEST against LEN.
16700 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16703 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16705 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16707 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16711 2014-01-08 Joseph Myers <joseph@codesourcery.com>
16714 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16715 for large positive arguments.
16717 2014-01-07 Joseph Myers <joseph@codesourcery.com>
16719 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16721 * math/auto-libm-test-in: Mark various tests with
16722 xfail-rounding:ldbl-128ibm.
16723 * math/auto-libm-test-out: Regenerated.
16726 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16727 Increase overflow threshold.
16729 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
16732 * stdio-common/vfprintf.c: Check for integer overflow.
16734 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16736 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16737 the first argument and return value of __tls_get_addr_internal.
16739 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16741 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16742 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16744 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16746 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16747 * sysdeps/s390/rtld-global-offsets.sym: New file.
16748 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16750 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16751 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16752 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16754 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16755 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16761 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16762 halfs of GPRs for high_gprs contexts.
16763 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16764 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16766 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16768 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16770 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16771 for high GPRs (uc_high_gprs) and for future extensions
16773 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16774 for future extensions (__reserved).
16775 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16777 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16778 SC_HIGHGPRS offset definition.
16779 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16780 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16782 * Versions.def: Add GLIBC_2.19 for libpthread.
16783 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16784 siglongjmp for libpthread with GLIBC_2.19 symver.
16785 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16786 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16787 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16788 * sysdeps/s390/__longjmp.c: New file.
16789 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16790 * sysdeps/s390/longjmp.c: New file.
16791 * sysdeps/s390/setjmp.S: New file.
16792 * sysdeps/s390/sigjmp.S: New file.
16793 * sysdeps/s390/v1-longjmp.c: New file.
16794 * sysdeps/s390/v1-setjmp.h: New file.
16795 * sysdeps/s390/v1-sigjmp.c: New file.
16796 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16797 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16798 GLIBC_2.19 version.
16799 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16800 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16801 versioned symbols for ____longjmp_chk.
16802 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16812 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16813 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16814 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16815 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16816 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16817 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16818 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16819 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16820 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16821 * sysdeps/s390/rtld-__longjmp.c: New file.
16822 * sysdeps/s390/rtld-setjmp.S: New file.
16824 2014-01-06 Joseph Myers <joseph@codesourcery.com>
16827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16828 Return -__logl (x) for small positive arguments without evaluating
16831 2014-01-06 Mike Frysinger <vapier@gentoo.org>
16833 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16835 (__ptrace_peeksiginfo_args): ... this.
16836 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16837 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16840 2014-01-06 Allan McRae <allan@archlinux.org>
16842 * inet/netinet/in.h: Fix typo in comment.
16844 2014-01-05 Andreas Jaeger <aj@suse.de>
16846 * sysdeps/i386/fpu/libm-test-ulps: Update.
16848 2014-01-05 Allan McRae <allan@archlinux.org>
16850 * po/libc.pot: Regenerated.
16852 * malloc/memusagestat.c: Fix gettext call formatting.
16854 2014-01-04 Sami Kerola <kerolasa@iki.fi>
16856 * nscd/nscd.c: Improve usage() output.
16858 2014-01-04 Mike Frysinger <vapier@gentoo.org>
16860 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16861 * sysdeps/unix/sysv/linux/configure: Regenerated.
16862 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16863 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16865 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16868 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16869 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16871 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16873 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16874 extra tokens at end of #undef directive.
16875 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16876 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16877 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16879 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16881 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16883 * math/auto-libm-test-in: Mark various tests with
16884 xfail-rounding:ldbl-128ibm.
16885 * math/auto-libm-test-out: Regenerated.
16887 2014-01-02 Joseph Myers <joseph@codesourcery.com>
16890 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16891 numbers with subnormal high part when calculating exponent.
16894 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16898 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16900 (__ieee754_acoshl): Use __log1pl not __log1p.
16902 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
16904 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16905 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16906 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16907 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16908 (reused_arena, arena_get2): Convert to GNU style.
16909 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16910 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16911 (memalign_check, __malloc_set_state): Likewise.
16912 * malloc/mallocbug.c (main): Likewise.
16913 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16914 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16915 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16916 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16917 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16918 (__posix_memalign, malloc_info): Likewise.
16919 * malloc/malloc.h: Likewise.
16920 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16921 (mallochook, memalignhook, reallochook, mabort): Likewise.
16922 * malloc/mcheck.h: Likewise.
16923 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16924 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16925 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16926 * malloc/morecore.c (__default_morecore): Likewise.
16927 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16928 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16929 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16930 (print_and_abort): Likewise.
16931 * malloc/obstack.h: Likewise.
16932 * malloc/set-freeres.c (__libc_freeres): Likewise.
16933 * malloc/tst-mallocstate.c (main): Likewise.
16934 * malloc/tst-mtrace.c (main): Likewise.
16935 * malloc/tst-realloc.c (do_test): Likewise.
16937 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16940 * nscd/netgroupcache.c (do_notfound): New function.
16941 (addgetnetgrentX): Use it.
16944 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16945 NSS_STATUS_NOTFOUND.
16947 2014-01-01 Joseph Myers <joseph@codesourcery.com>
16949 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16952 2014-01-01 Allan McRae <allan@archlinux.org>
16954 * scripts/update-copyrights: Update configure input file suffix.
16956 * NEWS: Update copyright year.
16957 * catgets/gencat.c: Likewise.
16958 * csu/version.c: Likewise.
16959 * debug/catchsegv.sh: Likewise.
16960 * debug/pcprofiledump.c: Likewise.
16961 * debug/xtrace.sh: Likewise.
16962 * elf/ldconfig.c: Likewise.
16963 * elf/ldd.bash.in: Likewise.
16964 * elf/pldd.c: Likewise.
16965 * elf/sotruss.ksh: Likewise.
16966 * elf/sprof.c: Likewise.
16967 * iconv/iconv_prog.c: Likewise.
16968 * iconv/iconvconfig.c: Likewise.
16969 * locale/programs/locale.c: Likewise.
16970 * locale/programs/localedef.c: Likewise.
16971 * login/programs/pt_chown.c: Likewise.
16972 * malloc/memusage.sh: Likewise.
16973 * malloc/memusagestat.c: Likewise.
16974 * malloc/mtrace.pl: Likewise.
16975 * manual/libc.texinfo: Likewise.
16976 * nscd/nscd.c: Likewise.
16977 * nss/getent.c: Likewise.
16978 * nss/makedb.c: Likewise.
16979 * posix/getconf.c: Likewise.
16980 * scripts/test-installation.pl: Likewise.
16982 * All files with FSF copyright notices: Update copyright dates
16983 using scripts/update-copyrights.
16984 * intl/plural.c: Regenerated.
16985 * locale/programs/charmap-kw.h: Likewise.
16986 * locale/programs/locfile-kw.h: Likewise.
16988 2013-12-31 Mike Frysinger <vapier@gentoo.org>
16990 * sysdeps/unix/sysv/linux/configure: Regenerated.
16991 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16992 the linux/fanotify.h header.
16993 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16994 HAVE_LINUX_FANOTIFY_H is defined.
16996 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16998 * benchtests/cos-inputs: New inputs.
16999 * benchtests/sin-inputs: Likewise.
17001 * benchtests/atan-inputs: New inputs. Fix name of multiple
17002 precision fallback inputs.
17004 * benchtests/atanh-inputs: New inputs.
17005 * benchtests/tanh-inputs: Likewise.
17007 * benchtests/acosh-inputs: New inputs.
17008 * benchtests/asinh-inputs: Likewise.
17010 * benchtests/cosh-inputs: New inputs.
17011 * benchtests/sinh-inputs: Likewise.
17013 * benchtests/acos-inputs: Add more inputs.
17014 * benchtests/asin-inputs: Likewise.
17016 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17019 * manual/arith.texi: Fix spelling.
17020 * manual/charset.texi: Likewise.
17021 * manual/errno.texi: Likewise.
17022 * manual/filesys.texi: Likewise.
17023 * manual/lang.texi: Likewise.
17024 * manual/llio.texi: Likewise.
17025 * manual/locale.texi: Likewise.
17026 * manual/message.texi: Likewise.
17027 * manual/resource.texi: Likewise.
17028 * manual/search.texi: Likewise.
17029 * manual/setjmp.texi: Likewise.
17030 * manual/stdio.texi: Likewise.
17031 * manual/string.texi: Likewise.
17032 * manual/sysinfo.texi: Likewise.
17033 * manual/time.texi: Likewise.
17035 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17037 * po/sl.po: New file.
17039 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17041 * .gitignore: Add core/.gdbinit/.gdb_history.
17043 2013-12-27 Allan McRae <allan@archlinux.org>
17046 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17047 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17049 2013-12-24 Brooks Moses <bmoses@google.com>
17051 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17052 all compilers that claim C++98 compliance, not just GCC.
17053 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17056 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17058 * NEWS: Restore accidentally deleted bug-fix entries.
17060 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17061 Ondřej Bílka <neleai@seznam.cz>
17064 * malloc/malloc.c (_int_free): Perform sanity check only if we
17067 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17070 * manual/stdio.texi (String Input Conversions): Clarify that character
17071 classes are not supported.
17073 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17077 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17080 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17081 Calculate results for small negative arguments directly rather
17082 than using reflection formula with special underflow handling.
17084 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17085 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17086 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17087 (fchflags): Likewise.
17088 (revoke): Likewise.
17089 (setlogin): Likewise.
17090 (sigaltstack): Likewise.
17092 (sigblock): Remove.
17093 (sigsetmask): Likewise.
17095 (waitpid): Likewise.
17096 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17097 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17099 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17100 * sysdeps/unix/bsd/Makefile: ... here.
17101 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17102 * sysdeps/unix/bsd/Versions: ... here.
17103 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17104 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17105 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17106 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17107 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17108 * sysdeps/unix/bsd/sigblock.c: ... here.
17109 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17110 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17111 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17112 * sysdeps/unix/bsd/sigvec.c: ... here.
17113 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17114 * sysdeps/unix/bsd/tcdrain.c: ... here.
17115 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17116 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17117 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17118 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17119 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17120 * sysdeps/unix/bsd/wait.c: ... here.
17121 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17122 * sysdeps/unix/bsd/wait3.c: ... here.
17123 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17124 * sysdeps/unix/bsd/waitpid.c: ... here.
17126 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17129 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17130 round-to-nearest for [!USE_AS_EXPM1L].
17131 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17132 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17133 more tests of exp and exp10. Expect some exp10 tests to miss
17134 exceptions or fail in directed rounding modes.
17135 * math/auto-libm-test-out: Regenerated.
17136 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17137 (exp10_test_tonearest): New function.
17138 (exp10_towardzero_test_data): New array.
17139 (exp10_test_towardzero): New function.
17140 (exp10_downward_test_data): New array.
17141 (exp10_test_downward): New function.
17142 (exp10_upward_test_data): New array.
17143 (exp10_test_upward): New function.
17144 (main): Call the new functions.
17145 * sysdeps/i386/fpu/libm-test-ulps: Update.
17146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17148 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17150 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17151 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17152 * math/auto-libm-test-out: Regenerated.
17153 * math/libm-test.inc (acosh_test_data): Add more tests.
17154 (atanh_test_data): Likewise.
17155 (ceil_test_data): Likewise.
17156 (copysign_test_data): Likewise.
17157 * sysdeps/i386/fpu/libm-test-ulps: Update.
17158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17160 * timezone/checktab.awk: Update from tzcode 2013i.
17161 * timezone/private.h: Likewise.
17162 * timezone/scheck.c: Likewise.
17163 * timezone/tzfile.h: Likewise.
17164 * timezone/tzselect.ksh: Likewise.
17165 * timezone/zdump.c: Likewise.
17166 * timezone/zic.c: Likewise.
17168 * math/auto-libm-test-in: Add tests of cpow.
17169 * math/auto-libm-test-out: Regenerated.
17170 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17171 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17173 (func_calc_desc): Add mpc_cc_c union field.
17174 (test_functions): Add cpow.
17175 (special_fill_2pi): New function.
17176 (special_real_inputs): Add 2pi.
17177 (calc_generic_results): Handle mpc_cc_c.
17178 * sysdeps/i386/fpu/libm-test-ulps: Update.
17179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17181 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17182 csqrt, ctan and ctanh.
17183 * math/auto-libm-test-out: Regenerated.
17184 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17185 (TEST_COND_x86): Likewise.
17186 (ccos_test_data): Use AUTO_TESTS_c_c.
17187 (ccosh_test_data): Likewise.
17188 (cexp_test_data): Likewise.
17189 (clog_test_data): Likewise.
17190 (csqrt_test_data): Likewise.
17191 (ctan_test_data): Likewise.
17192 (ctan_tonearest_test_data): Likewise.
17193 (ctan_towardzero_test_data): Likewise.
17194 (ctan_downward_test_data): Likewise.
17195 (ctan_upward_test_data): Likewise.
17196 (ctanh_test_data): Likewise.
17197 (ctanh_tonearest_test_data): Likewise.
17198 (ctanh_towardzero_test_data): Likewise.
17199 (ctanh_downward_test_data): Likewise.
17200 (ctanh_upward_test_data): Likewise.
17201 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17203 (func_calc_desc): Add mpc_c_c union field.
17204 (FUNC_mpc_c_c): New macro.
17205 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17206 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17208 (special_fill_min_subnorm_p120): New function.
17209 (special_real_inputs): Add min_subnorm_p120.
17210 (calc_generic_results): Handle mpc_c_c.
17211 * sysdeps/i386/fpu/libm-test-ulps: Update.
17212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17214 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17216 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17217 (do_sin_slow): New functions.
17218 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17219 (cslow2, csloww1, csloww2): Use the new functions.
17221 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17222 Use M to change sign of result instead of X. Assume X is
17224 (csloww1): Likewise.
17228 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17229 arguments A and DA.
17233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17235 (sloww1): Don't adjust sign of DX.
17236 (csloww1): Likewise.
17237 (sloww2): Use X directly and don't adjust sign of DX.
17238 (csloww2): Likewise.
17240 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17242 * math/auto-libm-test-in: Add tests of cabs and carg.
17243 * math/auto-libm-test-out: Regenerated.
17244 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17245 (carg_test_data): Likewise.
17246 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17248 (func_calc_desc): Add mpc_c_f union field.
17249 (test_functions): Add cabs and carg.
17250 (calc_generic_results): Handle mpc_c_f.
17252 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17253 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17254 as a macro and a compat symbol.
17255 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17256 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17257 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17258 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17259 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17260 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17262 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17264 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17266 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17268 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17270 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17272 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17273 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17276 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17280 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17282 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17283 trailing whitespace removed.
17284 * scripts/config.guess: Update to version 2013-11-29.
17285 * scripts/config.sub: Update to version 2013-10-01.
17287 * math/auto-libm-test-in: Add tests of sincos.
17288 * math/auto-libm-test-out: Regenerated.
17289 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17290 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17292 (func_calc_desc): Add mpfr_f_11 union field.
17293 (test_functions): Add sincos.
17294 (calc_generic_results): Handle mpfr_f_11.
17295 * sysdeps/i386/fpu/libm-test-ulps: Update.
17296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17298 2013-12-19 Andreas Schwab <schwab@suse.de>
17300 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17302 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17303 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17304 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17306 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17308 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17309 * sysdeps/i386/fpu/libm-test-ulps: Update.
17310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17313 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17314 round-to-nearest mode when using frndint.
17315 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17316 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17317 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17319 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17321 * math/auto-libm-test-out: Regenerated.
17322 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17323 (TEST_COND_x86): Likewise.
17324 (expm1_tonearest_test_data): New array.
17325 (expm1_test_tonearest): New function.
17326 (expm1_towardzero_test_data): New array.
17327 (expm1_test_towardzero): New function.
17328 (expm1_downward_test_data): New array.
17329 (expm1_test_downward): New function.
17330 (expm1_upward_test_data): New array.
17331 (expm1_test_upward): New function.
17332 (main): Run the new test functions.
17333 * sysdeps/i386/fpu/libm-test-ulps: Update.
17334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17336 * include/features.h: Update comment documenting feature test
17337 macros. Mention _DEFAULT_SOURCE in comment.
17338 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17339 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17340 _BSD_SOURCE and _SVID_SOURCE.
17341 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17342 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17343 !_SVID_SOURCE]: Likewise.
17344 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17345 (__USE_POSIX_IMPLICITLY): Define.
17346 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17347 (_POSIX_SOURCE): Undefine and redefine.
17348 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17349 (_POSIX_C_SOURCE): Likewise.
17350 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17351 (Feature Test Macros): Update documentation of default features.
17353 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17355 * benchtests/Makefile: Add bench-strtok.
17356 * benchtests/bench-strtok.c: New file: strtok benchtest.
17358 2013-12-19 Allan McRae <allan@archlinux.org>
17360 * manual/install.texi: Suppress menu for plain text output.
17361 * INSTALL: Regenerated.
17363 2013-12-18 Brooks Moses <bmoses@google.com>
17366 * misc/getauxval.c: Include errno.h.
17367 (__getauxval): Set errno to ENOENT if the requested type is not
17369 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17370 don't declare with __attribute_const__.
17371 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17372 * manual/startup.texi: Document that getauxval sets errno.
17374 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17376 * math/auto-libm-test-in: Add tests of jn and yn.
17377 * math/auto-libm-test-out: Regenerated.
17378 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17379 (yn_test_data): Likewise.
17380 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17382 (func_calc_desc): Add mpfr_if_f union field.
17383 (FUNC_mpfr_if_f): New macro.
17384 (test_functions): Add jn and yn.
17385 (calc_generic_results): Assert type of second input for
17386 mpfr_ff_f. Handle mpfr_if_f.
17387 (output_for_one_input_case): Disable all checking for arguments
17388 fitting floating-point types in case of an integer argument.
17389 * sysdeps/i386/fpu/libm-test-ulps: Update.
17390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17393 Don't expect fegetround reference in libm.so.
17395 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17397 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17398 $(config-cflags-nofma).
17400 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17402 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17403 * math/auto-libm-test-out: Regenerated.
17406 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17407 to determine exponent and adjust argument to have exponent of -1.
17408 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17410 * math/auto-libm-test-out: Regenerated.
17411 * sysdeps/i386/fpu/libm-test-ulps: Update.
17412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17414 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17416 * manual/probes.texi: Remove cases when per-thread arenas are
17419 2013-12-18 Andreas Schwab <schwab@suse.de>
17421 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17422 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17423 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17424 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17425 * sysdeps/i386/i686/multiarch/Makefile: Update.
17426 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17428 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17430 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17431 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17433 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17436 Support TZ transition times < 00:00:00.
17437 This is needed for version-3 tz-format files; it supports time
17438 stamps past 2037 for America/Godthab (the only entry in the tz
17439 database for which this change is relevant).
17440 * manual/time.texi (TZ Variable): Document transition times
17441 from -167:59:59 through -00:00:01.
17442 * time/tzset.c (tz_rule): Time of day is now signed.
17443 (__tzset_parse_tz): Parse negative time of day.
17445 Document TZ transition times >= 25:00:00.
17446 * manual/time.texi (TZ Variable): Document transition times from
17447 25:00:00 through 167:59:59. These are already supported, and this
17448 support will help with version-3 tz-format files.
17450 * manual/time.texi (TZ Variable): Modernize North America example
17451 to reflect current (i.e., 2007-and-later) daylight saving rules.
17453 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17455 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17457 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17458 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17461 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17462 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17463 * sysdeps/unix/bsd/clock.c: Likewise.
17464 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17465 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17466 * sysdeps/unix/bsd/init-posix.c: Likewise.
17467 * sysdeps/unix/bsd/poll.c: Likewise.
17468 * sysdeps/unix/bsd/ptsname.c: Likewise.
17469 * sysdeps/unix/bsd/seekdir.c: Likewise.
17470 * sysdeps/unix/bsd/setegid.c: Likewise.
17471 * sysdeps/unix/bsd/seteuid.c: Likewise.
17472 * sysdeps/unix/bsd/setgid.c: Likewise.
17473 * sysdeps/unix/bsd/setrgid.c: Likewise.
17474 * sysdeps/unix/bsd/setruid.c: Likewise.
17475 * sysdeps/unix/bsd/setsid.c: Likewise.
17476 * sysdeps/unix/bsd/setuid.c: Likewise.
17477 * sysdeps/unix/bsd/sigaction.c: Likewise.
17478 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17479 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17480 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17481 * sysdeps/unix/bsd/telldir.c: Likewise.
17482 * sysdeps/unix/bsd/times.c: Likewise.
17483 * sysdeps/unix/bsd/usleep.c: Likewise.
17485 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17486 ($(objpfx)libbsd-compat.a): Remove rule.
17488 * include/features.h (__FAVOR_BSD): Do not define.
17489 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17490 features conflicting with POSIX.
17491 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17492 (_BSD_SOURCE): Remove description of not being a subset of other
17493 feature test macros.
17494 * manual/job.texi (getpgrp): Do not document BSD version.
17495 (getpgid): Do not document by reference to BSD getpgrp.
17496 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17497 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17498 * signal/signal.h [__FAVOR_BSD]: Likewise.
17499 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17500 instead of making contents conditional on [__FAVOR_BSD].
17501 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17503 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17507 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17510 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17511 values below 2**-450, not 2**-500.
17512 * math/auto-libm-test-in: Don't allow spurious underflow from
17514 * math/auto-libm-test-out: Regenerated.
17518 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17519 values of ha and hb and sort them after adjusting subnormal
17521 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17523 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17524 values of ea and eb and sort them after adjusting subnormal
17526 * math/auto-libm-test-in: Do not expect some hypot tests of
17527 subnormals to fail. Add more hypot tests.
17528 * math/auto-libm-test-out: Regenerated.
17530 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17533 * sysdeps/sh/s_fma.c: New file.
17534 * sysdeps/sh/s_fmaf.c: New file.
17535 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17537 * sysdeps/sh/Implies: Add sh/soft-fp.
17539 2013-12-16 Roland McGrath <roland@hack.frob.com>
17541 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17542 level of indirection to members `objname', `errstring', `malloced'.
17543 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17544 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17545 it as the __longjmp argument (just pass 1 instead).
17546 (_dl_catch_error): Initialize C with argument pointers and address of
17547 volatile local ERRCODE rather than copying values out of C at return.
17549 2013-12-16 Joseph Myers <joseph@codesourcery.com>
17551 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17552 * math/auto-libm-test-out: Regenerated.
17553 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17554 (hypot_test_data): Likewise.
17555 (pow_test_data): Likewise.
17556 (pow_tonearest_test_data): Likewise.
17557 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17559 (func_calc_desc): Add mpfr_ff_f union field.
17560 (FUNC_mpfr_ff_f): New macro.
17561 (test_functions): Add atan2, hypot and pow.
17562 (special_fill_min): New function.
17563 (special_fill_minus_min): Likewise.
17564 (special_fill_min_subnorm): Likewise.
17565 (special_fill_minus_min_subnorm): Likewise.
17566 (special_real_inputs): Add min, -min, min_subnorm and
17568 (calc_generic_results): Handle mpfr_ff_f.
17569 * sysdeps/i386/fpu/libm-test-ulps: Update.
17570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17572 2013-12-16 Will Newton <will.newton@linaro.org>
17574 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17575 (Aligned Memory Blocks): Add documentation for aligned_alloc
17576 and suggest it as an alternative to posix_memalign.
17577 (Hooks for Malloc): Document __memalign_hook is also called
17578 for aligned_alloc. (Summary of Malloc): Add summary for
17579 aligned alloc. Document __memalign_hook is also called
17582 2013-12-16 Will Newton <will.newton@linaro.org>
17584 * manual/memory.texi (Malloc Examples): Clarify default
17585 alignment documentation. Suggest posix_memalign rather
17586 than memalign or valloc.
17587 (Aligned Memory Blocks): Remove suggestion to use memalign
17588 or valloc. Remove obsolete comment about BSD.
17589 Document memalign errno values and mark the function obsolete.
17590 Document posix_memalign returned error codes. Mark valloc
17591 as obsolete. (Hooks for Malloc): __memalign_hook is also
17592 called for posix_memalign and valloc.
17593 (Summary of Malloc): Add posix_memalign to function summary.
17594 __memalign_hook is also called for posix_memalign and valloc.
17596 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17598 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17602 (sloww): Use mynumber union. Expand ternary operator into
17603 if-else statements.
17604 (cslow): use mynumber union.
17606 2013-12-16 Allan McRae <allan@archlinux.org>
17608 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17609 * configure: Regenerated.
17611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17614 * configure.ac: Added --enable-maintainer-mode. Check for
17615 autoconf when enabled.
17616 * configure: Regenerated.
17618 * nscd/nscd.service: New file.
17619 * nscd/nscd.tmpfiles: New file.
17621 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
17624 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17625 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17626 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17627 (strstr): Add __strstr_sse2_unaligned ifunc.
17628 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17629 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17630 (strcasestr): Remove __strcasestr_sse42 ifunc.
17631 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17635 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17637 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17638 * sysdeps/sh/bits/fenv.h: ... here.
17639 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17641 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17643 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17646 hypotf multiarch implementations.
17647 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17648 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17649 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17650 multiarch hypot for PPC64.
17651 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17652 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17653 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17654 multiarch hypotf for PPC64.
17656 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17657 modff multiarch implementations.
17658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17661 multiarch modf for PPC64.
17662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17665 multiarch modff for PPC64.
17667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17668 and logl multiarch implementations.
17669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17672 multiarch logb for PPC64.
17673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17676 multiarch logb for PPC64.
17677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17680 multiarch logb for PPC64.
17682 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17683 isinff multiarch implementation.
17684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17688 multiarch isinf for PPC64.
17689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17692 multiarch isinff for PPC64.
17694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17695 finitef multiarch implementation.
17696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17700 multiarch finite for PPC64.
17701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17704 multiarch finitef for PPC64.
17706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17707 lrint multiarch implementation.
17708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17712 multiarch llrint for PPC64.
17713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17714 multiarch lrint for PPC64.
17716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17717 copysignf multiarch implementation.
17718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17723 multiarch copysign for PPC64.
17724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17725 multiarch copysignf for PPC64.
17727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17728 multiarch implementation.
17729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17737 multiarch llround for PPC64.
17738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17739 multiarch trunc for PPC64.
17740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17741 multiarch truncf for PPC64.
17743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17744 multiarch implementation.
17745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17753 multiarch llround for PPC64.
17754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17755 multiarch round for PPC64.
17756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17757 multiarch roundf for PPC64.
17759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17760 multiarch implementation.
17761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17769 multiarch llround for PPC64.
17770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17771 multiarch floor for PPC64.
17772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17773 multiarch floorf for PPC64.
17775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17776 multiarch implementation.
17777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17785 multiarch llround for PPC64.
17786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17787 multiarch ceil for PPC64.
17788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17789 multiarch ceilf for PPC64.
17791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17792 multiarch implementation.
17793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17800 multiarch llround for PPC64.
17801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17802 multiarch lround for PPC64.
17804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17805 multiarch implementation.
17806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17813 multiarch isnan for PPC64.
17814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17815 multiarch isnanf for PPC64.
17817 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17818 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17819 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17820 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17821 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17824 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17830 multiarch implementations.
17831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17832 (__libc_ifunc_impl_list): Likewise.
17833 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17834 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17835 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17836 multiarch stpcpy for PPC64.
17838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17839 multiarch implementations.
17840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17841 (__libc_ifunc_impl_list): Likewise.
17842 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17843 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17844 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17845 multiarch strcpy for PPC64.
17847 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17848 redefine function name.
17849 (_wordcopy_fwd_dest_aligned): Likewise.
17850 (_wordcopy_bwd_aligned): Likewise.
17851 (_wordcopy_bwd_dest_aligned): Likewise.
17852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17853 multiarch implementations.
17854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17855 (__libc_ifunc_impl_list): Likewise.
17856 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17857 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17858 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17859 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17860 multiarch wcscpy for PPC64.
17862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17863 multiarch implementations.
17864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17865 (__libc_ifunc_impl_list): Likewise.
17866 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17867 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17868 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17869 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17870 multiarch wcscpy for PPC64.
17872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17873 multiarch implementations.
17874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17875 (__libc_ifunc_impl_list): Likewise.
17876 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17877 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17878 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17879 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17880 multiarch wcsrchr for PPC64.
17882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17883 multiarch implementations.
17884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17885 (__libc_ifunc_impl_list): Likewise.
17886 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17887 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17888 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17889 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17890 multiarch wcschr for PPC64.
17892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17893 multiarch implementations.
17894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17895 (__libc_ifunc_impl_list): Likewise.
17896 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17897 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17898 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17899 multiarch strchrnul for PPC64.
17901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17904 (__libc_ifunc_impl_list): Likewise.
17905 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17906 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17907 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17908 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17914 (__libc_ifunc_impl_list): Likewise.
17915 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17916 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17917 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17918 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17922 multiarch implementations.
17923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17924 (__libc_ifunc_impl_list): Likewise.
17925 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17926 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17927 strncasecmp for PPC64.
17928 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17929 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17930 multiarch strncasecmp_l for PPC64.
17932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17933 multiarch implementations.
17934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17935 (__libc_ifunc_impl_list): Likewise.
17936 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17937 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17938 multiarch strcasecmp for PPC64.
17939 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17941 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17942 multiarch strcasecmp_l for PPC64.
17944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17947 (__libc_ifunc_impl_list): Likewise.
17948 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17949 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17950 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17956 (__libc_ifunc_impl_list): Likewise.
17957 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17958 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17959 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17965 (__libc_ifunc_impl_list): Likewise.
17966 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17967 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17968 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17969 rawmemrchr for PPC64.
17971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17974 (__libc_ifunc_impl_list): Likewise.
17975 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17976 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17977 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17983 (__libc_ifunc_impl_list): Likewise.
17984 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17985 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17986 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17992 (__libc_ifunc_impl_list): Likewise.
17993 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17994 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17995 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17998 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17999 avoid cretion of __bzero symbol.
18000 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18002 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18004 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18007 multiarch implementations.
18008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18009 (__libc_ifunc_impl_list): Likewise.
18010 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18011 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18012 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18013 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18015 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18016 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18017 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18018 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18019 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18021 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18023 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18027 (__libc_ifunc_impl_list): Likewise.
18028 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18029 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18030 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18031 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18035 multiarch for POWER/PPC64.
18036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18037 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18038 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18039 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18040 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18041 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18042 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18043 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18044 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18047 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18048 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18049 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18050 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18051 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18052 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18053 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18054 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18055 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18056 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18057 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18058 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18059 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18060 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18061 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18070 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18072 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18074 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18076 * benchtests/Makefile (bench): Add exp2 and log2.
18077 (LDLIBS-bench-exp2): Add -lm.
18078 (LDLIBS-bench-log2): Likewise.
18079 * benchtests/exp2-inputs: New inputs file.
18080 * benchtests/log2-inputs: New inputs file.
18081 * benchtests/log-inputs: Add new inputs.
18082 * benchtests/tan-inputs: Likewise.
18084 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18086 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18088 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18089 (csloww2): ... from here.
18091 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18092 instead of structures.
18093 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18094 (POLYNOMIAL): Likewise.
18095 (TAYLOR_SLOW): Likewise.
18101 (sloww1); Likewise.
18102 (sloww2): Likewise.
18103 (bsloww1): Likewise.
18104 (bsloww2): Likewise.
18105 (cslow2): Likewise.
18106 (csloww): Likewise.
18107 (csloww1): Likewise.
18108 (csloww2): Likewise.
18110 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18112 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18113 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18114 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18115 * malloc/hooks.c (realloc_check): Likewise.
18117 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18118 * malloc/arena.c: Remove PER_THREAD conditional.
18119 [!PER_THREAD]: Remove code.
18120 (ptmalloc_unlock_all2): Likewise.
18121 (ptmalloc_init): Likewise.
18122 (_int_new_arena): Likewise.
18123 (arena_get2): Likewise.
18124 * malloc/hooks.c (__malloc_get_state): Likewise.
18125 (__malloc_set_state): Likewise.
18126 * malloc/malloc.c: Likewise.
18127 (struct malloc_state): Likewise.
18128 (struct malloc_par): Likewise.
18129 (__libc_realloc): Likewise.
18130 (__libc_mallopt): Likewise.
18132 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18134 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18136 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18138 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18139 macro to a function. Check for zero perturb_byte.
18140 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18142 * malloc/malloc.c: (force_reg): Remove.
18143 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18144 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18145 force_reg by atomic_forced_read.
18146 * malloc/arena.c (ptmalloc_init): Likewise.
18147 * malloc/hooks.c (top_check): Likewise.
18149 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18153 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18157 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18159 * math/auto-libm-test-in: Add tests of lgamma.
18160 * math/auto-libm-test-out: Regenerated.
18161 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18162 (M_LOG_2_SQRT_PIl): Likewise.
18163 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18164 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18166 (func_calc_desc): Add mpfr_f_f1 union field.
18167 (ARGS1): New macro.
18175 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18176 (test_functions): Add lgamma.
18177 (calc_generic_results): Handle mpfr_f_f1.
18178 * sysdeps/i386/fpu/libm-test-ulps: Update.
18179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18181 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18183 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18184 __mpn_add_n for PowerPC64/POWER7.
18185 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18186 __mpn_sub_n for PowerPC64/POWER7.
18188 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18189 __mpn_addmul_1 for PowerPC64.
18190 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18191 __mpn_submul_1 for PowerPC64.
18192 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18194 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18197 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18200 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18202 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18204 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18206 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18207 add multiarch folders.
18208 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18209 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18210 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18211 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18212 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18213 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18214 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18215 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18216 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18217 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18218 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18227 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18233 multiarch __ieee754_hypot for PowerPC32.
18234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18239 multiarch __ieee754_hypotf for PowerPC32.
18241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18242 long_double_symbol only if __logbl is defined.
18243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18244 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18245 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18246 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18248 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18249 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18250 path for implementation.
18251 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18252 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18254 logb, and logbl multiarch implementations for PowerPC32.
18255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18260 multiarch logb for PowerPC32.
18261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18266 multiarch logbf for PowerPC32.
18267 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18271 multiarch logbl implementation for PowerPC32.
18273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18274 and modff multiarch implementations.
18275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18280 multiarch modf for PowerPC32.
18281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18286 multiarch modff for PowerPC32.
18288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18289 and lrintf multiarch implementations.
18290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18295 multiarch lrint for PowerPC32.
18296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18297 file: multiarch lrintf for PowerPC32.
18299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18300 and lroundf multiarch implementations.
18301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18308 multiarch lround for PowerPC32.
18309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18310 file: multiarch lroundf for PowerPC32.
18312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18313 copysign and copysignf multiarch implementations.
18314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18319 file: multiarch copysign for PowerPC32.
18320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18321 file: multiarch copysignf for PowerPC32.
18323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18324 and truncf multiarch implementations.
18325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18330 multiarch trunc for PowerPC32.
18331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18336 multiarch truncf for PowerPC32.
18338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18339 and roundf multiarch implementations.
18340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18345 multiarch round for PowerPC32.
18346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18351 multiarch roundf for PowerPC32.
18353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18354 and floorf multiarch implementations.
18355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18360 multiarch floor for PowerPC32.
18361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18366 multiarch floorf for PowerPC32.
18368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18369 and ceilf multiarch implementations.
18370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18375 multiarch ceil for PowerPC32.
18376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18381 multiarch ceilf for PowerPC32.
18383 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18385 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18386 FINITEF is defined.
18387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18388 and finitef multiarch implementations.
18389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18394 multiarch finite for PowerPC32.
18395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18398 file: multiarch finitef for PowerPC32.
18400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18401 and isinff multiarch implementations.
18402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18407 multiarch isinf for PowerPC32.
18408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18411 multiarch isinff for PowerPC32.
18413 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18414 alias when __isnan is defined.
18415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18416 and isnanf multiarch implementations.
18417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18426 multiarch isnan for PowerPC32.
18427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18432 multiarch isnanf for PowerPC32.
18434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18435 and sqrtf multiarch implementations.
18436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18441 multiarch sqrt for PowerPC32.
18442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18447 multiarch sqrtf for PowerPC32.
18449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18450 and llroundf multiarch implementations.
18451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18458 file: multiarch llround for PowerPC32.
18459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18460 file: multiarch llroundf for PowerPC32.
18462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18463 multiarch PowerPC32 fpu implementations.
18464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18469 multiarch llrint for PowerPC32.
18470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18479 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18481 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18483 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18485 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18486 multiarch wordcopy for PPC32.
18487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18490 (__libc_ifunc_impl_list): Likewise.
18491 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18492 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18493 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18494 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18495 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18496 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18498 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18499 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18501 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18506 multiarch wcscpy for PPC32.
18507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18510 (__libc_ifunc_impl_list): Likewise.
18511 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18512 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18513 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18514 sysdeps/powerpc/power6/wcscpy.c.
18516 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18524 multiarch wcsrchr for PPC32.
18525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18528 (__libc_ifunc_impl_list): Likewise.
18529 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18530 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18531 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18532 sysdeps/powerpc/power6/wcsrchr.c.
18534 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18536 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18540 multiarch wcschr for PPc32.
18541 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18544 (__libc_ifunc_impl_list): Likewise.
18545 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18546 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18547 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18548 sysdeps/powerpc/power6/wcschr.c.
18550 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18551 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18553 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18554 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18555 file: multiarch strchr for PPC32.
18556 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18558 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18559 (__libc_ifunc_impl_list): Likewise.
18561 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18563 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18565 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18567 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18568 multiarch strchrnul for PPC32.
18569 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18571 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18572 (__libc_ifunc_impl_list): Likewise.
18574 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18576 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18577 multiarch strncasecmp for PPC32.
18578 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18580 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18581 multiarch strncasecmp_l for PPC32.
18582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18583 strncasecmp multiarch objects.
18584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18585 (__libc_ifunc_impl_list): Likewise.
18587 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18589 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18590 multiarch strncasecmp for PPC32.
18591 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18593 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18594 multiarch strcasecmp_l for PPC32.
18595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18598 (__libc_ifunc_impl_list): Likewise.
18600 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18602 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18604 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18605 multiarch strncmp for PPC32.
18606 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18608 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18609 (__libc_ifunc_impl_list): Likewise.
18611 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18612 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18614 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18615 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18619 (__libc_ifunc_impl_list): Likewise.
18621 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18623 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18625 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18629 (__libc_ifunc_impl_list): Likewise.
18631 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18633 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18635 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18636 multiarch rawmemchr for PPC32.
18637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18640 (__libc_ifunc_impl_list): Likewise.
18642 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18644 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18646 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18647 file: memrchr multiarch for PPC32.
18648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18651 (__libc_ifunc_impl_list): Likewise.
18653 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18654 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18656 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18657 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18658 multiarch memchr for PPC32.
18659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18662 (__libc_ifunc_impl_list): Likewise.
18664 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18665 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18667 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18669 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18670 file: multiarch mempcpy for PPC32.
18671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18674 (__libc_ifunc_impl_list): Likewise.
18676 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18677 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18678 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18679 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18680 multiarch bzero for PPC32.
18681 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18683 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18685 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18686 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18687 file: multiarch memset for PPC32.
18688 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18690 memset multiarch objects.
18691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18692 (__libc_ifunc_impl_list): Likewise.
18694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18696 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18697 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18699 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18703 (__libc_ifunc_impl_list): Likewise.
18705 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18706 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18707 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18709 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18711 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18714 multiarch memcpy for PPC32.
18715 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18717 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18718 (__libc_ifunc_impl_list): Likewise.
18720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18721 support multiarch for POWER/PPC32.
18722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18724 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18726 Implies file to make multiarch folder appers before the fpu and
18727 default folder for power4 configuration.
18729 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18731 * scripts/bench.pl: Append volatile keyword to type.
18733 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18735 * sysdeps/sh/sotruss-lib.c: New file.
18736 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18738 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18742 2013-12-05 Joseph Myers <joseph@codesourcery.com>
18745 * math/w_tgamma.c: Include <errno.h>.
18746 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18747 * math/w_tgammaf.c: Include <errno.h>.
18748 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18749 * math/w_tgammal.c: Include <errno.h>.
18750 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18751 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18752 underflow. Add more tgamma tests.
18753 * math/auto-libm-test-out: Regenerated.
18754 * sysdeps/i386/fpu/libm-test-ulps: Update.
18755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18757 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18758 sin, sinh, tan, tanh, tgamma, y0 and y1.
18759 * math/auto-libm-test-out: Regenerated.
18760 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18761 (TEST_COND_x86): Likewise.
18762 (M_E2l): Remove macro.
18764 (M_2_SQRT_PIl): Likewise.
18765 (M_SQRT_PIl): Likewise.
18766 (M_1_DIV_El): Likewise.
18767 (log_test_data): Use AUTO_TESTS_f_f.
18768 (log10_test_data): Likewise.
18769 (log1p_test_data): Likewise.
18770 (log2_test_data): Likewise.
18771 (sin_test_data): Likewise.
18772 (sin_tonearest_test_data): Likewise.
18773 (sin_towardzero_test_data): Likewise.
18774 (sin_downward_test_data): Likewise.
18775 (sin_upward_test_data): Likewise.
18776 (sinh_test_data): Likewise.
18777 (sinh_tonearest_test_data): Likewise.
18778 (sinh_towardzero_test_data): Likewise.
18779 (sinh_downward_test_data): Likewise.
18780 (sinh_upward_test_data): Likewise.
18781 (tan_test_data): Likewise.
18782 (tan_tonearest_test_data): Likewise.
18783 (tan_towardzero_test_data): Likewise.
18784 (tan_downward_test_data): Likewise.
18785 (tan_upward_test_data): Likewise.
18786 (tanh_test_data): Likewise.
18787 (tgamma_test_data): Likewise.
18788 (y0_test_data): Likewise.
18789 (y1_test_data): Likewise.
18790 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18791 (special_real_inputs): Add pi/4.
18792 * sysdeps/i386/fpu/libm-test-ulps: Update.
18793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18795 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18797 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18798 "longjmp_target" static probes.
18799 (__longjmp): Rename to __longjmp_symbol.
18800 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18801 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18802 on which longjmp to generate.
18803 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18804 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18806 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18807 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18808 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18809 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18810 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18811 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18813 __longjmp_symbol based on which __longjmp to generate.
18814 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18816 (setjmp): Rename to setjmp_symbol.
18817 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18818 (_setjmp): Rename to _setjmp_symbol.
18819 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18820 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18821 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18822 which setjmp to generate.
18823 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18824 "longjmp_target" static probes.
18826 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18828 * benchtests/README: Add note about output arguments.
18829 * benchtests/bench-sincos.c: Remove file.
18830 * benchtests/sincos-inputs: New file.
18831 * scripts/bench.pl: Identify output arguments and define
18832 static variables for them.
18834 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18837 * Makefile (INSTALL): Add install-plain.texi as the primary
18839 * manual/install-plain.texi: New file.
18840 * manual/install.texi: Include node directive only for
18841 non-plaintext output.
18843 2013-12-04 Joseph Myers <joseph@codesourcery.com>
18845 * stdlib/longlong.h: Update from GCC.
18849 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18850 * math/w_j0f.c (y0f): Likewise.
18851 * math/w_j0l.c (__y0l): Likewise.
18852 * math/w_j1.c (y1): Likewise.
18853 * math/w_j1f.c (y1f): Likewise.
18854 * math/w_j1l.c (__y1l): Likewise
18855 * math/w_jn.c (yn): Likewise.
18856 * math/w_jnf.c (ynf): Likewise.
18857 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18858 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18859 value for Bessel function domain errors outside _SVID_ mode.
18860 Adjust sign of return value for yn (negative integer, 0).
18861 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18862 by zero in return for negative x and set sign appropriately for
18864 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18865 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18866 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18867 expectations in error cases.
18868 (y1_test_data): Likewise.
18869 (yn_test_data): Likewise.
18870 * sysdeps/i386/fpu/libm-test-ulps: Update.
18871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18873 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18875 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18876 "64" to "64-v1". Add "64-v2".
18877 (abi-64-options): Rename to ...
18878 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18879 (abi-64-condition): Rename to ...
18880 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18881 (abi-64-ld-soname): Rename to ...
18882 (abi-64-v1-ld-soname): ... this.
18883 (abi-64-v2-options): Define.
18884 (abi-64-v2-condition): Likewise.
18885 (abi-64-v2-ld-soname): Likewise.
18886 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18887 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18892 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18893 Alan Modra <amodra@gmail.com>
18895 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18896 New versions for use with the ELFv2 ABI.
18897 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18898 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18900 (struct La_ppc64v2_retval): Likewise.
18901 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18902 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18903 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18904 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18905 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18906 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18907 Do not save or restore CR.
18908 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18909 (_dl_profile_resolve): Do no save or restore CR. Support extended
18910 return values for ELFv2 ABI. Fix location of FPR return registers.
18911 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18912 updated values for _CALL_ELF == 2.
18913 (La_regs, La_retval, int_retval): Likewise.
18915 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18917 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18918 (FRAME_MIN_SIZE_PARM): Likewise.
18919 (FRAME_BACKCHAIN): Likewise.
18920 (FRAME_CR_SAVE): Likewise.
18921 (FRAME_LR_SAVE): Likewise.
18922 (FRAME_TOC_SAVE): Likewise.
18923 (FRAME_PARM_SAVE): Likewise.
18924 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18925 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18926 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18927 (call_mcount_parm_offset): New macro.
18928 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18929 (PROF): Use symbolic stack frame offsets.
18930 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18931 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18932 Redefine in terms of FRAME_MIN_SIZE.
18933 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18934 (_dl_profile_resolve): Likewise. Update comment.
18935 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18936 symbols stack frame offsets.
18937 (__sigsetjmp): Likewise.
18938 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18939 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18940 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18941 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18944 (FRAME_BACKCHAIN): Remove.
18945 (FRAME_CR_SAVE): Likewise.
18946 (FRAME_LR_SAVE): Likewise.
18947 (FRAME_COMPILER_DW): Likewise.
18948 (FRAME_LINKER_DW): Likewise.
18949 (FRAME_TOC_SAVE): Likewise.
18950 (FRAME_PARM_SAVE): Likewise.
18951 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18952 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18953 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18955 (CHECK_SP): Use symbolic stack frame offsets.
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18957 zone" instead of caller's parameter save area for temp storage.
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18959 Likewise. Also, use symbolic stack frame offsets.
18960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18961 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18962 our own stack frame instead of the caller's.
18963 (__socket): Use symbolic stack frame offsets.
18965 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18966 Alan Modra <amodra@gmail.com>
18968 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18970 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18971 (PPC64_LOCAL_ENTRY_OFFSET): Define.
18972 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18974 (elf_machine_fixup_plt): Call it.
18975 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18977 (elf_machine_rela): Update call to elf_machine_plt_conflict.
18978 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18979 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18980 r2 before calling target.
18982 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18983 Alan Modra <amodra@gmail.com>
18985 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18986 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18987 versions of macros to support ELFv2 ABI.
18988 (LOCALENTRY): New macro.
18989 (ENTRY, EALIGN): Use it.
18990 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18991 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18992 fall through into ENTRY entry point.
18993 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18994 Only define if _CALL_ELF != 2.
18996 (elf_machine_matches_host): Verify ABI version matches.
18997 (RTLD_START): Use LOCALENTRY.
18998 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18999 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19000 (PLT_ENTRY_WORDS): New macro.
19001 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19002 (elf_machine_runtime_setup): Support ELFv2 ABI.
19003 (elf_machine_fixup_plt): Likewise.
19004 (elf_machine_plt_conflict): Likewise.
19005 (resolve_ifunc): Likewise.
19006 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19007 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19010 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19012 (makecontext): Support ELFv2 ABI.
19013 * elf/elf.h (EF_PPC64_ABI): Define.
19015 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19017 * sysdeps/powerpc/powerpc64/sysdep.h
19018 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19019 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19020 (ENTRY) [ASSEMBLER]: ... but instead here ...
19021 (EALIGN) [ASSEMBLER]: ... and here.
19022 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19023 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19024 (ENTRY_2) [!ASSEMBLER]: Use it.
19025 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19026 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19027 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19028 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19029 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19031 Use PPC64_LOAD_FUNCPTR.
19033 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19035 2013-12-04 Alan Modra <amodra@gmail.com>
19037 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19038 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19039 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19040 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19042 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19043 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19044 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19045 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19046 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19047 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19049 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19052 (__makecontext): Fix incorrect CFI when backtracing out of
19053 context created via makecontext.
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19055 (__setcontext): Fix incorrect CFI during switch to new context.
19056 (__novec_setcontext): Likewise.
19058 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19061 * time/strptime_l.c (__strptime_internal): Allow modifiers
19063 * time/tst-strptime.c (day_tests): Add testcase.
19065 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19067 * scripts/bench.pl: Skip over blank lines.
19069 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19072 * manual/time.texi (Calendar Time): Clarify what timezone functions
19075 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19079 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19081 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19083 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19084 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19085 * debug/memset_chk.c (__memset_chk): Likewise.
19086 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19087 * debug/strncpy_chk.c: Likewise.
19089 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19093 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19094 (__ieee754_exp): For possibly underflowing results, check size of
19095 result and force underflow exception if required.
19096 * math/auto-libm-test-in: Add more tests of exp.
19097 * math/auto-libm-test-out: Regenerated.
19098 * sysdeps/i386/fpu/libm-test-ulps: Update.
19099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19102 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19103 * math/w_exp2f.c (__exp2f): Likewise.
19104 * math/w_exp2l.c (__exp2l): Likewise.
19105 * math/auto-libm-test-in: Do not allow missing errno on exp2
19107 * math/auto-libm-test-out: Regenerated.
19109 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19112 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19113 handle filename validation.
19114 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19117 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19120 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19121 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19122 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19124 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19125 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19126 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19127 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19128 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19129 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19130 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19131 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19132 Add more erfc tests.
19133 * math/auto-libm-test-out: Regenerated.
19134 * sysdeps/i386/fpu/libm-test-ulps: Update.
19135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19137 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19138 exp2, expm1, j0 and j1.
19139 * math/auto-libm-test-out: Regenerated.
19140 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19141 (erfc_test_data): Likewise.
19142 (exp_test_data): Likewise.
19143 (exp_tonearest_test_data): Likewise.
19144 (exp_towardzero_test_data): Likewise.
19145 (exp_downward_test_data): Likewise.
19146 (exp_upward_test_data): Likewise.
19147 (exp10_test_data): Likewise.
19148 (exp2_test_data): Likewise.
19149 (expm1_test_data): Likewise.
19150 (j0_test_data): Likewise.
19151 (j1_test_data): Likewise.
19152 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19153 (input_flag_type): Add flag_xfail_rounding.
19154 (input_flags): Add xfail-rounding.
19155 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19156 (output_for_one_input_case): Handle flag_xfail_rounding.
19157 * sysdeps/i386/fpu/libm-test-ulps: Update.
19158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19160 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19163 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19166 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19169 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19170 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19171 (STAP_PROBE0): New macro.
19172 (STAP_PROBE1): Likewise.
19173 (STAP_PROBE2): Likewise.
19174 (STAP_PROBE3): Likewise.
19175 (STAP_PROBE4): Likewise.
19177 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19179 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19181 2013-12-02 Steve Ellcey <sellcey@mips.com>
19183 * benchtests/Makefile (bench): Add sqrt.
19184 (LDLIBS-bench-sqrt): New.
19185 * benchtests/sqrt-input: New.
19187 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19189 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19190 (GAIH_EAI): Likewise.
19191 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19192 (gaih_inet): Likewise.
19193 (getaddrinfo): Don't use GAIH_EAI.
19195 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19196 (struct gaih): Remove definition.
19198 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19200 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19201 Use HERRNOP directly.
19203 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19207 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19209 * math/gen-auto-libm-tests.c (test_functions): Add more
19210 single-argument functions.
19211 (special_fill_pi_2): New function.
19212 (special_fill_minus_pi_2): Likewise.
19213 (special_fill_pi_6): Likewise.
19214 (special_fill_minus_pi_6): Likewise.
19215 (special_fill_pi_3): Likewise.
19216 (special_fill_2pi_3): Likewise.
19217 (special_fill_e): Likewise.
19218 (special_fill_1_e): Likewise.
19219 (special_fill_e_minus_1): Likewise.
19220 (special_real_inputs): Add more special inputs.
19221 (output_for_one_input_case): Do not require ERANGE on underflow to
19222 zero if round-to-nearest result does not underflow to zero, unless
19223 exact results required.
19224 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19225 atan, atanh, cbrt, cos and cosh.
19226 * math/auto-libm-test-out: Regenerated.
19227 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19228 (acos_tonearest_test_data): Likewise.
19229 (acos_towardzero_test_data): Likewise.
19230 (acos_downward_test_data): Likewise.
19231 (acos_upward_test_data): Likewise.
19232 (acosh_test_data): Likewise.
19233 (asin_test_data): Likewise.
19234 (asin_tonearest_test_data): Likewise.
19235 (asin_towardzero_test_data): Likewise.
19236 (asin_upward_test_data): Likewise.
19237 (asinh_test_data): Likewise.
19238 (atan_test_data): Likewise.
19239 (atanh_test_data): Likewise.
19240 (cbrt_test_data): Likewise.
19241 (cos_test_data): Likewise.
19242 (cos_tonearest_test_data): Likewise.
19243 (cos_towardzero_test_data): Likewise.
19244 (cos_downward_test_data): Likewise.
19245 (cos_upward_test_data): Likewise.
19246 (cosh_test_data): Likewise.
19247 (cosh_tonearest_test_data): Likewise.
19248 (cosh_towardzero_test_data): Likewise.
19249 (cosh_downward_test_data): Likewise.
19250 (cosh_upward_test_data): Likewise.
19251 * sysdeps/i386/fpu/libm-test-ulps: Update.
19252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19254 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19257 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19258 * math/w_exp10f.c (__exp10f): Likewise.
19259 * math/w_exp10l.c (__exp10l): Likewise.
19260 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19261 errno settings in existing tests.
19264 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19265 precision control set to double precision.
19266 * sysdeps/i386/fpu/w_sqrt.c: New file.
19267 * math/auto-libm-test-in: Add more tests.
19268 * math/auto-libm-test-out: Update.
19270 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19271 (sqrt_test_tonearest): New function.
19272 (sqrt_towardzero_test_data): New variable.
19273 (sqrt_test_towardzero): New function.
19274 (sqrt_downward_test_data): New variable.
19275 (sqrt_test_downward): New function.
19276 (sqrt_upward_test_data): New variable.
19277 (sqrt_test_upward): New function.
19278 (main): Call the new functions.
19280 * math/gen-auto-libm-tests.c: New file.
19281 * math/auto-libm-test-in: Likewise.
19282 * math/auto-libm-test-out: New generated file.
19283 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19285 (%beautify): Add generated representations of zero.
19286 (top level): Set $auto_input and call parse_auto_input.
19287 (beautify): Remove trailing "f" from hex float constants.
19288 (parse_args): Handle XFAIL_TEST.
19289 (convert_condition): New function.
19290 (or_value): Likewise.
19291 (or_cond_value): Likewise.
19292 (generate_testfile): Handle AUTO_TESTS_* lines.
19293 (parse_auto_input): New function.
19294 * math/libm-test.inc (XFAIL_TEST): New macro.
19295 (ERRNO_UNCHANGED): Update value.
19296 (ERRNO_EDOM): Likewise.
19297 (ERRNO_ERANGE): Likewise.
19298 (IGNORE_RESULT): Likewise.
19299 (TEST_COND_flt_32): New macro.
19300 (TEST_COND_dbl_64): Likewise.
19301 (TEST_COND_ldbl_96_intel): Likewise.
19302 (TEST_COND_ldbl_96_m68k): Likewise.
19303 (TEST_COND_ldbl_128): Likewise.
19304 (TEST_COND_ldbl_128ibm): Likewise.
19305 (TEST_COND_long32): Likewise.
19306 (TEST_COND_long64): Likewise.
19307 (TEST_COND_before_rounding): Likewise.
19308 (TEST_COND_after_rounding): Likewise.
19309 (enable_test): Handle XFAIL_TEST flag.
19310 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19311 with finite results.
19312 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19313 auto-libm-test-out.
19315 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19316 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19319 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19320 __tls_get_addr_internal instead of __tls_get_offset in order to
19321 avoid GOT pointer dependency. Make rtld export
19322 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19323 __tls_get_addr since we are a __tls_get_offset platform.
19324 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19325 GOT pointer being set up before.
19326 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19328 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19330 * manual/math.texi (Errors in Math Functions): Document accuracy
19334 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19335 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19336 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19337 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19338 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19340 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19342 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19343 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19346 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19348 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19351 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19352 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19353 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19354 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19355 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19357 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19359 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19361 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19362 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19363 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19364 atomic-feupdateenv and flt-rounds.
19365 * sysdeps/powerpc/nofpu/Versions (libc): Add
19366 __atomic_feholdexcept, __atomic_feclearexcept,
19367 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19368 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19369 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19370 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19371 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19376 * manual/arith.texi (FP Exceptions): Document that exceptions may
19377 not be raised when matherr is used.
19378 (Math Error Reporting): Document overflow in directed rounding
19379 modes. Document that errno may not be set when finite values are
19380 returned on overflow. Document intent to set errno on underflow
19381 only for underflow to zero.
19384 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19385 round-to-nearest then adjust result for other rounding modes.
19386 * include/fenv.h (fegetround): Use libm_hidden_proto.
19387 * math/fegetround.c (fegetround): Use libm_hidden_def.
19388 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19389 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19390 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19391 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19393 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19394 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19395 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19396 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19398 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19401 * nss/Versions (libnss_files): Add
19402 _nss_files_gethostbyname3_r.
19403 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19405 (HOST_DB_LOOKUP): Remove macro.
19406 (_nss_files_gethostbyname_r): Implement function without the
19407 HOST_DB_LOOKUP macro.
19408 (_nss_files_gethostbyname2_r): Likewise.
19410 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19412 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19414 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19416 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19417 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19420 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19422 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19423 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19424 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19425 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19426 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19427 __fe_nomask_env_priv and attribute_hidden.
19428 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19429 (libc_feupdateenv_test_ppc): Likewise.
19430 (libc_feresetround_ppc): Likewise.
19431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19432 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19433 compat_symbol macro.
19434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19435 (__fe_nomask_env): Likewise.
19436 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19438 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19440 * string/Makefile: Remove ifunc tests.
19441 * string/test-string.h: Define TEST_IFUNC.
19442 * string/test-bcopy-ifunc.c: Remove.
19443 * string/test-bzero-ifunc.c: Likewise.
19444 * string/test-memccpy-ifunc.c: Likewise.
19445 * string/test-memchr-ifunc.c: Likewise.
19446 * string/test-memcmp-ifunc.c: Likewise.
19447 * string/test-memcpy-ifunc.c: Likewise.
19448 * string/test-memmem-ifunc.c: Likewise.
19449 * string/test-memmove-ifunc.c: Likewise.
19450 * string/test-mempcpy-ifunc.c: Likewise.
19451 * string/test-memrchr-ifunc.c: Likewise.
19452 * string/test-memset-ifunc.c: Likewise.
19453 * string/test-rawmemchr-ifunc.c: Likewise.
19454 * string/test-stpcpy-ifunc.c: Likewise.
19455 * string/test-stpncpy-ifunc.c: Likewise.
19456 * string/test-strcasecmp-ifunc.c: Likewise.
19457 * string/test-strcasestr-ifunc.c: Likewise.
19458 * string/test-strcat-ifunc.c: Likewise.
19459 * string/test-strchr-ifunc.c: Likewise.
19460 * string/test-strchrnul-ifunc.c: Likewise.
19461 * string/test-strcmp-ifunc.c: Likewise.
19462 * string/test-strcpy-ifunc.c: Likewise.
19463 * string/test-strcspn-ifunc.c: Likewise.
19464 * string/test-strlen-ifunc.c: Likewise.
19465 * string/test-strncasecmp-ifunc.c: Likewise.
19466 * string/test-strncat-ifunc.c: Likewise.
19467 * string/test-strncmp-ifunc.c: Likewise.
19468 * string/test-strncpy-ifunc.c: Likewise.
19469 * string/test-strnlen-ifunc.c: Likewise.
19470 * string/test-strpbrk-ifunc.c: Likewise.
19471 * string/test-strrchr-ifunc.c: Likewise.
19472 * string/test-strspn-ifunc.c: Likewise.
19473 * string/test-strstr-ifunc.c: Likewise.
19475 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19477 * benchtests/Makefile: Remove ifunc tests.
19478 * benchtests/bench-string.h: Define TEST_IFUNC.
19479 * benchtests/bench-bcopy-ifunc.c: Remove.
19480 * benchtests/bench-bzero-ifunc.c: Likewise.
19481 * benchtests/bench-memccpy-ifunc.c: Likewise.
19482 * benchtests/bench-memchr-ifunc.c: Likewise.
19483 * benchtests/bench-memcmp-ifunc.c: Likewise.
19484 * benchtests/bench-memcpy-ifunc.c: Likewise.
19485 * benchtests/bench-memmem-ifunc.c: Likewise.
19486 * benchtests/bench-memmove-ifunc.c: Likewise.
19487 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19488 * benchtests/bench-memrchr-ifunc.c: Likewise.
19489 * benchtests/bench-memset-ifunc.c: Likewise.
19490 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19491 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19492 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19493 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19494 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19495 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19496 * benchtests/bench-strcat-ifunc.c: Likewise.
19497 * benchtests/bench-strchr-ifunc.c: Likewise.
19498 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19499 * benchtests/bench-strcmp-ifunc.c: Likewise.
19500 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19501 * benchtests/bench-strcpy-ifunc.c: Likewise.
19502 * benchtests/bench-strcspn-ifunc.c: Likewise.
19503 * benchtests/bench-strlen-ifunc.c: Likewise.
19504 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19505 * benchtests/bench-strncat-ifunc.c: Likewise.
19506 * benchtests/bench-strncmp-ifunc.c: Likewise.
19507 * benchtests/bench-strncpy-ifunc.c: Likewise.
19508 * benchtests/bench-strnlen-ifunc.c: Likewise.
19509 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19510 * benchtests/bench-strrchr-ifunc.c: Likewise.
19511 * benchtests/bench-strsep-ifunc.c: Likewise.
19512 * benchtests/bench-strspn-ifunc.c: Likewise.
19513 * benchtests/bench-strstr-ifunc.c: Likewise.
19515 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19517 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19519 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19521 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19522 * rt/aio.h: Likewise.
19523 * sysdeps/gnu/bits/utmp.h: Likewise.
19524 * sysdeps/gnu/bits/utmpx.h: Likewise.
19525 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19526 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19527 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19528 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19529 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19530 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19531 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19532 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19533 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19534 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19535 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19536 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19537 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19539 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19540 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19541 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19542 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19543 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19544 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19545 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19546 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19547 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19548 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19549 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19551 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19552 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19553 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19554 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19555 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19556 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19557 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19558 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19559 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19560 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19561 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19562 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19563 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19564 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19565 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19566 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19568 2013-11-25 Carlos O'Donell <carlos@redhat.com>
19571 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19572 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19574 2013-11-25 Joseph Myers <joseph@codesourcery.com>
19576 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19577 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19580 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19582 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19583 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19584 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19585 (__fesetround): Remove define.
19586 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19587 rounding and exceptions handling.
19588 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19589 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19590 (__fe_nomask_env): Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19592 __fegetround instead of fegetround.
19593 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19596 2013-11-21 Roland McGrath <roland@hack.frob.com>
19598 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19601 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19603 2013-11-21 Meador Inge <meadori@codesourcery.com>
19606 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19607 (encrypt_r): Likewise.
19608 * malloc/obstack.h (obstack_free): Likewise.
19609 * posix/unistd.h (encrypt): Likewise.
19611 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19613 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19614 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19615 DL_CALL_DT_FINI() that call the functions directly.
19616 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19617 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19618 * elf/dl-fini.c: Likewise.
19620 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
19622 * malloc/hooks.c (memalign_check): Add alignment rounding.
19623 * malloc/malloc.c (_mid_memalign): New function.
19624 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19625 Implement by calling _mid_memalign.
19626 * manual/probes.texi (Memory Allocation Probes): Remove
19627 memory_valloc_retry and memory_pvalloc_retry.
19629 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19631 * locale/programs/locarchive.c (open_archive): Add const
19632 qualifier to ARCHIVEFNAME and copy default fname to
19636 * libio/tst-widetext.input: Rename Oriya to Odia.
19637 * locale/iso-639.def: Likewise.
19639 * manual/probes.texi (Mathematical Function Probes): Add
19640 documentation for sin, cos, asin and acos probes.
19641 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19642 (__sin32): Add slowasin probe.
19643 (__cos32): Add slowacos probe.
19644 (__mpsin): Add slowsin probe.
19645 (__mpcos): Add slowcos probe.
19647 2013-11-19 Joseph Myers <joseph@codesourcery.com>
19650 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19651 thread-local __sim_exceptions_thread and global
19652 __sim_exceptions_global.
19653 (__sim_disabled_exceptions): Change to thread-local
19654 __sim_disabled_exceptions_thread and global
19655 __sim_disabled_exceptions_global.
19656 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19657 and global __sim_round_mode_global.
19658 (__simulate_exceptions): Use thread-local floating-point state and
19659 set global state from it as needed.
19660 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19661 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19662 __sim_round_mode_thread.
19663 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19664 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19665 and global __sim_exceptions_global.
19666 (__sim_disabled_exceptions): Change to thread-local
19667 __sim_disabled_exceptions_thread and global
19668 __sim_disabled_exceptions_global.
19669 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19670 and global __sim_round_mode_global.
19671 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19672 (SIM_SET_GLOBAL): Likewise.
19673 * sysdeps/powerpc/soft-fp/sfp-machine.h
19674 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19675 __sim_round_mode_thread.
19676 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19677 __sim_disabled_exceptions_thread.
19678 (__sim_exceptions): Change to __sim_exceptions_thread.
19679 (__sim_disabled_exceptions): Change to
19680 __sim_disabled_exceptions_thread.
19681 (__sim_round_mode): Change to __sim_round_mode_thread.
19682 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19683 thread-local floating-point state and set global state from it as
19685 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19686 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19687 (__sim_disabled_exceptions): Remove extern declaration.
19688 (feenableexcept): Use thread-local floating-point state and set
19689 global state from it as needed.
19690 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19691 extern declaration.
19692 (__sim_disabled_exceptions): Likewise.
19693 (__sim_round_mode): Likewise.
19694 (__fegetenv): Use thread-local floating-point state.
19695 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19696 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19697 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19698 floating-point state and set global state from it as needed.
19699 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19700 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19701 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19703 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19704 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19706 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19707 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19708 Use __sim_round_mode_thread.
19709 * math/test-fenv-tls.c: New file.
19710 * math/Makefile (tests): Add test-fenv-tls.
19711 ($(objpfx)test-fenv-tls): Depend on
19712 $(common-objpfx)nptl/libpthread.so.
19714 2013-11-19 Andreas Schwab <schwab@suse.de>
19716 * locale/programs/locale.c (show_info): Decode wordarray elements.
19717 * locale/categories.def (LC_MONETARY): Add element for
19718 _NL_MONETARY_CRNCYSTR.
19719 * locale/C-monetary.c (conversion_rate): New variable.
19720 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19723 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19725 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19726 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19728 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19730 * elf/Makefile (tst-auxv): New test.
19731 * elf/tst-auxv.c: New
19732 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19734 2013-11-18 Joseph Myers <joseph@codesourcery.com>
19736 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19737 (hidden_proto): Caller changed.
19738 (hidden_tls_proto): New macro.
19739 (libc_hidden_tls_proto): Likewise.
19740 (rtld_hidden_tls_proto): Likewise.
19741 (libm_hidden_tls_proto): Likewise.
19742 (libresolv_hidden_tls_proto): Likewise.
19743 (librt_hidden_tls_proto): Likewise.
19744 (libdl_hidden_tls_proto): Likewise.
19745 (libnss_files_hidden_tls_proto): Likewise.
19746 (libnsl_hidden_tls_proto): Likewise.
19747 (libnss_nisplus_hidden_tls_proto): Likewise.
19748 (libutil_hidden_tls_proto): Likewise.
19750 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
19753 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19754 (decompose_rpath): Defer expansion to fillin_rpath.
19755 (_dl_init_paths): Pass linkmap to fillin_rpath.
19757 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19759 * benchtests/Makefile: Add strsep.
19760 * benchtests/bench-strsep.c: New file: strsep benchtest.
19761 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19763 2013-11-18 Andreas Schwab <schwab@suse.de>
19765 * locale/programs/locale.c (show_info) [case byte]: Check for
19766 '\377' instead of '\177'.
19767 * locale/C-monetary.c (not_available): Always use "\377".
19768 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19769 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19770 detect unavailable sign_posn locale elements.
19771 * locale/localeconv.c (__localeconv): For grouping and
19772 mon_grouping handle "\177" and "\377" like no grouping.
19773 (INT_ELEM): New macro. Use it to set all numeric members.
19774 * locale/programs/ld-monetary.c (monetary_read)
19775 <tok_mon_grouping>: Normalize single -1 to the empty string.
19776 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19779 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19782 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19783 when we match (nil).
19784 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19786 2013-11-16 Joseph Myers <joseph@codesourcery.com>
19788 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19789 (NO_TEST_INLINE): Update value.
19790 (ERRNO_UNCHANGED): Likewise.
19791 (ERRNO_EDOM): Likewise.
19792 (ERRNO_ERANGE): Likewise.
19793 (IGNORE_RESULT): Likewise.
19794 (check_float_internal): Check signs of NaN results if
19795 TEST_NAN_SIGN used.
19796 (check_complex): Pass TEST_NAN_SIGN flag through to second
19797 check_float_internal call.
19798 (copysign_test_data): Add tests with quiet NaNs as second
19799 argument. Use TEST_NAN_SIGN.
19800 (fabs_test_data): Add test of negative quiet NaN argument. Use
19802 (signbit_test_data): Add tests of quiet NaN argument.
19803 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19805 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19807 (parse_args): Handle function results specified as IGNORE.
19808 * math/libm-test.inc (IGNORE_RESULT): New macro.
19809 (check_float_internal): Do not check numerical result if flag
19811 (check_complex): Pass through IGNORE_RESULT to second
19812 check_float_internal call.
19813 (check_int): Do not check numerical result if flag IGNORE_RESULT
19815 (check_long): Likewise.
19816 (check_bool): Likewise.
19817 (check_longlong): Likewise.
19818 (lrint_test_data): Add tests of infinite and NaN arguments.
19819 (lrint_tonearest_test_data): Likewise.
19820 (lrint_towardzero_test_data): Likewise.
19821 (lrint_downward_test_data): Likewise.
19822 (lrint_upward_test_data): Likewise.
19823 (llrint_test_data): Likewise.
19824 (llrint_tonearest_test_data): Likewise.
19825 (llrint_towardzero_test_data): Likewise.
19826 (llrint_downward_test_data): Likewise.
19827 (llrint_upward_test_data): Likewise.
19828 (lround_test_data): Likewise.
19829 (llround_test_data): Likewise.
19831 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19832 (ERRNO_UNCHANGED): Update value.
19833 (ERRNO_EDOM): Likewise.
19834 (ERRNO_ERANGE): Likewise.
19835 (NO_TEST_INLINE_FLOAT): New macro.
19836 (NO_TEST_INLINE_DOUBLE): Likewise.
19837 (enable_test): New function.
19838 (RUN_TEST_f_f): Check enable_test before running test.
19839 (RUN_TEST_2_f): Likewise.
19840 (RUN_TEST_fff_f): Likewise.
19841 (RUN_TEST_c_f): Likewise.
19842 (RUN_TEST_f_f1): Likewise.
19843 (RUN_TEST_fF_f1): Likewise.
19844 (RUN_TEST_fI_f1): Likewise.
19845 (RUN_TEST_ffI_f1): Likewise.
19846 (RUN_TEST_c_c): Likewise.
19847 (RUN_TEST_cc_c): Likewise.
19848 (RUN_TEST_f_i): Likewise.
19849 (RUN_TEST_f_i_tg): Likewise.
19850 (RUN_TEST_ff_i_tg): Likewise.
19851 (RUN_TEST_f_b): Likewise.
19852 (RUN_TEST_f_b_tg): Likewise.
19853 (RUN_TEST_f_l): Likewise.
19854 (RUN_TEST_f_L): Likewise.
19855 (RUN_TEST_fFF_11): Likewise.
19856 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19858 (cosh_test_data): Likewise.
19859 (exp_test_data): Likewise.
19860 (expm1_test_data): Likewise.
19861 (hypot_test_data): Likewise.
19862 (pow_test_data): Likewise.
19863 (sinh_test_data): Likewise.
19864 (tanh_test_data): Likewise.
19865 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19868 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19869 tests with quiet NaN input and output.
19870 (acosh_test_data): Likewise.
19871 (asin_test_data): Likewise.
19872 (asinh_test_data): Likewise.
19873 (atan_test_data): Likewise.
19874 (atanh_test_data): Likewise.
19875 (atan2_test_data): Likewise.
19876 (cbrt_test_data): Likewise.
19877 (cos_test_data): Likewise.
19878 (cosh_test_data): Likewise.
19879 (erf_test_data): Likewise.
19880 (erfc_test_data): Likewise.
19881 (exp_test_data): Likewise.
19882 (exp10_test_data): Likewise.
19883 (exp2_test_data): Likewise.
19884 (expm1_test_data): Likewise.
19885 (hypot_test_data): Likewise.
19886 (j0_test_data): Likewise.
19887 (j1_test_data): Likewise.
19888 (jn_test_data): Likewise.
19889 (lgamma_test_data): Likewise.
19890 (log_test_data): Likewise.
19891 (log10_test_data): Likewise.
19892 (log1p_test_data): Likewise.
19893 (log2_test_data): Likewise.
19894 (pow_test_data): Likewise.
19895 (scalb_test_data): Likewise.
19896 (sin_test_data): Likewise.
19897 (sincos_test_data): Likewise.
19898 (sinh_test_data): Likewise.
19899 (tan_test_data): Likewise.
19900 (tanh_test_data): Likewise.
19901 (tgamma_test_data): Likewise.
19902 (y0_test_data): Likewise.
19903 (y1_test_data): Likewise.
19904 (yn_test_data): Likewise.
19907 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19908 argument being NaN and avoid computations with second argument in
19910 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19911 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19912 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19914 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19916 * locale/iso-639.def: Add Chitwani Tharu (the).
19918 2013-11-14 Andreas Schwab <schwab@suse.de>
19920 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19921 word instead of empty string.
19923 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19926 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19928 (__fe_nomask_env): Likewise.
19930 2013-11-13 Steve Ellcey <sellcey@mips.com>
19932 * benchtests/bench-timing.h: Include time.h.
19934 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19937 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19939 * sysdeps/unix/sysv/linux/configure: Regenerated.
19941 2013-11-13 Joseph Myers <joseph@codesourcery.com>
19944 * stdlib/strtod_l.c (round_and_return): Do not consider
19945 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19946 exponent one less than half the least subnormal exponent.
19947 * stdlib/test-strtod-round-data: Add more tests.
19948 * stdlib/tst-strtod-round.c (tests): Regenerated.
19950 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19953 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19954 (__fe_mask_env): Likewise.
19955 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19956 libm_hidden_proto and add function prototype.
19957 (__fe_mask_env): Add function prototype.
19958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19959 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19961 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19963 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19965 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19967 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19968 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19970 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19972 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19973 of htab_find_slot().
19975 2013-11-11 David S. Miller <davem@davemloft.net>
19978 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19979 symbol in the non-vis3 case in static builds.
19980 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19981 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19982 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19983 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19985 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19988 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19991 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19993 * benchtests/Makefile: Add bench-strtod.
19994 * benchtests/bench-strtod.c: New file: strtod benchtest
19996 2013-11-11 Andreas Schwab <schwab@suse.de>
19999 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20000 terminating NUL in key length.
20002 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20004 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20005 Add artificial ODP entry for vDSO symbol for PPC64.
20006 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20007 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20009 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20012 * nss/getent.c (services_keys): Recognize services starting with digit.
20014 2013-11-06 David S. Miller <davem@davemloft.net>
20017 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20018 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20020 2013-11-06 Will Newton <will.newton@linaro.org>
20022 * manual/memory.texi (Malloc Examples): Remove register
20023 keyword from examples.
20025 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20027 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20029 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20032 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20033 depending on [__GCC_IEC_559 > 0].
20034 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20035 depending on [__GCC_IEC_559_COMPLEX > 0].
20037 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20039 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20042 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20044 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20046 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20049 * malloc/malloc (malloc_info): Do not handle first bin as
20052 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20054 * locale/iso-639.def: Add Central Nahuatl (nhn).
20056 2013-11-01 Bruno Haible <bruno@clisp.org>
20059 * manual/math.texi (BSD Random): Specify range upper bound as
20062 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20064 * locale/iso-639.def: Add Meadow Mari (mhr).
20066 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20068 [BZ #14752], [BZ #15763]
20069 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20071 * rt/tst_shm.c: Add test for escaping directory.
20073 2013-10-31 Andreas Schwab <schwab@suse.de>
20076 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20077 followed by 'x' as part of digit sequence.
20078 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20080 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20083 * configure.ac: allow GNU Make 4.0 and greater.
20084 * configure: Regenerated.
20086 2013-10-30 Will Newton <will.newton@linaro.org>
20089 * malloc/hooks.c (memalign_check): Limit alignment to the
20090 maximum representable power of two.
20091 * malloc/malloc.c (__libc_memalign): Likewise.
20092 * malloc/tst-memalign.c (do_test): Add test for very
20093 large alignment values.
20094 * malloc/tst-posix_memalign.c (do_test): Likewise.
20096 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20099 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20100 (munmap_chunk): Likewise.
20101 (mremap_chunk): Likewise.
20103 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20106 * stdlib/div.c (div): Remove obsolete code.
20107 * stdlib/ldiv.c (ldiv): Likewise.
20108 * stdlib/lldiv.c (lldiv): Likewise.
20110 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20113 * nss/nss_files/files-XXX.c (get_contents_ret): New
20115 (get_contents): New function.
20116 (internal_getent): Use it. Expand size of LINEBUFLEN.
20118 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20120 * configure.in: Moved to ...
20121 * configure.ac: ... here. Change reference to configure.in
20123 * sysdeps/arm/preconfigure.ac: ... here.
20124 configure.in to configure.ac.
20125 * sysdeps/gnu/configure.in: Moved to ...
20126 * sysdeps/gnu/configure.ac: ... here.
20127 * sysdeps/i386/configure.in: Moved to ...
20128 * sysdeps/i386/configure.ac: ... here.
20129 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20130 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20131 * sysdeps/mach/configure.in: Moved to ...
20132 * sysdeps/mach/configure.ac: ... here.
20133 * sysdeps/mach/hurd/configure.in: Moved to ...
20134 * sysdeps/mach/hurd/configure.ac: ... here.
20135 * sysdeps/powerpc/configure.in: Moved to ...
20136 * sysdeps/powerpc/configure.ac: ... here.
20137 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20138 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20139 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20140 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20141 * sysdeps/s390/s390-32/configure.in: Moved to ...
20142 * sysdeps/s390/s390-32/configure.ac: ... here.
20143 * sysdeps/s390/s390-64/configure.in: Moved to ...
20144 * sysdeps/s390/s390-64/configure.ac: ... here.
20145 * sysdeps/sh/configure.in: Moved to ...
20146 * sysdeps/sh/configure.ac: ... here.
20147 * sysdeps/sparc/configure.in: Moved to ...
20148 * sysdeps/sparc/configure.ac: ... here.
20149 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20150 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20151 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20152 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20153 * sysdeps/x86_64/configure.in: Moved to ...
20154 * sysdeps/x86_64/configure.ac: ... here.
20155 * sysdeps/x86_64/preconfigure.in: Moved to ...
20156 * sysdeps/x86_64/preconfigure.ac: ... here.
20157 * aclocal.m4: Change reference to configure.in to configure.ac.
20158 * config.h.in: Likewise.
20159 * manual/install.texi: Likewise.
20160 * manual/maint.texi: Likewise.
20161 * Makefile: Likewise.
20162 * malloc/Makefile: Likewise.
20163 * nscd/Makefile: Likewise.
20164 * Makeconfig: Change reference to configure.in and
20165 preconfigure.in to configure.ac and preconfigure.ac
20167 * INSTALL: Regenerated.
20168 * configure: Likewise.
20169 * sysdeps/gnu/configure: Likewise.
20170 * sysdeps/i386/configure: Likewise.
20171 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20172 * sysdeps/mach/configure: Likewise.
20173 * sysdeps/mach/hurd/configure: Likewise.
20174 * sysdeps/powerpc/configure: Likewise.
20175 * sysdeps/powerpc/powerpc32/configure: Likewise.
20176 * sysdeps/powerpc/powerpc64/configure: Likewise.
20177 * sysdeps/s390/s390-32/configure: Likewise.
20178 * sysdeps/s390/s390-64/configure: Likewise.
20179 * sysdeps/sh/configure: Likewise.
20180 * sysdeps/sparc/configure: Likewise.
20181 * sysdeps/unix/sysv/linux/configure: Likewise.
20182 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20183 * sysdeps/x86_64/configure: Likewise.
20184 * sysdeps/x86_64/preconfigure: Likewise.
20186 2013-10-29 Andreas Schwab <schwab@suse.de>
20188 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20190 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20192 * benchtests/pow-inputs: Add new inputs.
20194 * benchtests/exp-inputs: Add new inputs.
20196 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20197 conditional check for return value.
20198 (__cos32): Likewise.
20200 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20202 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20203 to provide a boost for large inputs with word alignment.
20204 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20205 implementation based on optimized PPC64 strcpy.
20206 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20207 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20208 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20209 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20211 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20214 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20216 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20219 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20220 * time/tst-strptime.c (day_tests): Add testcase.
20222 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20225 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20227 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20230 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20231 MAP_FAILED on error.
20233 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20236 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20237 heap for large requests.
20239 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20242 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20243 result if the result has no associated interface.
20244 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20245 interface for all 127.X.Y.Z addresses.
20247 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20249 * locale/iso-639.def: Add Ligurian (lij)
20251 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20254 * sunrpc/rpc_main.c: Document rpcgen -5.
20256 2013-10-19 Michael Stahl <mstahl@redhat.com>
20258 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20260 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20263 * posix/glob.c: Match only directories when trailing slash is present.
20264 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20265 (main): Add testcase.
20267 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20270 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20272 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20274 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20275 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20276 AUTH_DES and cindex for FIPS 140-2.
20277 (DES Encryption): Add cindex FIPS 46-3.
20279 * locale/locarchive.h (struct locarhandle): Add fname.
20280 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20281 if an optional argument was specified to --list-archive,
20283 * locale/programs/locarchive.c (show_archive_content): Take new
20284 argument fname and pass it via ah.fname to open_archive.
20285 * locale/programs/localedef.h: Update decl.
20286 (open_archive): If AH->fname is non-null, open that file
20287 rather than the default file name, and don't ignore ENOENT.
20288 (create_archive): Set AH.fname to NULL.
20289 (delete_locales_from_archive): Likewise.
20290 (add_locales_to_archive): Likewise.
20291 * locale/programs/locfile.c (write_all_categories): Likewise.
20293 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20294 Aldy Hernandez <aldyh@redhat.com>
20296 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20297 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20298 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20299 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20300 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20301 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20302 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20303 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20304 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20305 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20306 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20307 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20308 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20309 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20310 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20312 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20314 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20316 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20318 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20319 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20321 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20322 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20323 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20324 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20326 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20327 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20328 * sysdeps/powerpc/preconfigure: Likewise.
20329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20331 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20332 Replace contents of file by #include of <fenv_libc.h>.
20333 * sysdeps/powerpc/soft-fp/sfp-machine.h
20334 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20336 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20337 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20338 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20339 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20340 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20341 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20343 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20344 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20345 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20346 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20347 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20349 Allow copysignl PLT reference to be missing.
20351 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20352 Joseph Myers <joseph@codesourcery.com
20355 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20357 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20359 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20361 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20362 * elf/tst-tls1.c: Likewise.
20363 * elf/tst-tls10.h: Likewise.
20364 * elf/tst-tls14.c: Likewise.
20365 * elf/tst-tls2.c: Likewise.
20366 * elf/tst-tls3.c: Likewise.
20367 * elf/tst-tls4.c: Likewise.
20368 * elf/tst-tls5.c: Likewise.
20369 * elf/tst-tls6.c: Likewise.
20370 * elf/tst-tls7.c: Likewise.
20371 * elf/tst-tls8.c: Likewise.
20372 * elf/tst-tls9.c: Likewise.
20373 * elf/tst-tlsmod1.c: Likewise.
20374 * elf/tst-tlsmod13.c: Likewise.
20375 * elf/tst-tlsmod13a.c: Likewise.
20376 * elf/tst-tlsmod14a.c: Likewise.
20377 * elf/tst-tlsmod16a.c: Likewise.
20378 * elf/tst-tlsmod16b.c: Likewise.
20379 * elf/tst-tlsmod2.c: Likewise.
20380 * elf/tst-tlsmod3.c: Likewise.
20381 * elf/tst-tlsmod4.c: Likewise.
20382 * elf/tst-tlsmod5.c: Likewise.
20383 * elf/tst-tlsmod6.c: Likewise.
20385 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20388 * malloc/malloc.c: remove checks for statistics.
20390 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20393 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20394 * inet/tst-network.c: Add testcase.
20396 2013-10-17 Andreas Schwab <schwab@suse.de>
20399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20400 to determine canonical name.
20402 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20404 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20405 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20407 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20409 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20410 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20411 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20412 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20413 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20414 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20416 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20418 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20419 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20421 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20424 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20425 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20426 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20427 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20428 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20429 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20430 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20431 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20432 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20433 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20434 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20436 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20437 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20438 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20439 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20440 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20441 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20442 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20443 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20444 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20445 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20446 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20447 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20448 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20449 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20450 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20451 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20452 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20453 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20454 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20455 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20456 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20457 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20458 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20459 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20460 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20461 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20463 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20466 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20467 make result into a quiet NaN.
20469 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20471 * soft-fp/adddf3.c: Fix horizontal whitespace.
20472 * soft-fp/addsf3.c: Likewise.
20473 * soft-fp/addtf3.c: Likewise.
20474 * soft-fp/divdf3.c: Likewise.
20475 * soft-fp/divsf3.c: Likewise.
20476 * soft-fp/divtf3.c: Likewise.
20477 * soft-fp/double.h: Likewise.
20478 * soft-fp/eqdf2.c: Likewise.
20479 * soft-fp/eqsf2.c: Likewise.
20480 * soft-fp/eqtf2.c: Likewise.
20481 * soft-fp/extenddftf2.c: Likewise.
20482 * soft-fp/extended.h: Likewise.
20483 * soft-fp/extendsfdf2.c: Likewise.
20484 * soft-fp/extendsftf2.c: Likewise.
20485 * soft-fp/extendxftf2.c: Likewise.
20486 * soft-fp/fixdfdi.c: Likewise.
20487 * soft-fp/fixdfsi.c: Likewise.
20488 * soft-fp/fixdfti.c: Likewise.
20489 * soft-fp/fixsfdi.c: Likewise.
20490 * soft-fp/fixsfsi.c: Likewise.
20491 * soft-fp/fixsfti.c: Likewise.
20492 * soft-fp/fixtfdi.c: Likewise.
20493 * soft-fp/fixtfsi.c: Likewise.
20494 * soft-fp/fixtfti.c: Likewise.
20495 * soft-fp/fixunsdfdi.c: Likewise.
20496 * soft-fp/fixunsdfsi.c: Likewise.
20497 * soft-fp/fixunsdfti.c: Likewise.
20498 * soft-fp/fixunssfdi.c: Likewise.
20499 * soft-fp/fixunssfsi.c: Likewise.
20500 * soft-fp/fixunssfti.c: Likewise.
20501 * soft-fp/fixunstfdi.c: Likewise.
20502 * soft-fp/fixunstfsi.c: Likewise.
20503 * soft-fp/fixunstfti.c: Likewise.
20504 * soft-fp/floatdidf.c: Likewise.
20505 * soft-fp/floatdisf.c: Likewise.
20506 * soft-fp/floatditf.c: Likewise.
20507 * soft-fp/floatsidf.c: Likewise.
20508 * soft-fp/floatsisf.c: Likewise.
20509 * soft-fp/floatsitf.c: Likewise.
20510 * soft-fp/floattidf.c: Likewise.
20511 * soft-fp/floattisf.c: Likewise.
20512 * soft-fp/floattitf.c: Likewise.
20513 * soft-fp/floatundidf.c: Likewise.
20514 * soft-fp/floatundisf.c: Likewise.
20515 * soft-fp/floatunditf.c: Likewise.
20516 * soft-fp/floatunsidf.c: Likewise.
20517 * soft-fp/floatunsisf.c: Likewise.
20518 * soft-fp/floatunsitf.c: Likewise.
20519 * soft-fp/floatuntidf.c: Likewise.
20520 * soft-fp/floatuntisf.c: Likewise.
20521 * soft-fp/floatuntitf.c: Likewise.
20522 * soft-fp/fmadf4.c: Likewise.
20523 * soft-fp/fmasf4.c: Likewise.
20524 * soft-fp/fmatf4.c: Likewise.
20525 * soft-fp/gedf2.c: Likewise.
20526 * soft-fp/gesf2.c: Likewise.
20527 * soft-fp/getf2.c: Likewise.
20528 * soft-fp/ledf2.c: Likewise.
20529 * soft-fp/lesf2.c: Likewise.
20530 * soft-fp/letf2.c: Likewise.
20531 * soft-fp/muldf3.c: Likewise.
20532 * soft-fp/mulsf3.c: Likewise.
20533 * soft-fp/multf3.c: Likewise.
20534 * soft-fp/negdf2.c: Likewise.
20535 * soft-fp/negsf2.c: Likewise.
20536 * soft-fp/negtf2.c: Likewise.
20537 * soft-fp/op-1.h: Likewise.
20538 * soft-fp/op-2.h: Likewise.
20539 * soft-fp/op-4.h: Likewise.
20540 * soft-fp/op-8.h: Likewise.
20541 * soft-fp/op-common.h: Likewise.
20542 * soft-fp/quad.h: Likewise.
20543 * soft-fp/single.h: Likewise.
20544 * soft-fp/soft-fp.h: Likewise.
20545 * soft-fp/sqrtdf2.c: Likewise.
20546 * soft-fp/sqrtsf2.c: Likewise.
20547 * soft-fp/sqrttf2.c: Likewise.
20548 * soft-fp/subdf3.c: Likewise.
20549 * soft-fp/subsf3.c: Likewise.
20550 * soft-fp/subtf3.c: Likewise.
20551 * soft-fp/truncdfsf2.c: Likewise.
20552 * soft-fp/trunctfdf2.c: Likewise.
20553 * soft-fp/trunctfsf2.c: Likewise.
20554 * soft-fp/trunctfxf2.c: Likewise.
20555 * soft-fp/unorddf2.c: Likewise.
20556 * soft-fp/unordsf2.c: Likewise.
20557 * soft-fp/unordtf2.c: Likewise.
20559 2013-10-15 Joseph Myers <joseph@codesourcery.com>
20561 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20562 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20564 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
20566 * elf/dl-libc.c: Clear initfini list after freeing.
20568 2013-10-14 Joseph Myers <joseph@codesourcery.com>
20570 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20571 * soft-fp/addsf3.c: Likewise.
20572 * soft-fp/addtf3.c: Likewise.
20573 * soft-fp/divdf3.c: Likewise.
20574 * soft-fp/divsf3.c: Likewise.
20575 * soft-fp/divtf3.c: Likewise.
20576 * soft-fp/double.h: Likewise.
20577 * soft-fp/eqdf2.c: Likewise.
20578 * soft-fp/eqsf2.c: Likewise.
20579 * soft-fp/eqtf2.c: Likewise.
20580 * soft-fp/extenddftf2.c: Likewise.
20581 * soft-fp/extended.h: Likewise.
20582 * soft-fp/extendsfdf2.c: Likewise.
20583 * soft-fp/extendsftf2.c: Likewise.
20584 * soft-fp/extendxftf2.c: Likewise.
20585 * soft-fp/fixdfdi.c: Likewise.
20586 * soft-fp/fixdfsi.c: Likewise.
20587 * soft-fp/fixdfti.c: Likewise.
20588 * soft-fp/fixsfdi.c: Likewise.
20589 * soft-fp/fixsfsi.c: Likewise.
20590 * soft-fp/fixsfti.c: Likewise.
20591 * soft-fp/fixtfdi.c: Likewise.
20592 * soft-fp/fixtfsi.c: Likewise.
20593 * soft-fp/fixtfti.c: Likewise.
20594 * soft-fp/fixunsdfdi.c: Likewise.
20595 * soft-fp/fixunsdfsi.c: Likewise.
20596 * soft-fp/fixunsdfti.c: Likewise.
20597 * soft-fp/fixunssfdi.c: Likewise.
20598 * soft-fp/fixunssfsi.c: Likewise.
20599 * soft-fp/fixunssfti.c: Likewise.
20600 * soft-fp/fixunstfdi.c: Likewise.
20601 * soft-fp/fixunstfsi.c: Likewise.
20602 * soft-fp/fixunstfti.c: Likewise.
20603 * soft-fp/floatdidf.c: Likewise.
20604 * soft-fp/floatdisf.c: Likewise.
20605 * soft-fp/floatditf.c: Likewise.
20606 * soft-fp/floatsidf.c: Likewise.
20607 * soft-fp/floatsisf.c: Likewise.
20608 * soft-fp/floatsitf.c: Likewise.
20609 * soft-fp/floattidf.c: Likewise.
20610 * soft-fp/floattisf.c: Likewise.
20611 * soft-fp/floattitf.c: Likewise.
20612 * soft-fp/floatundidf.c: Likewise.
20613 * soft-fp/floatundisf.c: Likewise.
20614 * soft-fp/floatunsidf.c: Likewise.
20615 * soft-fp/floatunsisf.c: Likewise.
20616 * soft-fp/floatuntidf.c: Likewise.
20617 * soft-fp/floatuntisf.c: Likewise.
20618 * soft-fp/floatuntitf.c: Likewise.
20619 * soft-fp/fmadf4.c: Likewise.
20620 * soft-fp/fmasf4.c: Likewise.
20621 * soft-fp/fmatf4.c: Likewise.
20622 * soft-fp/gedf2.c: Likewise.
20623 * soft-fp/gesf2.c: Likewise.
20624 * soft-fp/getf2.c: Likewise.
20625 * soft-fp/ledf2.c: Likewise.
20626 * soft-fp/lesf2.c: Likewise.
20627 * soft-fp/letf2.c: Likewise.
20628 * soft-fp/muldf3.c: Likewise.
20629 * soft-fp/mulsf3.c: Likewise.
20630 * soft-fp/multf3.c: Likewise.
20631 * soft-fp/negdf2.c: Likewise.
20632 * soft-fp/negsf2.c: Likewise.
20633 * soft-fp/negtf2.c: Likewise.
20634 * soft-fp/op-1.h: Likewise.
20635 * soft-fp/op-2.h: Likewise.
20636 * soft-fp/op-4.h: Likewise.
20637 * soft-fp/op-8.h: Likewise.
20638 * soft-fp/op-common.h: Likewise.
20639 * soft-fp/quad.h: Likewise.
20640 * soft-fp/single.h: Likewise.
20641 * soft-fp/soft-fp.h: Likewise.
20642 * soft-fp/sqrtdf2.c: Likewise.
20643 * soft-fp/sqrtsf2.c: Likewise.
20644 * soft-fp/sqrttf2.c: Likewise.
20645 * soft-fp/subdf3.c: Likewise.
20646 * soft-fp/subsf3.c: Likewise.
20647 * soft-fp/subtf3.c: Likewise.
20648 * soft-fp/truncdfsf2.c: Likewise.
20649 * soft-fp/trunctfdf2.c: Likewise.
20650 * soft-fp/trunctfsf2.c: Likewise.
20651 * soft-fp/trunctfxf2.c: Likewise.
20652 * soft-fp/unorddf2.c: Likewise.
20653 * soft-fp/unordsf2.c: Likewise.
20654 * soft-fp/unordtf2.c: Likewise.
20656 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
20659 * misc/error.c (error_tail): Fix possible buffer overflow.
20661 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20664 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20667 2013-10-14 P. J. McDermott <pj@pehjota.net>
20670 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20671 testing pipefail option.
20673 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20675 * soft-fp/double.h: Indent preprocessor directives inside #if.
20676 * soft-fp/extended.h: Likewise.
20677 * soft-fp/op-2.h: Likewise.
20678 * soft-fp/op-4.h: Likewise.
20679 * soft-fp/op-common.h: Likewise.
20680 * soft-fp/quad.h: Likewise.
20681 * soft-fp/single.h: Likewise.
20682 * soft-fp/soft-fp.h: Likewise.
20684 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20686 * iconv/iconv_prog.c: Fix typos.
20687 * stdio-common/psiginfo-data.h: Likewise.
20689 2013-10-12 Reuben Thomas <rrt@sc3d.org>
20692 * locale/setlocale.c: Fix typo.
20694 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20697 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20698 signaling NaN arguments.
20699 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20700 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20703 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20704 unordered operands.
20705 * soft-fp/gesf2.c (__gesf2): Likewise.
20706 * soft-fp/getf2.c (__getf2): Likewise.
20707 * soft-fp/ledf2.c (__ledf2): Likewise.
20708 * soft-fp/lesf2.c (__lesf2): Likewise.
20709 * soft-fp/letf2.c (__letf2): Likewise.
20711 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20712 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20713 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20714 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20715 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20716 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20717 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20718 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20719 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20720 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20721 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20722 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20723 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20724 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20725 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20726 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20727 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20728 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20729 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20730 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20731 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20732 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20733 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20734 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20735 * soft-fp/floattidf.c (__floattidf): Likewise.
20736 * soft-fp/floattisf.c (__floattisf): Likewise.
20737 * soft-fp/floattitf.c (__floattitf): Likewise.
20738 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20739 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20740 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20741 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20742 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20743 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20744 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20745 * soft-fp/gesf2.c (__gesf2): Likewise.
20746 * soft-fp/getf2.c (__getf2): Likewise.
20747 * soft-fp/ledf2.c (__ledf2): Likewise.
20748 * soft-fp/lesf2.c (__lesf2): Likewise.
20749 * soft-fp/letf2.c (__letf2): Likewise.
20751 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20752 Undefine and redefine.
20753 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20754 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20755 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20756 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20757 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20758 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20759 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20760 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20761 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20762 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20763 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20764 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20765 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20766 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20767 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20770 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20771 without decrementing exponent if mantissa >= that for the
20772 denominator, not >.
20773 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20774 denominator, not >. Decrement exponent in < case instead of
20775 incrementing in >= case.
20776 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20777 without decrementing exponent if mantissa >= that for the
20778 denominator, not >.
20780 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20781 computing saturated result for unsigned overflow.
20783 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20784 Jeff Law <law@redhat.com>
20786 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20787 (atan2Mp): Add systemtap probe marker.
20788 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20789 (__ieee754_log): Add systemtap probe marker.
20790 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20791 (atanMp): Add systemtap probe marker.
20792 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20793 (tanMp): Add systemtap probe marker.
20794 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20795 (__slowexp): Add systemtap probe marker.
20796 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20797 (__slowpow): Add systemtap probe marker.
20798 * manual/probes.texi: Document probes.
20800 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
20803 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20805 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20807 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20808 written to buffer but not flushed.
20809 * libio/iofwrite_u.c: Likewise.
20810 * libio/iopadn.c: Return bytes returned even if EOF was
20812 * libio/iowpadn.c: Likewise.
20813 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20814 if _IO_padn does not write the whole buffer.
20815 [!COMPILE_WPRINTF] (PAD): Likewise.
20817 2013-10-10 David S. Miller <davem@davemloft.net>
20819 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20822 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20824 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20825 instead of FSF address.
20826 * soft-fp/fixdfti.c: Likewise.
20827 * soft-fp/fixsfti.c: Likewise.
20828 * soft-fp/fixtfti.c: Likewise.
20829 * soft-fp/fixunsdfti.c: Likewise.
20830 * soft-fp/fixunssfti.c: Likewise.
20831 * soft-fp/fixunstfti.c: Likewise.
20832 * soft-fp/floattidf.c: Likewise.
20833 * soft-fp/floattisf.c: Likewise.
20834 * soft-fp/floattitf.c: Likewise.
20835 * soft-fp/floatuntidf.c: Likewise.
20836 * soft-fp/floatuntisf.c: Likewise.
20837 * soft-fp/floatuntitf.c: Likewise.
20838 * soft-fp/trunctfxf2.c: Likewise.
20840 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20841 * soft-fp/fixdfti.c: Likewise.
20842 * soft-fp/fixsfti.c: Likewise.
20843 * soft-fp/fixtfti.c: Likewise.
20844 * soft-fp/fixunsdfti.c: Likewise.
20845 * soft-fp/fixunssfti.c: Likewise.
20846 * soft-fp/fixunstfti.c: Likewise.
20847 * soft-fp/floattidf.c: Likewise.
20848 * soft-fp/floattisf.c: Likewise.
20849 * soft-fp/floattitf.c: Likewise.
20850 * soft-fp/floatuntidf.c: Likewise.
20851 * soft-fp/floatuntisf.c: Likewise.
20852 * soft-fp/floatuntitf.c: Likewise.
20853 * soft-fp/trunctfxf2.c: Likewise.
20855 2013-10-10 David S. Miller <davem@davemloft.net>
20857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20859 2013-10-10 Joseph Myers <joseph@codsourcery.com>
20861 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20862 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20863 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20864 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20865 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20866 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20867 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20869 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20870 for NaNs before doing comparisons on argument.
20871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20874 2013-10-10 Will Newton <will.newton@linaro.org>
20876 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20877 passed to _int_memalign does not overflow.
20879 2013-10-10 Torvald Riegel <triegel@redhat.com>
20881 * scripts/bench.pl: Add include-sources directive.
20882 * benchtests/README: Update documentation.
20884 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20886 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20887 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20888 instead of FP_INIT_ROUNDMODE.
20889 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20890 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20893 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20894 copy class of input value.
20895 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20896 not handle exceptions.
20897 * soft-fp/negsf2.c (__negsf2): Likewise.
20898 * soft-fp/negtf2.c (__negtf2): Likewise.
20899 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20901 2013-10-09 Joseph Myers <joseph@codesourcery.com>
20903 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20904 semicolon. From Linux kernel.
20906 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20908 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20910 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20913 * manual/socket.texi: Added statement about buffer
20914 for gethostbyname2_r.
20916 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
20918 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20919 Use .p2align directive instead, throughout.
20920 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20921 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20922 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20923 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20924 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20925 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20926 * sysdeps/x86_64/strchr.S: Likewise.
20927 * sysdeps/x86_64/strrchr.S: Likewise.
20929 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20931 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20933 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20935 * sysdeps/generic/math_private.h (__mpsin1): Remove
20937 (__mpcos1): Likewise.
20938 (__mpsin): New argument __range_reduce.
20939 (__mpcos): Likewise.
20940 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20941 (slow): Use __mpsin and __mpcos.
20945 (sloww1): Likewise.
20946 (sloww2): Likewise.
20947 (bsloww): Likewise.
20948 (bsloww1): Likewise.
20949 (bsloww2): Likewise.
20950 (cslow2): Likewise.
20951 (csloww): Likewise.
20952 (csloww1): Likewise.
20953 (csloww2): Likewise.
20954 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20955 range_reduce. Merge in __mpsin1.
20956 (__mpcos): Likewise.
20957 (__mpsin1): Remove.
20958 (__mpcos1): Likewise.
20960 2013-10-07 Joseph Myers <joseph@codesourcery.com>
20962 * locale/loadlocale.c (_nl_intern_locale_data): Use
20964 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20965 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20966 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20967 obstack data is appropriately aligned.
20968 (obstack_int32_grow_fast): Likewise.
20969 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20970 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20971 (add_locale_uint32_array): Likewise.
20973 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20975 * benchtests/Makefile: Remove ARGLIST and RET variables.
20976 ($(objpfx)bench-%.c): Pass only function name to the script.
20977 * benchtests/README: Update documentation.
20978 * benchtests/acos-inputs: Add new directives.
20979 * benchtests/acosh-inputs: Likewise.
20980 * benchtests/asin-inputs: Likewise.
20981 * benchtests/asinh-inputs: Likewise.
20982 * benchtests/atan-inputs: Likewise.
20983 * benchtests/atanh-inputs: Likewise.
20984 * benchtests/cos-inputs: Likewise.
20985 * benchtests/cosh-inputs: Likewise.
20986 * benchtests/exp-inputs: Likewise.
20987 * benchtests/log-inputs: Likewise.
20988 * benchtests/pow-inputs: Likewise.
20989 * benchtests/rint-inputs: Likewise.
20990 * benchtests/sin-inputs: Likewise.
20991 * benchtests/sinh-inputs: Likewise.
20992 * benchtests/tan-inputs: Likewise.
20993 * benchtests/tanh-inputs: Likewise.
20994 * scripts/bench.pl: Add support for new directives.
20996 2013-10-07 Alan Modra <amodra@gmail.com>
20998 * README: Fix careless merge.
21000 2013-10-05 Alan Modra <amodra@gmail.com>
21002 * NEWS: Mention powerpc64le support and bugs fixed.
21003 * README: Both big-endian and little-endian powerpc64 supported.
21005 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21007 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21008 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21009 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21010 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21012 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21014 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21017 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21019 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21020 Move -mhard-float appending from
21021 ports/sysdeps/powerpc/powerpc32/Makefile.
21022 [$(with-fp) = yes] (ASFLAGS): Likewise.
21023 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21024 * sysdeps/powerpc/nofpu: Move directory from
21025 ports/sysdeps/powerpc/nofpu.
21026 * sysdeps/powerpc/soft-fp: Move directory from
21027 ports/sysdeps/powerpc/soft-fp.
21028 * sysdeps/powerpc/powerpc32/405: Move directory from
21029 ports/sysdeps/powerpc/powerpc32/405.
21030 * sysdeps/powerpc/powerpc32/440: Move directory from
21031 ports/sysdeps/powerpc/powerpc32/440.
21032 * sysdeps/powerpc/powerpc32/464: Move directory from
21033 ports/sysdeps/powerpc/powerpc32/464.
21034 * sysdeps/powerpc/powerpc32/476: Move directory from
21035 ports/sysdeps/powerpc/powerpc32/476.
21036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21037 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21039 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21041 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21043 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21045 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21046 * README: Update for powerpc-*-linux-gnu software floating point
21049 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21050 case to powerpc/powerpc32*.
21051 * sysdeps/unix/sysv/linux/configure: Regenerated.
21053 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21054 (_FPU_MASK_OM): Define as 0x04.
21055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21063 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21066 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21069 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21070 and setcontext_e500.
21072 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21074 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21076 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21078 * manual/threads.texi (Default Thread Attributes): Fix typo.
21080 2013-10-04 Will Newton <will.newton@linaro.org>
21082 * malloc/Makefile: Add tst-memalign.
21083 * malloc/tst-memalign.c: New file.
21085 * malloc/tst-posix_memalign.c: Add comments.
21086 (do_test): Add comments and call free on all potentially
21087 allocated pointers. Add space after cast.
21089 * malloc/tst-pvalloc.c: Add comments.
21090 (do_test): Add comments and call free on all potentially
21091 allocated pointers. Remove duplicate check for NULL pointer.
21092 Add space after cast.
21094 * malloc/tst-valloc.c: Add comments.
21095 (do_test): Add comments and call free on all potentially
21096 allocated pointers. Remove duplicate check for NULL pointer.
21097 Add space after cast.
21099 2013-10-04 Alan Modra <amodra@gmail.com>
21101 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21102 Use stdint types in rather than __attribute__((mode())).
21103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21105 2013-10-04 Alan Modra <amodra@gmail.com>
21107 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21108 Correct handling of unaligned relocs for little-endian.
21109 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21111 2013-10-04 Alan Modra <amodra@gmail.com>
21113 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21114 * configure: Regenerate.
21115 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21116 * shlib-versions: Likewise.
21118 2013-10-04 Alan Modra <amodra@gmail.com>
21120 * string/tester.c (test_memrchr): Increment reported test cycle.
21122 2013-10-04 Alan Modra <amodra@gmail.com>
21124 * string/test-memcpy.c (do_one_test): When reporting errors, print
21125 string address and don't overrun end of string.
21127 2013-10-04 Alan Modra <amodra@gmail.com>
21129 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21130 insrdi. Make better use of reg selection to speed exit slightly.
21131 Schedule entry path a little better. Remove useless "are we done"
21132 checks on entry to main loop. Handle wrapping around zero address.
21133 Correct main loop count. Handle single left-over word from main
21134 loop inline rather than by using loop_small. Remove extra word
21135 case in loop_small caused by wrong loop count. Add little-endian
21137 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21138 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21140 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21141 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21142 support. Avoid rlwimi.
21143 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21145 2013-10-04 Alan Modra <amodra@gmail.com>
21147 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21148 insrdi. Formatting.
21149 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21150 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21151 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21152 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21153 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21154 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21156 2013-10-04 Alan Modra <amodra@gmail.com>
21158 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21159 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21160 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21161 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21162 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21163 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21164 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21165 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21166 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21167 use of regs. Use power7 mtocrf. Tidy function tails.
21169 2013-10-04 Alan Modra <amodra@gmail.com>
21171 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21172 Formatting. Consistently use rXXX register defines or rN defines.
21173 Use early exit labels that avoid restoring unused non-volatile regs.
21174 Make cr field use more consistent with rWORDn compares. Rename
21175 regs used as shift registers for unaligned loop, using rN defines
21176 for short lifetime/multiple use regs.
21177 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21178 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21179 addi 1,1,64 to pop stack frame. Simplify return value code.
21180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21182 2013-10-04 Alan Modra <amodra@gmail.com>
21184 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21185 support. Correct typos, formatting. Optimize tail. Use insrdi
21186 rather than rlwimi.
21187 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21188 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21189 little-endian support. Correct typos.
21190 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21191 rather than rlwimi.
21192 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21193 in loop and entry code to keep "and." results.
21194 (strchr): Add little-endian support. Comment. Move cntlzd
21196 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21198 2013-10-04 Alan Modra <amodra@gmail.com>
21200 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21201 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21202 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21203 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21205 2013-10-04 Alan Modra <amodra@gmail.com>
21207 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21208 (rTMP): Define as r11.
21209 (strcmp): Add little-endian support. Optimise tail.
21210 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21211 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21212 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21213 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21214 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21215 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21216 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21218 2013-10-04 Alan Modra <amodra@gmail.com>
21220 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21221 little-endian support. Remove unnecessary "are we done" tests.
21222 Handle "s" wrapping around zero and extremely large "size".
21223 Correct main loop count. Handle single left-over word from main
21224 loop inline rather than by using small_loop. Correct comments.
21225 Delete "zero" tail, use "end_max" instead.
21226 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21228 2013-10-04 Alan Modra <amodra@gmail.com>
21230 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21231 support. Don't branch over align.
21232 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21233 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21234 support. Rearrange tmp reg use to suit. Comment.
21235 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21237 2013-10-04 Alan Modra <amodra@gmail.com>
21239 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21241 2013-10-04 Alan Modra <amodra@gmail.com>
21243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21244 conditional form of branch and link when obtaining pc.
21245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21247 2013-10-04 Alan Modra <amodra@gmail.com>
21249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21254 2013-10-04 Alan Modra <amodra@gmail.com>
21256 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21257 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21258 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21259 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21260 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21261 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21262 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21263 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21264 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21265 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21267 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21268 Alistair Popple <alistair@ozlabs.au.ibm.com>
21269 Alan Modra <amodra@gmail.com>
21272 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21273 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21274 _dl_hwcap access for little-endian.
21275 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21276 destroy vmx regs when saving unaligned.
21277 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21278 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21279 destroy vmx regs when saving unaligned.
21281 2013-10-04 Alan Modra <amodra@gmail.com>
21283 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21284 Don't use a union to pack hi/low value.
21286 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21288 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21290 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21292 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21293 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21294 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21296 2013-10-04 Alan Modra <amodra@gmail.com>
21298 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21299 constants to usual value for .cst8 section, and remove redundant
21301 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21302 constant for 0x1p52. Load little-endian words of double from
21303 correct stack offsets.
21305 2013-10-04 Alan Modra <amodra@gmail.com>
21307 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21308 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21309 words of double from correct stack offsets.
21310 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21311 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21312 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21315 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21316 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21317 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21318 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21319 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21320 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21321 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21322 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21323 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21324 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21325 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21326 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21328 2013-10-04 Alan Modra <amodra@gmail.com>
21330 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21331 64-bit int/double union.
21332 (_FPU_SETCW): Likewise.
21333 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21334 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21336 2013-10-04 Alan Modra <amodra@gmail.com>
21338 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21339 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21341 2013-10-04 Alan Modra <amodra@gmail.com>
21343 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21344 use vector int constants.
21345 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21347 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21349 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21350 array with long long.
21351 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21352 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21353 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21354 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21355 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21356 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21357 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21358 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21359 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21360 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21361 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21362 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21363 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21365 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21367 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21368 (__signbit): Likewise. Correct for little-endian.
21369 (__signbitl): Call __signbit.
21370 (lrint): Correct for little-endian.
21371 (lrintf): Call lrint.
21373 2013-10-04 Alan Modra <amodra@gmail.com>
21375 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21376 union 32-bit int array member with 64-bit int array.
21377 (t515, tm256): Double rather than long double.
21378 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21380 2013-10-04 Alan Modra <amodra@gmail.com>
21382 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21384 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21386 version of math_ldbl.h.
21388 2013-10-04 Alan Modra <amodra@gmail.com>
21390 [BZ #15734], [BZ #15735]
21391 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21392 all uses of ieee875 long double macros and unions. Simplify test
21393 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21394 ldbl_extract_mantissa value for ix,iy exponents. Properly
21395 normalize after ldbl_extract_mantissa, and don't add hidden bit
21396 already handled. Don't treat low word of ieee854 mantissa like
21397 low word of IBM long double and mask off bit when testing for
21399 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21400 all uses of ieee875 long double macros and unions. Simplify tests
21401 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21402 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21403 two1022, instead use their values. Recognise that tests for large
21404 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21405 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21406 Rewrite all uses of ieee875 long double macros and unions. Simplify
21407 test for 0.0L and nan. Correct negation.
21408 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21409 ieee875 long double macros and unions. Correct output for large
21410 magnitude x. Correct absolute value calculation.
21411 (__erfcl): Likewise.
21412 * math/libm-test.inc: Add tests for errors discovered in IBM long
21413 double versions of fmodl, remainderl, erfl and erfcl.
21415 2013-10-04 Alan Modra <amodra@gmail.com>
21417 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21418 all uses of ieee854 long double macros and unions. Simplify tests
21419 for long doubles that are fully specified by the high double.
21420 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21422 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21423 Remove dead code too.
21424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21425 (__ieee754_ynl): Likewise.
21426 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21427 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21429 Remove dead code too.
21430 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21431 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21432 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21433 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21435 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21437 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21438 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21439 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21440 Comment on variable precision.
21441 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21442 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21444 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21445 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21446 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21447 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21448 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21450 2013-10-04 Alan Modra <amodra@gmail.com>
21452 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21453 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21454 all uses of ieee854 long double macros and unions.
21455 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21456 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21457 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21458 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21459 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21460 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21462 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21463 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21464 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21465 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21466 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21467 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21468 Simplify sign and nan test too.
21469 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21470 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21471 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21472 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21474 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21475 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21477 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21478 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21479 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21480 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21481 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21484 2013-10-04 Alan Modra <amodra@gmail.com>
21486 * stdio-common/printf_size.c (__printf_size): Don't use
21487 union ieee854_long_double in fpnum union.
21488 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21489 signbit macro to retrieve sign from long double.
21490 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21491 retrieve sign from long double.
21492 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21493 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21494 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21495 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21496 * math/test-misc.c (main): Don't use union ieee854_long_double.
21498 2013-10-04 Alan Modra <amodra@gmail.com>
21501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21502 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21503 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21504 calculation. Remove unnecessary test for denormal exponent.
21505 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21506 Correct handling of denormals. Avoid undefined shift behaviour.
21507 Correct normalisation of low mantissa when low double is denormal.
21508 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21509 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21510 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21511 Correct normalisation of low mantissa. Test for overflow of high
21512 mantissa and normalise.
21513 (ldbl_nearbyint): Use more readable constant for two52.
21514 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21515 (__mpn_construct_long_double): Fix test for overflow of high
21516 mantissa and correct normalisation. Avoid undefined shift.
21518 2013-10-04 Alan Modra <amodra@gmail.com>
21520 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21521 (union ibm_extended_long_double): Define as an array of ieee754_double.
21522 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21523 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21524 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21525 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21526 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21527 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21529 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21530 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21531 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21532 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21534 2013-10-03 Joseph Myers <joseph@codesourcery.com>
21536 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21537 page size instead of calling getpagesize.
21539 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21540 (LOCFILE_ALIGN_MASK): Likewise.
21541 (LOCFILE_ALIGN_UP): Likewise.
21542 (LOCFILE_ALIGNED_P): Likewise.
21543 * locale/programs/ld-collate.c (collate_output): Use the new
21544 macros instead of __alignof__ (int32_t).
21545 * locale/weight.h (findidx): Likewise.
21547 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
21550 * manual/string.texi: Fix strncat and wcsncat.
21552 2013-10-03 Brooks Moses <bmoses@google.com>
21555 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21556 * Makerules: ...here, and adjust associated comments.
21558 2013-10-02 Will Newton <will.newton@linaro.org>
21560 * malloc/Makefile: Add tst-pvalloc.
21561 * malloc/tst-pvalloc.c: New file.
21563 2013-10-02 Will Newton <will.newton@linaro.org>
21565 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21566 improve test coverage.
21568 2013-10-02 Will Newton <will.newton@linaro.org>
21570 * malloc/Makefile: Add tst-posix_memalign.
21571 * malloc/tst-posix_memalign.c: New file.
21573 2013-10-01 Eric Blake <eblake@redhat.com>
21575 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21576 Use __THROWNL rather than __THROW on static functions.
21578 2013-09-30 Petr Machata <pmachata@redhat.com>
21580 * elf/elf.h (R_AARCH64_ABS16): New macro.
21581 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21582 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21583 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21584 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21585 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21586 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21587 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21588 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21589 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21590 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21591 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21592 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21593 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21594 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21595 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21596 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21597 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21598 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21599 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21600 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21601 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21602 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21603 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21604 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21605 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21606 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21607 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21608 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21609 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21610 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21611 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21612 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21613 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21614 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21615 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21616 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21617 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21618 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21619 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21620 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21621 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21622 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21623 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21624 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21625 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21626 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21627 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21628 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21629 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21630 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21631 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21632 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21633 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21634 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21635 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21636 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21637 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21638 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21639 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21640 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21641 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21642 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21643 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21644 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21645 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21646 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21647 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21648 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21649 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21650 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21651 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21652 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21653 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21654 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21655 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21656 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21657 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21658 (R_AARCH64_TLSDESC_LDR): Likewise.
21659 (R_AARCH64_TLSDESC_ADD): Likewise.
21660 (R_AARCH64_TLSDESC_CALL): Likewise.
21662 2013-09-30 Andreas Schwab <schwab@suse.de>
21665 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21666 the nss database lookup.
21667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21670 2013-09-28 Mike Frysinger <vapier@gentoo.org>
21672 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21674 2013-09-28 P. J. McDermott <pj@pehjota.net>
21676 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21677 ${Bash-specific parameter/pattern/string} parameter expansion.
21678 * sysdeps/unix/make-syscalls.sh: Likewise.
21680 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21682 * sysdeps/sh/stackguard-macros.h: New file.
21684 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
21686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21688 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21689 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21690 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21691 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21693 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21695 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21696 Fix thread ID register.
21698 2013-09-25 Joseph Myers <joseph@codesourcery.com>
21700 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21701 [POSIX || UNIX98]: Require rather than permitting all symbols from
21703 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21704 element of struct sched_param.
21705 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21706 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21707 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21708 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21711 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21713 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21714 argument calculation.
21716 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21718 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21720 [POSIX] (pthread_attr_t): Do not require type.
21721 [POSIX] (pthread_cond_t): Likewise.
21722 [POSIX] (pthread_condattr_t): Likewise.
21723 [POSIX] (pthread_key_t): Likewise.
21724 [POSIX] (pthread_mutex_t): Likewise.
21725 [POSIX] (pthread_mutexattr_t): Likewise.
21726 [POSIX] (pthread_once_t): Likewise.
21727 [POSIX] (pthread_t): Likewise.
21728 [POSIX-based standards] (pthread_atfork): Expect function.
21730 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21731 Richard Sandiford <richard@codesourcery.com>
21733 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21734 (swap_endianness_p): New extern variable.
21735 (set_big_endian): New inline function.
21736 (maybe_swap_uint32): Likewise.
21737 (maybe_swap_uint32_array): Likewise.
21738 (maybe_swap_uint32_obstack): Likewise.
21739 * locale/programs/locfile.c: Include <stdbool.h>.
21740 (swap_endianness_p): New variable.
21741 (add_locale_uint32): Call maybe_swap_uint32.
21742 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21743 (write_locale_data): Call maybe_swap_uint32_array.
21744 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21746 (obstack_int32_grow_fast): Likewise.
21747 (output_weightwc): Call maybe_swap_uint32_obstack.
21748 (collate_output): Likewise.
21749 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21750 (OPT_LITTLE_ENDIAN): Likewise.
21751 (options): Add --little-endian and --big-endian options.
21752 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21753 * locale/programs/locarchive.c: Include "locfile.h".
21757 (create_archive): Use the new macros to access fields of
21758 structures directly mapped from or written to locale archives.
21759 (oldlocrecentcmp): Likewise.
21760 (enlarge_archive): Likewise.
21761 (insert_name): Likewise.
21762 (add_alias): Likewise.
21763 (add_locale): Likewise.
21764 (delete_locales_from_archive): Likewise.
21765 (show_archive_content): Likewise.
21766 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21769 2013-09-24 Roland McGrath <roland@hack.frob.com>
21771 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21772 http://www.gnu.org/doc/freemanuals.texi.
21773 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21775 2013-09-24 Will Newton <will.newton@linaro.org>
21777 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21780 2013-09-23 Joseph Myers <joseph@codesourcery.com>
21782 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21785 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21787 * manual/threads.texi (POSIX Threads): Fix a typo.
21789 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21792 * string/tst-strcoll-overflow.c: New test case.
21793 * string/Makefile (xtests): Add tst-strcoll-overflow.
21794 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21795 cache if string sizes may cause integer overflow.
21798 * string/strcoll_l.c (coll_seq): New members rule, idx,
21799 save_idx and back_us.
21800 (get_next_seq_nocache): New function.
21801 (do_compare_nocache): New function.
21802 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21805 2013-09-23 Carlos O'Donell <carlos@redhat.com>
21808 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21809 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21810 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21813 * elf/Makefile (tests): Add tst-ptrguard1.
21814 (tests-static): Add tst-ptrguard1-static.
21815 (tst-ptrguard1-ARGS): Define.
21816 (tst-ptrguard1-static-ARGS): Define.
21817 * elf/tst-ptrguard1.c: New file.
21818 * elf/tst-ptrguard1-static.c: New file.
21819 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21820 * sysdeps/i386/stackguard-macros.h: Likewise.
21821 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21822 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21823 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21824 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21825 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21826 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21828 2013-09-23 Hector Marco <hecmargi@upv.es>
21829 Ismael Ripoll <iripoll@disca.upv.es>
21830 Carlos O'Donell <carlos@redhat.com>
21833 * sysdeps/generic/stackguard-macros.h: Define
21834 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21835 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21836 Define __pointer_chk_guard_local.
21837 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21838 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21840 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21843 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21845 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21847 * include/string.h (__ffs): Declare as hidden.
21848 * string/ffs.c (__ffs): Define as hidden.
21849 * sysdeps/i386/ffs.c (__ffs): Likewise.
21850 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21851 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21852 * sysdeps/s390/ffs.c (__ffs): Likewise.
21853 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21855 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
21857 * NEWS: Mention malloc probes.
21859 * malloc/arena.c (new_heap): New memory_heap_new probe.
21860 (grow_heap): New memory_heap_more probe.
21861 (shrink_heap): New memory_heap_less probe.
21862 (heap_trim): New memory_heap_free probe.
21863 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21864 (systrim): New memory_sbrk_less probe.
21865 * manual/probes.texi: Document them.
21867 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21868 * manual/probes.texi: Document it.
21870 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21871 (__libc_realloc): Add memory_realloc_retry probe.
21872 (__libc_memalign): Add memory_memalign_retry probe.
21873 (__libc_valloc): Add memory_valloc_retry probe.
21874 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21875 (__libc_calloc): Add memory_calloc_retry probe.
21876 * manual/probes.texi: Document them.
21878 * malloc/arena.c (get_free_list): Add probe
21879 memory_arena_reuse_free_list.
21880 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21881 and memory_arena_reuse.
21882 (arena_get2) [!PER_THREAD]: Likewise.
21883 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21884 memory_arena_reuse_realloc.
21885 * manual/probes.texi: Document them.
21887 * malloc/malloc.c (__libc_free): Add
21888 memory_mallopt_free_dyn_thresholds probe.
21889 (__libc_mallopt): Add multiple memory_mallopt probes.
21890 * manual/probes.texi: Document them.
21892 * malloc/malloc.c: Include stap-probe.h.
21893 (__libc_mallopt): Add memory_mallopt probe.
21894 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21895 * manual/probes.texi: New.
21896 * manual/Makefile (chapters): Add probes.
21897 * manual/threads.texi: Set next node.
21899 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
21901 [BZ #15963, #13985]
21902 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21903 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21904 Add `Chinese' to `nan' entry name.
21906 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21908 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21909 (POLYNOMIAL): Likewise.
21910 (TAYLOR_SINCOS): Likewise.
21911 (TAYLOR_SLOW): Likewise.
21912 (__sin): Use TAYLOR_SINCOS.
21914 (slow): Use TAYLOR_SLOW.
21916 (bsloww): Likewise.
21917 (csloww): Likewise.
21919 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21921 * stdlib/strtod_l.c: Fix buffer overrun.
21923 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21925 * benchtests/Makefile (bench): Add sincos.
21926 * benchtests/bench-sincos.c: New file.
21928 * math/libm-test.inc (cos_test_data): New test inputs.
21929 (sin_test_data): Likewise.
21931 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21937 (sloww1): Likewise.
21938 (sloww2): Likewise.
21939 (bsloww1): Likewise.
21940 (bsloww2): Likewise.
21941 (cslow2): Likewise.
21942 (csloww1): Likewise.
21943 (csloww2): Likewise.
21945 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21950 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21954 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21956 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21957 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21958 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21959 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21960 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21961 * elf/cache.c (print_entry): Handle the new cache flags.
21963 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21964 Aldy Hernandez <aldyh@redhat.com>
21966 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21967 Change condition to [_SOFT_FLOAT].
21968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21975 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21980 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21982 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21983 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21986 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21988 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21989 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21990 (__longjmp): Use LOAD_GP to load saved GPRs.
21991 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21992 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21993 (__sigsetjmp): Use SAVE_GP to save GPRs.
21995 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21996 Do not append -msoft-float.
21997 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21999 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22001 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22003 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22006 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22007 (_FPU_GETCW): Use initial "__" on variable and field names but not
22008 on macro parameter name.
22009 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22010 parentheses around reference to macro parameter.
22012 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22014 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22016 (ctype_startup): Use uint32_t in cast and sizeof for
22019 2013-09-11 Jia Liu <proljc@gmail.com>
22021 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22023 [__FreeBSD__]: Likewise.
22025 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22028 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22029 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22030 (strchr): Remove __strchr_sse42 ifunc selection.
22031 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22032 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22034 2013-09-11 Will Newton <will.newton@linaro.org>
22036 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22037 parameter to RES. Remove hardcoded 1000 value.
22038 * benchtests/bench-skeleton.c (main): Pass RES parameter
22039 to TIMING_INIT and multiply result by 1000.
22041 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22045 2013-09-11 Andreas Schwab <schwab@suse.de>
22047 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22049 (O_TMPFILE) [__USE_GNU]: Define.
22050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22053 2013-09-11 Will Newton <will.newton@linaro.org>
22056 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22059 2013-09-11 Will Newton <will.newton@linaro.org>
22062 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22065 2013-09-11 Will Newton <will.newton@linaro.org>
22068 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22071 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22073 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22074 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22075 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22079 2013-09-10 Allan McRae <allan@archlinux.org>
22082 * manual/arith.texi (Parsing of Floats): Clarify
22086 * manual/install.texi (Running make install): Mention
22088 * INSTALL: Regenerated.
22090 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22092 * csu/init-first.c (_init): Remove the !SHARED condition around
22093 FPU control word initialization.
22094 * elf/dl-support.c (_dl_fpu_control): New variable.
22095 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22096 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22097 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22098 * math/test-fpucw-static.c: New file.
22099 * math/test-fpucw-ieee.c: New file.
22100 * math/test-fpucw-ieee-static.c: New file.
22101 * math/Makefile (tests): Add `test-fpucw-ieee' and
22103 (tests-static): New variable.
22104 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22106 [($(build-shared),yes)]
22107 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22109 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22112 2013-09-09 Allan McRae <allan@archlinux.org>
22115 * manual/string.texi (Collation Functions): Fix typo in
22117 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22120 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22123 * libio/memstream.c (open_memstream): Fix memory leak.
22124 * libio/wmemstream.c (open_wmemstream): Likewise.
22127 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22129 2013-09-09 Will Newton <will.newton@linaro.org>
22131 * malloc/Makefile: Add tst-realloc to tests.
22132 * malloc/tst-realloc.c: New file.
22134 2013-09-09 Allan McRae <allan@archlinux.org>
22137 * COPYING: Update from GNU website to fix FSF address.
22138 * COPYING.LIB: Likewise.
22140 2013-09-06 David S. Miller <davem@davemloft.net>
22142 * po/zh_TW.po: Update Chinese (traditional) translation from
22143 translation project.
22145 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22146 Joseph Myers <joseph@codesourcery.com>
22148 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22150 (obstack_chunk_alloc): New macro.
22151 (obstack_chunk_free): Likewise.
22152 (record_offset): New function.
22153 (init_locale_data): Likewise.
22154 (align_locale_data): Likewise.
22155 (add_locale_empty): Likewise.
22156 (add_locale_raw_data): Likewise.
22157 (add_locale_raw_obstack): Likewise.
22158 (add_locale_string): Likewise.
22159 (add_locale_wstring): Likewise.
22160 (add_locale_uint32): Likewise.
22161 (add_locale_uint32_array): Likewise.
22162 (add_locale_char): Likewise.
22163 (start_locale_structure): Likewise.
22164 (end_locale_structure): Likewise.
22165 (start_locale_prelude): Likewise.
22166 (end_locale_prelude): Likewise.
22167 (write_locale_data): Take locale_file structure rather than an
22169 * locale/programs/locfile.h: Include "obstack.h".
22170 (struct locale_file): Change to store locale file contents instead
22172 (init_locale_data): New prototype.
22173 (align_locale_data): Likewise.
22174 (add_locale_empty): Likewise.
22175 (add_locale_raw_data): Likewise.
22176 (add_locale_raw_obstack): Likewise.
22177 (add_locale_string): Likewise.
22178 (add_locale_wstring): Likewise.
22179 (add_locale_uint32): Likewise.
22180 (add_locale_uint32_array): Likewise.
22181 (add_locale_char): Likewise.
22182 (start_locale_structure): Likewise.
22183 (end_locale_structure): Likewise.
22184 (start_locale_prelude): Likewise.
22185 (end_locale_prelude): Likewise.
22186 (write_locale_data): Update prototype.
22187 * locale/programs/3level.h (struct TABLE): Remove result field.
22188 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22189 Use new locale_file interface.
22190 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22191 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22192 * locale/programs/ld-address.c (address_output): Use new
22193 locale_file interface.
22194 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22196 (collate_finish): Don't call collseq_table_finalize.
22197 (collate_output): Use new locale_file interface.
22198 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22200 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22201 (TABLE): Move defines earlier in file.
22202 (ELEMENT): Likewise.
22203 (DEFAULT): Likewise.
22204 (wctrans_table_add): Move macro and inline function earlier in
22206 (struct wctype_table): Move type earlier in file.
22207 (add_locale_wctype_table): New static prototype.
22208 (struct locale_ctype_t): Use logical types instead of struct iovec
22209 pointers for members.
22210 (ctype_output): Use new locale_file interface.
22211 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22212 new locale_file interface.
22213 (allocate_arrays): Update for use of new locale_file interface.
22214 * locale/programs/ld-identification.c (identification_output): Use
22215 new locale_file interface.
22216 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22217 * locale/programs/ld-messages.c (messages_output): Likewise.
22218 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22219 * locale/programs/ld-name.c (name_output): Likewise.
22220 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22221 * locale/programs/ld-paper.c (paper_output): Likewise.
22222 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22223 * locale/programs/ld-time.c (time_output): Likewise.
22225 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22227 * benchtests/Makefile: Add memrchr benchmark.
22228 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22229 benchmark as memrchr.
22230 * benchtests/bench-memrchr-ifunc.c: New file.
22231 * benchtests/bench-memrchr.c: New file.
22233 2013-09-06 Will Newton <will.newton@linaro.org>
22235 * benchtests/Makefile (string-bench): Add memcpy.
22237 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22238 Cong Wang <amwang@redhat.com>
22241 * sysdeps/unix/sysv/linux/bits/in.h
22242 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22243 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22244 before __USE_KERNEL_IPV6_DEFS uses.
22245 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22247 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22248 sockaddr_in6, or ipv6_mreq.
22250 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22252 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22253 memory access for final bytes in some large inputs.
22254 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22256 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22258 * string/test-memrchr.c: New file.
22259 * string/test-memrchr-ifunc.c: New file.
22260 * string/Makefile: Add new memrchr testcase.
22262 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22264 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22265 fanotify_init returns EPERM.
22267 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22269 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22271 (top level): Treat second token from macro or constant entries for
22272 allowed headers as allowed.
22273 * include/complex.h: Condition internal declarations on
22275 * include/fenv.h: Condition include of <stdbool.h> and internal
22276 declarations on [!_ISOMAC].
22278 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22281 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22283 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22285 * configure.in (--enable-versioning): Remove configure option.
22286 (libc_cv_asm_symver_directive): Remove configure test.
22287 (libc_cv_ld_version_script_option): Likewise.
22288 (VERSIONING): Remove variable and AC_SUBST.
22289 (DO_VERSIONING): Remove AC_DEFINE.
22290 * configure: Regenerated.
22291 * config.h.in (DO_VERSIONING): Remove macro.
22292 * Makerules [$(versioning) = yes]: Change conditionals to
22293 [$(build-shared) = yes].
22294 * config.make.in (versioning): Remove variable.
22295 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22296 [$(build-shared) = yes].
22297 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22298 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22299 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22300 [$(build-shared) = yes].
22301 * extra-lib.mk [$(versioning) = yes]: Likewise.
22302 * hurd/Makefile [$(versioning) = yes]: Likewise.
22303 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22305 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22307 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22308 [SHARED && !NO_HIDDEN].
22309 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22311 [SHARED && DO_VERSIONING]: Likewise..
22312 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22313 [$(build-shared) = yes].
22314 * manual/install.texi (--disable-versioning): Remove
22316 * INSTALL: Regenerated.
22317 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22319 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22320 [$(build-shared) = yes].
22321 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22322 * sysdeps/i386/i686/multiarch/strstr-c.c
22323 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22324 [SHARED && !NO_HIDDEN].
22325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22326 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22327 * sysdeps/powerpc/powerpc32/dl-machine.c
22328 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22329 * sysdeps/powerpc/powerpc32/sysdep.h
22330 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22331 to [SHARED && PIC && !NO_HIDDEN].
22332 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22333 conditional to [SHARED].
22335 2013-09-04 Will Newton <will.newton@linaro.org>
22337 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22338 * benchtests/bench-string.h: Include bench-timing.h instead
22339 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22340 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22341 call to HP_TIMING_DIFF_INIT.
22342 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22343 instead of hp-timing.h macros.
22344 * benchtests/bench-memchr.c: Likewise.
22345 * benchtests/bench-memcmp.c: Likewise.
22346 * benchtests/bench-memcpy.c: Likewise.
22347 * benchtests/bench-memmem.c: Likewise.
22348 * benchtests/bench-memmove.c: Likewise.
22349 * benchtests/bench-memset.c: Likewise.
22350 * benchtests/bench-rawmemchr.c: Likewise.
22351 * benchtests/bench-strcasecmp.c: Likewise.
22352 * benchtests/bench-strcasestr.c: Likewise.
22353 * benchtests/bench-strcat.c: Likewise.
22354 * benchtests/bench-strchr.c: Likewise.
22355 * benchtests/bench-strcmp.c: Likewise.
22356 * benchtests/bench-strcpy.c: Likewise.
22357 * benchtests/bench-strcpy_chk.c: Likewise.
22358 * benchtests/bench-strlen.c: Likewise.
22359 * benchtests/bench-strncasecmp.c: Likewise.
22360 * benchtests/bench-strncat.c: Likewise.
22361 * benchtests/bench-strncmp.c: Likewise.
22362 * benchtests/bench-strncpy.c: Likewise.
22363 * benchtests/bench-strnlen.c: Likewise.
22364 * benchtests/bench-strpbrk.c: Likewise.
22365 * benchtests/bench-strrchr.c: Likewise.
22366 * benchtests/bench-strspn.c: Likewise.
22367 * benchtests/bench-strstr.c: Likewise.
22369 2013-09-04 Will Newton <will.newton@linaro.org>
22371 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22373 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22376 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22377 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22378 * math/libm-test.inc (lgamma_test_data): Add more tests.
22379 * sysdeps/i386/fpu/libm-test-ulps: Update.
22380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22382 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22384 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22388 Add strcmp-sse2-unaligned
22389 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22391 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22393 * Versions.def (libc): Add GLIBC_2.19.
22395 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22397 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22398 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22400 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22403 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22404 intermediate calculations in recurrence.
22405 (__ieee754_ynf): Likewise.
22406 * math/libm-test.inc (jn_test_data): Do not allow spurious
22407 underflow exception. Add more tests.
22408 (yn_test_data): Add more tests.
22409 * sysdeps/i386/fpu/libm-test-ulps: Update.
22410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22412 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22414 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22416 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22418 * csu/init-first.c: Fix then/than typos.
22419 * locale/programs/ld-collate.c: Likewise.
22420 * locale/programs/linereader.h: Likewise.
22421 * manual/charset.texi: Likewise.
22422 * manual/filesys.texi: Likewise.
22423 * manual/stdio.texi: Likewise.
22424 * manual/string.texi: Likewise.
22425 * stdlib/fmtmsg.c: Likewise.
22426 * sysdeps/i386/stpncpy.S: Likewise.
22427 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22428 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22429 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22430 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22432 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22434 * elf/dl-open.c: Fix typos.
22435 * iconvdata/gbbig5.c: Likewise.
22436 * iconvdata/iso-2022-jp.c: Likewise.
22437 * iconv/gconv_int.h: Likewise.
22438 * iconv/loop.c: Likewise.
22439 * nis/rpcsvc/nis.h: Likewise.
22440 * resolv/ns_name.c: Likewise.
22441 * stdio-common/vfscanf.c: Likewise.
22442 * streams/stropts.h: Likewise.
22443 * sunrpc/rpc_thread.c: Likewise.
22444 * sysdeps/i386/strpbrk.S: Likewise.
22445 * sysdeps/ieee754/k_standard.c: Likewise.
22446 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22447 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22448 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22449 * sysdeps/mach/hurd/profil.c: Likewise.
22450 * sysdeps/s390/dl-procinfo.h: Likewise.
22451 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22452 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22453 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22454 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22457 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22459 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22462 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22464 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22465 aix specific files.
22466 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22467 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22468 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22469 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22470 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22471 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22472 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22473 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22475 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22476 Roland McGrath <roland@hack.frob.com>
22478 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22479 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22481 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22483 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22484 __executable_start symbol instead of _start.
22486 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22488 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22489 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22491 * sysdeps/gnu/ldsodefs.h: ... this new file.
22493 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22494 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22495 instead of ELFOSABI_LINUX.
22497 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22498 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22499 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22500 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22502 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22503 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22504 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22506 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22507 (ibm_extended_long_double): Add ieee_nan member.
22508 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22509 (do_test): New function.
22511 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22513 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22514 functions, renamed from truncdfsf_test, trunctfsf_test,
22516 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22518 (do_test): Run all these.
22520 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22522 * argp/argp-help.c: Fix typos.
22523 * argp/argp-parse.c: Likewise.
22524 * debug/backtracesyms.c: Likewise.
22525 * elf/elf.h: Likewise.
22526 * malloc/malloc.c: Likewise.
22527 * nis/nis_print.c: Likewise.
22528 * resolv/res_comp.c: Likewise.
22529 * stdlib/stdlib.h: Likewise.
22530 * sunrpc/clnt_tcp.c: Likewise.
22531 * sunrpc/clnt_udp.c: Likewise.
22532 * sunrpc/clnt_unix.c: Likewise.
22533 * sysdeps/unix/bsd/ptsname.c: Likewise.
22534 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22535 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22542 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22544 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22546 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22549 2013-08-27 Mike Frysinger <vapier@gentoo.org>
22552 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22553 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22554 ($(objpfx)bug-dl-leaf): New rule.
22555 ($(objpfx)bug-dl-leaf.so): Likewise.
22556 ($(objpfx)bug-dl-leaf.out): Likewise.
22557 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22558 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22559 * dlfcn/bug-dl-leaf.c: New test.
22560 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22561 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22562 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22563 (dlclose): Likewise.
22564 (dlmopen): Likewise.
22566 2013-08-27 Roland McGrath <roland@hack.frob.com>
22568 * include/netdb.h [!_ISOMAC]:
22569 Don't include <tls.h>.
22570 (h_errno, __libc_h_errno): Move declaration and macros out of
22573 * include/resolv.h [_RESOLV_H_]:
22574 Don't include <tls.h>.
22575 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22576 * resolv/res_libc.c: Don't include <tls.h>.
22577 (_res): Use __attribute__ ((nocommon)) in place of
22578 __attribute__ ((section (".bss"))).
22580 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22581 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22583 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22585 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22586 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22588 * resolv/res_mkquery.c: Include <sys/time.h>.
22590 * inet/ifreq.c: Moved to ...
22591 * sysdeps/unix/ifreq.c: ... here.
22592 * inet/ifreq.c: New file, true stub version.
22594 * socket/sa_len.c: New file.
22595 * socket/Makefile (aux): Add it.
22596 * sysdeps/unix/sysv/linux/Makefile
22597 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22598 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22599 and #include <socket/sa_len.c>.
22600 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22601 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22603 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22604 * bits/socket.h: ... here.
22606 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22607 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22608 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22610 2013-08-27 Andreas Schwab <schwab@suse.de>
22613 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22614 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22615 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22616 * string/test-strcasecmp.c (test_main): Run tests in several
22618 * string/test-strncasecmp.c (test_main): Likewise.
22620 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22621 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22622 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22624 (__strncasecmp_ssse3) [PIC]: Likewise.
22626 2013-08-26 Roland McGrath <roland@hack.frob.com>
22628 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22630 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22631 instead of explicitly declaring xdecrypt.
22632 * nis/nss_nis/nis-publickey.c: Likewise.
22634 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22637 * nscd/aicache.c: Include res_hconf.h.
22638 (addhstaiX): Initialize res_hconf.
22640 2013-08-26 Andreas Schwab <schwab@suse.de>
22642 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22643 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22645 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22647 * nscd/aicache.c (addhstaiX): Fix indentation.
22649 2013-08-25 Mike Frysinger <vapier@gentoo.org>
22651 * configure.ac: Quote $build_pt_chown test.
22652 * configure: Regenerated.
22654 2013-08-23 Joseph Myers <joseph@codesourcery.com>
22657 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22658 * math/s_cexpf.c (__cexpf): Likewise.
22659 * math/s_cexpl.c (__cexpl): Likewise.
22660 * math/libm-test.inc (cexp_test_data): Correct expected return
22661 value for NaN + i0. Add another test.
22663 2013-08-22 David S. Miller <davem@davemloft.net>
22665 * po/ca.po: Update Catalan translation from translation project.
22666 * po/uk.po: Add Ukrainian translations from translation project.
22668 2013-08-21 Joseph Myers <joseph@codesourcery.com>
22671 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22672 is infinite, not alongside NaN test.
22673 * math/s_fdimf.c (__fdimf): Likewise.
22674 * math/s_fdiml.c (__fdiml): Likewise.
22675 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22676 errno is unchanged.
22678 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
22680 * argp/argp-help.c: Fix typos.
22681 * crypt/speeds.c: Likewise.
22682 * csu/check_fds.c: Likewise.
22683 * elf/dl-load.c: Likewise.
22684 * elf/dl-open.c: Likewise.
22685 * elf/reldep3.c: Likewise.
22686 * elf/reldep.c: Likewise.
22687 * elf/sprof.c: Likewise.
22688 * iconv/iconv_charmap.c: Likewise.
22689 * iconv/skeleton.c: Likewise.
22690 * iconv/strtab.c: Likewise.
22691 * io/lockf64.c: Likewise.
22692 * libio/libioP.h: Likewise.
22693 * resolv/gai_notify.c: Likewise.
22694 * resolv/ns_name.c: Likewise.
22695 * resolv/ns_samedomain.c: Likewise.
22696 * resolv/res_send.c: Likewise.
22697 * stdlib/random.c: Likewise.
22698 * sunrpc/rpc/xdr.h: Likewise.
22699 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22700 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22701 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22702 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22703 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22706 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22707 * sysdeps/mach/hurd/check_fds.c: Likewise.
22708 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22709 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22710 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22711 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22712 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22713 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22714 * sysdeps/pthread/aio_notify.c: Likewise.
22715 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22716 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22717 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22718 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22719 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22721 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22723 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22724 version if bit_Slow_SSE4_2 is set.
22725 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22726 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22728 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22731 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22732 trampoline stack frame information.
22733 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22734 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22735 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22736 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22737 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22738 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22739 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22740 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22742 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22743 interrupting a syscall and set with option SA_SIGINFO.
22745 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22748 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22749 argument is infinite.
22750 * math/s_cprojf.c (__cprojf): Likewise.
22751 * math/s_cprojl.c (__cprojl): Likewise.
22752 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22753 * math/libm-test.inc (cproj_test_data): Add more tests.
22755 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22757 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22758 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22759 size. Use __ffs to determine corresponding shift.
22761 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22762 Roland McGrath <roland@hack.frob.com>
22764 * Makefile (INSTALL): Remove trailing blank lines from output of
22767 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22769 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22770 Align 32 bit compat elf_greg to 8 bytes.
22772 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22774 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22776 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22778 * string/strcoll_l.c (coll_seq): New structure.
22779 (get_next_seq_cached): New function.
22780 (get_next_seq): New function.
22781 (do_compare): New function.
22782 (STRCOLL): Use GNU style definition. Simplify implementation
22783 by using get_next_seq, get_next_seq_cached and do_compare.
22785 2013-08-16 Florian Weimer <fweimer@redhat.com>
22789 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22791 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22793 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22794 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22795 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22797 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22798 GETDENTS_64BIT_ALIGNED.
22799 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22800 * manual/filesys.texi (Reading/Closing Directory): Document
22801 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22803 * manual/conf.texi (Limits for Files): Add portability note to
22804 NAME_MAX, PATH_MAX.
22805 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22807 2013-08-13 Andreas Schwab <schwab@suse.de>
22810 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22812 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22813 LDBL_MAX_EXP >= 16384]: Add tests for it.
22815 2013-08-12 David S. Miller <davem@davemloft.net>
22817 * version.h (RELEASE): Set to "development".
22818 (VERSION): Set to "2.18.90".
22819 * NEWS: Add 2.19 section.
22821 2013-08-03 David S. Miller <davem@davemloft.net>
22823 * po/ko.po: Update Korean translation from translation project.
22825 2013-08-01 David S. Miller <davem@davemloft.net>
22827 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22828 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22831 2013-07-30 David S. Miller <davem@davemloft.net>
22833 * po/fr.po: Update French translation from translation project.
22835 2013-07-28 David S. Miller <davem@davemloft.net>
22837 * po/cs.po: Update Czech translation from translation project.
22839 * po/sv.po: Update Swedish translation from translation project.
22841 2013-07-27 David S. Miller <davem@davemloft.net>
22843 * po/eo.po: Update Esperanto translation from translation project.
22845 * po/vi.po: Update Vietnamese translation from translation project.
22847 * po/de.po: Update German translation from translation project.
22849 2013-07-26 David S. Miller <davem@davemloft.net>
22851 * po/bg.po: Update Bulgarian translation from translation project.
22853 * po/nl.po: Update Dutch translation from translation project.
22854 * po/pl.po: Update Polish translation from translation project.
22855 * po/ru.po: Update Russian translation from translation project.
22857 2013-07-24 David S. Miller <davem@davemloft.net>
22859 * po/libc.pot: Update.
22861 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22863 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22864 variable page size.
22865 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22866 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22867 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22869 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22871 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22873 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22874 Andreas Schwab <schwab@suse.de>
22875 Roland McGrath <roland@hack.frob.com>
22876 Joseph Myers <joseph@codesourcery.com>
22877 Carlos O'Donell <carlos@redhat.com>
22880 * config.h.in: Define HAVE_PT_CHOWN.
22881 * config.make.in (build-pt-chown): New variable.
22882 * configure.in (--enable-pt_chown): New configure option.
22883 * configure: Regenerate.
22884 * login/Makefile: Include Makeconfig. Build pt_chown only if
22885 build-pt-chown is enabled.
22886 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22887 pt_chown to fix pty ownership.
22888 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22890 * manual/install.texi (Configuring and compiling): Mention
22891 --enable-pt_chown. Add @findex for grantpt.
22892 * INSTALL: Regenerate.
22894 2013-07-20 David S. Miller <davem@davemloft.net>
22896 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22897 difference between 32-bit and 64-bit.
22899 2013-07-15 Carlos O'Donell <carlos@redhat.com>
22902 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22903 Avoid system header dependency with -ffreestanding.
22904 ($(objpfx)bits/syscall%d): Likewise.
22906 2013-07-13 David S. Miller <davem@davemloft.net>
22908 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22909 underflows from atanl/atan2l due to bug 15319.
22910 (casinh_test_data): Likewise.
22912 2013-07-07 David S. Miller <davem@davemloft.net>
22914 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22916 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22918 * sysdeps/i386/fpu/libm-test-ulps: Update.
22919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22921 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22923 * configure.in (--enable-lock-elision): Fix message text.
22924 * INSTALL: Regenerate.
22925 * configure: Regenerate.
22927 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22931 2013-07-03 Andreas Jaeger <aj@suse.de>
22933 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22935 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22936 (ptrace_peeksiginfo_args): Add.
22937 (__ptrace_peeksiginfo_flags): Add.
22938 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22940 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22942 2013-07-03 Allan McRae <allan@archlinux.org>
22944 * sysdeps/i386/fpu/libm-test-ulps: Update.
22946 2013-07-02 David S. Miller <davem@davemloft.net>
22948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22950 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22954 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22956 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22959 2013-07-02 Andi Kleen <ak@linux.intel.com>
22961 * config.h.in (ENABLE_LOCK_ELISION): Add.
22962 * configure.in (--enable-lock-elision): Add option.
22963 * manual/install.texi: Document --enable lock elision.
22964 * configure: Regenerate
22965 * INSTALL: Regenerate.
22967 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22969 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22970 SSE4.2 strcasecmp for libc.a.
22971 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22973 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22976 * soft-fp/op-common.h (_FP_FMA): New macro.
22977 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22978 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22979 (_FP_MUL_MEAT_1_imm): ... here.
22980 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22981 (_FP_MUL_MEAT_1_wide): ... here.
22982 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22983 (_FP_MUL_MEAT_1_hard): ... here.
22984 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22985 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22986 (_FP_MUL_MEAT_2_wide): ... here.
22987 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22988 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22989 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22990 (_FP_MUL_MEAT_2_gmp): ... here.
22991 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22992 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22993 (_FP_MUL_MEAT_4_wide): ... here.
22994 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22995 (_FP_MUL_MEAT_4_gmp): ... here.
22996 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22997 (_FP_WFRACBITS_DW_S): Likewise.
22998 (_FP_WFRACXBITS_DW_S): Likewise.
22999 (_FP_HIGHBIT_DW_S): Likewise.
23000 (FP_FMA_S): Likewise.
23001 (_FP_FRAC_HIGH_DW_S): Likewise.
23002 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23003 (_FP_WFRACBITS_DW_D): Likewise.
23004 (_FP_WFRACXBITS_DW_D): Likewise.
23005 (_FP_HIGHBIT_DW_D): Likewise.
23006 (FP_FMA_D): Likewise.
23007 (_FP_FRAC_HIGH_DW_D): Likewise.
23008 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23009 (_FP_WFRACBITS_DW_E): Likewise.
23010 (_FP_WFRACXBITS_DW_E): Likewise.
23011 (_FP_HIGHBIT_DW_E): Likewise.
23012 (FP_FMA_E): Likewise.
23013 (_FP_FRAC_HIGH_DW_E): Likewise.
23014 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23015 (_FP_WFRACBITS_DW_Q): Likewise.
23016 (_FP_WFRACXBITS_DW_Q): Likewise.
23017 (_FP_HIGHBIT_DW_Q): Likewise.
23018 (FP_FMA_Q): Likewise.
23019 (_FP_FRAC_HIGH_DW_Q): Likewise.
23020 * soft-fp/fmasf4.c: New file.
23021 * soft-fp/fmadf4.c: Likewise.
23022 * soft-fp/fmatf4.c: Likewise.
23024 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23027 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23029 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23031 (index_Slow_SSE4_2): Likewise.
23032 (index_Prefer_PMINUB_for_stringop): Likewise.
23033 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23034 bit_Slow_SSE4_2 is set.
23035 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23036 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23038 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23040 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23041 rtld_global._dl_hwcap2.
23042 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23044 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23045 POWER8 feature descriptions defined in _dl_hwcap2.
23046 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23047 string handling for POWER8 feature bits.
23048 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23049 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23050 _dl_powerpc_cap_flags.
23051 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23052 * sysdeps/powerpc/rtld-global-offsets.sym
23053 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23054 _dl_hwcap2 in the rtld_global_ro structure.
23056 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23058 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23059 hardware capabilities in support of AT_HWCAP2.
23060 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23061 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23063 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23064 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23065 explicitly the unknown a_type display mechanism is used.
23066 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23067 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23069 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23070 to macro prototype for AT_HWCAP2 support.
23071 * sysdeps/i386/dl-procinfo.h: Likewise.
23072 * sysdeps/s390/dl-procinfo.h: Likewise.
23073 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23074 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23075 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23076 return -1 for unknown a_type display fallback.
23077 * sysdeps/sparc/dl-procinfo.h: Likewise.
23078 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23079 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23081 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23083 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23084 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23086 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23089 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23090 mprotect making __stack_prot writable.
23092 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23093 Joseph Myers <joseph@codesourcery.com>
23095 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23096 as being properly aligned.
23098 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23100 * dlfcn/modstatic5.c: New file.
23101 * dlfcn/tststatic5.c: New file.
23102 * dlfcn/Makefile (tests): Add tststatic5.
23103 (tests-static): Likewise.
23104 (modules-names): Add modstatic5.
23105 (tststatic5-ENV): New variable.
23106 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23109 * elf/dl-support.c (_dl_main_map): New variable.
23110 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23111 (_dl_nns, _dl_load_adds): Set to 1.
23112 (_dl_initial_searchlist): Refer to _dl_main_map.
23113 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23114 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23115 call to _dl_get_origin.
23116 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23118 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23119 * dlfcn/modstatic3.c: New file.
23120 * dlfcn/tststatic3.c: New file.
23121 * dlfcn/tststatic4.c: New file.
23122 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23123 (tests-static): Likewise.
23124 (modules-names): Add modstatic3.
23125 (tststatic3-ENV, tststatic4-ENV): New variables.
23126 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23127 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23129 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23131 * configure.in (CC): Require GCC version 4.4 or later.
23132 * configure: Regenerated.
23133 * manual/install.texi (Tools for Compilation): Update GCC version
23135 * INSTALL: Regenerated.
23137 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23140 * string/test-memcmp.c (check2): New.
23141 (main): Call check2.
23143 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23145 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23148 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23150 (dl_open_worker) [!SHARED]: ... here.
23152 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23154 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23156 2013-06-25 Richard Henderson <rth@redhat.com>
23158 * locale/programs/locarchive.c: Include <libc-internal.h>
23160 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23162 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23163 trailing whitespace removed.
23165 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23168 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23169 * locale/programs/locarchive.c: Include libc-mmap.h.
23170 (prepare_address_space): Take two new outputs (the mmap base and len).
23171 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23173 (create_archive): Declare new mmap base and len values for
23174 prepare_address_space, and store the result in ah.
23175 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23176 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23177 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23178 Declare new mmap base and len values for
23179 prepare_address_space, and store the result in new_ah.
23180 (open_archive): Declare new mmap base and len values for
23181 prepare_address_space, and store the result in ah.
23182 (close_archive): If ah->mmap_base is not NULL, use that and
23183 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23184 * sysdeps/generic/libc-mmap.h: New file.
23186 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23188 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23189 (ALIGN_UP): Likewise.
23190 (PTR_ALIGN_DOWN): Likewise.
23191 (PTR_ALIGN_UP): Likewise.
23193 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23195 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23196 entry mapped to PPC_PLATFORM_POWER8.
23197 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23199 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23200 (_dl_string_platform): Add case for exporting platform position for
23202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23203 search path to sysdeps/powerpc/powerpc32/power8 directory.
23204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23205 search path to sysdeps/powerpc/powerpc64/power8 directory.
23206 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23207 power7 directories.
23208 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23209 power7 directories.
23211 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23213 * INSTALL: Regenerate.
23215 * nscd/connections.c (nscd_init): Fix comment.
23217 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23219 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23222 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23223 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23225 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23227 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23229 (DL_DST_REQ_STATIC): Remove macro.
23231 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23234 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23235 with a shift of 0 bits.
23237 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23239 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23242 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23245 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23247 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23249 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23250 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23251 accepts -fno-tree-loop-distribute-patterns.
23252 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23253 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23255 * string/memset.c (memset): Likewise.
23256 * string/test-memmove.c (simple_memmove): Disable loop transformation
23258 * string/test-memset.c (simple_memset): Likewise.
23259 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23260 * benchtests/bench-memset.c (simple_memset): Likewise.
23261 * configure: Regenerated.
23263 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23265 * math/test-misc.c (main): Ignore fesetround failure when failures
23266 of subsequent rounding tests would be ignored.
23269 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23270 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23271 * math/fegetenv.c (__fegetenv): Return 0.
23272 * math/fegetexcept.c (fegetexcept): Return 0.
23273 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23275 * math/feholdexcpt.c (feholdexcept): Return 0.
23276 * math/fesetenv.c (__fesetenv): Return 0.
23277 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23278 argument FE_TONEAREST.
23279 * math/feupdateenv.c (__feupdateenv): Return 0.
23280 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23282 2013-06-18 Roland McGrath <roland@hack.frob.com>
23284 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23285 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23286 ($(objpfx)rtld-%.os rules): Use them.
23288 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23290 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23293 2013-06-17 Roland McGrath <roland@hack.frob.com>
23295 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23296 length of target pattern, then descending length of dependency pattern.
23297 * configure.in (AWK): Require gawk 3.1.2 or newer.
23298 * manual/install.texi (Tools for Compilation): Say that we do.
23299 * configure: Regenerated.
23301 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23302 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23303 * scripts/sysd-rules.awk: ... this new script.
23304 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23305 than a glob-style pattern.
23307 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23309 * math/test-misc.c (main): Do not treat incorrectly rounded
23310 conversions as failure unless ROUNDING_TESTS passes.
23312 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23315 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23316 restore exception state around main square root computation, then
23317 check for inexactness explicitly.
23319 * math/libm-test.inc (fma_test_data): Add another test.
23321 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23323 * manual/threads.texi (Non-POSIX Extensions): New document
23324 node. Document pthread_getattr_default_np and
23325 pthread_setattr_default_np.
23327 * Versions.def (libpthread): Add GLIBC_2.18.
23328 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23337 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23348 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23351 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23353 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23354 H.J. Lu <hjl.tools@gmail.com>
23357 * sysdeps/x86_64/rtld-memset.c: Remove file.
23358 * sysdeps/x86_64/rtld-memset.S: New file.
23360 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23362 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23363 (test_in_one_mode): Take arguments for whether the rounding mode
23364 is supported for each floating-point type.
23365 (do_test): Pass new arguments to test_in_one_mode using
23368 2013-06-13 Roland McGrath <roland@hack.frob.com>
23370 * posix/tst-waitid.c (do_test): Distinguish different instances of
23371 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23372 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23373 before entering the kernel for waitpid.
23375 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23377 * NEWS: Fix note on clock function precision. Text by Roland
23380 2013-06-13 Roland McGrath <roland@hack.frob.com>
23382 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23383 it into place only when and if the sanity check passes.
23385 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23387 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23388 output for whether conversion result is exact. Take argument
23389 indicating whether type is IBM long double.
23390 (round_for_all): Change need_exact field to ibm_ld.
23391 * stdlib/tst-strtod-round.c (struct exactness): New type.
23392 (struct test): Change bool ld_ok field to struct exactness exact.
23393 (TEST): Update all definitions for change to field.
23394 (tests): Regenerate array contents.
23395 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23396 field value. Check for IBM long double here.
23397 (do_test): Update calls to test_in_one_mode.
23399 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23402 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23403 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23405 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23408 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23409 generated by the compiler on loop optimizations.
23410 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23411 general definitions.
23413 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23415 * math/bug-nextafter.c: Include <math-tests.h>.
23416 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23418 * math/bug-nexttoward.c: Include <math-tests.h>.
23419 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23421 * math/test-misc.c: Include <math-tests.h>.
23422 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23425 2013-06-12 Andreas Jaeger <aj@suse.de>
23427 * po/ia.po: Update Interlingua translation from translation
23430 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23432 * include/fenv.h: Include stdbool.h.
23433 (struct rm_ctx): New structure.
23434 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23436 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23437 (SET_RESTORE_ROUNDF): Likewise.
23438 (SET_RESTORE_ROUNDL): Likewise.
23439 (SET_RESTORE_ROUND_NOEX): Likewise.
23440 (SET_RESTORE_ROUND_NOEXF): Likewise.
23441 (SET_RESTORE_ROUND_NOEXL): Likewise.
23442 (SET_RESTORE_ROUND_53BIT): Likewise.
23443 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23444 (libc_feresetround_noexf_ctx): Likewise.
23445 (libc_feresetround_noexl_ctx): Likewise.
23446 (libc_feholdsetround_53bit_ctx): Likewise.
23447 (libc_feresetround_53bit_ctx): Likewise.
23448 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23449 (libc_feholdexcept_setround_sse_ctx): New function.
23450 (libc_fesetenv_sse_ctx): Likewise.
23451 (libc_feupdateenv_sse_ctx): Likewise.
23452 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23453 (libc_feholdexcept_setround_387_ctx): Likewise.
23454 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23455 (libc_feholdsetround_387_prec_ctx): Likewise.
23456 (libc_feholdsetround_387_ctx): Likewise.
23457 (libc_feholdsetround_387_53bit_ctx): Likewise.
23458 (libc_feholdsetround_sse_ctx): Likewise.
23459 (libc_feresetround_sse_ctx): Likewise.
23460 (libc_feresetround_387_ctx): Likewise.
23461 (libc_feupdateenv_387_ctx): Likewise.
23462 (libc_feholdexcept_setroundf_ctx): Define macro.
23463 (libc_fesetenvf_ctx): Likewise.
23464 (libc_feupdateenvf_ctx): Likewise.
23465 (libc_feholdsetroundf_ctx): Likewise.
23466 (libc_feresetroundf_ctx): Likewise.
23467 (libc_feholdexcept_setround_ctx): Likewise.
23468 (libc_fesetenv_ctx): Likewise.
23469 (libc_feupdateenv_ctx): Likewise.
23470 (libc_feholdsetround_ctx): Likewise.
23471 (libc_feresetround_ctx): Likewise.
23472 (libc_feholdexcept_setroundl_ctx): Likewise.
23473 (libc_feupdateenvl_ctx): Likewise.
23474 (libc_feholdsetroundl_ctx): Likewise.
23475 (libc_feresetroundl_ctx): Likewise.
23476 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23477 (libc_feresetround_53bit_ctx): Likewise.
23479 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23481 * locale/iso-639.def: Convert to UTF-8.
23483 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23485 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23486 (EXCEPTION_TESTS_double): Likewise.
23487 (EXCEPTION_TESTS_long_double): Likewise.
23488 (EXCEPTION_TESTS): Likewise.
23489 * math/libm-test.inc (test_exceptions): Only test exceptions if
23490 EXCEPTION_TESTS (FLOAT).
23492 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23494 * benchtests/Makefile (string-bench): Add strcpy_chk and
23496 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23497 * benchtests/bench-stpcpy_chk.c: New file.
23498 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23499 * benchtests/bench-strcpy_chk.c: New file.
23500 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23502 (do_test): Likewise.
23504 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23506 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23507 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23508 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23509 with tabs where appropriate.
23510 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23512 [PPC_PLATFORM_PPC440]: Likewise.
23513 [PPC_PLATFORM_PPC464]: Likewise.
23514 [PPC_PLATFORM_PPC476]: Likewise.
23515 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23516 ppc464, and ppc476 platform strings merging from ports/
23519 2013-06-11 Andreas Schwab <schwab@suse.de>
23522 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23523 (from_ucs4_idx): Regenerate.
23524 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23525 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23526 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23527 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23528 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23529 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23530 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23531 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23532 from FROM_LOOP and TO_LOOP specific macros.
23533 (BODY): Handle combining characters.
23534 * iconvdata/BIG5HKSCS.irreversible: Update.
23535 * iconvdata/BIG5HKSCS.precomposed: New file.
23536 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23538 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23540 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23542 * include/sys/time.h: Fix indentation and add copyright header.
23544 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23545 (do_test): Likewise.
23546 * string/test-memchr.c (do_one_test): Likewise.
23547 (do_test): Likewise.
23548 * string/test-memcmp.c (do_one_test): Likewise.
23549 (do_test): Likewise.
23550 * string/test-memcpy.c (do_one_test): Likewise.
23551 (do_test): Likewise.
23552 * string/test-memmem.c (do_one_test): Likewise.
23553 (do_test): Likewise.
23554 (do_random_tests): Likewise.
23555 * string/test-memmove.c (do_one_test): Likewise.
23556 (do_test): Likewise.
23557 * string/test-memset.c (do_one_test): Likewise.
23558 (do_test): Likewise.
23559 * string/test-rawmemchr.c (do_one_test): Likewise.
23560 (do_test): Likewise.
23561 * string/test-strcasecmp.c (do_one_test): Likewise.
23562 (do_test): Likewise.
23563 * string/test-strcasestr.c (do_one_test): Likewise.
23564 (do_test): Likewise.
23565 * string/test-strcat.c (do_one_test): Likewise.
23566 (do_test): Likewise.
23567 * string/test-strchr.c (do_one_test): Likewise.
23568 (do_test): Likewise.
23569 * string/test-strcmp.c (do_one_test): Likewise.
23570 (do_test): Likewise.
23571 * string/test-strcpy.c (do_one_test): Likewise.
23572 (do_test): Likewise.
23573 * string/test-string.h: Likewise.
23574 (test_init): Likewise.
23575 * string/test-strlen.c (do_one_test): Likewise.
23576 (do_test): Likewise.
23577 * string/test-strncasecmp.c (do_one_test): Likewise.
23578 (do_test): Likewise.
23579 * string/test-strncat.c (do_one_test): Likewise.
23580 (do_test): Likewise.
23581 * string/test-strncmp.c (do_one_test): Likewise.
23582 (do_test_limit): Likewise.
23583 (do_test): Likewise.
23584 * string/test-strncpy.c (do_one_test): Likewise.
23585 (do_test): Likewise.
23586 * string/test-strnlen.c (do_one_test): Likewise.
23587 (do_test): Likewise.
23588 * string/test-strpbrk.c (do_one_test): Likewise.
23589 (do_test): Likewise.
23590 * string/test-strrchr.c (do_one_test): Likewise.
23591 (do_test): Likewise.
23592 * string/test-strspn.c (do_one_test): Likewise.
23593 (do_test): Likewise.
23594 * string/test-strstr.c (do_one_test): Likewise.
23595 (do_test): Likewise.
23597 * benchtests/Makefile (string-bench): Add string benchmarks.
23598 * benchtests/bench-bcopy-ifunc.c: New file.
23599 * benchtests/bench-bcopy.c: New file.
23600 * benchtests/bench-bzero-ifunc.c: New file.
23601 * benchtests/bench-bzero.c: New file.
23602 * benchtests/bench-memccpy-ifunc.c: New file.
23603 * benchtests/bench-memccpy.c: New file.
23604 * benchtests/bench-memchr-ifunc.c: New file.
23605 * benchtests/bench-memchr.c: New file.
23606 * benchtests/bench-memcmp-ifunc.c: New file.
23607 * benchtests/bench-memcmp.c: New file.
23608 * benchtests/bench-memmem-ifunc.c: New file.
23609 * benchtests/bench-memmem.c: New file.
23610 * benchtests/bench-memmove-ifunc.c: New file.
23611 * benchtests/bench-memmove.c: New file.
23612 * benchtests/bench-mempcpy-ifunc.c: New file.
23613 * benchtests/bench-mempcpy.c: New file.
23614 * benchtests/bench-memset-ifunc.c: New file.
23615 * benchtests/bench-memset.c: New file.
23616 * benchtests/bench-rawmemchr-ifunc.c: New file.
23617 * benchtests/bench-rawmemchr.c: New file.
23618 * benchtests/bench-stpcpy-ifunc.c: New file.
23619 * benchtests/bench-stpcpy.c: New file.
23620 * benchtests/bench-stpncpy-ifunc.c: New file.
23621 * benchtests/bench-stpncpy.c: New file.
23622 * benchtests/bench-strcasecmp-ifunc.c: New file.
23623 * benchtests/bench-strcasecmp.c: New file.
23624 * benchtests/bench-strcasestr-ifunc.c: New file.
23625 * benchtests/bench-strcasestr.c: New file.
23626 * benchtests/bench-strcat-ifunc.c: New file.
23627 * benchtests/bench-strcat.c: New file.
23628 * benchtests/bench-strchr-ifunc.c: New file.
23629 * benchtests/bench-strchr.c: New file.
23630 * benchtests/bench-strchrnul-ifunc.c: New file.
23631 * benchtests/bench-strchrnul.c: New file.
23632 * benchtests/bench-strcmp-ifunc.c: New file.
23633 * benchtests/bench-strcmp.c: New file.
23634 * benchtests/bench-strcpy-ifunc.c: New file.
23635 * benchtests/bench-strcpy.c: New file.
23636 * benchtests/bench-strcspn-ifunc.c: New file.
23637 * benchtests/bench-strcspn.c: New file.
23638 * benchtests/bench-strlen-ifunc.c: New file.
23639 * benchtests/bench-strlen.c: New file.
23640 * benchtests/bench-strncasecmp-ifunc.c: New file.
23641 * benchtests/bench-strncasecmp.c: New file.
23642 * benchtests/bench-strncat-ifunc.c: New file.
23643 * benchtests/bench-strncat.c: New file.
23644 * benchtests/bench-strncmp-ifunc.c: New file.
23645 * benchtests/bench-strncmp.c: New file.
23646 * benchtests/bench-strncpy-ifunc.c: New file.
23647 * benchtests/bench-strncpy.c: New file.
23648 * benchtests/bench-strnlen-ifunc.c: New file.
23649 * benchtests/bench-strnlen.c: New file.
23650 * benchtests/bench-strpbrk-ifunc.c: New file.
23651 * benchtests/bench-strpbrk.c: New file.
23652 * benchtests/bench-strrchr-ifunc.c: New file.
23653 * benchtests/bench-strrchr.c: New file.
23654 * benchtests/bench-strspn-ifunc.c: New file.
23655 * benchtests/bench-strspn.c: New file.
23656 * benchtests/bench-strstr-ifunc.c: New file.
23657 * benchtests/bench-strstr.c: New file.
23659 * benchtests/Makefile: Disable parallel execution of targets.
23660 (string-bench): Add memcpy.
23661 (benchset): New variable to store a list of benchmark sets.
23662 (bench-func): Renamed from bench.
23663 (bench-set): New target.
23664 (bench): Depend on bench-func and bench-set.
23665 * benchtests/README: Add section on benchmark sets.
23666 * benchtests/bench-memcpy-ifunc.c: New file.
23667 * benchtests/bench-memcpy.c: New file.
23668 * benchtests/bench-string.h: New file.
23670 2013-06-11 Andreas Schwab <schwab@suse.de>
23673 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23674 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23675 values in the triple.
23676 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23677 terminator in the group key.
23679 2013-06-11 Andreas Jaeger <aj@suse.de>
23681 * po/zh_TW.po: Update Chinese (traditional) translation from
23682 translation project.
23684 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23686 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23687 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23688 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23689 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23690 (clock_getcpuclockid): Likewise.
23691 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23692 Add weak_alias and libc_hidden_def.
23693 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23694 * rt/clock_gettime.c (clock_gettime): Rename to
23695 __clock_gettime. Add weak_alias and libc_hidden_def.
23696 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23697 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23698 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23699 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23700 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23702 * rt/clock_settime.c (clock_settime): Rename to
23703 __clock_settime. Add weak_alias and libc_hidden_def.
23704 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23706 2013-06-10 Joseph Myers <joseph@codesourcery.com>
23708 * mach/err_boot.sub: Remove trailing whitespace.
23709 * mach/err_ipc.sub: Likewise.
23710 * mach/err_mach.sub: Likewise.
23712 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23713 (ROUNDING_TESTS_double): Likewise.
23714 (ROUNDING_TESTS_long_double): Likewise.
23715 (ROUNDING_TESTS): Likewise.
23716 * math/libm-test.inc: Include <math-tests.h>.
23717 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23718 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23719 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23720 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23722 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23724 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23727 2013-06-08 Joseph Myers <joseph@codesourcery.com>
23729 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23730 otherwise empty TRANS lines.
23731 * sysdeps/gnu/errlist.c: Regenerated.
23733 * catgets/gencat.c (error_print): Use (void) in function
23735 * crypt/crypt_util.c (__init_des): Likewise.
23736 * crypt/speeds.c (Stop): Likewise.
23738 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23739 * inet/ruserpass.c (token): Likewise.
23740 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23741 * intl/localealias.c (extend_alias_table): Likewise.
23742 * intl/plural-exp.c (init_germanic_plural): Likewise.
23743 * libio/fcloseall.c (__fcloseall): Likewise.
23744 * libio/genops.c (_IO_flush_all): Likewise.
23745 (_IO_flush_all_linebuffered): Likewise.
23746 (_IO_cleanup): Likewise.
23747 (_IO_iter_begin): Likewise.
23748 (_IO_iter_end): Likewise.
23749 (_IO_list_lock): Likewise.
23750 (_IO_list_unlock): Likewise.
23751 (_IO_list_resetlock): Likewise.
23752 * libio/getchar.c (getchar): Likewise.
23753 * libio/getchar_u.c (getchar_unlocked): Likewise.
23754 * libio/getwchar.c (getwchar): Likewise.
23755 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23756 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23757 * login/getpt.c (__getpt): Likewise.
23758 * login/tst-utmp.c (main): Likewise.
23759 * malloc/hooks.c (__malloc_check_init): Likewise.
23760 * malloc/malloc.c (__malloc_stats): Likewise.
23761 * malloc/mtrace.c (tr_break): Likewise.
23762 (mtrace): Likewise.
23763 (muntrace): Likewise.
23764 * misc/fstab.c (endfsent): Likewise.
23765 * misc/getclktck.c (__getclktck): Likewise.
23766 * misc/getdtsz.c (__getdtablesize): Likewise.
23767 * misc/gethostid.c (gethostid): Likewise.
23768 * misc/getpagesize.c (__getpagesize): Likewise.
23769 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23770 (__get_nprocs): Likewise.
23771 (__get_phys_pages): Likewise.
23772 (__get_avphys_pages): Likewise.
23773 * misc/getttyent.c (getttyent): Likewise.
23774 (setttyent): Likewise.
23775 (endttyent): Likewise.
23776 * misc/getusershell.c (getusershell): Likewise.
23777 (endusershell): Likewise.
23778 (setusershell): Likewise.
23779 (initshells): Likewise.
23780 * misc/hsearch.c (__hdestroy): Likewise.
23781 * misc/sync.c (sync): Likewise.
23782 * misc/syslog.c (closelog_internal): Likewise.
23783 (closelog): Likewise.
23784 * misc/ttyslot.c (ttyslot): Likewise.
23785 * misc/vhangup.c (vhangup): Likewise.
23786 * posix/fork.c (__fork): Likewise.
23787 * posix/getegid.c (__getegid): Likewise.
23788 * posix/geteuid.c (__geteuid): Likewise.
23789 * posix/getgid.c (__getgid): Likewise.
23790 * posix/getpid.c (__getpid): Likewise.
23791 * posix/getppid.c (__getppid): Likewise.
23792 * posix/getuid.c (__getuid): Likewise.
23793 * posix/pause.c (pause): Likewise.
23794 * posix/setpgrp.c (setpgrp): Likewise.
23795 * posix/setsid.c (__setsid): Likewise.
23796 * posix/test-vfork.c (noop): Likewise.
23797 * resolv/gethnamaddr.c (_endhtent): Likewise.
23798 (_gethtent): Likewise.
23799 (ht_endhostent): Likewise.
23800 (gethostent): Likewise.
23801 (dns_service): Likewise.
23802 * stdlib/drand48.c (drand48): Likewise.
23803 * stdlib/lrand48.c (lrand48): Likewise.
23804 * stdlib/mrand48.c (mrand48): Likewise.
23805 * stdlib/rand.c (rand): Likewise.
23806 * stdlib/random.c (__random): Likewise.
23807 * stdlib/setenv.c (clearenv): Likewise.
23808 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23809 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23810 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23811 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23812 (__get_nprocs): Likewise.
23813 (__get_phys_pages): Likewise.
23814 (__get_avphys_pages): Likewise.
23815 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23816 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23817 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23818 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23819 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23820 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23821 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23822 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23823 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23824 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23825 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23826 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23827 * sysdeps/posix/clock.c (clock): Likewise.
23828 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23829 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23830 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23831 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23832 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23833 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23834 (__get_nprocs_conf): Likewise.
23835 (__get_phys_pages): Likewise.
23836 (__get_avphys_pages): Likewise.
23837 * time/clock.c (clock): Likewise.
23838 * time/tzset.c (__tzname_max): Likewise.
23840 2013-06-07 Joseph Myers <joseph@codesourcery.com>
23842 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23843 (__bswap_32): Do not use "register".
23844 * crypt/crypt.c (_ufc_doit_r): Likewise.
23845 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23846 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23847 * gmon/gmon.c (__monstartup): Likewise.
23848 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23849 * hurd/hurdmalloc.c (more_memory): Likewise.
23850 (malloc): Likewise.
23852 (realloc): Likewise.
23853 (malloc_fork_prepare): Likewise.
23854 (malloc_fork_parent): Likewise.
23855 (malloc_fork_child): Likewise.
23856 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23857 (_svcauth_des): Likewise.
23858 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23859 * inet/inet_net.c (inet_network): Likewise.
23860 * inet/inet_netof.c (inet_netof): Likewise.
23861 * inet/rcmd.c (__validuser2_sa): Likewise.
23862 * io/fts.c (fts_open): Likewise.
23863 (fts_load): Likewise.
23864 (fts_close): Likewise.
23865 (fts_read): Likewise.
23866 (fts_children): Likewise.
23867 (fts_build): Likewise.
23868 (fts_stat): Likewise.
23869 (fts_sort): Likewise.
23870 (fts_alloc): Likewise.
23871 (fts_lfree): Likewise.
23872 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23873 (_IO_file_xsgetn): Likewise.
23874 (_IO_file_xsgetn_mmap): Likewise.
23875 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23876 (_IO_cookie_write): Likewise.
23877 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23878 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23879 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23880 * malloc/obstack.c (_obstack_begin): Likewise.
23881 (_obstack_begin_1): Likewise.
23882 (_obstack_newchunk): Likewise.
23883 (_obstack_allocated_p): Likewise.
23884 (obstack_free): Likewise.
23885 (_obstack_memory_used): Likewise.
23886 * misc/getttyent.c (getttynam): Likewise.
23887 (getttyent): Likewise.
23890 * misc/getusershell.c (initshells): Likewise.
23891 * misc/syslog.c (__vsyslog_chk): Likewise.
23892 * misc/ttyslot.c (ttyslot): Likewise.
23893 * nis/nis_hash.c (__nis_hash): Likewise.
23894 * posix/fnmatch_loop.c (FCT): Likewise.
23895 * posix/getconf.c (print_all): Likewise.
23897 * posix/getopt.c (exchange): Likewise.
23898 * posix/glob.c (globfree): Likewise.
23899 (prefix_array): Likewise.
23900 (__glob_pattern_type): Likewise.
23901 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23902 (NS_GET32): Likewise.
23903 (NS_PUT16): Likewise.
23904 (NS_PUT32): Likewise.
23905 * resolv/gethnamaddr.c (getanswer): Likewise.
23906 (gethostbyname2): Likewise.
23907 (gethostbyaddr): Likewise.
23908 (_gethtent): Likewise.
23909 (_gethtbyname2): Likewise.
23910 (_gethtbyaddr): Likewise.
23911 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23912 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23913 * resolv/res_init.c (__res_vinit): Likewise.
23914 (net_mask): Likewise.
23915 * resolv/res_mkquery.c (outchar): Likewise.
23917 * stdio-common/printf_fp.c (outchar): Likewise.
23919 * stdio-common/printf_fphex.c (outchar): Likewise.
23921 * stdio-common/printf_size.c (outchar): Likewise.
23923 * stdio-common/test_rdwr.c (main): Likewise.
23924 * stdio-common/tfformat.c (matches): Likewise.
23925 * stdio-common/vfprintf.c (outchar): Likewise.
23926 (printf_unknown): Likewise.
23927 (buffered_vfprintf): Likewise.
23928 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23929 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23930 (ReadFile): Likewise.
23931 * stdlib/qsort.c (SWAP): Likewise.
23932 (_quicksort): Likewise.
23933 * stdlib/setenv.c (__add_to_environ): Likewise.
23934 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23935 * stdlib/strtol_l.c (__strtol_l): Likewise.
23936 * stdlib/tst-strtod.c (main): Likewise.
23937 * stdlib/tst-strtol.c (main): Likewise.
23938 * stdlib/tst-strtoll.c (main): Likewise.
23939 * string/bits/string2.h (__strcmp_cc): Likewise.
23940 (__strcmp_cg): Likewise.
23941 (__strcspn_c1): Likewise.
23942 (__strcspn_c2): Likewise.
23943 (__strcspn_c3): Likewise.
23944 (__strspn_c1): Likewise.
23945 (__strspn_c2): Likewise.
23946 (__strspn_c3): Likewise.
23947 (__strsep_1c): Likewise.
23948 (__strsep_2c): Likewise.
23949 (__strsep_3c): Likewise.
23950 * string/memccpy.c (__memccpy): Likewise.
23951 * string/stpcpy.c (__stpcpy): Likewise.
23952 * string/strcmp.c (strcmp): Likewise.
23953 * string/strrchr.c (strrchr): Likewise.
23954 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23956 * sysdeps/mach/hurd/getcwd.c
23957 (_hurd_canonicalize_directory_name_internal): Likewise.
23958 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23959 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23960 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23961 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23962 Likewise, in both definitions.
23963 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23965 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23966 64] (__bswap_64): Likewise.
23967 * time/test_time.c (main): Likewise.
23968 * time/tzfile.c (__tzfile_read): Likewise.
23969 (__tzfile_compute): Likewise.
23970 * time/tzset.c (__tzset_parse_tz): Likewise.
23971 (tzset_internal): Likewise.
23972 (compute_change): Likewise.
23973 * wcsmbs/wcscat.c (__wcscat): Likewise.
23974 * wcsmbs/wcschr.c (wcschr): Likewise.
23975 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23976 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23977 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23978 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23979 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23980 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23981 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23982 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23983 * wcsmbs/wmemset.c (wmemset): Likewise.
23985 2013-06-06 Joseph Myers <joseph@codesourcery.com>
23987 * scripts/config.guess: Update to version 2013-05-16.
23988 * scripts/config.sub: Update to version 2013-04-24.
23989 * scripts/install-sh: Update to version 2011-11-20.07.
23990 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23991 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23993 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
23995 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23996 * elf/sln.c: Likewise.
23997 * hurd/hurd/ioctl.h: Likewise.
23998 * hurd/hurdmalloc.c: Likewise.
23999 * hurd/xattr.c: Likewise.
24000 * include/shlib-compat.h: Likewise.
24001 * inet/ruserpass.c: Likewise.
24002 * libio/iofgets_u.c: Likewise.
24003 * libio/iofgetws_u.c: Likewise.
24004 * locale/programs/ld-identification.c: Likewise.
24005 * locale/programs/ld-time.c: Likewise.
24006 * mach/msg-destroy.c: Likewise.
24007 * nss/nss_files/files-netgrp.c: Likewise.
24008 * resolv/res_data.c: Likewise.
24009 * soft-fp/op-1.h: Likewise.
24010 * soft-fp/op-2.h: Likewise.
24011 * soft-fp/op-4.h: Likewise.
24012 * soft-fp/op-common.h: Likewise.
24013 * stdio-common/printf_fphex.c: Likewise.
24014 * stdlib/strtod_l.c: Likewise.
24015 * sunrpc/rpc/clnt.h: Likewise.
24016 * sysdeps/generic/framestate.c: Likewise.
24017 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24018 * sysdeps/i386/bsd-setjmp.S: Likewise.
24019 * sysdeps/i386/__longjmp.S: Likewise.
24020 * sysdeps/i386/setjmp.S: Likewise.
24021 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24022 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24023 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24024 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24026 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24028 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24037 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24039 * sysdeps/ieee754/support.c: Likewise.
24040 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24041 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24042 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24043 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24044 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24045 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24046 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24047 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24048 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24049 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24050 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24051 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24052 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24053 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24054 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24055 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24056 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24059 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24061 * posix/transbug.c: Remove executable mode.
24063 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24065 * crypt/speeds.c: Remove trailing whitespace.
24066 * dlfcn/default.c: Likewise.
24067 * elf/ifuncdep2.c: Likewise.
24068 * elf/ifuncmain1.c: Likewise.
24069 * elf/ifuncmain1vis.c: Likewise.
24070 * elf/testobj.h: Likewise.
24071 * elf/tst-stackguard1.c: Likewise.
24072 * gmon/sys/gmon.h: Likewise.
24073 * hurd/hurdmsg.c: Likewise.
24074 * hurd/new-fd.c: Likewise.
24075 * hurd/ports-get.c: Likewise.
24076 * iconvdata/ibm1008_420.c: Likewise.
24077 * inet/tst-getni1.c: Likewise.
24078 * inet/tst-getni2.c: Likewise.
24079 * libio/ioungetc.c: Likewise.
24080 * libio/wfiledoalloc.c: Likewise.
24081 * manual/libm-err-tab.pl: Likewise.
24082 * math/w_dremf.c: Likewise.
24083 * misc/ftruncate.c: Likewise.
24084 * posix/bug-glob2.c: Likewise.
24085 * posix/tst-pcre.c: Likewise.
24086 * posix/wait4.c: Likewise.
24087 * resolv/README: Likewise.
24088 * resolv/res_debug.h: Likewise.
24089 * resolv/tst-inet_ntop.c: Likewise.
24090 * setjmp/bug269-setjmp.c: Likewise.
24091 * soft-fp/extended.h: Likewise.
24092 * soft-fp/op-1.h: Likewise.
24093 * soft-fp/op-2.h: Likewise.
24094 * soft-fp/op-4.h: Likewise.
24095 * soft-fp/op-8.h: Likewise.
24096 * soft-fp/testit.c: Likewise.
24097 * stdio-common/bug16.c: Likewise.
24098 * stdlib/random.c: Likewise.
24099 * sunrpc/rpcsvc/rquota.x: Likewise.
24100 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24101 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24102 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24103 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24104 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24105 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24106 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24107 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24108 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24109 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24110 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24111 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24112 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24113 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24116 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24117 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24118 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24127 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24128 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24129 * sysdeps/ieee754/s_lib_version.c: Likewise.
24130 * sysdeps/mach/hurd/check_fds.c: Likewise.
24131 * sysdeps/mach/hurd/getsockname.c: Likewise.
24132 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24133 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24134 * sysdeps/powerpc/bits/link.h: Likewise.
24135 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24136 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24137 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24138 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24139 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24140 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24141 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24142 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24143 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24144 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24145 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24146 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24147 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24148 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24149 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24150 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24151 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24152 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24153 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24154 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24155 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24156 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24157 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24158 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24159 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24160 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24161 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24162 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24163 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24164 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24165 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24166 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24168 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24169 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24170 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24171 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24172 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24173 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24174 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24175 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24176 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24177 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24178 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24179 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24180 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24181 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24182 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24183 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24184 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24185 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24187 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24188 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24189 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24190 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24191 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24192 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24193 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24194 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24195 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24196 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24197 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24198 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24199 * sysdeps/powerpc/sysdep.h: Likewise.
24200 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24201 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24202 * sysdeps/sh/dl-trampoline.S: Likewise.
24203 * sysdeps/sh/memset.S: Likewise.
24204 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24205 * sysdeps/sh/strlen.S: Likewise.
24206 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24207 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24208 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24209 * sysdeps/sparc/sparc32/rem.S: Likewise.
24210 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24211 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24212 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24213 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24214 * sysdeps/sparc/sparc32/urem.S: Likewise.
24215 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24216 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24217 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24218 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24219 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24220 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24221 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24222 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24223 * sysdeps/unix/bsd/times.c: Likewise.
24224 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24225 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24229 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24230 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24231 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24232 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24233 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24234 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24235 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24236 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24237 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24238 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24239 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24240 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24241 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24242 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24243 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24244 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24245 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24246 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24247 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24248 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24249 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24250 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24251 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24252 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24253 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24254 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24255 * sysdeps/x86_64/strcspn.S: Likewise.
24257 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24259 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24260 generated file. Regenerate properly from gen-translit.pl.
24261 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24262 locale/C-translit.h.
24264 2013-06-05 Andreas Schwab <schwab@suse.de>
24267 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24268 week as 6 instead of -1.
24269 * time/tst-strptime.c (day_tests): Add test case.
24271 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24273 * sysdeps/generic/math_private.h
24274 (libc_feholdexcept_setround_53bit): Replace with
24275 libc_feholdsetround_53bit.
24276 (libc_feupdateenv_53bit): Replace with
24277 libc_feresetround_53bit.
24278 (SET_RESTORE_ROUND_53BIT): Adjust.
24280 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24282 * string/test-strchrnul.c: Add copyright header.
24284 * posix/tst-getaddrinfo4.c: Increase test timeout.
24286 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24289 * math/libm-test.inc (MAX_EXP): Remove
24291 (ulp): Use MIN_EXP - MANT_DIG.
24292 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24294 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24296 * po/be.po: Revert last change.
24297 * po/zh_CN.po: Likewise.
24298 * po/header.pot: Likewise.
24300 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24302 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24303 link-libc-deps to empty as target-specific variable.
24304 * Makerules (link-libc-args): New variable.
24305 (libc-for-link): Likewise.
24306 (link-libc-deps): Likewise.
24307 (lib%.so): Depend on $(link-libc-deps). Link with
24309 (build-module): Link with $(link-libc-args).
24310 (build-module-asneeded): Likewise.
24311 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24313 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24314 target-specific variable.
24315 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24316 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24317 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24319 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24321 ($(objpfx)libpcprofile.so): Likewise.
24322 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24324 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24325 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24326 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24328 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24329 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24330 * login/Makefile ($(objpfx)libutil.so): Likewise.
24331 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24332 * math/Makefile ($(objpfx)libm.so): Likewise.
24333 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24334 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24335 variable instead of depending directly on libc.
24336 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24337 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24339 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24341 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24342 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24343 ($(objpfx)libanl.so): Likewise.
24344 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24346 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24348 * sysdeps/i386/fpu/Makefile: Remove file.
24349 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24350 ($(objpfx)libm.so): Remove dependency on ld.so.
24352 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24355 * nis/yp_xdr.c (XDRMAXNAME): Define.
24356 (XDRMAXRECORD): Define.
24357 (xdr_domainname): Use XDRMAXNAME.
24358 (xdr_mapname): Likewise.
24359 (xdr_peername): Likewise.
24360 (xdr_keydat): Use XDRMAXRECORD.
24361 (xdr_valdat): Likewise.
24363 2013-05-30 Jeff Law <law@redhat.com>
24366 * manual/errno.texi (ESTALE): Update to account for more than
24367 just NFS file systems.
24368 * sysdeps/gnu/errlist.c: Regenerated.
24370 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24373 * elf/Makefile (tests): Add tst-null-argv.
24374 (modules-names): Add tst-null-argv-lib.
24375 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24376 (tst-null-argv-ENV): Set environment for tst-null-argv.
24377 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24378 (RTLD_PROGNAME): New macro.
24379 * elf/tst-null-argv.c: New test case.
24380 * elf/tst-null-argv-lib.c: Library for test case.
24381 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24382 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24383 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24384 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24385 * elf/dl-init.c (call_init): Likewise.
24386 (_dl_init): Likewise.
24387 * elf/dl-load.c (print_search_path): Likewise.
24388 (_dl_map_object): Likewise.
24389 * elf/dl-lookup.c (do_lookup_x): Likewise.
24390 (add_dependency): Likewise.
24391 (_dl_lookup_symbol_x): Likewise.
24392 (_dl_debug_bindings): Likewise.
24393 * elf/dl-open.c (_dl_show_scope): Likewise.
24394 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24395 * elf/dl-version.c (match_symbol): Likewise.
24396 (_dl_check_map_versions): Likewise.
24397 * elf/rtld.c (dl_main): Likewise.
24398 (print_unresolved): Use RTLD_PROGNAME.
24399 (print_missing_version): Likewise.
24400 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24401 (elf_machine_rela): Likewise.
24402 * sysdeps/powerpc/powerpc32/dl-machine.c
24403 (__process_machine_rela): Likewise.
24404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24406 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24408 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24410 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24417 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24419 * po/be.po: Add descriptive title.
24420 * po/zh_CN.po: Likewise.
24421 * po/header.pot: Likewise.
24423 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24425 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24427 (enlarge_archive): Likewise.
24429 2013-05-28 Ben North <ben@redfrontdoor.org>
24431 * manual/arith.texi (frexp): It is the magnitude of the return
24432 value which lies in [0.5, 1), not the return value itself.
24434 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24438 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24440 * stdio-common/bug26.c (main): Correct fscanf template.
24442 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24443 declare _dl_skip_args.
24445 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24448 * manual/platform.texi: Add missing @end deftypefun.
24450 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24453 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24454 bit of mantissa of 2^16382.
24455 * math/libm-test.inc (hypot_test_data): Add more tests.
24457 * math/libm-test.inc: Add drem and pow10 to list of tested
24459 (pow10_test): New function.
24460 (drem_test): Likewise.
24461 (drem_test_tonearest): Likewise.
24462 (drem_test_towardzero): Likewise.
24463 (drem_test_downward): Likewise.
24464 (drem_test_upward): Likewise.
24465 (main): Call the new functions.
24467 * math/libm-test.inc (finite_test_data): Remove.
24468 (finite_test): Run tests from isfinite_test_data.
24469 (gamma_test_data): Remove.
24470 (gamma_test): Run tests from lgamma_test_data.
24471 * sysdeps/i386/fpu/libm-test-ulps: Update.
24472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24474 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24476 * manual/platform.texi: Add PowerPC PPR function set documentation.
24477 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24480 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24482 * math/libm-test.inc (MAX_EXP): Define.
24484 (ulp): New function.
24485 (check_float_internal): Use ULPDIFF.
24486 (cpow_test): Disable failing test.
24487 (check_ulp): Test ulp() implemetnation.
24488 (main): Call check_ulp before starting tests.
24490 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24492 * math/gen-libm-test.pl (generate_testfile): Do not handle
24493 START_DATA and END_DATA.
24494 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24496 (acos_tonearest_test_data): Likewise.
24497 (acos_towardzero_test_data): Likewise.
24498 (acos_downward_test_data): Likewise.
24499 (acos_upward_test_data): Likewise.
24500 (acosh_test_data): Likewise.
24501 (asin_test_data): Likewise.
24502 (asin_tonearest_test_data): Likewise.
24503 (asin_towardzero_test_data): Likewise.
24504 (asin_downward_test_data): Likewise.
24505 (asin_upward_test_data): Likewise.
24506 (asinh_test_data): Likewise.
24507 (atan_test_data): Likewise.
24508 (atanh_test_data): Likewise.
24509 (atan2_test_data): Likewise.
24510 (cabs_test_data): Likewise.
24511 (cacos_test_data): Likewise.
24512 (cacosh_test_data): Likewise.
24513 (carg_test_data): Likewise.
24514 (casin_test_data): Likewise.
24515 (casinh_test_data): Likewise.
24516 (catan_test_data): Likewise.
24517 (catanh_test_data): Likewise.
24518 (cbrt_test_data): Likewise.
24519 (ccos_test_data): Likewise.
24520 (ccosh_test_data): Likewise.
24521 (ceil_test_data): Likewise.
24522 (cexp_test_data): Likewise.
24523 (cimag_test_data): Likewise.
24524 (clog_test_data): Likewise.
24525 (clog10_test_data): Likewise.
24526 (conj_test_data): Likewise.
24527 (copysign_test_data): Likewise.
24528 (cos_test_data): Likewise.
24529 (cos_tonearest_test_data): Likewise.
24530 (cos_towardzero_test_data): Likewise.
24531 (cos_downward_test_data): Likewise.
24532 (cos_upward_test_data): Likewise.
24533 (cosh_test_data): Likewise.
24534 (cosh_tonearest_test_data): Likewise.
24535 (cosh_towardzero_test_data): Likewise.
24536 (cosh_downward_test_data): Likewise.
24537 (cosh_upward_test_data): Likewise.
24538 (cpow_test_data): Likewise.
24539 (cproj_test_data): Likewise.
24540 (creal_test_data): Likewise.
24541 (csin_test_data): Likewise.
24542 (csinh_test_data): Likewise.
24543 (csqrt_test_data): Likewise.
24544 (ctan_test_data): Likewise.
24545 (ctan_tonearest_test_data): Likewise.
24546 (ctan_towardzero_test_data): Likewise.
24547 (ctan_downward_test_data): Likewise.
24548 (ctan_upward_test_data): Likewise.
24549 (ctanh_test_data): Likewise.
24550 (ctanh_tonearest_test_data): Likewise.
24551 (ctanh_towardzero_test_data): Likewise.
24552 (ctanh_downward_test_data): Likewise.
24553 (ctanh_upward_test_data): Likewise.
24554 (erf_test_data): Likewise.
24555 (erfc_test_data): Likewise.
24556 (exp_test_data): Likewise.
24557 (exp_tonearest_test_data): Likewise.
24558 (exp_towardzero_test_data): Likewise.
24559 (exp_downward_test_data): Likewise.
24560 (exp_upward_test_data): Likewise.
24561 (exp10_test_data): Likewise.
24562 (exp2_test_data): Likewise.
24563 (expm1_test_data): Likewise.
24564 (fabs_test_data): Likewise.
24565 (fdim_test_data): Likewise.
24566 (finite_test_data): Likewise.
24567 (floor_test_data): Likewise.
24568 (fma_test_data): Likewise.
24569 (fma_towardzero_test_data): Likewise.
24570 (fma_downward_test_data): Likewise.
24571 (fma_upward_test_data): Likewise.
24572 (fmax_test_data): Likewise.
24573 (fmin_test_data): Likewise.
24574 (fmod_test_data): Likewise.
24575 (fpclassify_test_data): Likewise.
24576 (frexp_test_data): Likewise.
24577 (gamma_test_data): Likewise.
24578 (hypot_test_data): Likewise.
24579 (ilogb_test_data): Likewise.
24580 (isfinite_test_data): Likewise.
24581 (isgreater_test_data): Likewise.
24582 (isgreaterequal_test_data): Likewise.
24583 (isinf_test_data): Likewise.
24584 (isless_test_data): Likewise.
24585 (islessequal_test_data): Likewise.
24586 (islessgreater_test_data): Likewise.
24587 (isnan_test_data): Likewise.
24588 (isnormal_test_data): Likewise.
24589 (issignaling_test_data): Likewise.
24590 (isunordered_test_data): Likewise.
24591 (j0_test_data): Likewise.
24592 (j1_test_data): Likewise.
24593 (jn_test_data): Likewise.
24594 (ldexp_test_data): Likewise.
24595 (lgamma_test_data): Likewise.
24596 (lrint_test_data): Likewise.
24597 (lrint_tonearest_test_data): Likewise.
24598 (lrint_towardzero_test_data): Likewise.
24599 (lrint_downward_test_data): Likewise.
24600 (lrint_upward_test_data): Likewise.
24601 (llrint_test_data): Likewise.
24602 (llrint_tonearest_test_data): Likewise.
24603 (llrint_towardzero_test_data): Likewise.
24604 (llrint_downward_test_data): Likewise.
24605 (llrint_upward_test_data): Likewise.
24606 (log_test_data): Likewise.
24607 (log10_test_data): Likewise.
24608 (log1p_test_data): Likewise.
24609 (log2_test_data): Likewise.
24610 (logb_test_data): Likewise.
24611 (logb_downward_test_data): Likewise.
24612 (lround_test_data): Likewise.
24613 (llround_test_data): Likewise.
24614 (modf_test_data): Likewise.
24615 (nearbyint_test_data): Likewise.
24616 (nextafter_test_data): Likewise.
24617 (nexttoward_test_data): Likewise.
24618 (pow_test_data): Likewise.
24619 (pow_tonearest_test_data): Likewise.
24620 (pow_towardzero_test_data): Likewise.
24621 (pow_downward_test_data): Likewise.
24622 (pow_upward_test_data): Likewise.
24623 (remainder_test_data): Likewise.
24624 (remainder_tonearest_test_data): Likewise.
24625 (remainder_towardzero_test_data): Likewise.
24626 (remainder_downward_test_data): Likewise.
24627 (remainder_upward_test_data): Likewise.
24628 (remquo_test_data): Likewise.
24629 (rint_test_data): Likewise.
24630 (rint_tonearest_test_data): Likewise.
24631 (rint_towardzero_test_data): Likewise.
24632 (rint_downward_test_data): Likewise.
24633 (rint_upward_test_data): Likewise.
24634 (round_test_data): Likewise.
24635 (scalb_test_data): Likewise.
24636 (scalbn_test_data): Likewise.
24637 (scalbln_test_data): Likewise.
24638 (signbit_test_data): Likewise.
24639 (sin_test_data): Likewise.
24640 (sin_tonearest_test_data): Likewise.
24641 (sin_towardzero_test_data): Likewise.
24642 (sin_downward_test_data): Likewise.
24643 (sin_upward_test_data): Likewise.
24644 (sincos_test_data): Likewise.
24645 (sinh_test_data): Likewise.
24646 (sinh_tonearest_test_data): Likewise.
24647 (sinh_towardzero_test_data): Likewise.
24648 (sinh_downward_test_data): Likewise.
24649 (sinh_upward_test_data): Likewise.
24650 (sqrt_test_data): Likewise.
24651 (tan_test_data): Likewise.
24652 (tan_tonearest_test_data): Likewise.
24653 (tan_towardzero_test_data): Likewise.
24654 (tan_downward_test_data): Likewise.
24655 (tan_upward_test_data): Likewise.
24656 (tanh_test_data): Likewise.
24657 (tgamma_test_data): Likewise.
24658 (trunc_test_data): Likewise.
24659 (y0_test_data): Likewise.
24660 (y1_test_data): Likewise.
24661 (yn_test_data): Likewise.
24662 (significand_test_data): Likewise.
24664 * math/gen-libm-test.pl (@functions): Remove variable.
24665 (generate_testfile): Don't handle START and END lines.
24666 * math/libm-test.inc (START): New macro.
24668 (END_COMPLEX): Likewise.
24669 (acos_test): Use END macro without arguments.
24670 (acos_test_tonearest): Likewise.
24671 (acos_test_towardzero): Likewise.
24672 (acos_test_downward): Likewise.
24673 (acos_test_upward): Likewise.
24674 (acosh_test): Likewise.
24675 (asin_test): Likewise.
24676 (asin_test_tonearest): Likewise.
24677 (asin_test_towardzero): Likewise.
24678 (asin_test_downward): Likewise.
24679 (asin_test_upward): Likewise.
24680 (asinh_test): Likewise.
24681 (atan_test): Likewise.
24682 (atanh_test): Likewise.
24683 (atan2_test): Likewise.
24684 (cabs_test): Likewise.
24685 (cacos_test): Use END_COMPLEX macro without arguments.
24686 (cacosh_test): Likewise.
24687 (carg_test): Use END macro without arguments.
24688 (casin_test): Use END_COMPLEX macro without arguments.
24689 (casinh_test): Likewise.
24690 (catan_test): Likewise.
24691 (catanh_test): Likewise.
24692 (cbrt_test): Use END macro without arguments.
24693 (ccos_test): Use END_COMPLEX macro without arguments.
24694 (ccosh_test): Likewise.
24695 (ceil_test): Use END macro without arguments.
24696 (cexp_test): Use END_COMPLEX macro without arguments.
24697 (cimag_test): Use END macro without arguments.
24698 (clog_test): Use END_COMPLEX macro without arguments.
24699 (clog10_test): Likewise.
24700 (conj_test): Likewise.
24701 (copysign_test): Use END macro without arguments.
24702 (cos_test): Likewise.
24703 (cos_test_tonearest): Likewise.
24704 (cos_test_towardzero): Likewise.
24705 (cos_test_downward): Likewise.
24706 (cos_test_upward): Likewise.
24707 (cosh_test): Likewise.
24708 (cosh_test_tonearest): Likewise.
24709 (cosh_test_towardzero): Likewise.
24710 (cosh_test_downward): Likewise.
24711 (cosh_test_upward): Likewise.
24712 (cpow_test): Use END_COMPLEX macro without arguments.
24713 (cproj_test): Likewise.
24714 (creal_test): Use END macro without arguments.
24715 (csin_test): Use END_COMPLEX macro without arguments.
24716 (csinh_test): Likewise.
24717 (csqrt_test): Likewise.
24718 (ctan_test): Likewise.
24719 (ctan_test_tonearest): Likewise.
24720 (ctan_test_towardzero): Likewise.
24721 (ctan_test_downward): Likewise.
24722 (ctan_test_upward): Likewise.
24723 (ctanh_test): Likewise.
24724 (ctanh_test_tonearest): Likewise.
24725 (ctanh_test_towardzero): Likewise.
24726 (ctanh_test_downward): Likewise.
24727 (ctanh_test_upward): Likewise.
24728 (erf_test): Use END macro without arguments.
24729 (erfc_test): Likewise.
24730 (exp_test): Likewise.
24731 (exp_test_tonearest): Likewise.
24732 (exp_test_towardzero): Likewise.
24733 (exp_test_downward): Likewise.
24734 (exp_test_upward): Likewise.
24735 (exp10_test): Likewise.
24736 (exp2_test): Likewise.
24737 (expm1_test): Likewise.
24738 (fabs_test): Likewise.
24739 (fdim_test): Likewise.
24740 (finite_test): Likewise.
24741 (floor_test): Likewise.
24742 (fma_test): Likewise.
24743 (fma_test_towardzero): Likewise.
24744 (fma_test_downward): Likewise.
24745 (fma_test_upward): Likewise.
24746 (fmax_test): Likewise.
24747 (fmin_test): Likewise.
24748 (fmod_test): Likewise.
24749 (fpclassify_test): Likewise.
24750 (frexp_test): Likewise.
24751 (gamma_test): Likewise.
24752 (hypot_test): Likewise.
24753 (ilogb_test): Likewise.
24754 (isfinite_test): Likewise.
24755 (isgreater_test): Likewise.
24756 (isgreaterequal_test): Likewise.
24757 (isinf_test): Likewise.
24758 (isless_test): Likewise.
24759 (islessequal_test): Likewise.
24760 (islessgreater_test): Likewise.
24761 (isnan_test): Likewise.
24762 (isnormal_test): Likewise.
24763 (issignaling_test): Likewise.
24764 (isunordered_test): Likewise.
24765 (j0_test): Likewise.
24766 (j1_test): Likewise.
24767 (jn_test): Likewise.
24768 (ldexp_test): Likewise.
24769 (lgamma_test): Likewise.
24770 (lrint_test): Likewise.
24771 (lrint_test_tonearest): Likewise.
24772 (lrint_test_towardzero): Likewise.
24773 (lrint_test_downward): Likewise.
24774 (lrint_test_upward): Likewise.
24775 (llrint_test): Likewise.
24776 (llrint_test_tonearest): Likewise.
24777 (llrint_test_towardzero): Likewise.
24778 (llrint_test_downward): Likewise.
24779 (llrint_test_upward): Likewise.
24780 (log_test): Likewise.
24781 (log10_test): Likewise.
24782 (log1p_test): Likewise.
24783 (log2_test): Likewise.
24784 (logb_test): Likewise.
24785 (logb_test_downward): Likewise.
24786 (lround_test): Likewise.
24787 (llround_test): Likewise.
24788 (modf_test): Likewise.
24789 (nearbyint_test): Likewise.
24790 (nextafter_test): Likewise.
24791 (nexttoward_test): Likewise.
24792 (pow_test): Likewise.
24793 (pow_test_tonearest): Likewise.
24794 (pow_test_towardzero): Likewise.
24795 (pow_test_downward): Likewise.
24796 (pow_test_upward): Likewise.
24797 (remainder_test): Likewise.
24798 (remainder_test_tonearest): Likewise.
24799 (remainder_test_towardzero): Likewise.
24800 (remainder_test_downward): Likewise.
24801 (remainder_test_upward): Likewise.
24802 (remquo_test): Likewise.
24803 (rint_test): Likewise.
24804 (rint_test_tonearest): Likewise.
24805 (rint_test_towardzero): Likewise.
24806 (rint_test_downward): Likewise.
24807 (rint_test_upward): Likewise.
24808 (round_test): Likewise.
24809 (scalb_test): Likewise.
24810 (scalbn_test): Likewise.
24811 (scalbln_test): Likewise.
24812 (signbit_test): Likewise.
24813 (sin_test): Likewise.
24814 (sin_test_tonearest): Likewise.
24815 (sin_test_towardzero): Likewise.
24816 (sin_test_downward): Likewise.
24817 (sin_test_upward): Likewise.
24818 (sincos_test): Likewise.
24819 (sinh_test): Likewise.
24820 (sinh_test_tonearest): Likewise.
24821 (sinh_test_towardzero): Likewise.
24822 (sinh_test_downward): Likewise.
24823 (sinh_test_upward): Likewise.
24824 (sqrt_test): Likewise.
24825 (tan_test): Likewise.
24826 (tan_test_tonearest): Likewise.
24827 (tan_test_towardzero): Likewise.
24828 (tan_test_downward): Likewise.
24829 (tan_test_upward): Likewise.
24830 (tanh_test): Likewise.
24831 (tgamma_test): Likewise.
24832 (trunc_test): Likewise.
24833 (y0_test): Likewise.
24834 (y1_test): Likewise.
24835 (yn_test): Likewise.
24836 (significand_test): Likewise.
24838 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
24841 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24843 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24846 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24847 __ppc_mdoio and __ppc_mdoom.
24848 * manual/platform.texi: Document new functions __ppc_yield,
24849 __ppc_mdoio and __ppc_mdoom.
24851 2013-05-22 Carlos O'Donell <carlos@redhat.com>
24853 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24854 (main): Mention "tls" pseudo-hwcap is legacy.
24855 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24857 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24859 * math/gen-libm-test.pl (parse_args): Output only string of
24860 arguments as text for test name, not full call or descriptions of
24861 tests for extra outputs.
24862 (generate_testfile): Do not pass function name to parse_args.
24863 Generate this_func variable from START.
24864 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24866 (struct test_ff_f_data): Likewise.
24867 (test_ff_f_data_nexttoward): Likewise.
24868 (struct test_fi_f_data): Likewise.
24869 (struct test_fl_f_data): Likewise.
24870 (struct test_if_f_data): Likewise.
24871 (struct test_fff_f_data): Likewise.
24872 (struct test_c_f_data): Likewise.
24873 (struct test_f_f1_data): Likewise. Remove field extra_name.
24874 (struct test_fF_f1_data): Likewise.
24875 (struct test_ffI_f1_data): Likewise.
24876 (struct test_c_c_data): Rename test_name field to arg_str.
24877 (struct test_cc_c_data): Likewise.
24878 (struct test_f_i_data): Likewise.
24879 (struct test_ff_i_data): Likewise.
24880 (struct test_f_l_data): Likewise.
24881 (struct test_f_L_data): Likewise.
24882 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24884 (COMMON_TEST_SETUP): New macro.
24885 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24886 (COMMON_TEST_CLEANUP): Likewise.
24887 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24888 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24890 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24891 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24893 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24894 (RUN_TEST_fff_f): Take argument string. Call new setup and
24896 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24897 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24899 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24900 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24902 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24903 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24905 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24906 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24908 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24909 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24911 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24912 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24914 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24915 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24917 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24918 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24920 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24921 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24923 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24924 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24926 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24927 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24929 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24930 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24932 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24933 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24935 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24936 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24938 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24939 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24941 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24943 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24945 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24946 to _sifields.sigfault.
24947 (si_addr_lsb): Define new macro.
24948 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24950 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24952 2013-05-03 Carlos O'Donell <carlos at redhat.com>
24955 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24957 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24959 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24960 loading the domain.
24962 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24964 * math/gen-libm-test.pl (parse_args): Do not include expected
24965 result in test name.
24966 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24967 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24968 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24969 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24970 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24973 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24975 * benchtests/Makefile: Sort function entries.
24977 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24978 tanh, asinh, acosh, atanh.
24979 * benchtests/acos-inputs: New file.
24980 * benchtests/acosh-inputs: New file.
24981 * benchtests/asin-inputs: New file.
24982 * benchtests/asinh-inputs: New file.
24983 * benchtests/atanh-inputs: New file.
24984 * benchtests/cosh-inputs: New file.
24985 * benchtests/log-inputs: New file.
24986 * benchtests/sinh-inputs: New file.
24987 * benchtests/tanh-inputs: New file.
24989 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24992 * posix/tst-getaddrinfo4.c: New test.
24993 * posix/Makefile (tests): Add it.
24995 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24998 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24999 when no services were used.
25000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25001 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25003 2013-05-21 Andreas Schwab <schwab@suse.de>
25006 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25007 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25009 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25010 redundant variable declarations and reallocation of buffer when
25011 parsing as IPv6 address. Always set NSS status when called from
25012 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25013 buffer too small. Correct computation of needed size.
25014 * nss/Makefile (tests): Add test-digits-dots.
25015 * nss/test-digits-dots.c: New test.
25017 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25019 * benchtests/Makefile: Remove instructions for adding
25021 * benchtests/README: New file to explain how to execute and
25022 enhance the benchmark tests.
25024 2013-05-21 Andreas Schwab <schwab@suse.de>
25027 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25028 * setjmp/tst-sigsetjmp.c: New test.
25030 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25032 * sysdeps/x86_64/memset.S (memset): New implementation.
25033 (__bzero): Likewise.
25034 (__memset_tail): New function.
25036 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25038 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25039 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25040 __memcpy_sse2_unaligned ifunc selection.
25041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25042 Add memcpy-sse2-unaligned.S.
25043 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25044 Add: __memcpy_sse2_unaligned.
25046 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25049 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25050 math_force_eval before restoring floating-point envrionment.
25051 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25052 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25054 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25056 (__nearbyintl): Use math_force_eval before restoring
25057 floating-point environment.
25058 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25060 * math/gen-libm-test.pl (special_functions): Remove.
25061 (parse_args): Don't handle TEST_extra. Handle functions with no
25063 * math/libm-test.inc (struct test_sincos_data): Replace with
25064 struct test_fFF_11_data.
25065 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25066 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25067 (sincos_test_data): Change element type to struct
25068 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25069 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25070 RUN_TEST_LOOP_sincos.
25071 * math/README.libm-test: Don't mention special handling of
25072 individual functions.
25073 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25074 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25075 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25076 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25077 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25080 * math/gen-libm-test.pl (get_variable): Remove function.
25081 (parse_args): Don't show pointer parameters to call in test
25082 names. Use "extra output N" in test names for extra outputs
25083 rather than naming variables.
25085 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25088 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25089 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25090 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25092 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25094 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25097 * math/gen-libm-test.pl (@tests): Remove variable.
25098 ($count): Likewise.
25099 (new_test): Remove function.
25100 (show_exceptions): New function.
25101 (special_functions): Use show_exceptions instead of new_test.
25102 (parse_args): Likewise.
25103 (generate_testfile): Pass only function name in generated call to
25104 print_max_error or print_complex_max_error.
25105 (get_ulps): Do not handle complex tests specially.
25106 (output_test): Rename to ...
25107 (get_all_ulps_for_test): ... this. Return a string rather than
25108 printing to a file. Require ulps to be present.
25109 (output_ulps): Generate arrays rather than #defines.
25110 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25111 (struct ulp_data): New type.
25112 (BUILD_COMPLEX_ULP): Remove macro.
25113 (compare_ulp_data): New function.
25114 (find_ulps): Likewise.
25115 (find_test_ulps): Likewise.
25116 (find_function_ulps): Likewise.
25117 (find_complex_function_ulps): Likewise.
25118 (print_max_error): Determine allowed ulps using
25119 find_function_ulps.
25120 (print_complex_max_error): Determine allowed ulps using
25121 find_complex_function_ulps.
25122 (check_float_internal): Determine max ulps using find_test_ulps.
25123 (check_float): Do not take max_ulp parameter. Update call to
25124 check_float_internal.
25125 (check_complex): Likewise.
25126 (check_int): Do not take max_ulp parameter.
25127 (check_long): Likewise.
25128 (check_bool): Likewise.
25129 (check_longlong): Likewise.
25130 (struct test_f_f_data): Remove max_ulp field.
25131 (struct test_ff_f_data): Likewise.
25132 (struct test_ff_f_data_nexttoward): Likewise.
25133 (struct test_fi_f_data): Likewise.
25134 (struct test_fl_f_data): Likewise.
25135 (struct test_if_f_data): Likewise.
25136 (struct test_fff_f_data): Likewise.
25137 (struct test_c_f_data): Likewise.
25138 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25139 (struct test_fF_f1_data): Likewise.
25140 (struct test_ffI_f1_data): Likewise.
25141 (struct test_c_c_data): Remove max_ulp field.
25142 (struct test_cc_c_data): Likewise.
25143 (struct test_f_i_data): Likewise.
25144 (struct test_ff_i_data): Likewise.
25145 (struct test_f_l_data): Likewise.
25146 (struct test_f_L_data): Likewise.
25147 (struct test_sincos_data): Likewise.
25148 (RUN_TEST_f_f): Do not handle ulps.
25149 (RUN_TEST_LOOP_f_f): Likewise.
25150 (RUN_TEST_2_f): Likewise.
25151 (RUN_TEST_LOOP_2_f): Likewise.
25152 (RUN_TEST_fff_f): Likewise.
25153 (RUN_TEST_LOOP_fff_f): Likewise.
25154 (RUN_TEST_c_f): Likewise.
25155 (RUN_TEST_LOOP_c_f): Likewise.
25156 (RUN_TEST_f_f1): Likewise.
25157 (RUN_TEST_LOOP_f_f1): Likewise.
25158 (RUN_TEST_fF_f1): Likewise.
25159 (RUN_TEST_LOOP_fF_f1): Likewise.
25160 (RUN_TEST_fI_f1): Likewise.
25161 (RUN_TEST_LOOP_fI_f1): Likewise.
25162 (RUN_TEST_ffI_f1): Likewise.
25163 (RUN_TEST_LOOP_ffI_f1): Likewise.
25164 (RUN_TEST_c_c): Likewise.
25165 (RUN_TEST_LOOP_c_c): Likewise.
25166 (RUN_TEST_cc_c): Likewise.
25167 (RUN_TEST_LOOP_cc_c): Likewise.
25168 (RUN_TEST_f_i): Likewise.
25169 (RUN_TEST_LOOP_f_i): Likewise.
25170 (RUN_TEST_f_i_tg): Likewise.
25171 (RUN_TEST_LOOP_f_i_tg): Likewise.
25172 (RUN_TEST_ff_i_tg): Likewise.
25173 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25174 (RUN_TEST_f_b): Likewise.
25175 (RUN_TEST_LOOP_f_b): Likewise.
25176 (RUN_TEST_f_b_tg): Likewise.
25177 (RUN_TEST_LOOP_f_b_tg): Likewise.
25178 (RUN_TEST_f_l): Likewise.
25179 (RUN_TEST_LOOP_f_l): Likewise.
25180 (RUN_TEST_f_L): Likewise.
25181 (RUN_TEST_LOOP_f_L): Likewise.
25182 (RUN_TEST_sincos): Likewise.
25183 (RUN_TEST_LOOP_sincos): Likewise.
25185 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25189 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25190 main case of finite arguments, set rounding mode to FE_TONEAREST
25191 and discard exceptions.
25192 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25194 (remainder_tonearest_test_data): New variable.
25195 (remainder_test_tonearest): New function.
25196 (remainder_towardzero_test_data): New variable.
25197 (remainder_test_towardzero): New function.
25198 (remainder_downward_test_data): New variable.
25199 (remainder_test_downward): New function.
25200 (remainder_upward_test_data): New variable.
25201 (remainder_test_upward): New function.
25202 (main): Call the new test functions.
25204 * math/libm-test.inc (struct test_f_f1_data): Remove field
25206 (struct test_fF_f1_data): Likewise.
25207 (struct test_ffI_f1_data): Likewise.
25208 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25209 based on value of EXTRA_EXPECTED.
25210 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25211 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25212 EXTRA_VAR based on value of EXTRA_EXPECTED.
25213 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25214 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25215 EXTRA_VAR based on value of EXTRA_EXPECTED.
25216 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25217 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25218 EXTRA_VAR based on value of EXTRA_EXPECTED.
25219 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25220 * math/gen-libm-test.pl (parse_args): Don't output initializers
25221 for extra output values.
25223 * math/libm-test.inc (check_int): Expect result to be exactly
25224 equal to expected value and do not handle ulps.
25225 (check_long): Likewise.
25226 (check_longlong): Likewise.
25228 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25230 (cimag_test_data): Likewise.
25231 (conj_test_data): Likewise.
25232 (copysign_test_data): Likewise.
25233 (cproj_test_data): Likewise.
25234 (creal_test_data): Likewise.
25235 (fabs_test_data): Likewise.
25236 (fdim_test_data): Likewise.
25237 (finite_test_data): Likewise.
25238 (floor_test_data): Likewise.
25239 (fmax_test_data): Likewise.
25240 (fmin_test_data): Likewise.
25241 (fmod_test_data): Likewise.
25242 (fpclassify_test_data): Likewise.
25243 (frexp_test_data): Likewise.
25244 (ilogb_test_data): Likewise.
25245 (isfinite_test_data): Likewise.
25246 (isgreater_test_data): Likewise.
25247 (isgreaterequal_test_data): Likewise.
25248 (isinf_test_data): Likewise.
25249 (isless_test_data): Likewise.
25250 (islessequal_test_data): Likewise.
25251 (islessgreater_test_data): Likewise.
25252 (isnan_test_data): Likewise.
25253 (isnormal_test_data): Likewise.
25254 (issignaling_test_data): Likewise.
25255 (isunordered_test_data): Likewise.
25256 (ldexp_test_data): Likewise.
25257 (lrint_test_data): Likewise.
25258 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25259 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25260 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25261 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25262 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25263 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25265 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25266 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25267 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25268 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25270 (lrint_downward_test_data): Test for "inexact" exceptions.
25271 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25272 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25273 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25275 (lrint_upward_test_data): Test for "inexact" exceptions.
25276 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25278 (llrint_test_data): Test for "inexact" exceptions.
25279 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25280 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25281 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25282 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25283 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25284 (llrint_downward_test_data): Test for "inexact" exceptions.
25285 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25286 (llrint_upward_test_data): Test for "inexact" exceptions.
25287 (logb_test_data): Likewise.
25288 (logb_downward_test_data): Likewise.
25289 (nextafter_test_data): Likewise.
25290 (nexttoward_test_data): Likewise.
25291 (remainder_test_data): Likewise.
25292 (remquo_test_data): Likewise.
25293 (scalbn_test_data): Likewise.
25294 (scalbln_test_data): Likewise.
25295 (signbit_test_data): Likewise.
25296 (sqrt_test_data): Likewise.
25297 (significand_test_data): Likewise.
25299 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25302 * benchtests/bench-modf.c (struct args): Mark arg0 as
25304 * scripts/bench.pl: Mark members of struct args as volatile.
25306 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25309 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25310 negative infinity on POWER6 or lower.
25311 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25313 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25316 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25317 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25318 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25319 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25320 (_FP_SETQNAN): New macro.
25321 (_FP_SETQNAN_SEMIRAW): Likewise.
25322 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25323 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25324 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25325 (FP_EXTEND): Use _FP_FRAC_SNANP.
25326 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25327 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25329 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25331 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25334 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25336 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25337 with DIVIDE_BY_ZERO_EXCEPTION.
25338 (gamma_test_data): Likewise.
25339 (lgamma_test_data): Likewise.
25340 (log_test_data): Likewise.
25341 (log10_test_data): Likewise.
25342 (log2_test_data): Likewise.
25343 (tgamma_test_data): Likewise.
25345 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25346 (acos_test_tonearest): Likewise.
25347 (acos_test_towardzero): Likewise.
25348 (acos_test_downward): Likewise.
25349 (acos_test_upward): Likewise.
25350 (acosh_test): Likewise.
25351 (asin_test): Likewise.
25352 (asin_test_tonearest): Likewise.
25353 (asin_test_towardzero): Likewise.
25354 (asin_test_downward): Likewise.
25355 (asin_test_upward): Likewise.
25356 (asinh_test): Likewise.
25357 (atan_test): Likewise.
25358 (atanh_test): Likewise.
25359 (atan2_test): Likewise.
25360 (cabs_test): Likewise.
25361 (cacos_test): Likewise.
25362 (cacosh_test): Likewise.
25363 (casin_test): Likewise.
25364 (casinh_test): Likewise.
25365 (catan_test): Likewise.
25366 (catanh_test): Likewise.
25367 (cbrt_test): Likewise.
25368 (ccos_test): Likewise.
25369 (ccosh_test): Likewise.
25370 (cexp_test): Likewise.
25371 (clog_test): Likewise.
25372 (clog10_test): Likewise.
25373 (cos_test): Likewise.
25374 (cos_test_tonearest): Likewise.
25375 (cos_test_towardzero): Likewise.
25376 (cos_test_downward): Likewise.
25377 (cos_test_upward): Likewise.
25378 (cosh_test): Likewise.
25379 (cosh_test_tonearest): Likewise.
25380 (cosh_test_towardzero): Likewise.
25381 (cosh_test_downward): Likewise.
25382 (cosh_test_upward): Likewise.
25383 (cpow_test): Likewise.
25384 (csin_test): Likewise.
25385 (csinh_test): Likewise.
25386 (csqrt_test): Likewise.
25387 (ctan_test): Likewise.
25388 (ctan_test_tonearest): Likewise.
25389 (ctan_test_towardzero): Likewise.
25390 (ctan_test_downward): Likewise.
25391 (ctan_test_upward): Likewise.
25392 (ctanh_test): Likewise.
25393 (ctanh_test_tonearest): Likewise.
25394 (ctanh_test_towardzero): Likewise.
25395 (ctanh_test_downward): Likewise.
25396 (ctanh_test_upward): Likewise.
25397 (erf_test): Likewise.
25398 (erfc_test): Likewise.
25399 (exp_test): Likewise.
25400 (exp_test_tonearest): Likewise.
25401 (exp_test_towardzero): Likewise.
25402 (exp_test_downward): Likewise.
25403 (exp_test_upward): Likewise.
25404 (exp10_test): Likewise.
25405 (exp2_test): Likewise.
25406 (expm1_test): Likewise.
25407 (fmod_test): Likewise.
25408 (gamma_test): Likewise.
25409 (hypot_test): Likewise.
25410 (j0_test): Likewise.
25411 (j1_test): Likewise.
25412 (jn_test): Likewise.
25413 (lgamma_test): Likewise.
25414 (log_test): Likewise.
25415 (log10_test): Likewise.
25416 (log1p_test): Likewise.
25417 (log2_test): Likewise.
25418 (logb_test_downward): Likewise.
25419 (pow_test): Likewise.
25420 (pow_test_tonearest): Likewise.
25421 (pow_test_towardzero): Likewise.
25422 (pow_test_downward): Likewise.
25423 (pow_test_upward): Likewise.
25424 (remainder_test): Likewise.
25425 (remquo_test): Likewise.
25426 (sin_test): Likewise.
25427 (sin_test_tonearest): Likewise.
25428 (sin_test_towardzero): Likewise.
25429 (sin_test_downward): Likewise.
25430 (sin_test_upward): Likewise.
25431 (sincos_test): Likewise.
25432 (sinh_test): Likewise.
25433 (sinh_test_tonearest): Likewise.
25434 (sinh_test_towardzero): Likewise.
25435 (sinh_test_downward): Likewise.
25436 (sinh_test_upward): Likewise.
25437 (sqrt_test): Likewise.
25438 (tan_test): Likewise.
25439 (tan_test_tonearest): Likewise.
25440 (tan_test_towardzero): Likewise.
25441 (tan_test_downward): Likewise.
25442 (tan_test_upward): Likewise.
25443 (tanh_test): Likewise.
25444 (tgamma_test): Likewise.
25445 (y0_test): Likewise.
25446 (y1_test): Likewise.
25447 (yn_test): Likewise.
25449 * math/gen-libm-test.pl (adjust_arg): Remove function.
25450 (special_function): Remove argument $in_func. Only handle
25451 generating output for tables of tests, not inside functions.
25452 (parse_args): Likewise.
25453 (generate_testfile): Remove variable $in_func. Update call to
25455 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25456 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25457 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25458 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25459 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25460 (MAX_VALUE_INIT): Rename macro to max_value.
25461 (MIN_VALUE_INIT): Rename macro to min_value.
25462 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25463 (plus_zero): Remove variable.
25464 (minus_zero): Likewise.
25465 (plus_infty): Likewise.
25466 (minus_infty): Likewise.
25467 (qnan_value): Likewise.
25468 (max_value): Likewise.
25469 (min_value): Likewise.
25470 (min_subnorm_value): Likewise.
25472 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25474 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25475 uint64_t or uint32_t usage.
25476 * crypt/sha256-block.c: Likewise.
25477 * crypt/sha256-crypt.c: Likewise.
25478 * crypt/sha256.c: Likewise.
25479 * crypt/sha512-block.c: Likewise.
25480 * crypt/sha512-crypt.c: Likewise.
25481 * crypt/sha512.c: Likewise.
25482 * debug/backtrace-tst.c: Likewise.
25483 * debug/pcprofiledump.c: Likewise.
25484 * elf/cache.c: Likewise.
25485 * elf/dl-cache.c: Likewise.
25486 * elf/dl-misc.c: Likewise.
25487 * elf/dl-profile.c: Likewise.
25488 * elf/dl-support.c: Likewise.
25489 * elf/ldconfig.c: Likewise.
25490 * elf/sprof.c: Likewise.
25491 * iconv/dummy-repertoire.c: Likewise.
25492 * iconv/iconv_charmap.c: Likewise.
25493 * iconv/skeleton.c: Likewise.
25494 * iconvdata/8bit-generic.c: Likewise.
25495 * iconvdata/cp737.h: Likewise.
25496 * iconvdata/cp775.h: Likewise.
25497 * iconvdata/ibm1008.h: Likewise.
25498 * iconvdata/ibm1025.h: Likewise.
25499 * iconvdata/ibm1046.h: Likewise.
25500 * iconvdata/ibm1097.h: Likewise.
25501 * iconvdata/ibm1112.h: Likewise.
25502 * iconvdata/ibm1122.h: Likewise.
25503 * iconvdata/ibm1123.h: Likewise.
25504 * iconvdata/ibm1124.h: Likewise.
25505 * iconvdata/ibm1129.h: Likewise.
25506 * iconvdata/ibm1130.h: Likewise.
25507 * iconvdata/ibm1132.h: Likewise.
25508 * iconvdata/ibm1133.h: Likewise.
25509 * iconvdata/ibm1137.h: Likewise.
25510 * iconvdata/ibm1140.h: Likewise.
25511 * iconvdata/ibm1141.h: Likewise.
25512 * iconvdata/ibm1142.h: Likewise.
25513 * iconvdata/ibm1143.h: Likewise.
25514 * iconvdata/ibm1144.h: Likewise.
25515 * iconvdata/ibm1145.h: Likewise.
25516 * iconvdata/ibm1146.h: Likewise.
25517 * iconvdata/ibm1147.h: Likewise.
25518 * iconvdata/ibm1148.h: Likewise.
25519 * iconvdata/ibm1149.h: Likewise.
25520 * iconvdata/ibm1153.h: Likewise.
25521 * iconvdata/ibm1154.h: Likewise.
25522 * iconvdata/ibm1155.h: Likewise.
25523 * iconvdata/ibm1156.h: Likewise.
25524 * iconvdata/ibm1157.h: Likewise.
25525 * iconvdata/ibm1158.h: Likewise.
25526 * iconvdata/ibm1160.h: Likewise.
25527 * iconvdata/ibm1161.h: Likewise.
25528 * iconvdata/ibm1162.h: Likewise.
25529 * iconvdata/ibm1163.h: Likewise.
25530 * iconvdata/ibm1164.h: Likewise.
25531 * iconvdata/ibm1166.h: Likewise.
25532 * iconvdata/ibm1167.h: Likewise.
25533 * iconvdata/ibm12712.h: Likewise.
25534 * iconvdata/ibm1390.h: Likewise.
25535 * iconvdata/ibm1399.h: Likewise.
25536 * iconvdata/ibm16804.h: Likewise.
25537 * iconvdata/ibm4517.h: Likewise.
25538 * iconvdata/ibm4899.h: Likewise.
25539 * iconvdata/ibm4909.h: Likewise.
25540 * iconvdata/ibm4971.h: Likewise.
25541 * iconvdata/ibm5347.h: Likewise.
25542 * iconvdata/ibm803.h: Likewise.
25543 * iconvdata/ibm856.h: Likewise.
25544 * iconvdata/ibm901.h: Likewise.
25545 * iconvdata/ibm902.h: Likewise.
25546 * iconvdata/ibm9030.h: Likewise.
25547 * iconvdata/ibm9066.h: Likewise.
25548 * iconvdata/ibm921.h: Likewise.
25549 * iconvdata/ibm922.h: Likewise.
25550 * iconvdata/ibm9448.h: Likewise.
25551 * iconvdata/isiri-3342.h: Likewise.
25552 * iconvdata/jis0201.h: Likewise.
25553 * include/link.h: Likewise.
25554 * include/netdb.h: Likewise.
25555 * inet/check_native.c: Likewise.
25556 * inet/check_pf.c: Likewise.
25557 * inet/getipv4sourcefilter.c: Likewise.
25558 * inet/getnameinfo.c: Likewise.
25559 * inet/getsourcefilter.c: Likewise.
25560 * inet/htonl.c: Likewise.
25561 * inet/setipv4sourcefilter.c: Likewise.
25562 * inet/setsourcefilter.c: Likewise.
25563 * inet/test-inet6_opt.c: Likewise.
25564 * inet/tst-network.c: Likewise.
25565 * locale/C-collate.c: Likewise.
25566 * locale/C-ctype.c: Likewise.
25567 * locale/C-time.c: Likewise.
25568 * locale/C-translit.h: Likewise.
25569 * locale/loadarchive.c: Likewise.
25570 * locale/programs/3level.h: Likewise.
25571 * locale/programs/charmap.c: Likewise.
25572 * locale/programs/charmap.h: Likewise.
25573 * locale/programs/ld-address.c: Likewise.
25574 * locale/programs/ld-collate.c: Likewise.
25575 * locale/programs/ld-ctype.c: Likewise.
25576 * locale/programs/ld-identification.c: Likewise.
25577 * locale/programs/ld-measurement.c: Likewise.
25578 * locale/programs/ld-messages.c: Likewise.
25579 * locale/programs/ld-monetary.c: Likewise.
25580 * locale/programs/ld-name.c: Likewise.
25581 * locale/programs/ld-numeric.c: Likewise.
25582 * locale/programs/ld-paper.c: Likewise.
25583 * locale/programs/ld-telephone.c: Likewise.
25584 * locale/programs/ld-time.c: Likewise.
25585 * locale/programs/linereader.c: Likewise.
25586 * locale/programs/locale.c: Likewise.
25587 * locale/programs/locarchive.c: Likewise.
25588 * locale/programs/locfile.h: Likewise.
25589 * locale/programs/repertoire.c: Likewise.
25590 * locale/programs/simple-hash.c: Likewise.
25591 * locale/programs/simple-hash.h: Likewise.
25592 * malloc/memusage.c: Likewise.
25593 * malloc/memusagestat.c: Likewise.
25594 * nis/nis_defaults.c: Likewise.
25595 * nis/nis_hash.c: Likewise.
25596 * nis/nis_print.c: Likewise.
25597 * nis/nis_xdr.c: Likewise.
25598 * nscd/connections.c: Likewise.
25599 * nscd/hstcache.c: Likewise.
25600 * nscd/nscd_gethst_r.c: Likewise.
25601 * nscd/nscd_getserv_r.c: Likewise.
25602 * nscd/nscd_helper.c: Likewise.
25603 * nscd/servicescache.c: Likewise.
25604 * nss/makedb.c: Likewise.
25605 * nss/nss_db/db-XXX.c: Likewise.
25606 * nss/nss_db/db-initgroups.c: Likewise.
25607 * nss/nss_db/db-netgrp.c: Likewise.
25608 * nss/nss_files/files-network.c: Likewise.
25609 * nss/nss_files/files-parse.c: Likewise.
25610 * posix/bug-regex5.c: Likewise.
25611 * posix/fnmatch_loop.c: Likewise.
25612 * posix/regcomp.c: Likewise.
25613 * posix/regexec.c: Likewise.
25614 * posix/tst-rfc3484-2.c: Likewise.
25615 * posix/tst-rfc3484-3.c: Likewise.
25616 * posix/tst-rfc3484.c: Likewise.
25617 * resolv/nss_dns/dns-canon.c: Likewise.
25618 * resolv/nss_dns/dns-network.c: Likewise.
25619 * resolv/res_init.c: Likewise.
25620 * resolv/res_mkquery.c: Likewise.
25621 * resolv/tst-aton.c: Likewise.
25622 * stdlib/cxa_atexit.c: Likewise.
25623 * stdlib/cxa_finalize.c: Likewise.
25624 * stdlib/gen-fpioconst.c: Likewise.
25625 * stdlib/strtol_l.c: Likewise.
25626 * string/tst-endian.c: Likewise.
25627 * sunrpc/auth_des.c: Likewise.
25628 * sunrpc/clnt_udp.c: Likewise.
25629 * sunrpc/rtime.c: Likewise.
25630 * sunrpc/svcauth_des.c: Likewise.
25631 * sunrpc/xdr.c: Likewise.
25632 * sunrpc/xdr_intXX_t.c: Likewise.
25633 * sunrpc/xdr_rec.c: Likewise.
25634 * sysdeps/generic/ldconfig.h: Likewise.
25635 * sysdeps/generic/ldsodefs.h: Likewise.
25636 * sysdeps/generic/memusage.h: Likewise.
25637 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25638 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25639 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25640 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25641 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25643 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25644 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25645 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25647 * sysdeps/posix/getaddrinfo.c: Likewise.
25648 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25649 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25650 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25651 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25652 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25653 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25654 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25655 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25656 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25657 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25658 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25659 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25660 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25661 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25662 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25663 * sysdeps/x86_64/dl-tls.h: Likewise.
25664 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25665 * time/alt_digit.c: Likewise.
25666 * time/era.c: Likewise.
25667 * wcsmbs/tst-c16c32-1.c: Likewise.
25669 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25671 * math/libm-test.inc (struct test_sincos_data): New type.
25672 (RUN_TEST_LOOP_sincos): New macro.
25673 (sincos_test_data): New variable.
25674 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25676 2013-05-16 Richard Henderson <rth@redhat.com>
25678 * math/atest-exp2.c (LIMB64): New macro.
25679 (CONSTSZ): New macro.
25680 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25682 (print_mpn_fp): ... to function scope.
25683 (read_mpn_hex): Remove.
25684 (get_log2): Remove.
25685 (exp2_mpn): Use mp_log2.
25686 (main): Use mp_exp1.
25688 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25690 * math/libm-test.inc: Remove comment about not testing "inexact"
25692 (INEXACT_EXCEPTION): New macro.
25693 (NO_INEXACT_EXCEPTION): Likewise.
25694 (INVALID_EXCEPTION_OK): Update value.
25695 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25696 (OVERFLOW_EXCEPTION_OK): Likewise.
25697 (UNDERFLOW_EXCEPTION_OK): Likewise.
25698 (IGNORE_ZERO_INF_SIGN): Likewise.
25699 (ERRNO_UNCHANGED): Likewise.
25700 (ERRNO_EDOM): Likewise.
25701 (ERRNO_ERANGE): Likewise.
25702 (test_exceptions): Handle testing "inexact" exceptions.
25703 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25704 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25705 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25706 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25708 (rint_towardzero_test_data): Likewise.
25709 (rint_downward_test_data): Likewise.
25710 (rint_upward_test_data): Likewise.
25712 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25713 with OVERFLOW_EXCEPTION.
25714 (exp10_test_data): Likewise.
25715 (exp2_test_data): Likewise.
25716 (expm1_test_data): Likewise.
25717 (lgamma_test_data): Likewise.
25718 (pow_test_data): Likewise.
25719 (tgamma_test_data): Likewise.
25720 (yn_test_data): Remove duplicate test of overflow.
25722 * math/libm-test.inc (struct test_cc_c_data): New type.
25723 (RUN_TEST_LOOP_cc_c): New macro.
25724 (cpow_test_data): New variable.
25725 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25727 * math/libm-test.inc (struct test_f_L_data): New type.
25728 (RUN_TEST_LOOP_f_L): New macro.
25729 (llrint_test_data): New variable.
25730 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25731 (llrint_tonearest_test_data): New variable.
25732 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25733 (llrint_towardzero_test_data): New variable.
25734 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25735 (llrint_downward_test_data): New variable.
25736 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25737 (llrint_upward_test_data): New variable.
25738 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25739 (llround_test_data): New variable.
25740 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25742 2013-05-13 Peter Collingbourne <pcc@google.com>
25744 * math/atest-exp2.c (get_log2): Remove const attribute.
25746 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25748 * math/libm-test.inc (struct test_f_l_data): New type.
25749 (RUN_TEST_LOOP_f_l): New macro.
25750 (lrint_test_data): New variable.
25751 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25752 (lrint_tonearest_test_data): New variable.
25753 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25754 (lrint_towardzero_test_data): New variable.
25755 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25756 (lrint_downward_test_data): New variable.
25757 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25758 (lrint_upward_test_data): New variable.
25759 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25760 (lround_test_data): New variable.
25761 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25763 2013-05-15 Peter Collingbourne <pcc@google.com>
25765 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25766 (EXTRACT_WORDS64) Use where appropriate.
25767 (INSERT_WORDS64) Likewise.
25769 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25770 constraints with x constraints.
25771 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25773 * malloc/obstack.c (_obstack_compat): Add initializer.
25775 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25777 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25778 si_trapno and add si_addr_lsb to _sifields.sigfault.
25779 (si_trapno): Remove macro.
25780 (si_addr_lsb): Define new macro.
25781 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25783 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25785 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25786 instead of TEST_f_l.
25787 (llrint_test_tonearest): Likewise.
25788 (llrint_test_towardzero): Likewise.
25789 (llrint_test_downward): Likewise.
25790 (llrint_test_upward): Likewise.
25791 (llround_test): Likewise.
25793 * math/libm-test.inc (struct test_f_i_data): Add comment.
25794 (RUN_TEST_LOOP_f_b): New macro.
25795 (RUN_TEST_LOOP_f_b_tg): Likewise.
25796 (finite_test_data): New variable.
25797 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25798 (isfinite_test_data): New variable.
25799 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25800 (isinf_test_data): New variable.
25801 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25802 (isnan_test_data): New variable.
25803 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25804 (isnormal_test_data): New variable.
25805 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25806 (issignaling_test_data): New variable.
25807 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25808 (signbit_test_data): New variable.
25809 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25811 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25812 with INVALID_EXCEPTION.
25813 (acosh_test_data): Likewise.
25814 (asin_test_data): Likewise.
25815 (atanh_test_data): Likewise.
25816 (fmod_test_data): Likewise.
25817 (log_test_data): Likewise.
25818 (log10_test_data): Likewise.
25819 (log2_test_data): Likewise.
25820 (pow_test_data): Likewise.
25821 (sqrt_test_data): Likewise.
25822 (y0_test_data): Likewise.
25823 (y1_test_data): Likewise.
25824 (yn_test_data): Likewise.
25826 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25829 * math/libm-test.inc (struct test_ff_i_data): New type.
25830 (RUN_TEST_LOOP_ff_i_tg): New macro.
25831 (isgreater_test_data): New variable.
25832 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25833 (isgreaterequal_test_data): New variable.
25834 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25835 (isless_test_data): New variable.
25836 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25837 (islessequal_test_data): New variable.
25838 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25839 (islessgreater_test_data): New variable.
25840 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25841 (isunordered_test_data): New variable.
25842 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25844 2013-05-14 David S. Miller <davem@davemloft.net>
25846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25848 2013-05-14 Joseph Myers <joseph@codesourcery.com>
25850 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25852 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25854 (struct test_f_i_data): Change type of max_ulp to int.
25856 * math/libm-test.inc (test_ffI_f1_data): New type.
25857 (RUN_TEST_LOOP_ffI_f1): New macro.
25858 (remquo_test_data): New variable.
25859 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25861 * setjmp/tst-setjmp-fp.c: New file.
25862 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25863 (link-libm): New variable.
25864 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25866 * math/libm-test.inc (struct test_f_i_data): New type.
25867 (RUN_TEST_LOOP_f_i): New macro.
25868 (RUN_TEST_LOOP_f_i_tg): Likewise.
25869 (fpclassify_test_data): New variable.
25870 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25871 (ilogb_test_data): New variable.
25872 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25874 * math/libm-test.inc (scalbln_test): Correct function name in END
25877 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25878 (RUN_TEST_LOOP_fI_f1): New macro.
25879 (frexp_test_data): New variable.
25880 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25882 * math/libm-test.inc (struct test_fF_f1_data): New type.
25883 (RUN_TEST_LOOP_fF_f1): New macro.
25884 (modf_test_data): New variable.
25885 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25887 * math/libm-test.inc (struct test_f_f1_data): New type.
25888 (RUN_TEST_LOOP_f_f1): New macro.
25889 (gamma_test_data): New variable.
25890 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25891 (lgamma_test_data): New variable.
25892 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25894 2013-05-13 Carlos O'Donell <carlos@redhat.com>
25896 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25897 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25898 (main): Comment "tls" pseudo-hwcap.
25900 2013-05-13 Joseph Myers <joseph@codesourcery.com>
25902 * math/libm-test.inc (struct test_fl_f_data): New type.
25903 (RUN_TEST_LOOP_fl_f): New variable.
25904 (scalbln_test_data): New variable.
25905 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25907 * math/libm-test.inc (struct test_fi_f_data): New type.
25908 (RUN_TEST_LOOP_fi_f): New macro.
25909 (ldexp_test_data): New variable.
25910 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25911 (scalbn_test_data): New variable.
25912 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25914 * math/libm-test.inc (struct test_c_f_data): New type.
25915 (RUN_TEST_LOOP_c_f): New macro.
25916 (cabs_test_data): New variable.
25917 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25918 (carg_test_data): New variable.
25919 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25920 (cimag_test_data): New variable.
25921 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25922 (creal_test_data): New variable.
25923 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25925 * math/libm-test.inc (struct test_if_f_data): New type.
25926 (RUN_TEST_LOOP_if_f): New macro.
25927 (jn_test_data): New variable.
25928 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25929 (yn_test_data): New variable.
25930 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25932 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25934 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25936 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25937 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25939 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25941 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25942 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25943 (bench-deps): Add bench-timing.h.
25944 * benchtests-bench-skeleton.c: Include bench-timing.h.
25945 (main): Use TIMING_* macros instead of clock_gettime.
25946 * benchtests/bench-timing.h: New file.
25949 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25950 Renamed from _LIB_VERSION.
25951 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25953 2013-05-12 Joseph Myers <joseph@codesourcery.com>
25955 * math/libm-test.inc (struct test_fff_f_data): New type.
25956 (RUN_TEST_LOOP_fff_f): New macro.
25957 (fma_test_data): New variable.
25958 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25959 (fma_towardzero_test_data): New variable.
25960 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25961 (fma_downward_test_data): New variable.
25962 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25963 (fma_upward_test_data): New variable.
25964 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25966 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25967 (struct test_c_c_data): New type.
25968 (RUN_TEST_LOOP_c_c): New macro.
25969 (cacos_test_data): New variable.
25970 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25971 (cacosh_test_data): New variable.
25972 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25973 (casin_test_data): New variable.
25974 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25975 (casinh_test_data): New variable.
25976 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25977 (catan_test_data): New variable.
25978 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25979 (catanh_test_data): New variable.
25980 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25981 (ccos_test_data): New variable.
25982 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25983 (ccosh_test_data): New variable.
25984 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25985 (cexp_test_data): New variable.
25986 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25987 (clog_test_data): New variable.
25988 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25989 (clog10_test_data): New variable.
25990 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25991 (conj_test_data): New variable.
25992 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25993 (cproj_test_data): New variable.
25994 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25995 (csin_test_data): New variable.
25996 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25997 (csinh_test_data): New variable.
25998 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25999 (csqrt_test_data): New variable.
26000 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26001 (ctan_test_data): New variable.
26002 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26003 (ctan_tonearest_test_data): New variable.
26004 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26005 (ctan_towardzero_test_data): New variable.
26006 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26007 (ctan_downward_test_data): New variable.
26008 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26009 (ctan_upward_test_data): New variable.
26010 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26011 (ctanh_test_data): New variable.
26012 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26013 (ctanh_tonearest_test_data): New variable.
26014 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26015 (ctanh_towardzero_test_data): New variable.
26016 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26017 (ctanh_downward_test_data): New variable.
26018 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26019 (ctanh_upward_test_data): New variable.
26020 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26021 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26024 * math/libm-test.inc (struct test_ff_f_data): New type.
26025 (struct test_ff_f_data_nexttoward): Likewise.
26026 (RUN_TEST_LOOP_2_f): New macro.
26027 (RUN_TEST_LOOP_ff_f): Likewise.
26028 (atan2_test_data): New variable.
26029 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26030 (copysign_test_data): New variable.
26031 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26032 (fdim_test_data): New variable.
26033 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26034 (fmax_test_data): New variable.
26035 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26036 (fmin_test_data): New variable.
26037 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26038 (fmod_test_data): New variable.
26039 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26040 (hypot_test_data): New variable.
26041 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26042 (nextafter_test_data): New variable.
26043 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26044 (nexttoward_test_data): New variable.
26045 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26046 (pow_test_data): New variable.
26047 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26048 (pow_tonearest_test_data): New variable.
26049 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26050 (pow_towardzero_test_data): New variable.
26051 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26052 (pow_downward_test_data): New variable.
26053 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26054 (pow_upward_test_data): New variable.
26055 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26056 (remainder_test_data): New variable.
26057 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26058 (scalb_test_data): New variable.
26059 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26060 * sysdeps/i386/fpu/libm-test-ulps: Update.
26062 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26064 * math/libm-test.inc (fma_test): Use max_value instead of local
26066 (nextafter_test): Likewise.
26068 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26069 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26070 (acos_downward_test_data): New variable.
26071 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26072 (acos_upward_test_data): New variable.
26073 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26074 (acosh_test_data): New variable.
26075 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26076 (asin_test_data): New variable.
26077 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26078 (asin_tonearest_test_data): New variable.
26079 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26080 (asin_towardzero_test_data): New variable.
26081 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26082 (asin_downward_test_data): New variable.
26083 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26084 (asin_upward_test_data): New variable.
26085 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26086 (asinh_test_data): New variable.
26087 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26088 (atan_test_data): New variable.
26089 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26090 (atanh_test_data): New variable.
26091 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26092 (cbrt_test_data): New variable.
26093 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26094 (ceil_test_data): New variable.
26095 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26096 (cos_test_data): New variable.
26097 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26098 (cos_tonearest_test_data): New variable.
26099 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26100 (cos_towardzero_test_data): New variable.
26101 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26102 (cos_downward_test_data): New variable.
26103 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26104 (cos_upward_test_data): New variable.
26105 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26106 (cosh_test_data): New variable.
26107 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26108 (cosh_tonearest_test_data): New variable.
26109 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26110 (cosh_towardzero_test_data): New variable.
26111 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26112 (cosh_downward_test_data): New variable.
26113 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26114 (cosh_upward_test_data): New variable.
26115 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26116 (erf_test_data): New variable.
26117 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26118 (erfc_test_data): New variable.
26119 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26120 (exp_test_data): New variable.
26121 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26122 (exp_tonearest_test_data): New variable.
26123 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26124 (exp_towardzero_test_data): New variable.
26125 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26126 (exp_downward_test_data): New variable.
26127 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26128 (exp_upward_test_data): New variable.
26129 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26130 (exp10_test_data): New variable.
26131 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26132 (exp2_test_data): New variable.
26133 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26134 (expm1_test_data): New variable.
26135 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26136 (fabs_test_data): New variable.
26137 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26138 (floor_test_data): New variable.
26139 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26140 (j0_test_data): New variable.
26141 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26142 (j1_test_data): New variable.
26143 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26144 (log_test_data): New variable.
26145 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26146 (log10_test_data): New variable.
26147 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26148 (log1p_test_data): New variable.
26149 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26150 (log2_test_data): New variable.
26151 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26152 (logb_test_data): New variable.
26153 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26154 (logb_downward_test_data): New variable.
26155 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26156 (nearbyint_test_data): New variable.
26157 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26158 (rint_test_data): New variable.
26159 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26160 (rint_tonearest_test_data): New variable.
26161 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26162 (rint_towardzero_test_data): New variable.
26163 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26164 (rint_downward_test_data): New variable.
26165 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26166 (rint_upward_test_data): New variable.
26167 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26168 (round_test_data): New variable.
26169 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26170 (sin_test_data): New variable.
26171 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26172 (sin_tonearest_test_data): New variable.
26173 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26174 (sin_towardzero_test_data): New variable.
26175 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26176 (sin_downward_test_data): New variable.
26177 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26178 (sin_upward_test_data): New variable.
26179 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26180 (sinh_test_data): New variable.
26181 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26182 (sinh_tonearest_test_data): New variable.
26183 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26184 (sinh_towardzero_test_data): New variable.
26185 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26186 (sinh_downward_test_data): New variable.
26187 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26188 (sinh_upward_test_data): New variable.
26189 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26190 (sqrt_test_data): New variable.
26191 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26192 (tan_test_data): New variable.
26193 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26194 (tan_tonearest_test_data): New variable.
26195 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26196 (tan_towardzero_test_data): New variable.
26197 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26198 (tan_downward_test_data): New variable.
26199 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26200 (tan_upward_test_data): New variable.
26201 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26202 (tanh_test_data): New variable.
26203 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26204 (tgamma_test_data): New variable.
26205 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26206 (trunc_test_data): New variable.
26207 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26208 (y0_test_data): New variable.
26209 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26210 (y1_test_data): New variable.
26211 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26212 (significand_test_data): New variable.
26213 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26215 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26218 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26220 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26222 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26224 2013-05-10 Andreas Jaeger <aj@suse.de>
26227 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26228 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26230 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26232 * math/gen-libm-test.pl (adjust_arg): New function.
26233 (special_functions): Handle generating output in both functions
26235 (parse_args): Likewise.
26236 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26237 $in_func argument to parse_args.
26238 * math/libm-test.inc (struct test_f_f_data): New type.
26239 (IF_ROUND_INIT_): New macro.
26240 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26241 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26242 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26243 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26244 (ROUND_RESTORE_): Likewise.
26245 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26246 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26247 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26248 (ROUND_RESTORE_FE_UPWARD): Likewise.
26249 (RUN_TEST_LOOP_f_f): New macro.
26250 (acos_test_data): New variable.
26251 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26252 (acos_tonearest_test_data): New variable.
26253 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26255 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26257 * benchtests/bench-skeleton.c (startup): Fix coding style.
26259 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26262 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26263 negative infinity argument.
26264 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26265 negative infinity argument.
26266 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26267 negative infinity argument.
26268 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26271 2013-05-10 Florian Weimer <fweimer@redhat.com>
26273 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26274 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26275 * iconv/iconv_prog.c (main): Likewise.
26276 * locale/programs/charmap-dir.c (charmap_readdir)
26277 (fopen_uncompressed): Likewise.
26278 * locale/programs/locfile.c (siblings_uncached)
26279 (write_locale_data): Use lstat64 instead of lstat.
26280 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26283 2013-05-10 Andreas Jaeger <aj@suse.de>
26286 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26288 Include <locale.h>.
26290 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26292 * elf/dl-close.c (_dl_close_worker): Add comments.
26294 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26297 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26299 (__ieee754_rem_pio2l): Update comments.
26302 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26304 (__ieee754_rem_pio2l): Update comments.
26306 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26307 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26309 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26312 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26313 (M_PI_34_LOG10El): Likewise.
26314 (M_PI2_LOG10El): Likewise.
26315 (M_PI4_LOG10El): Likewise.
26316 (M_PI_LOG10El): Likewise.
26318 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26322 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26324 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26325 (MINUS_ZERO_INIT): Likewise.
26326 (PLUS_INFTY_INIT): Likewise.
26327 (MINUS_INFTY_INIT): Likewise.
26328 (QNAN_VALUE_INIT): Likewise.
26329 (MAX_VALUE_INIT): Likewise.
26330 (MIN_VALUE_INIT): Likewise.
26331 (MIN_SUBNORM_VALUE_INIT): Likewise.
26332 (plus_zero): Initialize with PLUS_ZERO_INIT.
26333 (minus_zero): Initialize with MINUS_ZERO_INIT.
26334 (plus_infty): Initialize with PLUS_INFTY_INIT.
26335 (minus_infty): Initialize with MINUS_INFTY_INIT.
26336 (qnan_value): Initialize with QNAN_VALUE_INIT.
26337 (max_value): Initialize with MAX_VALUE_INIT.
26338 (min_value): Initialize with MIN_VALUE_INIT.
26339 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26341 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26342 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26343 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26344 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26346 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26347 (RUN_TEST_2_f): Likewise.
26348 (RUN_TEST_ff_f): Likewise.
26349 (RUN_TEST_fi_f): Likewise.
26350 (RUN_TEST_fl_f): Likewise.
26351 (RUN_TEST_fff_f): Likewise.
26352 (RUN_TEST_c_f): Likewise.
26353 (RUN_TEST_f_f1): Likewise.
26354 (RUN_TEST_fF_f1): Likewise.
26355 (RUN_TEST_fI_f1): Likewise.
26356 (RUN_TEST_ffI_f1): Likewise.
26357 (RUN_TEST_c_c): Likewise.
26358 (RUN_TEST_cc_c): Likewise.
26359 (RUN_TEST_f_i): Likewise.
26360 (RUN_TEST_f_i_tg): Likewise.
26361 (RUN_TEST_ff_i_tg): Likewise.
26362 (RUN_TEST_f_b): Likewise.
26363 (RUN_TEST_f_b_tg): Likewise.
26364 (RUN_TEST_f_l): Likewise.
26365 (RUN_TEST_f_L): Likewise.
26366 (RUN_TEST_sincos): Likewise.
26367 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26368 whether to show exceptions. Do not include ");\n" in return
26370 (special_functions): Output call to RUN_TEST_sincos instead of
26371 check_float calls. Update calls to new_test.
26372 (parse_args): Output call to single RUN_TEST_* macro instead of
26373 check_* calls and other assignments. Update calls to new_test.
26379 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26380 input to result for tgamma overflow.
26381 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26382 (gamma_coeff): New variable.
26383 (NCOEFF): New macro.
26384 (gamma_positive): New function.
26385 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26386 underflow here. Use gamma_positive instead of exp (lgamma) for
26388 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26389 (gamma_coeff): New variable.
26390 (NCOEFF): New macro.
26391 (gammaf_positive): New function.
26392 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26393 underflow here. Use gamma_positive instead of exp (lgamma) for
26395 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26396 (gamma_coeff): New variable.
26397 (NCOEFF): New macro.
26398 (gammal_positive): New function.
26399 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26400 underflow here. Use gamma_positive instead of exp (lgamma) for
26402 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26403 (gamma_coeff): New variable.
26404 (NCOEFF): New macro.
26405 (gammal_positive): New function.
26406 (__ieee754_gammal_r): Handle positive infinity, overflow and
26407 underflow here. Handle NaN the same as positive infinity. Remove
26408 check x < 0xffffffff for negative integers. Use gamma_positive
26409 instead of exp (lgamma) for other arguments.
26410 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26411 (gamma_coeff): New variable.
26412 (NCOEFF): New macro.
26413 (gammal_positive): New function.
26414 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26415 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26416 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26417 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26418 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26419 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26420 * sysdeps/generic/math_private.h (__gamma_productf): New
26422 (__gamma_product): Likewise.
26423 (__gamma_productl): Likewise.
26424 * math/Makefile (libm-calls): Add gamma_product.
26425 * math/libm-test.inc (tgamma_test): Add more tests.
26426 * sysdeps/i386/fpu/libm-test-ulps: Update.
26427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26429 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26431 * benchtests/bench-skeleton.c (main): Preheat CPU.
26433 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26435 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26437 2013-05-07 Roland McGrath <roland@hack.frob.com>
26439 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26440 and _dl_skip_args_internal.
26442 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26444 * manual/message.texi (Message Translation): Talk about users.
26445 Message to key mapping impacts design.
26447 2013-05-06 Roland McGrath <roland@hack.frob.com>
26449 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26451 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26453 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26454 * sysdeps/wordsize-64/glob64.c: ... here.
26456 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26457 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26460 * debug/getlogin_r_chk.c: Moved to ...
26461 * login/getlogin_r_chk.c: ... here.
26462 * debug/Makefile (routines): Move getlogin_r_chk to ...
26463 * login/Makefile (routines): ... here.
26464 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26465 * login/Versions (libc: GLIBC_2.4): ... here.
26467 * io/poll.c (__poll): Renamed from poll.
26468 Add libc_hidden_def.
26469 (poll): Define as weak alias.
26471 * debug/ptsname_r_chk.c: Moved to ...
26472 * login/ptsname_r_chk.c: ... here.
26473 * debug/Makefile (routines): Move ptsname_r_chk to ...
26474 * login/Makefile (routines): ... here.
26475 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26476 * login/Versions (libc: GLIBC_2.4): ... here.
26478 * posix/getlogin.c: Moved to ...
26479 * login/getlogin.c: ... here.
26480 * posix/getlogin_r.c: Moved to ...
26481 * login/getlogin_r.c: ... here.
26482 * posix/getlogin_r.c: Moved to ...
26483 * login/getlogin_r.c: ... here.
26484 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26485 * login/Makefile (routines): ... here.
26486 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26487 * login/Versions (libc: GLIBC_2.0): ... here.
26489 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26490 (setrlimit): Define as weak alias.
26492 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26493 Call __ names for open, ftruncate, and close.
26494 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26495 (truncate): Define as weak alias.
26497 2013-05-06 Joseph Myers <joseph@codesourcery.com>
26499 * math/gen-libm-test.pl (parse_args): Initialize x before each
26500 test of frexp, modf and remquo.
26502 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26503 test signgam value.
26505 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26509 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26513 2013-05-06 Roland McGrath <roland@hack.frob.com>
26515 * elf/dl-writev.h: New file.
26516 * elf/dl-misc.c: Include it.
26517 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26518 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26520 2013-05-04 Joseph Myers <joseph@codesourcery.com>
26522 * math/libm-test.inc (noXFails): Remove variable.
26523 (noXPasses): Likewise.
26524 (BUILD_COMPLEX_INT): Remove macro.
26525 (print_screen): Remove xfail argument.
26526 (print_screen_max_error): Likewise.
26527 (update_stats): Likewise.
26528 (print_max_error): Likewise. Update calls to other affected
26530 (print_complex_max_error): Likewise.
26531 (test_single_exception): Update calls to print_screen.
26532 (test_single_errno): Likewise.
26533 (check_float_internal): Remove xfail argument. Update calls to
26534 other affected functions.
26535 (check_float): Likewise.
26536 (check_complex): Likewise.
26537 (check_int): Likewise.
26538 (check_long): Likewise.
26539 (check_bool): Likewise.
26540 (check_longlong): Likewise.
26541 (main): Don't print noXFails and noXPasses.
26542 * math/gen-libm-test.pl (top level): Don't mention expected
26543 failure handling in comment.
26544 (new_test): Don't handle expected failures.
26545 (parse_args): Don't mention expected failure handling in comment.
26546 (generate_testfile): Don't handle expected failures.
26547 (parse_ulps): Likewise.
26548 (print_ulps_file): Likewise.
26549 (get_failure): Remove function.
26550 (output_test): Don't handle expected failures.
26551 * make/README.libm-test: Don't mention expected failure handling.
26553 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26554 (minus_zero): Likewise.
26555 (plus_infty): Likewise.
26556 (minus_infty): Likewise.
26557 (qnan_value): Likewise.
26558 (max_value): Likewise.
26559 (min_value): Likewise.
26560 (min_subnorm_value): Likewise.
26561 (initialize): Do not initialize those variables dynamically.
26563 2013-05-03 Roland McGrath <roland@hack.frob.com>
26565 * io/open.c (__open_2): Moved to ...
26566 * io/open_2.c: ... this new file.
26567 * io/open64.c (__open64_2): Moved to ...
26568 * io/open64_2.c: ... this new file.
26569 * io/openat.c (__openat_2): Moved to ...
26570 * io/openat_2.c: ... this new file.
26571 * io/openat64.c (__openat64_2): Moved to ...
26572 * io/openat64_2.c: ... this new file.
26573 * io/Makefile (routines): Add them.
26574 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26575 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26576 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26577 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26578 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26579 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26580 (__openat64): Add hidden_ver.
26581 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26582 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26584 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26585 Separately conditionalize setting of GLRO(dl_sysinfo) so
26586 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26587 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26589 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26591 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26592 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26594 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26595 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26596 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26597 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26598 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26600 2013-05-03 Joseph Myers <joseph@codesourcery.com>
26602 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26603 test signgam value.
26605 * math/libm-test.inc (hypot_test): Do not use
26606 IGNORE_ZERO_INF_SIGN.
26608 2013-05-03 Andreas Jaeger <aj@suse.de>
26610 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26612 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26613 (PF_MAX): Adjust for VSOCK change.
26615 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26619 2013-05-02 Carlos O'Donell <carlos@redhat.com>
26622 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26623 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26624 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26626 2013-05-02 David S. Miller <davem@davemloft.net>
26628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26630 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
26632 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26634 2013-05-01 Roland McGrath <roland@hack.frob.com>
26636 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26638 2013-05-01 Richard Smith <richard@metafoo.co.uk>
26641 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26642 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26643 Use __attribute__ ((__gnu_inline__)).
26644 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26645 Don't use __attribute__ ((__gnu_inline__)).
26647 2013-05-01 Joseph Myers <joseph@codesourcery.com>
26650 * math/s_catan.c (__catan): Handle small real or imaginary part of
26651 input specially to avoid spurious underflow.
26652 * math/s_catanf.c (__catanf): Likewise.
26653 * math/s_catanh.c (__catanh): Likewise.
26654 * math/s_catanhf.c (__catanhf): Likewise.
26655 * math/s_catanhl.c (__catanhl): Likewise.
26656 * math/s_catanl.c (__catanl): Likewise.
26657 * math/libm-test.inc (catan_test): Add more tests.
26658 (catanh_test): Likewise.
26659 * sysdeps/i386/fpu/libm-test-ulps: Update.
26660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26662 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26666 2013-04-30 Joseph Myers <joseph@codesourcery.com>
26669 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26670 accurately for denominator in atan2.
26671 * math/s_catanf.c (__catanf): Likewise.
26672 * math/s_catanh.c (__catanh): Likewise.
26673 * math/s_catanhf.c (__catanhf): Likewise.
26674 * math/s_catanhl.c (__catanhl): Likewise.
26675 * math/s_catanl.c (__catanl): Likewise.
26676 * math/libm-test.inc (catan_test): Add more tests.
26677 (catanh_test): Likewise.
26678 * sysdeps/i386/fpu/libm-test-ulps: Update.
26679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26681 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26683 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26685 * benchtests/Makefile (bench): Remove slow benchmarks.
26686 * benchtests/atan-inputs: Add slow benchmark inputs.
26687 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26688 (BENCH_FUNC): Accept variant offset.
26690 * benchtests/bench-skeleton.c (main): Run benchmark for each
26692 * benchtests/cos-inputs: Add slow benchmark inputs.
26693 * benchtests/exp-inputs: Likewise.
26694 * benchtests/pow-inputs: Likewise.
26695 * benchtests/sin-inputs: Likewise.
26696 * benchtests/slowatan-inputs: Remove.
26697 * benchtests/slowatan.c: Remove.
26698 * benchtests/slowcos-inputs: Remove.
26699 * benchtests/slowcos.c: Remove.
26700 * benchtests/slowexp-inputs: Remove.
26701 * benchtests/slowexp.c: Remove.
26702 * benchtests/slowpow-inputs: Remove.
26703 * benchtests/slowpow.c: Remove.
26704 * benchtests/slowsin-inputs: Remove.
26705 * benchtests/slowsin.c: Remove.
26706 * benchtests/slowtan-inputs: Remove.
26707 * benchtests/slowtan.c: Remove.
26708 * benchtests/tan-inputs: Add slow benchmark inputs.
26709 * scripts/bench.pl: Parse comments and directives.
26711 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26713 ($(objpfx)bench-%.c): Remove *-ITER.
26714 * benchtests/bench-modf.c: Remove definition of ITER.
26715 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26716 (main): Loop for DURATION seconds instead of fixed number of
26718 * scripts/bench.pl: Don't expect iterations in parameters.
26720 2013-04-29 Roland McGrath <roland@hack.frob.com>
26722 * io/fchdir.c (__fchdir): Renamed from fchdir.
26723 (fchdir): Define as weak alias.
26725 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26727 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26728 (ERRNO_EDOM): Likewise.
26729 (ERRNO_ERANGE): Likewise.
26730 (noErrnoTests): New variable.
26731 (init_max_error): Set errno to 0.
26732 (test_single_errno): New function.
26733 (test_errno): Likewise.
26734 (check_float_internal): Call test_errno. Set errno to 0.
26735 (check_complex): Refer to errno tests in comment.
26736 (check_int): Call test_errno. Set errno to 0.
26737 (check_long): Likewise.
26738 (check_bool): Likewise.
26739 (check_longlong): Likewise.
26740 (cos_test): Use ERRNO_* flags for errno tests instead of
26742 (expm1_test): Likewise.
26743 (fmod_test): Likewise.
26744 (ilogb_test): Likewise.
26745 (lgamma_test): Likewise.
26746 (pow_test): Likewise.
26747 (remainder_test): Likewise.
26748 (sin_test): Likewise.
26749 (tan_test): Likewise.
26750 (yn_test): Likewise.
26751 (initialize): Set errno to 0.
26752 (main): Print number of errno tests.
26753 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26755 2013-04-29 Andreas Jaeger <aj@suse.de>
26758 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26762 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26763 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26767 * stdlib/random.c (__initstate): Return NULL if
26771 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26772 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26775 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26779 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26781 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26782 of individual tests.
26783 (casin_test): Likewise.
26784 (casinh_test): Likewise.
26786 2013-04-27 Joseph Myers <joseph@codesourcery.com>
26789 * math/s_catan.c (__catan): Handle arguments with large real or
26790 imaginary part separately without squaring.
26791 * math/s_catanf.c (__catanf): Likewise.
26792 * math/s_catanh.c (__catanh): Likewise.
26793 * math/s_catanhf.c (__catanhf): Likewise.
26794 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26796 (__catanhl): Handle arguments with large real or imaginary part
26797 separately without squaring.
26798 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26800 (__catanl): Handle arguments with large real or imaginary part
26801 separately without squaring.
26802 * math/libm-test.inc (catan_test): Add more tests.
26803 (catanh_test): Likewise.
26804 * sysdeps/i386/fpu/libm-test-ulps: Update.
26805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26807 2013-04-27 Andreas Jaeger <aj@suse.de>
26810 * stdlib/stdlib.h: Update guards for qecvt.
26811 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26814 2013-04-27 Allan McRae <allan@archlinux.org>
26816 * sysdeps/i386/fpu/libm-test-ulps: Update.
26818 2013-04-26 Joseph Myers <joseph@codesourcery.com>
26821 * math/s_catan.c: Include <float.h>.
26822 (__catan): Ensure underflow exception occurs for underflowed
26824 * math/s_catanf.c: Include <float.h>.
26825 (__catanf): Ensure underflow exception occurs for underflowed
26827 * math/s_catanh.c: Include <float.h>.
26828 (__catanh): Ensure underflow exception occurs for underflowed
26830 * math/s_catanhf.c: Include <float.h>.
26831 (__catanhf): Ensure underflow exception occurs for underflowed
26833 * math/s_catanhl.c: Include <float.h>.
26834 (__catanhl): Ensure underflow exception occurs for underflowed
26836 * math/s_catanl.c: Include <float.h>.
26837 (__catanl): Ensure underflow exception occurs for underflowed
26839 * math/libm-test.inc (catan_test): Add more tests.
26840 (catanh_test): Likewise.
26843 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26844 underflowed result.
26845 * math/s_ccoshf.c (__ccoshf): Likewise.
26846 * math/s_ccoshl.c (__ccoshl): Likewise.
26847 * math/s_csin.c (__csin): Likewise.
26848 * math/s_csinf.c (__csinf): Likewise.
26849 * math/s_csinh.c (__csinh): Likewise.
26850 * math/s_csinhf.c (__csinhf): Likewise.
26851 * math/s_csinhl.c (__csinhl): Likewise.
26852 * math/s_csinl.c (__csinl): Likewise.
26853 * math/libm-test.inc (ccos_test): Add more tests.
26854 (ccosh_test): Likewise.
26855 (csin_test): Likewise.
26856 (csinh_test): Likewise.
26858 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26860 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26861 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26862 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26863 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26864 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26865 powerpc/power5+/fpu folders.
26866 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26869 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26873 2013-04-25 Joseph Myers <joseph@codesourcery.com>
26875 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26876 additions to variable.
26877 [$(config-machine) = x86_64] (modules-names): Likewise.
26878 ($(objpfx)tst-audit3): Remove dependency.
26879 ($(objpfx)tst-audit3.out): Likewise.
26880 ($(objpfx)tst-audit4): Likewise.
26881 ($(objpfx)tst-audit4.out): Likewise.
26882 ($(objpfx)tst-audit5): Likewise.
26883 ($(objpfx)tst-audit5.out): Likewise.
26884 ($(objpfx)tst-audit6): Likewise.
26885 ($(objpfx)tst-audit6.out): Likewise.
26886 ($(objpfx)tst-audit7): Likewise.
26887 ($(objpfx)tst-audit7.out): Likewise.
26888 (tst-audit3-ENV): Remove variable.
26889 (tst-audit4-ENV): Likewise.
26890 (tst-audit5-ENV): Likewise.
26891 (tst-audit6-ENV): Likewise.
26892 (tst-audit7-ENV): Likewise.
26893 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26894 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26895 addition to variable.
26896 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26897 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26898 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26899 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26900 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26901 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26902 tst-audit3, tst-audit4 and tst-audit5.
26903 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26904 tst-audit6 and tst-audit7.
26905 [$(subdir) = elf] (modules-names): Add audit modules for those
26907 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26908 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26909 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26910 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26911 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26912 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26913 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26914 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26915 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26916 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26917 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26918 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26919 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26920 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26921 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26922 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26924 [$(subdir) = elf && $(config-cflags-avx) = yes]
26925 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26926 [$(subdir) = elf && $(config-cflags-avx) = yes]
26927 (CFLAGS-tst-auditmod4a.c): Likewise.
26928 [$(subdir) = elf && $(config-cflags-avx) = yes]
26929 (CFLAGS-tst-auditmod4b.c): Likewise.
26930 [$(subdir) = elf && $(config-cflags-avx) = yes]
26931 (CFLAGS-tst-auditmod6b.c): Likewise.
26932 [$(subdir) = elf && $(config-cflags-avx) = yes]
26933 (CFLAGS-tst-auditmod6c.c): Likewise.
26934 [$(subdir) = elf && $(config-cflags-avx) = yes]
26935 (CFLAGS-tst-auditmod7b.c): Likewise.
26936 * elf/tst-audit3.c: Move to ...
26937 * sysdeps/x86_64/tst-audit3.c: ... here.
26938 * elf/tst-audit4.c: Move to ...
26939 * sysdeps/x86_64/tst-audit4.c: ... here.
26940 * elf/tst-audit5.c: Move to ...
26941 * sysdeps/x86_64/tst-audit5.c: ... here.
26942 * elf/tst-audit6.c: Move to ...
26943 * sysdeps/x86_64/tst-audit6.c: ... here.
26944 * elf/tst-audit7.c: Move to ...
26945 * sysdeps/x86_64/tst-audit7.c: ... here.
26946 * elf/tst-auditmod3a.c: Move to ...
26947 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26948 * elf/tst-auditmod3b.c: Move to ...
26949 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26950 * elf/tst-auditmod4a.c: Move to ...
26951 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26952 * elf/tst-auditmod4b.c: Move to ...
26953 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26954 * elf/tst-auditmod5a.c: Move to ...
26955 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26956 * elf/tst-auditmod5b.c: Move to ...
26957 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26958 * elf/tst-auditmod6a.c: Move to ...
26959 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26960 * elf/tst-auditmod6b.c: Move to ...
26961 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26962 * elf/tst-auditmod6c.c: Move to ...
26963 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26964 * elf/tst-auditmod7a.c: Move to ...
26965 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26966 * elf/tst-auditmod7b.c: Move to ...
26967 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26969 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26972 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26973 define unconditionally.
26974 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26975 define unconditionally.
26976 (INT8_C, INT16_C, etc.): Likewise.
26978 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26980 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26981 __ehdr_start with hidden visibility.
26983 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26985 2013-04-24 Carlos O'Donell <carlos@redhat.com>
26987 * math/libm-test.inc (cos_test): Use accurate hex constants.
26988 (sincost_test): Likewise.
26990 2013-04-24 Joseph Myers <joseph@codesourcery.com>
26992 * math/libm-test.inc (catan_test): Add more tests.
26993 (catanh_test): Likewise.
26995 * math/s_catanf.c (__catanf): Use suffixed floating-point
26997 * math/s_catanhf.c (__catanhf): Likewise.
26998 * math/s_catanhl.c (__catanhl): Likewise.
26999 * math/s_catanl.c (__catanl): Likewise.
27002 * math/s_catan.c (__catan): Calculate imaginary part of result
27003 with log1p not log unless computing log of number close to 0.
27004 * math/s_catanf.c (__catanf): Likewise.
27005 * math/s_catanl.c (__catanl): Likewise.
27006 * math/s_catanh.c (__catanh): Calculate real part of result with
27007 log1p not log unless computing log of number close to 0.
27008 * math/s_catanhf.c (__catanhf): Likewise.
27009 * math/s_catanhl.c (__catanhl): Likewise.
27010 * math/libm-test.inc (catan_test): Add more tests.
27011 (catanh_test): Likewise.
27012 * sysdeps/i386/fpu/libm-test-ulps: Update.
27013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27015 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27017 * benchtests/Makefile: Mention files in which fast and slow
27018 paths of math functions are implemented.
27020 2013-04-23 Roland McGrath <roland@hack.frob.com>
27022 * sysdeps/posix/timespec_get.c: New file.
27024 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27026 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27028 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27030 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27031 powerpc/power5/fpu folders.
27032 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27033 * benchtests/Makefile: Add modf testcase.
27034 * benchtests/bench-modf.c: New file: Benchmark test for mo
27036 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27039 * time/Makefile (tests): Add tst-strptime-whitespace.
27040 * time/strptime_l.c (get_number): Use ISSPACE.
27041 (__strptime_internal): Likewise.
27042 * time/tst-strptime-whitespace.c: New test case.
27044 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27046 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27048 (_nss_files_init): Set it here.
27050 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27052 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27053 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27056 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27058 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27060 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27062 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27065 2013-04-21 David S. Miller <davem@davemloft.net>
27067 * po/ru.po: Update Russion translation from translation project.
27069 2013-04-17 Adam Conrad <adconrad@0c3.net>
27071 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27074 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27076 * configure.in: Remove i386 configure warning. Remove i386 case.
27077 * configure: Regenerate.
27078 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27079 Add example to error message.
27080 * sysdeps/i386/configure: Regenerate.
27082 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27084 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27086 * benchtests/cos-inputs: New file.
27087 * benchtests/slowcos-inputs: New file.
27088 * benchtests/slowcos.c: New file.
27089 * benchtests/slowtan-inputs: New file.
27090 * benchtests/slowtan.c: New file.
27091 * benchtests/tan-inputs: New file.
27093 2013-04-16 Roland McGrath <roland@hack.frob.com>
27095 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27098 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27100 * benchtests/Makefile: Include cppflags-iterator.mk to add
27101 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27103 * Makefile.in (bench-clean): New target.
27104 * benchtests/Makefile (bench-clean): Likewise.
27106 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27108 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27110 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27112 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27114 2013-04-15 Andreas Schwab <schwab@suse.de>
27116 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27117 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27118 * nscd/pwdcache.c (cache_addpw): Likewise.
27119 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27122 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27124 * benchtests/Makefile (bench): Write all output to
27125 bench-out.tmp together.
27127 2013-04-15 Andreas Schwab <schwab@suse.de>
27129 * nscd/nscd.c (main): Don't fork again after closing files.
27131 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27133 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27135 * benchtests/Rules (bench-deps): Collect dependencies into a
27136 single variable. Add Makefile to dependencies.
27137 ($(objpfx)bench-%.c): Depend on bench-deps.
27139 2013-04-12 Roland McGrath <roland@hack.frob.com>
27140 Xavier Roche <roche+kml2@exalead.com>
27143 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27144 just that it's a file descriptor.
27145 * manual/llio.texi (Synchronizing AIO Operations): Update description
27146 for EBADF error from aio_fsync.
27148 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27150 * Rules (bench): Move target definition...
27151 * benchtests/Makefile: ... here.
27153 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27155 * math/libm-test.inc (cos_test): Fix PI/2 test.
27156 (sincos_test): Likewise.
27157 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27158 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27160 2013-04-11 Andreas Schwab <schwab@suse.de>
27163 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27164 accept exponent character only when digits were seen.
27165 * stdio-common/Makefile (tests): Add bug26.
27166 * stdio-common/bug26.c: New file.
27169 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27172 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27174 * Makeconfig (rtld-prefix): Define built linker prefix.
27175 * Rules (run-bench): Use it.
27176 * math/Makefile (run-regen-ulps): Likewise.
27178 * Rules (bench): Remove eval.
27180 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27181 Roland McGrath <roland@hack.frob.com>
27182 Ondrej Bilka <neleai@seznam.cz>
27185 * time/getdate.c: Include ctype.h and alloca.h.
27186 (__getdate_r): Trim leading and trailing spaces of input.
27187 * time/tst-getdate.c (tests): Add tests with leading and
27190 2013-04-08 Roland McGrath <roland@hack.frob.com>
27193 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27194 when computing value.
27196 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27198 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27199 Use testrun.sh to run libm tests.
27202 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27204 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27207 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27209 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27211 * Makefile.in (regen-ulps): New target.
27212 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27213 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27214 [ifneq (no,$(PERL)] (regen-ulps): New target.
27215 [ifeq (no,$(PERL)] (regen-ulps): New target.
27216 * math/libm-test.inc (ulps_file_name): Define.
27217 (output_dir): New variable.
27218 (options): Add "output-dir" option.
27219 (parse_opt): Handle 'o' case.
27220 (main): If output_dir is non-NULL use it as a prefix
27222 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27224 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27226 [BZ #10060, #10062]
27227 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27228 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27229 fail configure if __sync_val_compare_and_swap is not inlined.
27230 * sysdeps/i386/configure: Regenerate.
27231 * configure.in: Build for i686 when configured for i386.
27232 * configure: Regenerate.
27233 * README: Remove i386 reference.
27235 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27237 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27238 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27240 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27242 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27243 (lmsnanval): New variables.
27244 (F): Add conversion tests.
27245 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27246 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27248 * stdio-common/tstdiomisc.c (F): Properly collect individual
27251 [BZ #14686, #15336]
27252 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27253 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27254 Instead, use input NaN values or generate a qNaN by arithmetic
27255 operation. Also fix bugs to comply with the standard.
27256 * math/libm-test.inc (remainder_test): Add more tests.
27258 [BZ #15335, #15342]
27259 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27260 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27261 input NaN values or generate a qNaN by arithmetic operation.
27263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27266 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27269 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27272 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27273 underflowed result.
27274 * math/s_cexpf.c (__cexpf): Likewise.
27275 * math/s_cexpl.c (__cexpl): Likewise.
27276 * math/libm-test.inc (cexp_test): Add more tests.
27278 2013-04-03 Andreas Schwab <schwab@suse.de>
27281 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27282 order arrays from heap if bigger than alloca cutoff.
27284 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27286 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27287 (SNAN_TESTS_double): Refer to GCC PR56831.
27288 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27291 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27293 * Rules (bench): Move bench.out after the run is complete.
27295 * Rules (bench): Echo currently running benchmark.
27297 * benchtests/Makefile (bench): Add atan and slowatan.
27298 * benchtests/atan-inputs: New file.
27299 * benchtests/slowatan-inputs: New file.
27300 * benchtests/slowatan.c: New file.
27302 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27303 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27307 * sysdeps/unix/sysv/linux/kernel-features.h
27308 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27309 __ASSUME_XFS_RESTRICTED_CHOWN.
27310 * sysdeps/unix/sysv/linux/pathconf.c
27311 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27312 Save and restore errno.
27314 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27317 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27318 arguments using __kernel_casinh.
27319 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27320 arguments using __kernel_casinhf.
27321 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27322 arguments using __kernel_casinhl.
27323 * math/libm-test.inc (cacosh_test): Add more tests.
27324 * sysdeps/i386/fpu/libm-test-ulps: Update.
27325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27327 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27329 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27330 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27332 * bench/Makefile (bench): Add sin and slowsin.
27333 * benchtests/sin-inputs: New file.
27334 * benchtests/slowsin-inputs: New file.
27335 * benchtests/slowsin.c: New file.
27337 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27338 (bench): Add slowexp and slowpow.
27339 (exp-ITER): Increase iterations.
27340 (pow-ITER): Likewise.
27341 * benchtests/exp-inputs: Change input.
27342 * benchtests/pow-inputs: Likewise.
27343 * benchtests/slowexp-inputs: New file.
27344 * benchtests/slowexp.c: New file.
27345 * benchtests/slowpow-inputs: New file.
27346 * benchtests/slowpow.c: New file.
27348 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27350 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27352 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27353 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27354 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27355 * benchtests/Makefile: Add rint benchtest.
27356 * benchtests/rint-inputs: Input for rint benchtest.
27358 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27360 * Versions.def (libm): Add GLIBC_2.18.
27361 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27362 hidden libm prototypes.
27363 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27364 * math/Makefile (libm-calls): Add s_issignaling.
27365 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27366 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27367 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27369 * math/math.h [__USE_GNU] (issignaling): New macro.
27370 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27371 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27372 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27373 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27374 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27375 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27376 * manual/arith.texi (issignaling): New section.
27377 * manual/libm-err-tab.pl (@all_functions): Update comment.
27378 * math/gen-libm-test.pl (parse_args): Apply special handling for
27380 * math/libm-test.inc (print_float, issignaling_test): New
27382 (check_float_internal): Add issignaling checks.
27383 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27384 default definition.
27385 * sysdeps/powerpc/math-tests.h: New file.
27386 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27388 * math/test-snan.c (TEST_FUNC): Likewise.
27390 2013-03-30 David S. Miller <davem@davemloft.net>
27392 * po/de.po: Update from translation team.
27394 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27397 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27398 imaginary part less than 1.0 and real part less than 0.5
27400 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27401 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27402 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27403 (cacos_test): Add more tests.
27404 (casin_test): Likewise.
27405 (casinh_test): Likewise.
27406 * sysdeps/i386/fpu/libm-test-ulps: Update.
27407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27409 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27411 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27412 ONE with its value.
27414 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27415 (__pow_mp): Replace ONE and MONE with their values.
27416 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27417 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27418 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27419 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27420 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27421 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27423 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27425 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27426 (__pow_mp): Replace ZERO and MZERO with their values.
27427 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27428 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27429 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27431 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27432 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27435 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27437 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27439 2013-03-28 Roland McGrath <roland@hack.frob.com>
27441 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27442 Declare with __attribute__ ((weak)).
27443 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27444 Call __call_tls_dtors only if it's not NULL.
27446 2013-03-28 Roland McGrath <roland@hack.frob.com>
27448 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27449 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27450 magic __ehdr_start linker symbol if it's defined.
27451 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27452 them up here if it was already done.
27454 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27455 (_dl_aux_init): Use const in cast when setting it.
27456 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27457 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27458 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27460 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27462 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27463 * csu/libc-tls.c: Nor here.
27464 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27466 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27467 (__libc_message): Never call vsyslog.
27469 2013-03-28 Alan Modra <amodra@gmail.com>
27471 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27473 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27476 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27479 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27483 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27486 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27487 Don't add gid passed as argument.
27489 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27491 2013-03-27 Joseph Myers <joseph@codesourcery.com>
27494 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27495 imaginary part between 1.0 and 1.5 and real part less than 0.5
27497 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27498 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27499 * math/libm-test.inc (cacos_test): Add more tests.
27500 (casin_test): Likewise.
27501 (casinh_test): Likewise.
27502 * sysdeps/i386/fpu/libm-test-ulps: Update.
27503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27505 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27507 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27510 (denorm): Likewise.
27511 (__dbl_mp): Likewise.
27512 (add_magnitudes): Likewise.
27513 (sub_magnitudes): Likewise.
27521 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27523 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27524 (__dubcos): Likewise.
27525 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27526 (__ieee754_acos): Likewise.
27527 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27528 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27529 (__exp1): Likewise.
27530 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27533 (my_log2): Likewise.
27534 (checkint): Likewise.
27535 * sysdeps/ieee754/dbl-64/e_remainder.c
27536 (__ieee754_remainder): Likewise.
27537 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27538 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27539 (bsloww): Likewise.
27540 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27542 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27543 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27544 MANTISSA_STORE_T to store computations on mantissa. Use
27545 macros for rounding and division.
27546 (denorm): Likewise.
27547 (__dbl_mp): Likewise.
27548 (add_magnitudes): Likewise.
27549 (sub_magnitudes): Likewise.
27552 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27553 powers of two in terms of TWOPOW macro.
27554 (mp_no): Make type of mantissa as MANTISSA_T.
27555 [!RADIXI]: Define RADIXI.
27556 [!TWO52]: Define TWO52.
27557 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27559 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27561 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27562 llroundl symbol when building for PPC32.
27564 2013-03-24 Mark H Weaver <mhw@netris.org>
27566 * manual/arith.texi (Normalization Functions): Fix prototypes for
27567 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27569 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27572 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27573 high value to check if expl overflow.
27574 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27575 to check for underflow and overflow.
27576 * math/libm-test.inc: Add exp test.
27578 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
27581 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27584 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27586 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27589 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27591 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27592 wrap blocks consisting of several statements.
27594 * sysdeps/generic/math-tests.h: New file.
27595 * sysdeps/i386/fpu/math-tests.h: Likewise.
27596 * math/test-snan.c: Include it.
27597 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27599 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27602 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27603 (__ieee754_j0l): Do not improve calculations using cos of twice
27604 input for inputs above LDBL_MAX / 2.0L.
27605 (__ieee754_y0l): Likewise.
27606 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27607 (__ieee754_j1l): Do not improve calculations using cos of twice
27608 input for inputs above LDBL_MAX / 2.0L.
27609 (__ieee754_y1l): Likewise.
27610 * math/libm-test.inc (j0_test): Add another test.
27611 (j1_test): Likewise.
27612 (y0_test): Likewise.
27613 (y1_test): Likewise.
27614 * sysdeps/i386/fpu/libm-test-ulps: Update.
27616 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27618 * Rules ($(objpfx)bench-%.c): Include code from a C source
27621 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27624 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27625 imaginary part 1.0 and real part less than 0.5 specially.
27626 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27627 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27628 * math/libm-test.inc (cacos_test): Add more tests.
27629 (casin_test): Likewise.
27630 (casinh_test): Likewise.
27631 * sysdeps/i386/fpu/libm-test-ulps: Update.
27632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27634 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27636 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27637 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27639 2013-03-20 Joseph Myers <joseph@codesourcery.com>
27641 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27642 * config.make.in (config-cflags-sse4): Remove variable.
27643 (config-cflags-avx): Likewise.
27644 (config-cflags-sse2avx): Likewise.
27645 (config-cflags-novzeroupper): Likewise.
27646 (config-asflags-i686): Likewise.
27647 (have-mfma4): Likewise.
27648 (have-as-vis3): Likewise.
27650 * configure.in (MIG): Do not AC_SUBST.
27651 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27652 (libc_cv_cc_sse4): Do not AC_SUBST.
27653 (libc_cv_cc_avx): Likewise.
27654 (libc_cv_cc_sse2avx): Likewise.
27655 (libc_cv_cc_novzeroupper): Likewise.
27656 (libc_cv_cc_fma4): Likewise.
27657 (libc_cv_as_i686): Likewise.
27658 (libc_cv_sparc_as_vis3): Likewise.
27659 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27661 (config-asflags-i686): Likewise.
27662 (config-cflags-avx): Likewise.
27663 (config-cflags-sse2avx): Likewise.
27664 (have-mfma4): Likewise.
27665 (config-cflags-novzeroupper): Likewise.
27666 * sysdeps/mach/configure.in (MIG): Likewise.
27667 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27668 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27670 (config-cflags-avx): Likewise.
27671 (config-cflags-sse2avx): Likewise.
27672 (have-mfma4): Likewise.
27673 (config-cflags-novzeroupper): Likewise.
27674 * configure: Regenerated.
27675 * sysdeps/i386/configure: Likewise.
27676 * sysdeps/mach/configure: Likewise.
27677 * sysdeps/sparc/configure: Likewise.
27678 * sysdeps/x86_64/configure: Likewise.
27680 2013-03-20 Roland McGrath <roland@hack.frob.com>
27683 * locale/programs/localedef.c (options): Put N_ translation marker
27684 on argument names, not just descriptions.
27686 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27688 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27690 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
27693 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27695 2013-03-19 Roland McGrath <roland@hack.frob.com>
27697 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27698 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27699 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27700 [!BEFORE_ABORT] (before_abort): New function.
27701 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27702 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27703 (writev_for_fatal): New function.
27704 (WRITEV_FOR_FATAL): New macro; call that.
27705 (backtrace_and_maps): New function.
27706 (BEFORE_ABORT): New macro; call that.
27707 (struct str_list): Type removed.
27708 (__libc_message, __libc_fatal): Functions removed.
27709 Include <sysdeps/posix/libc_fatal.c> instead.
27711 2013-03-19 Joseph Myers <joseph@codesourcery.com>
27713 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27715 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27718 2013-03-19 Andreas Schwab <schwab@suse.de>
27720 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27721 * sysdeps/gnu/configure: Regenerate.
27723 * configure.in: Substitute libc_cv_rtlddir.
27724 * configure: Regenerate.
27725 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27726 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27727 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27728 * elf/Makefile (install-others, CFLAGS-interp.c)
27729 (ldso_install, common-ldd-rewrite): Likewise.
27730 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27731 $(inst_slibdir)/$(rtld-installed-name).
27732 * scripts/rellns-sh: Add -p option.
27733 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27736 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27738 * manual/nptl.texi: Renamed to ...
27739 * manual/threads.texi: ... this.
27740 * manual/Makefile (chapters): Update.
27742 2013-03-18 Roland McGrath <roland@hack.frob.com>
27745 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27746 on argument names, not just descriptions.
27747 * malloc/memusagestat.c (options): Likewise.
27748 * nss/getent.c (options): Likewise.
27750 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
27753 * iconv/iconv_prog.c (options): Put N_ translation marker
27754 on argument names, not just descriptions.
27755 * iconv/iconvconfig.c (options): Likewise.
27757 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
27759 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27760 implementation which is faster on all x86_64 architectures.
27761 Tested on AMD, Intel Nehalem, SNB, IVB.
27762 * sysdeps/x86_64/strnlen.S: Likewise.
27764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27765 Remove all multiarch strlen and strnlen versions.
27766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27767 Remove strlen and strnlen related parts.
27769 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27770 Inline strlen part.
27771 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27773 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27774 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27775 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27776 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27777 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27778 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27780 2013-03-17 Carlos O'Donell <carlos@redhat.com>
27782 * manual/memory.texi (Malloc Tunable Parameters):
27783 Sort parameters alphabetically. Add comments for missing entries.
27785 2013-03-17 David S. Miller <davem@davemloft.net>
27787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27789 2013-03-16 Joseph Myers <joseph@codesourcery.com>
27792 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27793 for arguments at most half maximum finite value.
27794 * math/libm-test.inc (j0_test): Add more tests.
27795 (j1_test): Likewise.
27796 (y0_test): Likewise.
27797 (y1_test): Likewise.
27798 * sysdeps/i386/fpu/libm-test-ulps: Update.
27799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27802 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27803 1 / x and functions P and Q for arguments above 0x1p256L.
27804 (__ieee754_y0l): Likewise.
27805 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27806 (__ieee754_y1l): Likewise.
27807 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27808 (j1_test): Likewise.
27809 (y0_test): Likewise.
27810 (y1_test): Likewise.
27812 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27814 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27817 2013-03-15 Roland McGrath <roland@hack.frob.com>
27819 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27820 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27821 zero since it's initialized to EXEC_PAGESIZE.
27823 * sysdeps/unix/sysv/linux/ldsodefs.h
27824 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27825 * sysdeps/generic/ldsodefs.h: ... here.
27827 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27829 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27831 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27833 * math/test-snan.c: Renamed from
27834 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27835 * math/Makefile (tests): Add test-snan.
27836 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27839 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27840 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27842 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27843 __builtin_nan family of functions.
27844 * math/libm-test.inc (initialize): Initialize qnan_value with
27845 __builtin_nan family of functions.
27846 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27848 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27850 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27851 storage class. Initialize qNaN_var and sNaN_var with
27852 __builtin_nan and __builtin_nans families of functions,
27855 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27856 (sqrt_test): Remove duplicate test with qNaN input.
27857 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27858 (round_test, signbit_test, significand_test): Note missing +/-Inf
27859 as well as qNaN tests.
27861 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27862 qNaN_var. Fix a few strings, too.
27863 * math/libm-test.inc (nan_value): Rename to qnan_value.
27864 * math/gen-libm-test.pl (%beautify): Adjust to that.
27865 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27866 * math/test-misc.c (main): Likewise.
27867 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27868 to __qnan_bytes, and __qnan_union, respectively.
27869 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27871 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27872 and lqnanval, respectively.
27873 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27874 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27875 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27876 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27878 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27879 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27882 * math/test-misc.c (main): Fix copy'n'pastos.
27883 * misc/tst-efgcvt.c (special): Likewise.
27885 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27886 Remove declarations.
27888 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27890 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27891 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27892 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27893 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27895 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27897 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27898 macro to return vdso values correctly in IFUNC implementations.
27899 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27900 Optimization by using IFUNC.
27902 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27903 Richard Henderson <rth@redhat.com>
27904 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27906 * Makefile.in (bench): New target.
27907 * NEWS: Mention the benchmark framework.
27908 * Rules (bench): Likewise.
27909 (binaries-bench): Generate binaries for functions to
27911 * benchtests/Makefile: New makefile for benchmark tests.
27912 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27914 * benchtests/exp-inputs: New input file for EXP function.
27915 * benchtests/pow-inputs: New input file for POW function.
27916 * scripts/bench.pl: New script to generate source files for
27917 benchmark programs.
27919 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27921 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27922 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27923 computations on mantissa. Use macros for rounding and
27925 (denorm): Likewise.
27926 (__dbl_mp): Likewise.
27927 (add_magnitudes): Likewise.
27928 (sub_magnitudes): Likewise.
27931 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27932 powers of two in terms of TWOPOW macro.
27933 (mp_no): Make type of mantissa as MANTISSA_T.
27934 [!RADIXI]: Define RADIXI.
27935 [!TWO52]: Define TWO52.
27936 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27938 * manual/nptl.texi (cindex): Modify threads to pthreads.
27940 2013-03-15 Joseph Myers <joseph@codesourcery.com>
27942 * sysdeps/x86_64/preconfigure: Regenerated.
27944 2013-03-14 Joseph Myers <joseph@codesourcery.com>
27947 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27949 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27950 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27952 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27953 * math/libm-test.inc (j0_test): Do not allow one spurious
27954 underflow exception.
27955 (y1_test): Likewise.
27957 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27959 * manual/Makefile (chapters): Add nptl.
27960 * manual/debug.texi (Debugging Support): Add link to Threads
27962 * manual/nptl.texi: New file.
27964 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27966 2013-03-14 Petr Baudis <pasky@ucw.cz>
27968 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27969 for non-NULL pointer before the memory validity test. Pointed
27970 out by Holger Brunck <holger.brunck@keymile.com>.
27972 2013-03-13 Andreas Schwab <schwab@suse.de>
27974 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27977 2013-03-13 Joseph Myers <joseph@codesourcery.com>
27979 * timezone/zic.c: Update from tzcode 2013b.
27981 2013-03-12 Carlos O'Donell <carlos@redhat.com>
27983 * manual/install.texi (Configuring and compiling):
27984 Mention i686 and i586.
27985 * INSTALL: Regenerate.
27987 2013-03-12 Roland McGrath <roland@hack.frob.com>
27989 * sysdeps/init_array/elf-init.c: New file.
27991 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27992 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27994 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27995 __gmon_start__ as global, but as static with a .preinit_array pointer.
27996 * sysdeps/init_array/gmon-start.c: New file. Use that.
27997 * sysdeps/init_array/crti.S: New file, empty except for comments.
27998 * sysdeps/init_array/crtn.S: Likewise.
28000 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28002 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28005 Remove Prefer_SSE_for_memop.
28006 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28007 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28008 HAS_PREFER_SSE_FOR_MEMOP.
28009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28012 Remove bzero, memset ifunc support.
28013 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28014 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28015 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28016 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28018 2013-03-11 Andreas Schwab <schwab@suse.de>
28021 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28024 (GLIBC_2.16): Remove pthread_atfork.
28026 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28028 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28029 (ptestcases.h): Likewise.
28031 2013-03-08 Roland McGrath <roland@hack.frob.com>
28033 * Makeconfig ($(common-objpfx)config.status): Depend on
28034 sysdeps/*/preconfigure{,.in} too.
28036 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28038 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28039 (__free_hook): Use void * instead of __malloc_ptr_t.
28040 (__malloc_hook): Likewise.
28041 (__realloc_hook): Likewise.
28042 (__memalign_hook): Likewise.
28043 (__after_morecore_hook): Likewise.
28044 * malloc/arena.c (save_malloc_hook): Likewise.
28045 (save_free_hook): Likewise.
28046 * malloc/hooks.c (malloc_hook_ini): Likewise.
28047 (realloc_hook_ini): Likewise.
28048 (memalign_hook_ini): Likewise.
28049 * malloc/malloc.c (malloc_hook_ini): Likewise.
28050 (realloc_hook_ini): Likewise.
28051 (memalign_hook_ini): Likewise.
28052 (__free_hook): Likewise.
28053 (__malloc_hook): Likewise.
28054 (__realloc_hook): Likewise.
28055 (__memalign_hook): Likewise.
28056 (__libc_malloc): Likewise.
28057 (__libc_free): Likewise.
28058 (__libc_realloc): Likewise.
28059 (__libc_memalign): Likewise.
28060 (__libc_valloc): Likewise.
28061 (__libc_pvalloc): Likewise.
28062 (__libc_calloc): Likewise.
28063 (__posix_memalign): Likewise.
28064 * malloc/morecore.c (__sbrk): Likewise.
28065 (__default_morecore): Likewise.
28067 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28069 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28070 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28071 __malloc_ptrdiff_t.
28073 * malloc/malloc.h (__malloc_size_t): Remove macro.
28074 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28076 (old_memalign_hook): Likewise.
28077 (old_realloc_hook): Likewise.
28078 (struct hdr): Likewise.
28080 (mallochook): Likewise.
28081 (memalignhook): Likewise.
28082 (reallochook): Likewise.
28083 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28084 (tr_old_realloc_hook): Likewise.
28085 (tr_old_memalign_hook): Likewise.
28086 (tr_mallochook): Likewise.
28087 (tr_reallochook): Likewise.
28088 (tr_memalignhook): Likewise.
28090 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28092 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28093 default_ldbl_pack and using as default implementation.
28094 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28096 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28097 redundant definition.
28098 (ldbl_insert_mantissa): Likewise.
28099 (ldbl_canonicalize): Likewise.
28100 (ldbl_nearbyint): Likewise.
28101 (ldbl_pack): Rename to ldbl_pack_ppc.
28102 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28103 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28104 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28106 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28109 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28110 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28111 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28113 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28114 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28115 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28117 2013-03-07 Andreas Jaeger <aj@suse.de>
28119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28122 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28124 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28125 Include mpa.h and declare __MPEXP.
28126 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28127 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28128 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28129 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28130 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28131 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28132 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28134 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28135 (__slowpow): Use long double EXPL and LOGL functions to
28137 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28138 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28139 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28140 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28141 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28142 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28145 intermediate variable to calculate exponent.
28147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28151 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28152 [!NO__SQR]: Define __sqr.
28153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28154 and NO__SQR. Remove all code except __mul and __sqr. Include
28155 sysdeps/ieee754/dbl-64/mpa.c.
28156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28159 * posix/Makefile (tests): Add tst-pathconf.
28160 * posix/tst-pathconf.c: New test case.
28161 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28163 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28165 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28167 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28169 2013-03-06 Andreas Jaeger <aj@suse.de>
28171 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28172 definition via __MAP_ANONYMOUS.
28174 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28175 it's not part of Linux headers.
28177 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28178 (MAP_HUGE_MASK): Define.
28180 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28182 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28183 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28185 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28186 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28188 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28189 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28191 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28193 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28194 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28195 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28196 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28197 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28198 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28200 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28203 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28204 Handle f2fs and efivarfs.
28206 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28209 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28210 (EFIVARFS_MAGIC): Add.
28211 (F2FS_LINK_MAX): Add.
28213 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28215 * stdio-common/vfprintf.c: Replace __builtin_expect with
28218 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28221 * sysdeps/generic/bp-sym.h: Remove file.
28222 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28223 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28224 <bp-sym.h> and <bp-asm.h>.
28225 (__longjmp): Don't use BP_SYM.
28226 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28228 (memcpy): Don't use BP_SYM.
28229 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28230 <bp-sym.h> and <bp-asm.h>.
28231 (memcpy): Don't use BP_SYM.
28232 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28234 (memcpy): Don't use BP_SYM.
28235 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28237 (memset): Don't use BP_SYM.
28238 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28239 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28240 (__bzero): Don't use BP_SYM.
28241 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28242 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28243 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28244 <bp-sym.h> and <bp-asm.h>.
28245 (memcmp): Don't use BP_SYM. Remove comment about bounded
28247 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28248 <bp-sym.h> and <bp-asm.h>.
28249 (memcpy): Don't use BP_SYM.
28250 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28251 <bp-sym.h> and <bp-asm.h>.
28252 (memset): Don't use BP_SYM.
28253 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28254 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28255 (__bzero): Don't use BP_SYM.
28256 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28257 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28258 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28259 <bp-sym.h> and <bp-asm.h>.
28260 (strncmp): Don't use BP_SYM. Remove comment about bounded
28262 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28263 <bp-sym.h> and <bp-asm.h>.
28264 (memcpy): Don't use BP_SYM.
28265 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28266 <bp-sym.h> and <bp-asm.h>.
28267 (memset): Don't use BP_SYM.
28268 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28269 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28270 (__bzero): Don't use BP_SYM.
28271 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28272 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28273 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28274 <bp-sym.h> and <bp-asm.h>.
28275 (__memchr): Don't use BP_SYM.
28276 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28277 <bp-sym.h> and <bp-asm.h>.
28278 (memcmp): Don't use BP_SYM. Remove comment about bounded
28280 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28281 <bp-sym.h> and <bp-asm.h>.
28282 (memcpy): Don't use BP_SYM.
28283 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28284 <bp-sym.h> and <bp-asm.h>.
28285 (__mempcpy): Don't use BP_SYM.
28286 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28287 <bp-sym.h> and <bp-asm.h>.
28288 (__memrchr): Don't use BP_SYM.
28289 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28290 <bp-sym.h> and <bp-asm.h>.
28291 (memset): Don't use BP_SYM.
28292 (__bzero): Likewise.
28293 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28294 <bp-sym.h> and <bp-asm.h>.
28295 (__rawmemchr): Don't use BP_SYM.
28296 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28297 <bp-sym.h> and <bp-asm.h>.
28298 (__STRCMP): Don't use BP_SYM.
28299 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28300 <bp-sym.h> and <bp-asm.h>.
28301 (strchr): Don't use BP_SYM.
28302 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28303 <bp-sym.h> and <bp-asm.h>.
28304 (__strchrnul): Don't use BP_SYM.
28305 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28306 <bp-sym.h> and <bp-asm.h>.
28307 (strlen): Don't use BP_SYM.
28308 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28309 <bp-sym.h> and <bp-asm.h>.
28310 (strncmp): Don't use BP_SYM. Remove comment about bounded
28312 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28313 <bp-sym.h> and <bp-asm.h>.
28314 (__strnlen): Don't use BP_SYM.
28315 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28316 <bp-sym.h> and <bp-asm.h>.
28317 (__GI__setjmp): Don't use BP_SYM.
28318 (_setjmp): Likewise.
28319 (__sigsetjmp): Likewise.
28320 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28321 (L(start_addresses)): Don't use BP_SYM.
28322 (_start): Likewise.
28323 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28325 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28326 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28327 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28328 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28329 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28331 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28332 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28333 about bounded pointers.
28334 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28335 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28336 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28338 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28339 about bounded pointers. Remove GKM FIXME comments.
28340 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28341 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28343 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28344 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28345 Remove GKM FIXME comments.
28346 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28347 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28348 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28350 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28351 about bounded pointers. Remove GKM FIXME comment.
28352 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28354 (strncmp): Don't use BP_SYM. Remove comment about bounded
28356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28357 <bp-sym.h> and <bp-asm.h>.
28358 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28360 <bp-sym.h> and <bp-asm.h>.
28361 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28364 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28366 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28369 2013-03-05 David S. Miller <davem@davemloft.net>
28371 * po/es.po: Update from translation team.
28373 2013-03-05 Andreas Jaeger <aj@suse.de>
28375 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28376 <bits/mman-linux.h>.
28377 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28379 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28380 <bits/mman-linux.h> to end of file.
28381 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28383 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28384 <bits/mman-linux.h> to end of file.
28385 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28387 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28388 <bits/mman-linux.h> to end of file.
28390 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28391 (MCL_CURRENT, MCL_FUTURE): Define here.
28393 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28396 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28398 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28400 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28402 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28403 fourth parameter needed for rt_sigprocmask syscall.
28404 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28405 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28406 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28407 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28408 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28409 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28411 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28414 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28415 comment about bounded pointers.
28416 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28417 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28419 2013-03-04 Andreas Jaeger <aj@suse.de>
28421 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28422 common definitions.
28424 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28425 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28426 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28427 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28428 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28429 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28431 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28434 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28435 __ieee754_sqrl instead of __sqrl.
28437 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28439 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28440 * sysdeps/powerpc/fpu_control.h: ... here.
28441 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28442 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28443 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28444 * sysdeps/powerpc/bits/mathinline.h: ... here.
28446 2013-03-01 Roland McGrath <roland@hack.frob.com>
28448 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28449 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28450 to just [NEED_DL_SYSINFO_DSO].
28451 * elf/dl-support.c: Likewise.
28452 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28453 * elf/rtld.c (dl_main): Likewise.
28454 * elf/setup-vdso.h (setup_vdso): Likewise.
28455 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28456 * sysdeps/unix/sysv/linux/dl-sysdep.c
28457 (_dl_discover_osversion): Likewise.
28459 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28461 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28462 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28464 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28466 * NEWS: Mention libm performance improvements and non-x86 PI
28469 * csu/libc-start.c (__pthread_initialize_minimal): Change
28470 function arguments.
28471 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28473 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28476 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28477 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28478 <bp-sym.h> and <bp-asm.h>.
28479 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28480 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28482 (memcpy): Don't use BP_SYM.
28483 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28485 (__mpn_add_n): Don't use BP_SYM.
28486 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28487 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28489 (__mpn_addmul_1): Don't use BP_SYM.
28490 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28491 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28493 (_setjmp): Don't use BP_SYM.
28494 (__novmx_setjmp): Likewise.
28495 (__GI__setjmp): Likewise.
28496 (__vmx_setjmp): Likewise.
28497 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28499 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28500 (__bzero): Don't use BP_SYM.
28501 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28502 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28503 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28504 <bp-sym.h> and <bp-asm.h>.
28505 (memcpy): Don't use BP_SYM.
28506 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28507 <bp-sym.h> and <bp-asm.h>.
28508 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28509 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28510 <bp-sym.h> and <bp-asm.h>.
28511 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28512 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28514 (__mpn_lshift): Don't use BP_SYM.
28515 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28516 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28518 (memset): Don't use BP_SYM.
28519 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28520 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28521 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28523 (__mpn_mul_1): Don't use BP_SYM.
28524 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28525 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28526 <bp-sym.h> and <bp-asm.h>.
28527 (memcmp): Don't use BP_SYM.
28528 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28529 <bp-sym.h> and <bp-asm.h>.
28530 (memcpy): Don't use BP_SYM.
28531 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28532 <bp-sym.h> and <bp-asm.h>.
28533 (memset): Don't use BP_SYM.
28534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28535 <bp-sym.h> and <bp-asm.h>.
28536 (strncmp): Don't use BP_SYM.
28537 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28538 <bp-sym.h> and <bp-asm.h>.
28539 (memcpy): Don't use BP_SYM.
28540 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28541 <bp-sym.h> and <bp-asm.h>.
28542 (memset): Don't use BP_SYM.
28543 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28544 <bp-sym.h> and <bp-asm.h>.
28545 (__memchr): Don't use BP_SYM.
28546 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28547 <bp-sym.h> and <bp-asm.h>.
28548 (memcmp): Don't use BP_SYM.
28549 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28550 <bp-sym.h> and <bp-asm.h>.
28551 (memcpy): Don't use BP_SYM.
28552 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28553 <bp-sym.h> and <bp-asm.h>.
28554 (__mempcpy): Don't use BP_SYM.
28555 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28556 <bp-sym.h> and <bp-asm.h>.
28557 (__memrchr): Don't use BP_SYM.
28558 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28559 <bp-sym.h> and <bp-asm.h>.
28560 (memset): Don't use BP_SYM.
28561 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28562 <bp-sym.h> and <bp-asm.h>.
28563 (__rawmemchr): Don't use BP_SYM.
28564 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28565 <bp-sym.h> and <bp-asm.h>.
28566 (__STRCMP): Don't use BP_SYM.
28567 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28568 <bp-sym.h> and <bp-asm.h>.
28569 (strchr): Don't use BP_SYM.
28570 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28571 <bp-sym.h> and <bp-asm.h>.
28572 (__strchrnul): Don't use BP_SYM.
28573 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28574 <bp-sym.h> and <bp-asm.h>.
28575 (strlen): Don't use BP_SYM.
28576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28577 <bp-sym.h> and <bp-asm.h>.
28578 (strncmp): Don't use BP_SYM.
28579 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28580 <bp-sym.h> and <bp-asm.h>.
28581 (__strnlen): Don't use BP_SYM.
28582 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28584 (__mpn_rshift): Don't use BP_SYM.
28585 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28586 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28587 <bp-sym.h> and <bp-asm.h>.
28588 (__sigsetjmp): Don't use BP_SYM.
28589 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28590 (L(start_addresses)): Don't use BP_SYM.
28591 (_start): Likewise.
28592 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28594 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28595 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28596 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28597 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28599 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28600 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28601 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28602 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28604 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28606 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28607 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28609 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28611 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28612 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28613 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28615 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28617 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28619 (strncmp): Don't use BP_SYM,
28620 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28622 (__mpn_sub_n): Don't use BP_SYM.
28623 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28624 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28626 (__mpn_submul_1): Don't use BP_SYM.
28627 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28629 <bp-sym.h> and <bp-asm.h>.
28630 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28632 <bp-sym.h> and <bp-asm.h>.
28633 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28636 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28639 Use ZK to minimize writes to Z.
28640 (sub_magnitudes): Simplify code a bit.
28641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28642 Use ZK to minimize writes to Z.
28643 (sub_magnitudes): Simplify code a bit.
28645 2013-02-27 Roland McGrath <roland@hack.frob.com>
28647 * csu/gmon-start.c: Add special exception to license text.
28649 2013-02-27 Richard Henderson <rth@redhat.com>
28651 * scripts/config.guess: Update from config.git.
28652 * scripts/config.sub: Likewise.
28654 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28656 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28658 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28660 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28662 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28664 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28666 2013-02-26 Roland McGrath <roland@hack.frob.com>
28668 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28669 [$(build-shared = yes].
28671 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28673 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28674 (__mul): Reduce iterations for calculating mantissa.
28676 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28678 (__mpranred): Likewise.
28681 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28682 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28684 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28686 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28687 Define __attribute__.
28689 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28691 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28693 * posix/regex_internal.h (__attribute): Remove.
28694 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28695 (re_string_context_at): Likewise.
28696 (bitset_not): Use __attribute__ and mark function as possibly
28698 (bitset_merge): Likewise.
28699 (bitset_mask): Likewise.
28700 (re_string_char_size_at): Likewise.
28701 (re_string_wchar_at): Likewise.
28702 (re_string_elem_size_at): Likewise.
28704 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28706 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28710 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28714 (denorm): Likewise.
28715 (__dbl_mp): Likewise.
28716 (add_magnitudes): Likewise.
28717 (sub_magnitudes): Likewise.
28721 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28724 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28727 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28731 up changes with default code.
28732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28735 2013-02-24 Allan McRae <allan@archlinux.org>
28737 * manual/socket.texi (The Internet Namespace): Order menu items
28738 to match that in the file.
28740 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28741 node listing of the info page menu.
28743 2013-02-21 Joseph Myers <joseph@codesourcery.com>
28746 * sysdeps/i386/bp-asm.h: Remove file.
28747 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28748 (PARMS): Do not use macros from bp-asm.h.
28752 (__mpn_add_n): Do not use BP_SYM
28753 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28755 (PARMS): Do not use macros from bp-asm.h.
28758 (__mpn_addmul_1): Do not use BP_SYM
28759 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28761 (PARMS): Do not use macros from bp-asm.h.
28762 (SIGMSK): Likewise.
28763 (_setjmp): Likewise. Do not use BP_SYM.
28764 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28766 (PARMS): Do not use macros from bp-asm.h.
28767 (SIGMSK): Likewise.
28768 (setjmp): Likewise. Do not use BP_SYM.
28769 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28771 (PARMS): Do not use macros from bp-asm.h.
28772 (__frexp): Do not use BP_SYM.
28774 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28776 (PARMS): Do not use macros from bp-asm.h.
28777 (__frexpf): Do not use BP_SYM.
28778 (frexpf): Likewise.
28779 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28781 (PARMS): Do not use macros from bp-asm.h.
28782 (__frexpl): Do not use BP_SYM.
28783 (frexpl): Likewise.
28784 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28786 (PARMS): Do not use macros from bp-asm.h.
28787 (__remquo): Do not use BP_SYM.
28788 (remquo): Likewise.
28789 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28791 (PARMS): Do not use macros from bp-asm.h.
28792 (__remquof): Do not use BP_SYM.
28793 (remquof): Likewise.
28794 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28796 (PARMS): Do not use macros from bp-asm.h.
28797 (__remquol): Do not use BP_SYM.
28798 (remquol): Likewise.
28799 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28801 (PARMS): Do not use macros from bp-asm.h.
28804 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28805 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28807 (PARMS): Do not use macros from bp-asm.h.
28808 (strlen): Do not use BP_SYM.
28809 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28811 (PARMS): Do not use macros from bp-asm.h.
28815 (__mpn_add_n): Do not use BP_SYM.
28816 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28818 (PARMS): Do not use macros from bp-asm.h.
28821 (__mpn_addmul_1): Do not use BP_SYM.
28822 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28825 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28827 (PARMS): Do not use macros from bp-asm.h.
28830 (__mpn_lshift): Do not use BP_SYM.
28831 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28833 (PARMS): Do not use macros from bp-asm.h.
28837 (memcpy): Likewise. Do not use BP_SYM.
28838 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28839 libc_hidden_def and weak_alias.
28840 (mempcpy): Do not use BP_SYM in weak_alias.
28841 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28843 (PARMS): Do not use macros from bp-asm.h.
28846 [!BZERO_P] (CHR): Likewise.
28847 (memset): Likewise. Do not use BP_SYM.
28848 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28850 (PARMS): Do not use macros from bp-asm.h.
28853 (__mpn_mul_1): Do not use BP_SYM.
28854 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28856 (PARMS): Do not use macros from bp-asm.h.
28859 (__mpn_rshift): Do not use BP_SYM.
28860 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28862 (PARMS): Do not use macros from bp-asm.h.
28865 (strchr): Likewise. Do not use BP_SYM.
28866 (index): Do not use BP_SYM in weak_alias.
28867 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28869 (PARMS): Do not use macros from bp-asm.h.
28872 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28873 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28875 (PARMS): Do not use macros from bp-asm.h.
28876 (strlen): Do not use BP_SYM.
28877 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28879 (PARMS): Do not use macros from bp-asm.h.
28883 (__mpn_sub_n): Do not use BP_SYM.
28884 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28886 (PARMS): Do not use macros from bp-asm.h.
28889 (__mpn_submul_1): Do not use BP_SYM.
28890 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28892 (PARMS): Do not use macros from bp-asm.h.
28896 (__mpn_add_n): Do not use BP_SYM.
28897 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28900 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28902 (PARMS): Do not use macros from bp-asm.h.
28905 (memcmp): Do not use BP_SYM.
28906 (bcmp): Do not use BP_SYM in weak_alias.
28907 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28909 (PARMS): Do not use macros from bp-asm.h.
28913 (memcpy): Likewise. Do not use BP_SYM.
28914 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28916 (PARMS): Do not use macros from bp-asm.h.
28920 (memmove): Likewise. Do not use BP_SYM.
28921 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28923 (PARMS): Do not use macros from bp-asm.h.
28927 (__mempcpy): Likewise. Do not use BP_SYM.
28928 (mempcpy): Do not use BP_SYM in weak_alias.
28929 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28931 (PARMS): Do not use macros from bp-asm.h.
28934 [!BZERO_P] (CHR): Likewise.
28935 (memset): Likewise. Do not use BP_SYM.
28936 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28938 (PARMS): Do not use macros from bp-asm.h.
28940 (strcmp): Do not use BP_SYM.
28941 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28943 (PARMS): Do not use macros from bp-asm.h.
28946 [USE_AS_STRTOK_R] (SAVE): Likewise.
28947 (FUNCTION): Likewise. Do not use BP_SYM.
28948 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28950 (strtok_r): Likewise.
28951 (__GI___strtok_r): Likewise.
28952 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28953 (PARMS): Do not use macros from bp-asm.h.
28956 (__mpn_lshift): Do not use BP_SYM.
28957 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28958 (PARMS): Do not use macros from bp-asm.h.
28961 (__memchr): Do not use BP_SYM.
28962 (memchr): Do not use BP_SYM in weak_alias.
28963 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28964 (PARMS): Do not use macros from bp-asm.h.
28967 (memcmp): Do not use BP_SYM.
28968 (bcmp): Do not use BP_SYM in weak_alias.
28969 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28970 (PARMS): Do not use macros from bp-asm.h.
28973 (__mpn_mul_1): Do not use BP_SYM.
28974 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28976 (PARMS): Do not use macros from bp-asm.h.
28979 (__rawmemchr): Do not use BP_SYM.
28980 (rawmemchr): Do not use BP_SYM in weak_alias.
28981 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28982 (PARMS): Do not use macros from bp-asm.h.
28985 (__mpn_rshift): Do not use BP_SYM.
28986 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28987 (PARMS): Do not use macros from bp-asm.h.
28988 (SIGMSK): Likewise.
28989 (__sigsetjmp): Likewise. Do not use BP_SYM.
28990 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28991 (_start): Do not use BP_SYM.
28992 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28993 (PARMS): Do not use macros from bp-asm.h.
28996 (__stpcpy): Likewise. Do not use BP_SYM.
28997 (stpcpy): Do not use BP_SYM in weak_alias.
28998 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29000 (PARMS): Do not use macros from bp-asm.h.
29004 (__stpncpy): Likewise. Do not use BP_SYM.
29005 (stpncpy): Do not use BP_SYM in weak_alias.
29006 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29007 (PARMS): Do not use macros from bp-asm.h.
29010 (strchr): Likewise. Do not use BP_SYM.
29011 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29013 (PARMS): Do not use macros from bp-asm.h.
29016 (__strchrnul): Likewise. Do not use BP_SYM.
29017 (strchrnul): Do not use BP_SYM in weak_alias.
29018 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29020 (PARMS): Do not use macros from bp-asm.h.
29022 (strcspn): Do not use BP_SYM.
29023 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29025 (PARMS): Do not use macros from bp-asm.h.
29028 (strpbrk): Likewise. Do not use BP_SYM.
29029 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29031 (PARMS): Do not use macros from bp-asm.h.
29034 (strrchr): Likewise. Do not use BP_SYM.
29035 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29036 (PARMS): Do not use macros from bp-asm.h.
29038 (strspn): Do not use BP_SYM.
29039 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29040 (PARMS): Do not use macros from bp-asm.h.
29044 (FUNCTION): Likewise. Do not use BP_SYM.
29045 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29047 (strtok_r): Likewise.
29048 (__GI___strtok_r): Likewise.
29049 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29050 (PARMS): Do not use macros from bp-asm.h.
29054 (__mpn_sub_n): Do not use BP_SYM.
29055 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29057 (PARMS): Do not use macros from bp-asm.h.
29060 (__mpn_submul_1): Do not use BP_SYM.
29061 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29063 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29065 (PARMS): Do not use macros from bp-asm.h.
29070 (__clone): Do not use BP_SYM.
29071 (clone): Do not use BP_SYM in weak_alias.
29072 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29074 (PARMS): Do not use macros from bp-asm.h.
29076 (__mmap64): Do not use BP_SYM.
29077 (mmap64): Do not use BP_SYM in weak_alias.
29078 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29079 <bp-sym.h> and <bp-asm.h>.
29080 (PARMS): Do not use macros from bp-asm.h.
29081 (__posix_fadvise64_l64): Do not use BP_SYM.
29082 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29083 (PARMS): Do not use macros from bp-asm.h.
29085 (semtimedop): Do not use BP_SYM.
29086 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29089 2013-02-21 Allan McRae <allan@archlinux.org>
29091 * manual/message.texi (Charset conversion in gettext):
29092 Move @end statement to beginning of line.
29094 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29101 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29102 (denorm): Likewise.
29103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29106 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29108 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29109 tail-call to the resolved function if pltexit isn't needed.
29111 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29114 or Y being zero as being unlikely.
29115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29118 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29120 * manual/nss.texi (System Databases and Name Service Switch):
29121 Remove frobnicate @pxref.
29123 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29125 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29126 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29128 2013-02-20 Petr Machata <pmachata@redhat.com>
29130 * elf/elf.h (R_ARM_TARGET1): New macro.
29131 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29132 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29133 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29134 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29135 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29136 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29137 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29138 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29139 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29140 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29141 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29142 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29143 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29144 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29145 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29146 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29147 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29148 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29149 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29150 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29151 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29152 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29153 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29154 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29155 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29156 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29157 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29158 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29159 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29160 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29161 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29162 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29163 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29164 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29165 (R_ARM_THM_GOT_BREL12): Likewise.
29166 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29167 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29168 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29169 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29170 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29171 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29172 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29173 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29174 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29176 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29178 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29179 __attribute_used__ to __attribute__ ((unused)).
29181 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29183 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29186 comment formatting.
29187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29189 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29192 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29194 (ENTER): Remove both macro definitions.
29196 (CHECK_BOUNDS_LOW): Likewise.
29197 (CHECK_BOUNDS_HIGH): Likewise.
29198 (CHECK_BOUNDS_BOTH): Likewise.
29199 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29200 (RETURN_BOUNDED_POINTER): Likewise.
29201 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29202 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29203 (POP_ERRNO_LOCATION_RETURN): Likewise.
29204 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29205 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29206 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29208 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29209 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29210 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29211 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29212 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29213 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29214 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29215 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29216 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29217 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29218 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29219 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29220 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29221 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29223 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29224 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29226 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29227 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29228 * sysdeps/i386/i586/memset.S (memset): Likewise.
29229 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29230 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29231 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29233 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29234 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29235 Change uses of L(2) to L(out).
29236 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29237 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29238 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29239 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29240 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29242 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29243 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29245 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29246 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29247 (RETURN): Do not use macro LEAVE.
29248 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29249 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29250 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29251 * sysdeps/i386/i686/memset.S (memset): Likewise.
29252 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29253 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29254 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29255 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29257 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29258 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29259 L(1_2) and L(1_3) into L(1).
29260 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29261 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29262 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29263 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29264 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29265 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29266 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29267 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29268 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29270 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29271 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29272 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29273 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29274 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29275 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29276 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29277 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29278 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29279 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29280 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29281 * sysdeps/i386/strspn.S (strspn): Likewise.
29282 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29284 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29285 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29286 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29287 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29288 L(1_3) into L(1_1).
29289 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29290 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29291 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29293 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29295 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29297 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29300 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29302 * math/atest-exp.c (exp_mpn): Remove ROUND.
29303 * math/atest-exp2.c (exp_mpn): Likewise.
29304 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29306 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29307 * stdlib/tst-tls-atexit-lib.c: Likewise.
29308 * stdlib/tst-tls-atexit.c: Likewise.
29310 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29312 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29313 and __attribute_alloc_size__.
29315 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29317 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29318 __attribute_alloc_size__.
29319 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29320 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29322 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29324 * include/programs/xmalloc.h: New file.
29325 * catgets/gencat.c: Include it.
29326 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29327 * elf/pldd.c: Likewise.
29328 * iconv/iconv_charmap.c: Likewise.
29329 * iconv/iconvconfig.c: Likewise.
29330 * iconv/strtab.c: Likewise.
29331 * locale/programs/locale.c: Likewise.
29332 * locale/programs/localedef.h: Likewise.
29333 * locale/programs/simple-hash.c: Likewise.
29334 * nscd/nscd.h: Likewise.
29335 * nss/makedb.c: Likewise.
29336 * sysdeps/generic/ldconfig.h: Likewise.
29338 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29340 * Versions.def: Add GLIBC_2.18.
29341 * include/link.h (struct link_map): New member l_tls_dtor_count.
29342 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29343 (__call_tls_dtors): Likewise.
29344 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29345 __cxa_thread_atexit_impl.
29346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29362 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29363 (tests): Add test case tst-tls-atexit.
29364 (modules-names): Add shared library for tst-tls-atexit.
29365 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29366 (GLIBC_PRIVATE): Add __call_tls_dtors.
29367 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29369 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29370 * stdlib/tst-tls-atexit.c: New test case.
29371 * stdlib/tst-tls-atexit-lib.c: New test case.
29373 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29375 * elf/Versions (ld): Add _dl_find_dso_for_object.
29376 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29377 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29378 (dl_open_worker): Use _dl_find_dso_for_object.
29379 * elf/dl-sym.c (do_sym): Likewise.
29380 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29382 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29384 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29385 Syntactic changes only.
29386 (_dl_runtime_profile): Do a tail-call to the resolved function.
29388 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29391 * sysdeps/x86_64/bp-asm.h: Remove file.
29392 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29393 <bp-sym.h> and <bp-asm.h>.
29394 (__clone): Do not use BP_SYM.
29395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29396 <bp-sym.h> and <bp-asm.h>.
29397 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29398 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29400 (_setjmp): Do not use BP_SYM.
29401 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29403 (setjmp): Do not use BP_SYM.
29404 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29406 (mempcpy): Do not use BP_SYM in weak_alias.
29407 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29409 (strchr): Do not use BP_SYM.
29410 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29412 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29413 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29414 (_start): Do not use BP_SYM.
29415 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29417 (strcat): Do not use BP_SYM.
29418 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29420 (STRCMP): Do not use BP_SYM.
29421 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29423 (STRCPY): Do not use BP_SYM.
29424 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29426 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29428 (FUNCTION): Do not use BP_SYM.
29429 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29431 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29433 2013-02-17 Andreas Jaeger <aj@suse.de>
29435 * time/Versions: Sort entries.
29436 * string/Versions: Likewise.
29437 * resolv/Versions: Likewise.
29438 * posix/Versions: Likewise.
29439 * iconv/Versions: Likewise.
29440 * elf/Versions: Likewise.
29441 * wcsmbs/Versions: Likewise.
29443 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29445 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29446 loop termination condition.
29448 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29449 variable to calculate EZ.
29452 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29453 the lower precision input.
29455 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29458 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29459 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29460 (run-via-rtld-prefix): Do not handle %-bp tests.
29461 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29462 (all-object-suffixes): Remove .ob.
29463 (bppfx): Remove variable.
29464 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29465 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29466 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29467 [$(build-bounded) = yes] (libtype.ob): Likewise.
29468 * Makerules (elide-routines.ob): Remove variable.
29469 (do-tests-clean): Do not handle *-bp.out.
29470 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29471 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29472 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29473 (tests): Do not include $(tests-bp.out).
29474 (xtests): Do not include $(xtests-bp.out).
29475 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29476 [$(build-bounded) = yes] ($(addprefix
29477 $(objpfx),$(binaries-bounded))): Remove rule.
29478 ($(objpfx)%-bp.out): Remove rule.
29479 * config.make.in (build-bounded): Remove variable.
29480 * crypt/Makefile [$(build-bounded) = yes]
29481 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29482 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29483 append to variable.
29484 [$(build-bounded) = yes] (install-lib): Likewise.
29485 [$(build-bounded) = yes] (generated): Likewise.
29486 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29488 * intl/Makefile [$(build-bounded) = yes]
29489 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29490 * math/Makefile [$(build-bounded) = yes]
29491 ($(tests:%=$(objpfx)%-bp): Likewise.
29492 * misc/Makefile [$(build-bounded) = yes]
29493 ($(objpfx)tst-tsearch-bp): Likewise.
29494 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29495 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29497 * string/Makefile (o-objects.ob): Remove variable.
29498 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29499 (CFLAGS-.ob): Remove variable.
29500 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29501 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29502 both definitions of variable.
29503 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29504 (ASFLAGS-.ob): Remove variable.
29506 2013-02-14 Joseph Myers <joseph@codesourcery.com>
29509 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29510 Remove __BOUNDED_POINTERS__ from condition.
29511 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29512 * string/bits/string2.h [!__NO_STRING_INLINES &&
29513 !__BOUNDED_POINTERS__]: Likewise.
29514 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29516 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29517 Remove conditional code.
29518 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29519 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29520 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29524 * csu/libc-start.c: Do not include <bp-sym.h>.
29525 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29526 * elf/dl-open.c: Do not include <bp-sym.h>.
29527 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29528 * math/fegetenv.c: Do not include <bp-sym.h>.
29529 (fegetenv): Do not use BP_SYM in versioned symbols.
29530 * nptl/sysdeps/pthread/bits/libc-lockP.h
29531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29534 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29536 (__pthread_mutex_destroy): Likewise.
29537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29538 (__pthread_mutex_lock): Likewise.
29539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29540 (__pthread_mutex_trylock): Likewise.
29541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29542 (__pthread_mutex_unlock): Likewise.
29543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29544 (__pthread_mutexattr_init): Likewise.
29545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29546 (__pthread_mutexattr_destroy): Likewise.
29547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29548 (__pthread_mutexattr_settype): Likewise.
29549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29550 (__pthread_rwlock_init): Likewise.
29551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29552 (__pthread_rwlock_destroy): Likewise.
29553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29554 (__pthread_rwlock_rdlock): Likewise.
29555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29556 (__pthread_rwlock_tryrdlock): Likewise.
29557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29558 (__pthread_rwlock_wrlock): Likewise.
29559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29560 (__pthread_rwlock_trywrlock): Likewise.
29561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29562 (__pthread_rwlock_unlock): Likewise.
29563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29564 (__pthread_key_create): Likewise.
29565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29566 (__pthread_setspecific): Likewise.
29567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29568 (__pthread_getspecific): Likewise.
29569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29572 (_pthread_cleanup_push_defer): Likewise.
29573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29574 (_pthread_cleanup_pop_restore): Likewise.
29575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29576 (pthread_setcancelstate): Likewise.
29577 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29579 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29580 (memchr): Do not use BP_SYM in weak_alias.
29581 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29582 (fegetenv): Do not use BP_SYM in versioned symbols.
29583 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29584 (fesetenv): Do not use BP_SYM in versioned symbols.
29585 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29586 (feupdateenv): Do not use BP_SYM in versioned symbols.
29587 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29588 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29589 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29590 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29591 (open64): Do not use BP_SYM in weak_alias.
29592 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29593 (fegetenv): Do not use BP_SYM in versioned symbols.
29594 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29595 (fesetenv): Do not use BP_SYM in versioned symbols.
29596 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29597 (feupdateenv): Do not use BP_SYM in versioned symbols.
29598 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29599 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29600 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29601 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29602 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29603 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29604 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29606 (__libc_start_main): Do not use BP_SYM.
29608 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29611 redundant return line.
29613 (denorm): Likewise.
29614 (dbl_mp): Likewise.
29615 (sub_magnitudes): Likewise.
29621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29623 (denorm): Likewise.
29624 (dbl_mp): Likewise.
29625 (sub_magnitudes): Likewise.
29632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29634 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29635 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29638 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29639 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29640 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29641 of __mul for squares.
29642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29646 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29647 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29649 2013-02-13 Joseph Myers <joseph@codesourcery.com>
29652 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29654 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29655 prototype or function definition. Rename ubp_* variables and
29656 parameters. Remove argv definitions conditional on
29657 [__BOUNDED_POINTERS__].
29658 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29659 * elf/dl-runtime.c (_dl_fixup): Likewise.
29660 * include/set-hooks.h (RUN_HOOK): Likewise.
29661 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29663 * string/strcpy.c (strcpy): Do not use __unbounded.
29664 * sysdeps/generic/frame.h (struct layout): Likewise.
29665 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29666 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29667 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29668 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29669 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29670 (__backtrace): Likewise.
29671 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29673 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29674 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29675 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29677 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29678 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29679 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29680 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29681 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29682 Do not use __unbounded.
29683 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29684 Rename __unboundedrlimits parameter to rlimits in prototype.
29685 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29686 Do not use __unbounded.
29687 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29688 not use __ptrvalue.
29689 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29690 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29691 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29692 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29693 __ptrvalue or __unbounded.
29694 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29695 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29697 (__new_msgctl): Do not use __ptrvalue.
29698 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29700 (__libc_msgrcv): Do not use __ptrvalue.
29701 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29702 startup_info): Do not use __unbounded.
29703 (__libc_start_main): Likewise. Rename ubp_* variables and
29704 parameters. Remove argv definitions conditional on
29705 [__BOUNDED_POINTERS__].
29706 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29708 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29710 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29712 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29714 (__new_shmctl): Do not use __ptrvalue.
29715 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29716 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29718 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29719 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29720 (__libc_sigaction): Likewise.
29721 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29722 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29724 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29726 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
29728 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29730 * string/mempcpy.c: Implement by calling memcpy.
29732 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29739 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29740 values in the mantissa.
29742 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29743 minimize writes to Z.
29744 (sub_magnitudes): Simplify code a bit.
29746 2013-02-12 Roland McGrath <roland@hack.frob.com>
29748 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29749 from the message. The linker prefixes all warnings with that already.
29751 2013-02-12 Andreas Schwab <schwab@suse.de>
29754 * posix/regexec.c (extend_buffers): Add parameter min_len.
29755 (check_matching): Pass minimum needed length.
29756 (clean_state_log_if_needed): Likewise.
29757 (get_subexp): Likewise.
29758 * posix/Makefile (tests): Add bug-regex34.
29759 (bug-regex34-ENV): Define.
29760 * posix/bug-regex34.c: New file.
29763 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29764 elements compare against the byte sequence of it, not its name.
29765 * posix/Makefile (tests): Add bug-regex35.
29766 (bug-regex35-ENV): Define.
29767 * posix/bug-regex35.c: New file.
29769 2013-02-11 Tom de Vries <tom@codesourcery.com>
29771 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29773 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29774 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29775 (CHECK_EOL): Add undef.
29777 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
29779 * bits/stdlib-bsearch.h: New file.
29780 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29781 * stdlib/stdlib.h: Likewise.
29783 2013-02-11 Roland McGrath <roland@hack.frob.com>
29785 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29786 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29788 * manual/search.texi (Array Search Function): Add missing const in
29790 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29791 declaration to use rlim_t.
29792 (Basic Scheduling Functions): Remove erroneous const from
29793 sched_getparam prototype. Remove erroneous * from
29794 sched_get_priority_max and sched_get_priority_min prototypes.
29795 (Resource Usage): Fix summary @comment on vtimes to refer to
29796 sys/vtimes.h rather than vtimes.h.
29797 Add missing *s in vtimes prototype.
29798 (Limits on Resources): Fix ulimit prototype to return long int.
29799 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29800 prototypes to use long int rather than double.
29801 (BSD Random): Fix initstate and setstate to use char *, not void *.
29802 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29803 prototype to make second argument 'struct aiocb64 *const[]'.
29804 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29805 (Status of AIO Operations): Remove erroneous const in aio_return and
29806 aio_return64 prototypes.
29807 (Synchronizing I/O): Fix sync prototype to return void.
29808 * manual/startup.texi (Suboptions): Remove an erroneous const in
29809 getsubopt prototype.
29810 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29811 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29812 use size_t rather than int.
29813 (Scanning All Users): Likewise for getpwent_r.
29814 (Setting Groups): Add missing const to setgroups prototype.
29815 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29816 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29817 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29818 'const void *' rather than 'const char *'.
29819 (Host Address Functions): Likewise for inet_ntop.
29820 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29821 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29822 ssize_t for return value.
29823 (Sending Data): Likewise for send, sendto, sendmsg.
29824 (Socket Option Functions): Add a missing const in setsockopt prototype.
29825 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29826 use wchar_t for the argument.
29827 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29828 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29830 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29831 double/float/long double for second argument.
29832 Fix return types of significand, significandf, significandl.
29833 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29834 argument in fchmod prototype.
29835 (File Owner): Use uid_t and gid_t in fchown prototype.
29836 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29837 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29838 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29839 use 'const struct dirent **' as argument types to CMP function pointer
29841 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29842 (File Times): Fix summary magic @comment for struct utimbuf and utime
29843 to refer to utime.h, not time.h.
29844 * manual/string.texi (Argz Functions): Add missing const in
29845 argz_extract and argz_next prototypes.
29846 (Finding Tokens in a String): Likewise for basename.
29847 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29848 (Copying and Concatenation): Fix typo in wmemmove prototype.
29849 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29850 (Signal Stack): Remove erroneous const in sigstack prototype.
29851 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29853 (Simple Calendar Time): Likewise for stime.
29854 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29856 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29857 say sys/sysctl.h instead.
29858 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29859 and vsyslog prototypes.
29861 2013-02-11 Tom de Vries <tom@codesourcery.com>
29863 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29866 2013-02-11 Roland McGrath <roland@hack.frob.com>
29868 * misc/sys/mman.h: Fix typo in mremap comment.
29870 2013-02-08 Roland McGrath <roland@hack.frob.com>
29872 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29873 the '\0' terminator.
29875 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29878 * debug/segfault.c: Don't include <bp-checks.h>.
29879 * sysdeps/generic/bp-checks.h: Remove file.
29880 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29881 (__GETDENTS): Don't use CHECK_N.
29882 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29883 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29884 (__getgroups): Don't use CHECK_N.
29885 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29886 (setgroups): Don't use CHECK_N.
29887 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29888 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29889 (__libc_msgrcv): Don't use CHECK_N.
29890 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29891 (__libc_msgsnd): Don't use CHECK_N.
29892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29894 (__libc_pread): Don't use CHECK_N.
29895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29896 include <bp-checks.h>.
29897 (__libc_pread64): Don't use CHECK_N.
29898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29899 include <bp-checks.h>.
29900 (__libc_pwrite): Don't use CHECK_N.
29901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29902 include <bp-checks.h>.
29903 (__libc_pwrite64): Don't use CHECK_N.
29904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29906 (__libc_pread): Don't use CHECK_N.
29907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29908 include <bp-checks.h>.
29909 (__libc_pread64): Don't use CHECK_N.
29910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29911 include <bp-checks.h>.
29912 (__libc_pwrite): Don't use CHECK_N.
29913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29914 include <bp-checks.h>.
29915 (__libc_pwrite64): Don't use CHECK_N.
29916 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29917 (do_pread): Don't use CHECK_N.
29918 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29919 (do_pread64): Don't use CHECK_N.
29920 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29921 (do_pwrite): Don't use CHECK_N.
29922 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29923 (do_pwrite64): Don't use CHECK_N.
29924 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29925 (__libc_readv): Don't use CHECK_N.
29926 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29927 (semop): Don't use CHECK_N.
29928 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29930 (semtimedop): Don't use CHECK_N.
29931 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29932 (__libc_pread): Don't use CHECK_N.
29933 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29935 (__libc_pread64): Don't use CHECK_N.
29936 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29938 (__libc_pwrite): Don't use CHECK_N.
29939 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29941 (__libc_pwrite64): Don't use CHECK_N.
29942 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29944 (__libc_msgrcv): Don't use CHECK_N.
29945 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29946 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29947 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29948 (__libc_writev): Don't use CHECK_N.
29950 2013-02-08 Roland McGrath <roland@hack.frob.com>
29952 * string/strcpy.c: Removed unused variable.
29954 * Makeconfig (+sysdep-includes): Define with := rather than =.
29955 Use an existing include/ subdir of each sysdeps dir before it.
29957 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29959 * nscd/connection.c (register_traced_file): Comment function.
29960 [HAVE_INOTIFY] (union __inev): Define.
29961 [HAVE_INOTIFY] (inotify_check_files): New function.
29962 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29963 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29965 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29967 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29969 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29970 loaded if not already and that a failure is permanent.
29972 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29975 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29976 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29978 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29981 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29982 (CHECK_1_NULL_OK): Likewise.
29983 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29984 (__fxstat): Do not use CHECK_1.
29985 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29987 (___fxstat64): Do not use CHECK_1.
29988 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29990 (__fxstatat): Do not use CHECK_1.
29991 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29993 (__fxstatat64): Do not use CHECK_1.
29994 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29996 (__fxstat): Do not use CHECK_1.
29997 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29999 (__fxstatat): Do not use CHECK_1.
30000 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30002 (__getresgid): Do not use CHECK_1.
30003 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30005 (__getresuid): Do not use CHECK_1.
30006 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30008 (__lxstat): Do not use CHECK_1.
30009 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30011 (__old_msgctl): Do not use CHECK_1.
30012 (__new_msgctl): Likewise.
30013 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30015 (__new_setrlimit): Do not use CHECK_1.
30016 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30018 (__old_shmctl): Do not use CHECK_1.
30019 (__new_shmctl): Likewise.
30020 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30022 (__xstat): Do not use CHECK_1.
30023 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30024 (__lxstat): Do not use CHECK_1.
30025 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30027 (___lxstat64): Do not use CHECK_1.
30028 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30029 (__old_msgctl): Do not use CHECK_1.
30030 (__new_msgctl): Likewise.
30031 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30033 (__gettimeofday): Do not use CHECK_1.
30034 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30035 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30036 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30038 (__gettimeofday): Do not use CHECK_1.
30039 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30040 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30041 (__new_shmctl): Do not use CHECK_1.
30042 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30044 (do_sigtimedwait): Do not use CHECK_1.
30045 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30047 (do_sigwaitinfo): Do not use CHECK_1.
30048 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30050 (msgctl): Do not use CHECK_1.
30051 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30053 (shmctl): Do not use CHECK_1.
30054 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30055 (ustat): Do not use CHECK_1.
30056 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30058 (__fxstat): Do not use CHECK_1.
30059 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30061 (__fxstatat): Do not use CHECK_1.
30062 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30064 (__lxstat): Do not use CHECK_1.
30065 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30067 (__xstat): Do not use CHECK_1.
30068 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30069 (__xstat): Do not use CHECK_1.
30070 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30071 (___xstat64): Do not use CHECK_1.
30074 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30076 (CHECK_BOUNDS_HIGH): Likewise.
30077 * string/strcpy.c: Do not include <bp-checks.h>.
30078 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30080 2013-02-07 Roland McGrath <roland@hack.frob.com>
30082 * nscd/nscd-client.h (__nscd_drop_map_ref):
30083 Add __attribute__ ((unused)).
30084 * nis/nss-nisplus.h (niserr2nss): Likewise.
30086 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30087 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30089 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30090 Remove inline keyword.
30091 * include/rounding-mode.h (round_away): Likewise.
30092 * libio/wfileops.c (adjust_wide_data): Likewise.
30093 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30094 (__m128i_strloadu_tolower): Likewise.
30095 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30096 (__m128i_strloadu_tolower): Likewise.
30097 * time/mktime.c (ydhms_diff): Likewise.
30098 * locale/elem-hash.h (elem_hash): Likewise.
30099 * locale/setlocale.c (setdata): Likewise.
30100 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30101 (re_string_wchar_at): Likewise.
30102 (bitset_not, bitset_merge, bitset_mask): Likewise.
30103 [!(__GNUC__ > 3)] (inline): Remove macro.
30104 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30105 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30106 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30107 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30108 * string/memcmp.c (memcmp_bytes): Likewise.
30109 * locale/programs/locarchive.c (compute_hashval): Likewise.
30110 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30111 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30112 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30113 * nss/getent.c (print_rpc, print_protocols): Likewise.
30114 (print_passwd, print_group, print_aliases): Likewise.
30115 * nis/nss-nisplus.h (niserr2nss): Likewise.
30116 * nscd/connections.c (restart_p): Likewise.
30117 Change return type to bool.
30119 2013-02-05 Roland McGrath <roland@hack.frob.com>
30121 * Makeconfig (all-Depend-files): Add existing
30122 $(sorted-subdirs:=/Depend) files.
30123 (all-subdirs): Remove nss.
30124 * sysdeps/unix/inet/Subdirs: Add it here instead.
30125 * hesiod/Depend: New file.
30127 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30128 instead of calling alloca.
30130 * io/lseek.c (__lseek): Rename to __libc_lseek.
30131 Define __lseek as an alias.
30133 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30135 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30137 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30138 else clause and remove check for non-standard endianness.
30140 2013-02-04 David S. Miller <davem@davemloft.net>
30142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30144 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30147 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30148 (__ubp_memchr): Remove prototype.
30149 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30150 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30151 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30152 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30153 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30155 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30156 (__ubp_memchr): Likewise.
30157 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30158 (__ubp_memchr): Likewise.
30159 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30160 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30161 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30162 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30164 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30165 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30166 (__getcwd): Do not use CHECK_STRING.
30167 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30169 (__real_chown): Do not use CHECK_STRING.
30170 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30172 (fchownat): Do not use CHECK_STRING.
30173 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30175 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30177 (__lchown): Do not use CHECK_STRING.
30178 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30179 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30180 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30181 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30183 include <bp-checks.h>.
30184 (truncate64): Do not use CHECK_STRING.
30185 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30187 (__real_chown): Do not use CHECK_STRING.
30188 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30190 (__lchown): Do not use CHECK_STRING.
30191 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30193 (__chown): Do not use CHECK_STRING.
30194 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30196 (truncate64): Do not use CHECK_STRING.
30197 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30199 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30200 (__xmknod): Do not use CHECK_STRING.
30201 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30203 (__xmknodat): Do not use CHECK_STRING.
30204 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30205 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30207 2013-02-04 Andreas Schwab <schwab@suse.de>
30210 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30211 * include/netdb.h: Likewise for h_errno.
30212 * elf/tst-stackguard1.c: Include <tls.h>.
30214 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30216 * elf/link.h (struct link_map): Extend the l_addr comment.
30217 * include/link.h (struct link_map): Likewise.
30219 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30222 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30223 (BOUNDED_1): Remove macro.
30224 * debug/backtrace.c: Don't include <bp-checks.h>.
30225 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30226 (__backtrace): Likewise.
30227 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30229 (__backtrace): Don't use BOUNDED_1.
30230 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30232 (__backtrace): Don't use BOUNDED_1.
30233 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30234 (__backtrace): Don't use BOUNDED_1.
30235 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30236 (shmat): Don't use BOUNDED_N.
30238 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30241 * sysdeps/generic/bp-start.h: Remove file.
30242 * csu/libc-start.c: Don't include <bp-start.h>.
30243 (LIBC_START_MAIN): Set up __environ directly instead of using
30244 INIT_ARGV_and_ENVIRON.
30245 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30249 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30251 (CHECK_FCNTL): Likewise.
30252 (CHECK_N_PAGES): Likewise.
30255 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30257 (CHECK_SIGSET_NULL_OK): Likewise.
30258 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30260 (sigpending): Don't use CHECK_SIGSET.
30261 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30263 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30264 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30266 (do_sigsuspend): Don't use CHECK_SIGSET.
30267 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30269 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30270 (do_sigwait): Don't use CHECK_SIGSET.
30271 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30273 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30274 include <bp-checks.h>.
30275 (sigpending): Don't use CHECK_SIGSET.
30276 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30277 include <bp-checks.h>.
30278 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30279 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30281 (sigpending): Don't use CHECK_SIGSET.
30282 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30284 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30287 * sysdeps/generic/bp-semctl.h: Remove file.
30288 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30289 <bp-checks.h> and <bp-semctl.h>.
30290 (__old_semctl): Don't use CHECK_SEMCTL.
30291 (__new_semctl): Likewise.
30292 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30294 (__old_semctl): Don't use CHECK_SEMCTL.
30295 (__new_semctl): Likewise.
30296 * sysdeps/unix/sysv/linux/sparc/sparc32/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/sparc/sparc64/semctl.c: Don't include
30301 <bp-checks.h> and <bp-semctl.h>.
30302 (semctl): Don't use CHECK_SEMCTL.
30305 * Makerules (elide-bp-thunks): Remove variable.
30306 (elide-routines.oS): Don't use $(elide-bp-thunks).
30307 (elide-routines.os): Likewise.
30308 (elide-routines.o): Likewise.
30309 (elide-routines.op): Likewise.
30310 (elide-routines.og): Likewise.
30311 (objects): Don't use $(bp-thunks).
30312 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30314 (common-generated): Do not add s-proto-bp.d.
30315 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30318 Do not generate makefile rules for bounded-pointer thunks.
30319 * sysdeps/generic/bp-thunks.h: Remove file.
30320 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30321 * sysdeps/unix/s-proto-bp.S: Likewise.
30324 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30325 parts of result separately when argument is not close to line from
30326 -i to i and one part of argument is small.
30327 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30328 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30329 * math/libm-test.inc (cacos_test): Add more tests.
30330 (casin_test): Likewise.
30331 (casinh_test): Likewise.
30332 * sysdeps/i386/fpu/libm-test-ulps: Update.
30333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30335 2013-01-31 David S. Miller <davem@davemloft.net>
30337 * po/de.po: Update from translation team.
30339 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30341 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30343 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30345 * configure.in (_AC_PROG_CC_C89): New definition.
30346 * configure: Regenerate.
30348 * configure.in (AC_PROG_CPP): New definition.
30349 * configure: Regenerate.
30351 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30353 * debug/tst-backtrace.h: New file.
30354 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30355 (ret): Remove variable.
30357 (FAIL): Remove macro.
30358 (NO_INLINE): Likewise.
30359 (fn1): Use match function instead of strstr.
30360 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30361 (ret): Remove variable.
30363 (FAIL): Remove macro.
30364 (NO_INLINE): Likewise.
30365 (fn): Use match function instead of strstr.
30366 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30367 (ret): Remove variable.
30369 (FAIL): Remove macro.
30370 (NO_INLINE): Likewise.
30371 (handle_signal): Use match function instead of strstr.
30372 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30373 (ret): Remove variable.
30375 (FAIL): Remove macro.
30376 (NO_INLINE): Likewise.
30377 (handle_signal): Use match function instead of strstr.
30379 2013-01-23 Roland McGrath <roland@hack.frob.com>
30381 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30383 2013-01-23 David S. Miller <davem@davemloft.net>
30385 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30386 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30387 argument of CAS if possible.
30388 * sysdeps/sparc/sparc64/bits/atomic.h
30389 (__arch_compare_and_exchange_val_32_acq): Likewise.
30390 (__arch_compare_and_exchange_val_64_acq): Likewise.
30392 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30394 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30395 * sysdeps/posix/ulimit.c: ... this.
30396 Include <limits.h>.
30397 * sysdeps/unix/bsd/ulimit.c: Remove file.
30399 2013-01-23 Adam Conrad <adconrad@0c3.net>
30401 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30402 (LDFLAGS-tst-array5): Likewise.
30404 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30407 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30408 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30409 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30410 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30412 2013-01-21 David S. Miller <davem@davemloft.net>
30414 * sysdeps/sparc/backtrace.c: New file.
30415 * sysdeps/sparc/sparc32/backtrace.h: New file.
30416 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30417 * sysdeps/sparc/sparc64/backtrace.h: New file.
30418 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30419 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30422 2013-01-21 Andreas Schwab <schwab@suse.de>
30425 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30428 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30434 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30435 Mark Mitchell <mark@codesourcery.com>
30436 Tom de Vries <tom@codesourcery.com>
30437 Paul Pluzhnikov <ppluzhnikov@google.com>
30439 * debug/tst-backtrace2.c: New file.
30440 * debug/tst-backtrace3.c: Likewise.
30441 * debug/tst-backtrace4.c: Likewise.
30442 * debug/tst-backtrace5.c: Likewise.
30443 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30444 (CFLAGS-tst-backtrace3.c): Likewise.
30445 (CFLAGS-tst-backtrace4.c): Likewise.
30446 (CFLAGS-tst-backtrace5.c): Likewise.
30447 (LDFLAGS-tst-backtrace2): Likewise.
30448 (LDFLAGS-tst-backtrace3): Likewise.
30449 (LDFLAGS-tst-backtrace4): Likewise.
30450 (LDFLAGS-tst-backtrace5): Likewise.
30451 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30452 tst-backtrace4 and tst-backtrace5.
30454 2013-01-18 Anton Blanchard <anton@samba.org>
30455 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30457 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30458 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30459 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30460 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30462 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30463 "+r" and remove output regs list as redundant. Add explicit inline
30464 asm to specify register of return val to work around compiler codegen
30465 bug. Remove (int) cast on return value. Add return type parameter to
30466 use in macro so that this macro does not truncate return value for
30468 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30469 pass to INTERNAL_VSYSCALL_NCS.
30470 (INLINE_VSYSCALL): Add 'long int' as return type to
30471 INTERNAL_VSYSCALL_NCS macro invocation.
30472 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30473 INTERNAL_VSYSCALL_NCS macro invocation.
30474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30476 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30479 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30480 Fix application of SIMD FP exception mask.
30482 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30483 mp_no from a power of two.
30484 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30485 __mpexp_twomm1. Use __pow_mp.
30487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30490 2013-01-17 David S. Miller <davem@davemloft.net>
30492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30494 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30497 * include/complex.h: Condition contents on [!_COMPLEX_H].
30498 (__kernel_casinhf): New prototype.
30499 (__kernel_casinh): Likewise.
30500 (__kernel_casinhl): Likewise.
30501 * math/Makefile (libm_calls): Add k_casinh.
30502 * math/k_casinh.c: New file.
30503 * math/k_casinhf.c: Likewise.
30504 * math/k_casinhl.c: Likewise.
30505 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30506 finite nonzero arguments.
30507 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30508 finite nonzero arguments.
30509 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30510 finite nonzero arguments.
30511 * math/s_casinh.c: Do not include <float.h>.
30512 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30513 * math/s_casinhf.c: Do not include <float.h>.
30514 (__casinhf): Move code for finite nonzero arguments to
30516 * math/s_casinhl.c: Do not include <float.h>.
30517 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30519 (__casinhl): Move code for finite nonzero arguments to
30521 * math/libm-test.inc (cacos_test): Add more tests.
30522 * sysdeps/i386/fpu/libm-test-ulps: Update.
30523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30525 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30527 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30528 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30529 [!HAVE_MREMAP]: Remove [defined linux] case.
30530 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30532 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30534 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30536 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
30538 * elf/elf.h (R_386_SIZE32): New relocation.
30539 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30541 (elf_machine_rela): Likewise.
30542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30543 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30545 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30547 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30548 (FP_FAST_FMA): Do not define.
30549 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30550 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30551 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30552 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30553 !_SOFT_FLOAT]: Likewise.
30554 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30555 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30557 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30558 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30559 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30560 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30561 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30562 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30565 2013-01-16 Andreas Schwab <schwab@suse.de>
30568 * include/stdlib.h (__mktemp): Add declaration.
30569 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30570 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30572 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30574 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30576 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30577 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30578 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30580 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30581 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30583 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30585 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30586 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30587 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30589 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30590 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30592 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30594 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30596 2013-01-15 David S. Miller <davem@davemloft.net>
30598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30599 trunc{,f} to libm-sysdep_routes.
30600 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30610 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30611 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30612 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30613 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30614 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30615 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30618 nearbyint{,f} to libm-sysdep_routes.
30619 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30630 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30632 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30633 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30635 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30636 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30637 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30639 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30640 libc_feholdexcept and libc_fesetenv.
30642 2013-01-15 Mike Frysinger <vapier@gentoo.org>
30644 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30646 2013-01-14 David S. Miller <davem@davemloft.net>
30648 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30649 (SPARC_ASM_VIS2_IFUNC): Likewise.
30650 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30652 use of 'siam' instruction.
30653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30686 routines to libm-sysdep_routines.
30687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30690 fdim/fdimf to libm-sysdep_routines.
30691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30699 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30700 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30701 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30702 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30704 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30706 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30707 to optimize copies.
30709 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30714 local variable MPTWO.
30715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30718 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30720 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30723 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30725 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30727 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30729 * manual/pattern.texi (glob_t): Document gl_flags.
30730 (glob64_t): Likewise.
30732 2013-01-11 David S. Miller <davem@davemloft.net>
30734 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30735 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30736 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
30737 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30738 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30739 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30740 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30741 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30742 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30743 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30744 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30745 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30746 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30748 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30749 sparc V9 rather than using V8 code.
30750 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30751 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30753 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30755 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30758 2013-01-11 Roland McGrath <roland@hack.frob.com>
30760 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30761 not in the main loop.
30762 * configure: Regenerated.
30764 2013-01-11 Joseph Myers <joseph@codesourcery.com>
30766 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30767 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30769 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30770 [!__GLIBC_HAVE_LONG_LONG] case.
30771 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30772 condition to just #else.
30773 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30774 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30775 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30776 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30778 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30779 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30780 #elif condition to just #else.
30781 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30782 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30783 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30784 #elif condition to just #else.
30786 2013-01-11 Steve Ellcey <sellcey@mips.com>
30788 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30789 (EF_MIPS_ARCH_64): Fix value.
30790 (EF_MIPS_ARCH_32R2): New.
30791 (EF_MIPS_ARCH_64R2): New.
30793 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30795 * Makeconfig (+link-pie-before-libc): New.
30796 (+link-pie-after-libc): Likewise.
30797 (+link-pie-tests): Likewise.
30798 (+link-pie): Rewritten.
30799 (link-before-libc): Remove $(config-LDFLAGS).
30800 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30801 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30802 (config-LDFLAGS): Renamed to ...
30803 (rtld-LDFLAGS): This.
30804 (rtld-tests-LDFLAGS): New macro.
30805 (link-libc-rpath-link): Likewise.
30806 (link-libc-tests-rpath-link): Likewise.
30807 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30808 (link-libc): Prepand $(link-libc-rpath-link).
30809 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30810 (test-program-prefix): New macro.
30811 (test-via-rtld-prefix): Likewise.
30812 (test-program-cmd): Likewise.
30813 (host-test-program-cmd): Likewise.
30814 * Makefile ($(common-objpfx)testrun.sh): Replace
30815 $(run-program-prefix) with $(test-program-prefix).
30816 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30818 ($(common-objpfx)shlib.lds): Likewise.
30819 (build-module-helper): Likewise.
30820 ($(common-objpfx)format.lds): Likewise.
30821 * Rules (binaries-pie-tests): New.
30822 (binaries-pie-notests): Likewise.
30823 (binaries-pie): Rewritten.
30824 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30825 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30826 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30827 (make-test-out): Replace $(host-built-program-cmd) with
30828 $(host-test-program-cmd).
30829 * config.make.in (build-hardcoded-path-in-tests): New variable.
30830 * configure.in (--enable-hardcoded-path-in-tests): New configure
30832 (hardcoded_path_in_tests): New AC_SUBST.
30833 * configure: Regenerated.
30834 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30835 $(built-program-cmd) with $(test-program-cmd).
30836 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30837 (test_program_cmd): This.
30838 * elf/Makefile ($(objpfx)order.out): Run test with
30839 $(test-program-prefix).
30840 ($(objpfx)order2.out): Likewise.
30841 ($(objpfx)tst-initorder.out): Likewise.
30842 ($(objpfx)tst-initorder2.out): Likewise.
30843 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30844 $(test-program-cmd).
30845 ($(objpfx)tst-array1-static.out): Likewise.
30846 ($(objpfx)tst-array2.out): Likewise.
30847 ($(objpfx)tst-array3.out): Likewise.
30848 ($(objpfx)tst-array4.out): Likewise.
30849 ($(objpfx)tst-array5.out): Likewise.
30850 ($(objpfx)tst-array5-static.out): Likewise.
30851 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30852 $(test-program-cmd).
30853 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30854 $(run-program-prefix) with $(test-program-prefix).
30855 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30856 (test_program_prefix): This.
30857 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30858 $(run-program-prefix) with $(test-program-prefix).
30859 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30860 (test_program_prefix): This.
30861 * iconvdata/tst-tables.sh: Likewise.
30862 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30863 $(run-program-prefix) with $(test-program-prefix).
30864 ($(objpfx)tst-translit.out): Likewise.
30865 ($(objpfx)tst-gettext2.out): Likewise.
30866 ($(objpfx)tst-gettext4.out): Likewise.
30867 ($(objpfx)tst-gettext6.out): Likewise.
30868 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30869 (test_program_prefix): This.
30870 * intl/tst-gettext2.sh: Likewise.
30871 * intl/tst-gettext4.sh Likewise.
30872 * intl/tst-gettext6.sh: Likewise.
30873 * intl/tst-translit.sh: Likewise.
30874 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30875 with $(test-program-cmd).
30876 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30877 $(run-program-prefix) with $(test-program-prefix).
30878 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30879 (test_program_prefix): This.
30880 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30881 $(run-program-prefix) with $(test-program-prefix).
30882 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30883 (test_program_prefix): This.
30884 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30885 * posix/Makefile ($(objpfx)globtest.out): Replace
30886 $(run-via-rtld-prefix) and $(test-wrapper) with
30887 $(test-program-prefix) and $(test-via-rtld-prefix).
30888 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30889 $(test-program-prefix).
30890 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30891 $(host-test-program-cmd).
30892 (tst-spawn-ARGS): Likewise.
30893 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30894 $(test-program-prefix).
30895 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30896 (test_via_rtld_prefix): This.
30897 (test_wrapper): Renamed to ...
30898 (test_program_prefix): This.
30899 (run_program_prefix): Replaced by test_program_prefix.
30900 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30901 (test_program_prefix): This.
30902 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30903 with $(host-test-program-cmd).
30904 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30905 $(run-program-prefix) with $(test-program-prefix).
30906 ($(objpfx)tst-printf.out): Likewise.
30907 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30908 $(test-program-cmd).
30909 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30910 (test_program_prefix): This.
30911 * stdio-common/tst-unbputc.sh: Likewise.
30912 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30913 $(run-program-prefix) with $(test-program-prefix).
30914 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30915 (test_program_prefix): This.
30916 * string/Makefile ($(objpfx)tst-svc.out): Replace
30917 $(built-program-cmd) with $(test-program-cmd).
30919 2013-01-11 Andreas Jaeger <aj@suse.de>
30922 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30923 value. Sync with Linux 3.7.
30925 2013-01-10 David S. Miller <davem@davemloft.net>
30927 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30928 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30929 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30931 2013-01-10 Roland McGrath <roland@hack.frob.com>
30933 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30935 * configure: Regenerated.
30937 2013-01-10 David S. Miller <davem@davemloft.net>
30939 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30940 sparc V9 rather than using V8 code.
30941 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30942 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30944 2013-01-10 Roland McGrath <roland@hack.frob.com>
30946 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30947 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30948 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30949 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30950 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30951 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30952 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30953 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30954 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30955 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30956 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30957 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30958 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30959 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30960 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30961 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30962 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30963 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30964 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30965 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30966 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30967 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30968 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30969 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30970 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30971 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30972 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30974 2013-01-10 David S. Miller <davem@davemloft.net>
30976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30978 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30980 * posix/Makefile (tests-static): New variable.
30981 (tests): Add $(tests-static).
30982 (tst-exec-static-ARGS): New variable.
30983 (tst-spawn-static-ARGS): Likewise.
30984 * posix/tst-exec-static.c: New file.
30985 * posix/tst-spawn-static.c: Likewise.
30986 * posix/tst-exec.c: Support run directly.
30987 * posix/tst-spawn.c: Likewise.
30989 2013-01-10 Joseph Myers <joseph@codesourcery.com>
30991 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30993 * math/bits/mathcalls.h (llrint): Likewise.
30994 (llround): Likewise.
30995 * stdlib/stdlib.h (struct drand48_data): Likewise.
30996 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30997 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30998 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31000 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31002 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31003 (elf_greg_t): Likewise.
31004 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31005 (__jmp_buf): Likewise.
31006 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31008 (llrint): Likewise, for all definitions.
31009 (llrintl): Likewise.
31011 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31012 Remove [__GNUC__] condition.
31013 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31014 condition to just [__USE_ISOC99].
31015 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31017 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31020 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31021 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31023 (_POSIX_V6_ILP32_OFF32): Likewise.
31024 (_XBS5_ILP32_OFF32): Likewise.
31025 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31026 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31028 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31030 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31033 doubles __mpexp_twomm1. Adjust usage.
31034 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31037 2013-01-10 Andreas Schwab <schwab@suse.de>
31040 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31041 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31043 2013-01-09 David S. Miller <davem@davemloft.net>
31046 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31047 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31048 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31049 (TCP_FASTOPEN): Define.
31050 (tcp_repair_opt): New structure.
31051 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31053 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31054 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31055 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31056 (tcp_cookie_transactions): New structure.
31058 2013-01-09 Anton Blanchard <anton@samba.org>
31060 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31061 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31062 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31063 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31065 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31067 * include/features.h (__USE_ANSI): Remove.
31069 2013-01-09 Roland McGrath <roland@hack.frob.com>
31071 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31073 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31075 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31077 * sysdeps/s390/fpu/libm-test-ulps: Update.
31079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31081 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31085 (denorm): Likewise.
31086 (__mp_dbl): Likewise.
31087 (__dbl_mp): Likewise.
31088 (add_magnitudes): Likewise.
31089 (sub_magnitudes): Likewise.
31095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31099 (denorm): Likewise.
31100 (__mp_dbl): Likewise.
31101 (__dbl_mp): Likewise.
31102 (add_magnitudes): Likewise.
31103 (sub_magnitudes): Likewise.
31109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31113 (denorm): Likewise.
31114 (__mp_dbl): Likewise.
31115 (__dbl_mp): Likewise.
31116 (add_magnitudes): Likewise.
31117 (sub_magnitudes): Likewise.
31124 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31126 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31127 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31128 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31129 2 && __USE_EXTERN_INLINES]: Likewise.
31131 2013-01-08 Andreas Jaeger <aj@suse.de>
31134 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31136 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31137 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31139 2013-01-07 Anton Blanchard <anton@samba.org>
31141 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31142 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31143 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31144 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31145 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31146 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31147 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31148 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31150 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31151 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31152 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31153 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31155 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31156 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31157 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31158 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31159 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31160 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31161 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31162 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31163 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31164 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31165 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31166 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31167 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31168 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31169 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31170 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31171 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31173 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31174 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31175 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31176 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31177 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31179 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31180 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31181 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31182 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31183 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31185 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31187 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31188 (__MALLOC_PMT): Likewise.
31189 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31190 [__GNUC__], only on [_LIBC].
31191 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31192 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31193 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31194 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31195 forward declaration.
31196 (realloc_hook_ini): Likewise.
31197 (memalign_hook_ini): Likewise.
31198 (__libc_memalign): Do not use __MALLOC_PMT in variable
31200 (__libc_valloc): Likewise.
31201 (__libc_pvalloc): Likewise.
31202 (__libc_calloc): Likewise.
31203 (__posix_memalign): Likewise.
31206 * math/s_casinh.c: Include <float.h>.
31207 (__casinh): Do not do computation with squaring and square root
31208 for large arguments.
31209 * math/s_casinhf.c: Include <float.h>.
31210 (__casinhf): Do not do computation with squaring and square root
31211 for large arguments.
31212 * math/s_casinhl.c: Include <float.h>.
31213 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31214 (__casinhl): Do not do computation with squaring and square root
31215 for large arguments.
31216 * math/libm-test.inc (casin_test): Add more tests.
31217 (casinh_test): Likewise.
31218 * sysdeps/i386/fpu/libm-test-ulps: Update.
31219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31221 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31223 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31224 (__x86_64_raw_data_cache_size): Likewise.
31225 (__x86_64_data_cache_size_half): Likewise.
31226 (__x86_64_raw_data_cache_size_half): Likewise.
31227 (__x86_64_shared_cache_size): Likewise.
31228 (__x86_64_raw_shared_cache_size): Likewise.
31229 (__x86_64_shared_cache_size_half): Likewise.
31230 (__x86_64_raw_shared_cache_size_half): Likewise.
31231 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31233 (__x86_data_cache_size): This.
31234 (__x86_64_raw_data_cache_size): Renamed to ...
31235 (__x86_raw_data_cache_size): This.
31236 (__x86_64_data_cache_size_half): Renamed to ...
31237 (__x86_data_cache_size_half): This.
31238 (__x86_64_raw_data_cache_size_half): Renamed to ...
31239 (__x86_raw_data_cache_size_half): This.
31240 (__x86_64_shared_cache_size): Renamed to ...
31241 (__x86_shared_cache_size): This.
31242 (__x86_64_raw_shared_cache_size): Renamed to ...
31243 (__x86_raw_shared_cache_size): This.
31244 (__x86_64_shared_cache_size_half): Renamed to ...
31245 (__x86_shared_cache_size_half): This.
31246 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31247 (__x86_raw_shared_cache_size_half): This.
31248 * sysdeps/x86_64/memcpy.S: Updated.
31249 * sysdeps/x86_64/memset.S: Likewise.
31250 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31251 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31254 2013-01-04 David S. Miller <davem@davemloft.net>
31256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31258 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31260 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31261 1 to avoid redefinition warning.
31262 (__USE_GNU): Don't define.
31263 (init_signaling_nan): Protoize.
31265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31267 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31269 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31271 (__cpymn): Likewise.
31272 (norm): Remove commented code.
31273 (denorm): Likewise.
31274 (__mp_dbl): Likewise.
31276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31277 (__cpymn): Likewise.
31278 (norm): Remove commented code.
31279 (denorm): Likewise.
31280 (__mp_dbl): Likewise.
31283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31284 mp_no value for 1.0 and 2.0.
31285 (norm): Use RADIXI instead of radixi.d.
31286 (denorm): Likewise.
31287 (__mul): Use 0.0 instead of zero.d.
31288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31289 mp_no value for 1.0 and 2.0.
31290 (norm): Use RADIXI instead of radixi.d.
31291 (denorm): Likewise.
31292 (__mul): Use 0.0 instead of zero.d.
31294 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31297 * math/s_casinh.c (__casinh): Reduce finite argument to first
31298 quadrant then set signs of results at the end.
31299 * math/s_casinhf.c (__casinhf): Likewise.
31300 * math/s_casinhl.c (__casinhl): Likewise.
31301 * math/libm-test.inc (casin_test): Add more tests.
31302 (casinh_test): Likewise.
31303 * sysdeps/i386/fpu/libm-test-ulps: Update.
31304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31306 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31308 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31310 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31312 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31314 (denorm): Likewise.
31315 (__mp_dbl): Likewise.
31318 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31319 and adjust the header comment.
31321 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31322 variable name from declaration.
31324 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31327 Initialize COMMON_CPUID_INDEX_7 element.
31328 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31329 (CPUID_RTM): Likewise.
31330 (HAS_RTM): Likewise.
31331 (COMMON_CPUID_INDEX_7): New enum.
31333 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31336 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31337 size is zero, record memory as freed.
31339 2013-01-03 Andreas Jaeger <aj@suse.de>
31341 * po/ia.po: Add new Interlingua translation.
31343 2012-01-03 Allan McRae <allan@archlinux.org>
31345 * locale/programs/localedef.c: Fix description of '--posix' flag.
31347 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31349 * NEWS: Update dates in second copyright notice.
31350 * README: Update copyright dates in example.
31351 * manual/libc.texinfo: Update copyright dates.
31352 * scripts/test-installation.pl: Update copyright date in --version
31355 * hurd/ctty-input.c: Fix copyright notice formatting.
31356 * hurd/ctty-output.c: Likewise.
31357 * hurd/dtable.c: Likewise.
31358 * hurd/hurd-raise.c: Likewise.
31359 * hurd/hurdprio.c: Likewise.
31360 * hurd/msgportdemux.c: Likewise.
31361 * misc/sys/file.h: Likewise.
31362 * misc/sys/ioctl.h: Likewise.
31363 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31364 * sysdeps/mach/hurd/chdir.c: Likewise.
31365 * sysdeps/mach/hurd/fchdir.c: Likewise.
31366 * sysdeps/mach/hurd/rename.c: Likewise.
31367 * sysdeps/mach/hurd/rmdir.c: Likewise.
31368 * sysdeps/mach/hurd/seekdir.c: Likewise.
31369 * sysdeps/mach/hurd/setsid.c: Likewise.
31370 * sysdeps/posix/wait3.c: Likewise.
31372 * All files with FSF copyright notices: Update copyright dates
31373 using scripts/update-copyrights.
31374 * intl/plural.c: Regenerated.
31375 * locale/programs/charmap-kw.h: Likewise.
31376 * locale/programs/locfile-kw.h: Likewise.
31378 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31380 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31383 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31384 calculation loop and add branch prediction.
31386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31387 check access beyond bounds of m1np.
31389 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31391 (__inv): Remove local variable MPTWO to use the global
31393 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31394 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31396 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31397 MP3HALFS static const.
31399 2013-01-01 David S. Miller <davem@davemloft.net>
31401 * po/ca.po: Update from translation team.
31403 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31405 * scripts/update-copyrights: New file.
31406 * Makeconfig: Reformat copyright notice.
31407 * ctype/ctype.h: Likewise.
31408 * debug/swprintf_chk.c: Likewise.
31409 * elf/dl-cache.c: Likewise.
31410 * elf/dl-debug.c: Likewise.
31411 * elf/dl-object.c: Likewise.
31412 * grp/initgroups.c: Likewise.
31413 * hurd/Makefile: Likewise.
31414 * hurd/hurd/signal.h: Likewise.
31415 * hurd/hurdfault.c: Likewise.
31416 * hurd/hurdioctl.c: Likewise.
31417 * hurd/hurdlookup.c: Likewise.
31418 * hurd/intr-msg.c: Likewise.
31419 * iconv/gconv_open.c: Likewise.
31420 * libio/swprintf.c: Likewise.
31421 * locale/lc-ctype.c: Likewise.
31422 * locale/nl_langinfo.c: Likewise.
31423 * mach/Machrules: Likewise.
31424 * mach/Makefile: Likewise.
31425 * malloc/obstack.h: Likewise.
31426 * manual/Makefile: Likewise.
31427 * manual/tsort.awk: Likewise.
31428 * misc/bits/stab.def: Likewise.
31429 * nis/nis_print_group_entry.c: Likewise.
31430 * nis/nis_table.c: Likewise.
31431 * nis/nss_compat/compat-pwd.c: Likewise.
31432 * nis/nss_compat/compat-spwd.c: Likewise.
31433 * po/Makefile: Likewise.
31434 * posix/fnmatch.c: Likewise.
31435 * posix/regex.h: Likewise.
31436 * resolv/Makefile: Likewise.
31437 * resolv/nss_dns/dns-network.c: Likewise.
31438 * resolv/res_hconf.c: Likewise.
31439 * scripts/gen-sorted.awk: Likewise.
31440 * soft-fp/soft-fp.h: Likewise.
31441 * stdio-common/printf.h: Likewise.
31442 * stdlib/monetary.h: Likewise.
31443 * stdlib/random.c: Likewise.
31444 * stdlib/random_r.c: Likewise.
31445 * sysdeps/generic/Makefile: Likewise.
31446 * sysdeps/gnu/Makefile: Likewise.
31447 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31454 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31455 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31457 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31458 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31459 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31460 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31461 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31462 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31463 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31465 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31467 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31468 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31469 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31470 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31471 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31472 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31473 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31474 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31475 * sysdeps/mach/hurd/errnos.awk: Likewise.
31476 * sysdeps/mach/hurd/fork.c: Likewise.
31477 * sysdeps/mach/hurd/getcwd.c: Likewise.
31478 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31479 * sysdeps/mach/hurd/mmap.c: Likewise.
31480 * sysdeps/mach/hurd/utimes.c: Likewise.
31481 * sysdeps/mach/hurd/xmknod.c: Likewise.
31482 * sysdeps/posix/profil.c: Likewise.
31483 * sysdeps/posix/readdir_r.c: Likewise.
31484 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31485 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31486 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31487 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31489 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31490 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31491 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31493 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31494 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31495 * sysdeps/pthread/lio_listio.c: Likewise.
31496 * sysdeps/sparc/dl-procinfo.h: Likewise.
31497 * sysdeps/unix/i386/sysdep.S: Likewise.
31498 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31499 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31500 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31501 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31503 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31504 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31505 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31506 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31507 * sysdeps/wordsize-32/divdi3.c: Likewise.
31508 * time/sys/time.h: Likewise.
31509 * wcsmbs/Makefile: Likewise.
31511 2013-01-01 David S. Miller <davem@davemloft.net>
31513 * po/fr.po: Update from translation team.
31515 * catgets/gencat.c: Update copyright year.
31516 * csu/version.c: Likewise.
31517 * debug/catchsegv.sh: Likewise.
31518 * debug/pcprofiledump.c: Likewise.
31519 * debug/xtrace.sh: Likewise.
31520 * elf/ldconfig.c: Likewise.
31521 * elf/ldd.bash.in: Likewise.
31522 * elf/pldd.c: Likewise.
31523 * elf/sotruss.ksh: Likewise.
31524 * elf/sprof.c: Likewise.
31525 * iconv/iconv_prog.c: Likewise.
31526 * iconv/iconvconfig.c: Likewise.
31527 * locale/programs/locale.c: Likewise.
31528 * locale/programs/localedef.c: Likewise.
31529 * login/programs/pt_chown.c: Likewise.
31530 * malloc/memusage.sh: Likewise.
31531 * malloc/memusagestat.c: Likewise.
31532 * malloc/mtrace.pl: Likewise.
31533 * nscd/nscd.c: Likewise.
31534 * nss/getent.c: Likewise.
31535 * nss/makedb.c: Likewise.
31536 * posix/getconf.c: Likewise.
31538 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31540 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31543 2012-12-30 Mike Frysinger <vapier@gentoo.org>
31545 * math/bits/mathcalls.h (modf): Use __nonnull.
31547 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31549 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31550 (split): Use macro CN instead of the bare value.
31551 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31553 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31554 instead of the bare value.
31555 (power1): Likewise.
31557 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31559 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31561 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31563 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31565 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31566 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31567 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31568 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31570 2012-12-28 Andreas Jaeger <aj@suse.de>
31572 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
31573 values are from Linux 3.7.
31575 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31576 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31578 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31580 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31583 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31585 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31586 variables with preprocessor constants.
31587 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31588 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31589 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31591 2012-12-27 Bruno Haible <bruno@clisp.org>
31594 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31597 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31600 and use variable directly.
31601 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31603 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31605 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31606 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31608 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31610 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31611 include directive. Remove local variable MPONE.
31612 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31613 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31614 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31616 2012-12-25 David S. Miller <davem@davemloft.net>
31618 * version.h (RELEASE): Set to "development".
31619 (VERSION): Set to "2.17.90".
31620 * NEWS: Add 2.18 section.
31622 2012-12-21 David S. Miller <davem@davemloft.net>
31624 * po/hr.po: Update from translation team.
31626 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31628 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31630 2012-12-19 Steve Ellcey <sellcey@mips.com>
31632 * NEWS: Mention new memcpy for MIPS.
31634 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31636 * manual/contrib.texi (Contributors): Spelling correction.
31638 2012-12-15 David S. Miller <davem@davemloft.net>
31640 * po/ru.po: Update from translation team.
31642 2012-12-13 David S. Miller <davem@davemloft.net>
31644 * NEWS: Mention IFUNC testsuite enhancements.
31646 * po/pl.po: Update from translation team.
31647 * po/bg.po: Likewise.
31649 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31650 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31652 2012-12-11 David S. Miller <davem@davemloft.net>
31654 * po/sv.po: Update from translation team.
31656 * po/vi.po: Update from translation team.
31658 * po/cs.po: Update from translation team.
31660 * po/de.po: Update from translation team.
31661 * po/eo.po: Likewise.
31662 * po/nl.po: Likewise.
31664 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31667 * manual/argp.texi (Argp Helper Functions): Move node to follow
31668 Argp Parsing State.
31671 * manual/conf.texi (Limits on File System Capacity): Mention if
31672 terminating null is included in the max size.
31674 2012-12-10 Andreas Jaeger <aj@suse.de>
31676 * po/cs.po: Update from translation team.
31678 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31680 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31681 void pointer and cast to uintptr_t.
31682 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31684 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31685 * sysdeps/s390/s390-64/memset.S: Likewise.
31687 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
31690 * menual/message.texi (Message Translation): Fix typos.
31691 (Helper programs for gettext): Likewise.
31693 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31696 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31699 2012-12-07 David S. Miller <davem@davemloft.net>
31701 * po/libc.pot: Update.
31703 2012-12-07 Richard Henderson <rth@redhat.com>
31706 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31707 normal/normal case to before the switch.
31708 (_FP_DIV): Likewise.
31710 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31711 Mike Frysinger <vapier@gentoo.org>
31713 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31714 check for __NR_fadvise64_64.
31716 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31718 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31719 0, not just to plain "0" as a statement.
31720 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31723 2012-12-06 Joseph Myers <joseph@codesourcery.com>
31725 * NEWS: Use sourceware.org in Bugzilla URL.
31727 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31730 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31732 * stdio-common/tst-put-error.c (do_test): Add newline to the
31733 padded test to ensure flush.
31735 2012-12-05 Jeff Law <law@redhat.com>
31737 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31739 2012-12-05 Joseph Myers <joseph@codesourcery.com>
31741 * README: Don't refer to ports add-on as distributed separately.
31742 Mention AArch64 in list of systems supported in the ports add-on.
31744 * LICENSES: Add more non-FSF copyright and license notices.
31746 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31749 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31751 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31752 10000 as width of padded output.
31754 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31756 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31759 variable LX with __attribute__ ((unused)).
31760 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31762 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31763 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31764 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31765 with __attribute__ ((unused)).
31767 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
31769 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31771 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31773 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31774 (CFLAGS-nldbl-acos.c): New variable.
31775 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31776 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31777 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31778 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31779 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31780 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31781 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31782 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31783 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31784 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31785 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31786 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31787 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31788 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31789 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31790 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31791 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31792 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31793 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31794 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31795 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31796 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31797 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31798 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31799 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31800 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31801 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31802 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31803 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31804 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31805 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31806 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31807 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31808 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31809 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31810 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31811 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31812 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31813 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31814 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31815 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31816 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31817 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31818 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31819 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31820 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31821 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31822 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31823 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31824 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31825 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31826 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31827 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31828 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31829 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31830 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31831 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31832 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31833 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31834 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31835 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31836 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31837 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31838 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31839 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31840 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31841 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31842 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31843 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31844 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31845 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31846 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31847 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31848 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31849 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31850 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31851 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31852 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31853 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31854 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31855 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31856 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31857 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31858 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31859 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31860 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31861 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31862 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31863 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31864 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31865 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31866 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31867 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31868 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31869 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31870 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31871 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31874 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31878 whole low double instead of just low 47 bits when splitting values
31881 2012-12-03 Allan McRae <allan@archlinux.org>
31883 * manual/stdio.texi (Predefined Printf Handlers): Remove
31884 @hsep and @vsep usage.
31886 2012-12-03 Mike Frysinger <vapier@gentoo.org>
31888 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31889 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31891 2012-12-03 Jeff Law <law@redhat.com>
31893 * time/sys/time.h (settimeofday): Do not mark TV argument
31896 2012-12-01 Mike Frysinger <vapier@gentoo.org>
31898 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31899 when currently writing and seek to current position when not.
31900 * libio/Makefile (tests): Remove bug-fclose1.
31901 * libio/bug-fclose1.c: Delete.
31903 2012-12-01 Joseph Myers <joseph@codesourcery.com>
31905 * manual/arith.texi (feenableexcept): Fix typo.
31906 (fedisableexcept): Likewise.
31908 2012-11-30 Roland McGrath <roland@hack.frob.com>
31910 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31911 second, differently-typed declaration, rather than a cast.
31913 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31915 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31916 * include/rpc/svc.h: ... here.
31918 2012-11-30 Aurelien Jarno <aurel32@debian.org>
31921 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31922 depending n and resplen2 to catch cases where answer
31925 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31927 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31928 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31930 2012-11-29 Mike Frysinger <vapier@gentoo.org>
31932 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31934 2012-11-29 Roland McGrath <roland@hack.frob.com>
31936 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31938 2012-11-28 Jeff Law <law@redhat.com>
31941 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31942 dataset_temporary. Track alloca usage into alloca_used.
31943 If dataset is large allocate and release it via malloc/free.
31945 2012-06-04 Florian Weimer <fweimer@redhat.com>
31948 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31950 2012-11-28 David S. Miller <davem@davemloft.net>
31952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31954 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31957 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31958 of pi/2 rounded to nearest to 64 bits.
31959 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31960 nearest to 64 bits.
31961 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31964 2012-11-28 Jeff Law <law@redhat.com>
31965 Martin Osvald <mosvald@redhat.com>
31968 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31969 * sunrpc/svc.c: Include time.h.
31970 (__svc_accept_failed): New function.
31971 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31972 any reason other than EINTR, call __svc_accept_failed.
31973 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31974 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31976 2012-11-28 Andreas Schwab <schwab@suse.de>
31978 * scripts/abilist.awk: Also handle indirect functions in .opd
31981 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31984 * sysdeps/x86/fpu/powl_helper.c: New file.
31985 * sysdeps/x86/fpu/Makefile: Likewise.
31986 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31988 (__ieee754_powl): Use __powl_helper for finite arguments except
31989 integer exponents below 8.
31990 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31992 (__ieee754_powl): Use __powl_helper for finite arguments except
31993 integer exponents below 8.
31994 * math/libm-test.inc (pow_test): Add more tests and enable some
31995 previously disabled tests.
31996 * sysdeps/i386/fpu/libm-test-ulps: Update.
31997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31999 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32000 Carlos O'Donell <carlos_odonell@mentor.com>
32002 * nss/makedb.c (is_prime): Assert that input is odd and greater
32003 than 4. Note that fact in a comment too.
32004 (next_prime): Add 4 to input.
32006 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32009 * libio/Makefile (tests): Add test case tst-fwrite-error.
32010 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32011 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32012 * libio/tst-fwrite-error.c: New test case.
32014 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32016 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32017 before casting to void *.
32018 * include/libc-internal.h (__pointer_type): New macro.
32019 (__integer_if_pointer_type_sub): Likewise.
32020 (__integer_if_pointer_type): Likewise.
32021 (cast_to_integer): Likewise.
32022 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32023 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32024 before casting to atomic64_t.
32025 (atomic_exchange_acq): Likewise.
32026 (__arch_exchange_and_add_body): Likewise.
32027 (__arch_add_body): Likewise.
32028 (atomic_add_negative): Likewise.
32029 (atomic_add_zero): Likewise.
32031 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32033 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32034 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32035 (add_fdes): Likewise.
32036 (linear_search_fdes): Likewise.
32037 (binary_search_unencoded_fdes): Likewise.
32039 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32041 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32043 2012-11-24 Adam Conrad <adconrad@0c3.net>
32045 * configure.in: Autodetect C++ header directories.
32046 * configure: Regenerated.
32048 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32050 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32052 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32056 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32058 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32059 LDBL_MANT_DIG == 106]: Disable some tests.
32060 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32062 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32066 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32067 input for small inputs. Return +/- pi/2 for large inputs.
32068 * math/libm-test.inc (atan_test): Add more tests.
32070 * sysdeps/generic/unwind-dw2-fde-glibc.c
32071 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32072 __attribute__ ((unused)).
32075 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32076 x * y if x and y are nonzero and z is zero.
32079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32080 nonzero exponents with absolute value below 0x1p-117 to +/-
32084 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32085 up arguments below 2**-450, not just those below 2**-500.
32086 * math/libm-test.inc (hypot_test): Add another test.
32089 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32090 Return a+b for ratio over 2**120, not 2**60.
32091 * math/libm-test.inc (hypot_test): Add another test.
32093 * math/libm-test.inc (clog_test): Use
32094 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32095 (clog10_test): Likewise.
32098 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32100 2012-11-22 Andreas Schwab <schwab@suse.de>
32102 * sysdeps/i386/fpu/libm-test-ulps: Update.
32104 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32106 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32107 printf output with newline.
32109 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32112 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32113 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32114 -z nodlopen, -z initfirst and -z execstack support.
32115 * configure: Regenerated.
32117 * elf/elf.h (DF_1_NODIRECT): New macro.
32118 (DF_1_IGNMULDEF): Likewise.
32119 (DF_1_NOKSYMS): Likewise.
32120 (DF_1_NOHDR): Likewise.
32121 (DF_1_EDITED): Likewise.
32122 (DF_1_NORELOC): Likewise.
32123 (DF_1_SYMINTPOSE): Likewise.
32124 (DF_1_GLOBAUDIT): Likewise.
32125 (DF_1_SINGLETON): Likewise.
32126 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32127 DT_1_SUPPORTED_MASK bits.
32128 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32130 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32132 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32134 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32136 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32139 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32140 (sendmmsg): Move declarations...
32141 * socket/sys/socket.h: ... here.
32142 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32143 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32145 * socket/recvmmsg.c: ... this new file.
32146 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32147 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32148 definition of __sendmmsg hidden.
32149 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32150 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32151 Move ENOSYS stub into and include it from...
32152 * socket/sendmmsg.c: ... this new file.
32153 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32154 (sysdep_routines): Move recvmmsg and sendmmsg...
32155 * socket/Makefile (routines): ... here.
32156 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32157 (GLIBC_PRIVATE): Add __sendmmsg.
32158 * include/sys/socket.h (__sendmmsg): Add declarations.
32159 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32162 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32165 variable I1 with __attribute__ ((unused)).
32166 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32168 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32170 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32171 DUMMY variables with __attribute__ ((unused)).
32173 * bits/byteswap.h: Include <bits/types.h>.
32174 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32176 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32178 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32179 string_t. Do not manually set errno.
32180 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32181 length with __strnlen. Make sure to both set errno and return it on
32184 2012-11-19 David S. Miller <davem@davemloft.net>
32186 With help from Joseph Myers.
32187 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32188 very large arguments properly.
32189 * math/libm-test.inc (atan_test): New tests.
32190 (atan2_test): New tests.
32191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32194 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32197 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32200 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32201 [POSIX] (EADDRNOTAVAIL): Likewise.
32202 [POSIX] (EAFNOSUPPORT): Likewise.
32203 [POSIX] (EALREADY): Likewise.
32204 [POSIX] (ECONNABORTED): Likewise.
32205 [POSIX] (ECONNREFUSED): Likewise.
32206 [POSIX] (ECONNRESET): Likewise.
32207 [POSIX] (EDESTADDRREQ): Likewise.
32208 [POSIX] (EDQUOT): Likewise.
32209 [POSIX] (EHOSTUNREACH): Likewise.
32210 [POSIX] (EIDRM): Likewise.
32211 [POSIX] (EISCONN): Likewise.
32212 [POSIX] (ELOOP): Likewise.
32213 [POSIX] (EMULTIHOP): Likewise.
32214 [POSIX] (ENETDOWN): Likewise.
32215 [POSIX] (ENETUNREACH): Likewise.
32216 [POSIX] (ENOBUFS): Likewise.
32217 [POSIX] (ENODATA): Likewise.
32218 [POSIX] (ENOLINK): Likewise.
32219 [POSIX] (ENOMSG): Likewise.
32220 [POSIX] (ENOPROTOOPT): Likewise.
32221 [POSIX] (ENOSR): Likewise.
32222 [POSIX] (ENOSTR): Likewise.
32223 [POSIX] (ENOTCONN): Likewise.
32224 [POSIX] (ENOTSOCK): Likewise.
32225 [POSIX] (EOPNOTSUPP): Likewise.
32226 [POSIX] (EOVERFLOW): Likewise.
32227 [POSIX] (EPROTO): Likewise.
32228 [POSIX] (EPROTONOSUPPORT): Likewise.
32229 [POSIX] (EPROTOTYPE): Likewise.
32230 [POSIX] (ESTALE): Likewise.
32231 [POSIX] (ETIME): Likewise.
32232 [POSIX] (ETXTBSY): Likewise.
32233 [POSIX] (EWOULDBLOCK): Likewise.
32234 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32235 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32236 [POSIX] (SEEK_CUR): Likewise.
32237 [POSIX] (SEEK_END): Likewise.
32238 [POSIX || UNIX98] (mode_t): Do not require.
32239 [POSIX] (off_t): Likewise.
32240 [POSIX] (pid_t): Likewise.
32241 [POSIX] (sys/stat.h): Do not allow header.
32242 [POSIX] (unistd.h): Likewise.
32243 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32244 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32245 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32246 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32248 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32249 sigevent): Specify elements.
32250 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32252 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32253 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32255 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32256 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32257 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32258 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32259 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32260 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32261 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32262 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32263 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32264 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32265 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32266 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32267 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32268 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32270 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32272 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32274 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32276 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32277 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32278 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32279 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32280 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32281 Specify lower bound on value.
32282 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32283 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32284 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32285 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32286 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32287 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32288 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32289 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32291 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32293 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32294 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32295 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32296 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32297 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32298 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32299 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32300 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32301 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32302 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32303 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32304 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32305 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32306 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32307 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32308 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32310 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32312 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32313 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32314 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32315 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32316 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32317 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32319 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32320 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32321 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32322 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32323 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32324 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32325 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32327 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32328 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32329 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32330 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32331 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32332 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32333 specify as optional.
32334 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32335 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32336 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32337 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32338 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32339 [XPG3] (NL_LANGMAX): Likewise.
32340 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32341 [POSIX || XPG3] (NL_NMAX): Likewise.
32342 [POSIX || XPG3] (NL_SETMAX): Likewise.
32343 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32344 [XPG3] (NZERO): Likewise.
32345 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32346 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32347 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32348 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32349 (REG_ERANGE): Expect.
32350 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32352 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32353 Use (void) in prototype.
32354 [POSIX] (*_t): Allow.
32355 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32356 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32357 (WRDE_BADVAL): Expect.
32359 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32361 [XPG3 || XPG4] (O_RSYNC): Likewise.
32362 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32364 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32365 [XPG3 || XPG4] (sigqueue): Likewise.
32366 [XPG3 || XPG4] (sigtimedwait): Likewise.
32367 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32368 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32369 [XPG3 || XPG4] (vsnprintf): Likewise.
32370 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32372 [XPG3 || XPG4] (blksize_t): Likewise.
32373 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32375 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32376 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32377 [XPG3 || XPG4] (struct itimerspec): Likewise.
32378 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32379 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32380 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32381 [XPG3 || XPG4] (clockid_t): Likewise.
32382 [XPG3 || XPG4] (timer_t): Likewise.
32383 [XPG3 || XPG4] (clock_getres): Likewise.
32384 [XPG3 || XPG4] (clock_gettime): Likewise.
32385 [XPG3 || XPG4] (clock_settime): Likewise.
32386 [XPG3 || XPG4] (nanosleep): Likewise.
32387 [XPG3 || XPG4] (timer_create): Likewise.
32388 [XPG3 || XPG4] (timer_delete): Likewise.
32389 [XPG3 || XPG4] (timer_gettime): Likewise.
32390 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32391 [XPG3 || XPG4] (timer_settime): Likewise.
32392 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32393 [XPG3 || XPG4] (getlogin_r): Likewise.
32394 [XPG3 || XPG4] (pread): Likewise.
32395 [XPG3 || XPG4] (pthread_atfork): Likewise.
32396 [XPG3 || XPG4] (pwrite): Likewise.
32399 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32402 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32404 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32405 finalizing MALLSTREAM.
32407 * sysdeps/mach/hurd/syncfs.c: New file.
32409 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32412 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32413 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32414 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32415 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32416 (_nss_dns_gethostbyname4_r): Likewise.
32417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32418 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32420 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32423 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32425 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32427 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32428 * elf/cache.c (print_entry): Print ",AArch64" for
32431 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32432 * elf/cache.c (print_entry): Print ",hard-float" for
32435 2012-11-18 David S. Miller <davem@davemloft.net>
32437 With help from Joseph Myers.
32438 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32440 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32442 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32443 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32445 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32446 * math/libm-test.inc (y0_test): New tests.
32447 (y1_test): New tests.
32448 * sysdeps/i386/fpu/libm-test-ulps: Update.
32449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32452 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32454 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32456 * configure: Regenerated.
32458 2012-11-17 David S. Miller <davem@davemloft.net>
32461 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32462 nonzero exponents with absolute value below 0x1p-128 to +/-
32465 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32467 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32469 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32471 * posix/getconf-speclist.c: New file.
32472 * posix/posix-envs.def: Likewise.
32473 * posix/confstr.c (START_ENV_GROUP): New macro.
32474 (END_ENV_GROUP): Likewise.
32475 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32476 (KNOWN_PRESENT_ENV_STRING): Likewise.
32477 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32478 (UNKNOWN_ENVIRONMENT): Likewise.
32479 (confstr): Include posix-envs.def instead of handling
32480 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32481 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32482 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32483 (END_ENV_GROUP): Likewise.
32484 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32485 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32486 (UNKNOWN_ENVIRONMENT): Likewise.
32487 (__sysconf): Include posix-envs.def instead of handling associated
32488 cases directly here.
32489 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32490 preprocessing getconf-speclist.c rather than running getconf or
32491 generating empty file.
32493 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32495 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32497 2012-11-16 Andrej Lajovic <natrij@gmail.com>
32500 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32502 2012-11-16 David S. Miller <davem@davemloft.net>
32504 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32505 smaller than LDBL_EPSILON/2.0L, just return xm1.
32507 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32509 * elf/tst-array1.c (init): Set constructor priority to 1000.
32510 (fini): Set destructor priority to 1000.
32511 * elf/tst-array2dep.c: Likewise.
32513 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32516 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32517 (_IO_new_file_xsputn): Also return EOF if none of the input
32518 data was written when overflow failed.
32519 * libio/iopadn.c (_IO_padn): Likewise.
32520 * libio/iowpadn.c (_IO_wpadn): Likewise.
32521 * stdio-common/tst-put-error.c: Add copyright notice.
32522 (do_test): Add case for printing padded string.
32523 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32524 _IO_padn returned error.
32525 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32526 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32529 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32531 * libio/libioP.h: Add comment note that the references to C++
32532 bits are now obsolete.
32534 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32536 * math/libm-test.inc (check_complex): Use asprintf.
32538 2012-11-14 Joseph Myers <joseph@codesourcery.com>
32540 * debug/pcprofiledump.c (print_version): Update copyright year.
32541 * malloc/memusagestat.c (print_version): Likewise.
32543 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32546 * elf/Makefile (tests): Add tst-audit8.
32547 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32548 ($(objpfx)tst-audit8.out): New target.
32549 (tst-audit8-ENV): New variable.
32550 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32551 audit if l_reloc_result is NULL.
32552 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32553 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32554 * elf/tst-audit8.c: New file.
32556 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32558 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32559 * misc/Makefile (CFLAGS-select.c): Define.
32560 * posix/Makefile (CFLAGS-pause.c): Define.
32562 2012-11-13 David S. Miller <davem@davemloft.net>
32564 * crypt/Makefile: Move test targets after toplevel Rules
32565 inclusion. Grab any necessary sysdep routines when linking.
32566 * crypt/md5.c (md5_process_block): Remove define, we will always
32567 name it __md5_process_block.
32568 (md5_finish_ctx): Update md5_process_block call.
32569 (md5_stream): Likewise.
32570 (md5_process_bytes): Likewise.
32571 (md5_process_block): Rename to __md5_process_block and move to ...
32572 * crypt/md5-block.c: ... here.
32573 * crypt/sha256.c (sha256_process_block): Move to ...
32574 * crypt/sha256-block.c: ... here.
32575 * crypt/sha512.c (sha512_process_block): Move to ...
32576 * crypt/sha512-block.c: ... here.
32577 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32579 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32580 * sysdeps/sparc/sparc64/multiarch/Makefile
32581 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32583 (localedef-aux): Add md5 crypto assembler when in locale subdir.
32584 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32586 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32587 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32588 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32589 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32590 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32591 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32592 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32593 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32594 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32596 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32597 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32599 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32601 2012-11-13 Joseph Myers <joseph@codesourcery.com>
32603 * timezone/tzselect.ksh: Update from tzcode git revision
32604 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32605 * timezone/zdump.c: Likewise.
32606 * timezone/zic.c: Likewise.
32607 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32608 in TZVERSION setting, not $(PKGVERSION).
32609 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32610 REPORT_BUGS_TO settings.
32613 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32616 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32618 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32619 detection to immediately after _FP_ROUND().
32620 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32623 2012-11-11 David S. Miller <davem@davemloft.net>
32625 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32627 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32628 __close rather than their public counterparts.
32630 2012-11-10 Joseph Myers <joseph@codesourcery.com>
32632 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32634 [UNIX98] (sem_timedwait): Do not expect.
32635 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32636 [XPG4 || UNIX98] (sockatmark): Do not expect.
32637 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32638 (clock_getcpuclockid): Do not expect.
32639 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32640 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32642 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32643 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32644 [UNIX98] (vwscanf): Likewise.
32645 [UNIX98] (vswscanf): Likewise.
32647 2012-11-09 Joseph Myers <joseph@codesourcery.com>
32649 * timezone/version.h: Remove file.
32650 * timezone/README: Do not refer to version.h.
32651 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32652 $(objpfx)version.h.
32653 ($(objpfx)zdump.o): Likewise.
32654 ($(objpfx)version.h): New target.
32656 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32658 * timezone/README: Don't mention modification to tzselect.ksh.
32659 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32660 work on unmodified tzselect.ksh. Substitute version numbers in
32663 * Makefile (format-me): Remove.
32664 (INSTALL): Adjust indentation. Use commands directly instead of
32665 using $(format-me).
32667 * aclocal.m4 (ACX_PKGVERSION): New macro.
32668 (ACX_BUGURL): Likewise.
32669 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32670 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32671 (REPORT_BUGS_TO): Likewise.
32672 * configure: Regenerated.
32673 * config.h.in (PKGVERSION): New macro.
32674 (REPORT_BUGS_TO): Likewise.
32675 * config.make.in (PKGVERSION): New variable.
32676 (PKGVERSION_TEXI): Likewise.
32677 (REPORT_BUGS_TO): Likewise.
32678 (REPORT_BUGS_TEXI): Likewise.
32679 * Makefile (format-me): Use -I$(common-objpfx)manual.
32680 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32681 ($(common-objpfx)manual/%): New target.
32682 (manual/%): Remove target.
32683 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32684 (print_version): Use PKGVERSION.
32685 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32686 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32687 and REPORT_BUGS_TO.
32688 ($(objpfx)xtrace): Likewise.
32689 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32690 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32691 (print_version): Use PKGVERSION.
32692 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32693 (do_version): Use PKGVERSION.
32694 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32696 (common-ldd-rewrite): Likewise.
32697 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32698 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32699 (print_version): Use PKGVERSION.
32700 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32701 * elf/pldd.c (argp_program_bug_address): Remove variable.
32702 (more_help): New function.
32703 (argp): Use more_help.
32704 (print_version): Use PKGVERSION.
32705 * elf/sln.c (main): Use PKGVERSION.
32706 (usage): Use REPORT_BUGS_TO.
32707 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32708 (top level): Use PKGVERSION.
32709 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32710 (print_version): Use PKGVERSION.
32711 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32712 (print_version): Use PKGVERSION.
32713 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32714 (print_version): Use PKGVERSION.
32715 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32716 (print_version): Use PKGVERSION.
32717 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32718 (print_version): Use PKGVERSION.
32719 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32720 (print_version): Use PKGVERSION.
32721 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32723 ($(objpfx)memusage): Likewise.
32724 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32725 (do_version): Use PKGVERSION.
32726 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32727 (print_version): Use PKGVERSION.
32728 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32729 ($PKGVERSION): New variable.
32730 ($REPORT_BUGS_TO): Likewise.
32731 (usage): Use $REPORT_BUGS_TO.
32732 (top level): Use $PKGVERSION.
32733 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32734 ($(objpfx)pkgvers.texi): New rule.
32735 ($(objpfx)stamp-pkgvers): Likewise.
32736 * manual/install.texi: Include pkgvers.texi.
32737 (--with-pkgversion): Document new configure option.
32738 (--with-bugurl): Likewise.
32739 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32740 than necessarily for this particular distribution. Use
32741 REPORT_BUGS_TO for where to report bugs.
32742 * INSTALL: Regenerated.
32743 * manual/libc.texinfo: Include pkgvers.texi.
32744 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32745 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32746 (print_version): Use PKGVERSION.
32747 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32748 (print_version): Use PKGVERSION.
32749 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32750 (print_version): Use PKGVERSION.
32751 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32752 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32754 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32755 (print_version): Use PKGVERSION.
32756 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32757 (print_version): Use PKGVERSION.
32758 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32761 * timezone/checktab.awk: Update from tzcode 2012i.
32762 * timezone/ialloc.c: Likewise.
32763 * timezone/private.h: Likewise.
32764 * timezone/scheck.c: Likewise.
32765 * timezone/tzfile.h: Likewise.
32766 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32767 (TZVERSION): Hardcode tzcode version number.
32768 * timezone/zdump.c: Update from tzcode 2012i.
32769 * timezone/zic.c: Likewise.
32770 * timezone/version.h: New file.
32771 * timezone/README: Describe version.h. Update upstream location.
32774 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32775 (mktemp): Enable declaration.
32776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32777 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32779 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32781 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32783 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32785 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32787 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32789 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32793 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32794 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32795 for copies of such integer values.
32796 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32797 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32799 2012-11-09 Andreas Jaeger <aj@suse.de>
32801 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32802 definitions and declarations that are provided by
32803 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32805 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32807 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32808 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32809 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32812 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32814 * elf/elf.h: Update comment before AArch64 relocations.
32816 2012-11-07 David S. Miller <davem@davemloft.net>
32818 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32819 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32820 (__start_context): Declare.
32821 (__makecontext_ret): Delete.
32822 (__makecontext): Hook up __start_context instead of
32824 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32825 (sysdep_routines): Add __start_context when in stdlib.
32827 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32829 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32830 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32831 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32833 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32834 (READELF): New variable. Use it instead of hardcoded "readelf".
32836 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32838 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32839 * sysdeps/x86/Makefile: Here.
32840 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32841 * sysdeps/x86/tst-xmmymm.sh: This.
32843 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32845 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32847 [UNIX98] (pthread_barrier_t): Do not expect.
32848 [UNIX98] (pthread_barrierattr_t): Likewise.
32849 [UNIX98] (pthread_spinlock_t): Likewise.
32850 [UNIX98] (pthread_barrier_destroy): Likewise.
32851 [UNIX98] (pthread_barrier_init): Likewise.
32852 [UNIX98] (pthread_barrier_wait): Likewise.
32853 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32854 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32855 [UNIX98] (pthread_barrierattr_init): Likewise.
32856 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32857 [UNIX98] (pthread_getcpuclockid): Likewise.
32858 [UNIX98] (pthread_mutex_timedlock): Likewise.
32859 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32860 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32861 [UNIX98] (pthread_sigmask): Likewise.
32862 [UNIX98] (pthread_spin_destroy): Likewise.
32863 [UNIX98] (pthread_spin_init): Likewise.
32864 [UNIX98] (pthread_spin_lock): Likewise.
32865 [UNIX98] (pthread_spin_trylock): Likewise.
32866 [UNIX98] (pthread_spin_unlock): Likewise.
32867 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32869 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32870 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32871 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32872 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32873 [XPG3 || XPG4] (pthread_key_t): Likewise.
32874 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32875 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32876 [XPG3 || XPG4] (pthread_once_t): Likewise.
32877 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32878 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32879 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32880 [XPG3 || XPG4] (pthread_t): Likewise.
32882 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32884 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32886 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32887 Change function return type to int.
32889 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32890 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32891 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32892 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32893 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32894 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32895 [!POSIX] (posix_madvise): Likewise.
32896 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32898 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32899 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32900 (mode_t): Likewise.
32901 (posix_mem_offset): Likewise.
32902 (posix_typed_mem_get_info): Likewise.
32903 (posix_typed_mem_open): Likewise.
32905 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32906 Change condition to [XOPEN2K8].
32908 * conform/conformtest.pl: Preprocess allow-header data with -x c
32909 instead of from stdin.
32910 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32911 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32912 [C99-based standards] (cerfc): Likewise.
32913 [C99-based standards] (cexp2): Likewise.
32914 [C99-based standards] (cexpm1): Likewise.
32915 [C99-based standards] (clog10): Likewise.
32916 [C99-based standards] (clog1p): Likewise.
32917 [C99-based standards] (clog2): Likewise.
32918 [C99-based standards] (clgamma): Likewise.
32919 [C99-based standards] (ctgamma): Likewise.
32920 [C99-based standards] (cerff): Likewise.
32921 [C99-based standards] (cerfcf): Likewise.
32922 [C99-based standards] (cexp2f): Likewise.
32923 [C99-based standards] (cexpm1f): Likewise.
32924 [C99-based standards] (clog10f): Likewise.
32925 [C99-based standards] (clog1pf): Likewise.
32926 [C99-based standards] (clog2f): Likewise.
32927 [C99-based standards] (clgammaf): Likewise.
32928 [C99-based standards] (ctgammaf): Likewise.
32929 [C99-based standards] (cerfl): Likewise.
32930 [C99-based standards] (cerfcl): Likewise.
32931 [C99-based standards] (cexp2l): Likewise.
32932 [C99-based standards] (cexpm1l): Likewise.
32933 [C99-based standards] (clog10l): Likewise.
32934 [C99-based standards] (clog1pl): Likewise.
32935 [C99-based standards] (clog2l): Likewise.
32936 [C99-based standards] (clgammal): Likewise.
32937 [C99-based standards] (ctgammal): Likewise.
32938 * conform/data/inttypes.h-data [C99-based standards]: Include
32939 stdint.h-data. Remove all expectations for stdint.h contents.
32940 [C99-based standards] (PRI*): Do not allow.
32941 [C99-based standards] (SCN*): Likewise.
32942 [C99-based standards] (*_t): Likewise.
32943 [C99-based-standards] (PRId8): Expect macro.
32944 [C99-based-standards] (PRIi8): Likewise.
32945 [C99-based-standards] (PRIo8): Likewise.
32946 [C99-based-standards] (PRIu8): Likewise.
32947 [C99-based-standards] (PRIx8): Likewise.
32948 [C99-based-standards] (PRIX8): Likewise.
32949 [C99-based-standards] (SCNd8): Likewise.
32950 [C99-based-standards] (SCNi8): Likewise.
32951 [C99-based-standards] (SCNo8): Likewise.
32952 [C99-based-standards] (SCNu8): Likewise.
32953 [C99-based-standards] (SCNx8): Likewise.
32954 [C99-based-standards] (PRIdLEAST8): Likewise.
32955 [C99-based-standards] (PRIiLEAST8): Likewise.
32956 [C99-based-standards] (PRIoLEAST8): Likewise.
32957 [C99-based-standards] (PRIuLEAST8): Likewise.
32958 [C99-based-standards] (PRIxLEAST8): Likewise.
32959 [C99-based-standards] (PRIXLEAST8): Likewise.
32960 [C99-based-standards] (SCNdLEAST8): Likewise.
32961 [C99-based-standards] (SCNiLEAST8): Likewise.
32962 [C99-based-standards] (SCNoLEAST8): Likewise.
32963 [C99-based-standards] (SCNuLEAST8): Likewise.
32964 [C99-based-standards] (SCNxLEAST8): Likewise.
32965 [C99-based-standards] (PRIdFAST8): Likewise.
32966 [C99-based-standards] (PRIiFAST8): Likewise.
32967 [C99-based-standards] (PRIoFAST8): Likewise.
32968 [C99-based-standards] (PRIuFAST8): Likewise.
32969 [C99-based-standards] (PRIxFAST8): Likewise.
32970 [C99-based-standards] (PRIXFAST8): Likewise.
32971 [C99-based-standards] (SCNdFAST8): Likewise.
32972 [C99-based-standards] (SCNiFAST8): Likewise.
32973 [C99-based-standards] (SCNoFAST8): Likewise.
32974 [C99-based-standards] (SCNuFAST8): Likewise.
32975 [C99-based-standards] (SCNxFAST8): Likewise.
32976 [C99-based-standards] (PRId16): Likewise.
32977 [C99-based-standards] (PRIi16): Likewise.
32978 [C99-based-standards] (PRIo16): Likewise.
32979 [C99-based-standards] (PRIu16): Likewise.
32980 [C99-based-standards] (PRIx16): Likewise.
32981 [C99-based-standards] (PRIX16): Likewise.
32982 [C99-based-standards] (SCNd16): Likewise.
32983 [C99-based-standards] (SCNi16): Likewise.
32984 [C99-based-standards] (SCNo16): Likewise.
32985 [C99-based-standards] (SCNu16): Likewise.
32986 [C99-based-standards] (SCNx16): Likewise.
32987 [C99-based-standards] (PRIdLEAST16): Likewise.
32988 [C99-based-standards] (PRIiLEAST16): Likewise.
32989 [C99-based-standards] (PRIoLEAST16): Likewise.
32990 [C99-based-standards] (PRIuLEAST16): Likewise.
32991 [C99-based-standards] (PRIxLEAST16): Likewise.
32992 [C99-based-standards] (PRIXLEAST16): Likewise.
32993 [C99-based-standards] (SCNdLEAST16): Likewise.
32994 [C99-based-standards] (SCNiLEAST16): Likewise.
32995 [C99-based-standards] (SCNoLEAST16): Likewise.
32996 [C99-based-standards] (SCNuLEAST16): Likewise.
32997 [C99-based-standards] (SCNxLEAST16): Likewise.
32998 [C99-based-standards] (PRIdFAST16): Likewise.
32999 [C99-based-standards] (PRIiFAST16): Likewise.
33000 [C99-based-standards] (PRIoFAST16): Likewise.
33001 [C99-based-standards] (PRIuFAST16): Likewise.
33002 [C99-based-standards] (PRIxFAST16): Likewise.
33003 [C99-based-standards] (PRIXFAST16): Likewise.
33004 [C99-based-standards] (SCNdFAST16): Likewise.
33005 [C99-based-standards] (SCNiFAST16): Likewise.
33006 [C99-based-standards] (SCNoFAST16): Likewise.
33007 [C99-based-standards] (SCNuFAST16): Likewise.
33008 [C99-based-standards] (SCNxFAST16): Likewise.
33009 [C99-based-standards] (PRId32): Likewise.
33010 [C99-based-standards] (PRIi32): Likewise.
33011 [C99-based-standards] (PRIo32): Likewise.
33012 [C99-based-standards] (PRIu32): Likewise.
33013 [C99-based-standards] (PRIx32): Likewise.
33014 [C99-based-standards] (PRIX32): Likewise.
33015 [C99-based-standards] (SCNd32): Likewise.
33016 [C99-based-standards] (SCNi32): Likewise.
33017 [C99-based-standards] (SCNo32): Likewise.
33018 [C99-based-standards] (SCNu32): Likewise.
33019 [C99-based-standards] (SCNx32): Likewise.
33020 [C99-based-standards] (PRIdLEAST32): Likewise.
33021 [C99-based-standards] (PRIiLEAST32): Likewise.
33022 [C99-based-standards] (PRIoLEAST32): Likewise.
33023 [C99-based-standards] (PRIuLEAST32): Likewise.
33024 [C99-based-standards] (PRIxLEAST32): Likewise.
33025 [C99-based-standards] (PRIXLEAST32): Likewise.
33026 [C99-based-standards] (SCNdLEAST32): Likewise.
33027 [C99-based-standards] (SCNiLEAST32): Likewise.
33028 [C99-based-standards] (SCNoLEAST32): Likewise.
33029 [C99-based-standards] (SCNuLEAST32): Likewise.
33030 [C99-based-standards] (SCNxLEAST32): Likewise.
33031 [C99-based-standards] (PRIdFAST32): Likewise.
33032 [C99-based-standards] (PRIiFAST32): Likewise.
33033 [C99-based-standards] (PRIoFAST32): Likewise.
33034 [C99-based-standards] (PRIuFAST32): Likewise.
33035 [C99-based-standards] (PRIxFAST32): Likewise.
33036 [C99-based-standards] (PRIXFAST32): Likewise.
33037 [C99-based-standards] (SCNdFAST32): Likewise.
33038 [C99-based-standards] (SCNiFAST32): Likewise.
33039 [C99-based-standards] (SCNoFAST32): Likewise.
33040 [C99-based-standards] (SCNuFAST32): Likewise.
33041 [C99-based-standards] (SCNxFAST32): Likewise.
33042 [C99-based-standards] (PRId64): Likewise.
33043 [C99-based-standards] (PRIi64): Likewise.
33044 [C99-based-standards] (PRIo64): Likewise.
33045 [C99-based-standards] (PRIu64): Likewise.
33046 [C99-based-standards] (PRIx64): Likewise.
33047 [C99-based-standards] (PRIX64): Likewise.
33048 [C99-based-standards] (SCNd64): Likewise.
33049 [C99-based-standards] (SCNi64): Likewise.
33050 [C99-based-standards] (SCNo64): Likewise.
33051 [C99-based-standards] (SCNu64): Likewise.
33052 [C99-based-standards] (SCNx64): Likewise.
33053 [C99-based-standards] (PRIdLEAST64): Likewise.
33054 [C99-based-standards] (PRIiLEAST64): Likewise.
33055 [C99-based-standards] (PRIoLEAST64): Likewise.
33056 [C99-based-standards] (PRIuLEAST64): Likewise.
33057 [C99-based-standards] (PRIxLEAST64): Likewise.
33058 [C99-based-standards] (PRIXLEAST64): Likewise.
33059 [C99-based-standards] (SCNdLEAST64): Likewise.
33060 [C99-based-standards] (SCNiLEAST64): Likewise.
33061 [C99-based-standards] (SCNoLEAST64): Likewise.
33062 [C99-based-standards] (SCNuLEAST64): Likewise.
33063 [C99-based-standards] (SCNxLEAST64): Likewise.
33064 [C99-based-standards] (PRIdFAST64): Likewise.
33065 [C99-based-standards] (PRIiFAST64): Likewise.
33066 [C99-based-standards] (PRIoFAST64): Likewise.
33067 [C99-based-standards] (PRIuFAST64): Likewise.
33068 [C99-based-standards] (PRIxFAST64): Likewise.
33069 [C99-based-standards] (PRIXFAST64): Likewise.
33070 [C99-based-standards] (SCNdFAST64): Likewise.
33071 [C99-based-standards] (SCNiFAST64): Likewise.
33072 [C99-based-standards] (SCNoFAST64): Likewise.
33073 [C99-based-standards] (SCNuFAST64): Likewise.
33074 [C99-based-standards] (SCNxFAST64): Likewise.
33075 [C99-based-standards] (PRIdMAX): Likewise.
33076 [C99-based-standards] (PRIiMAX): Likewise.
33077 [C99-based-standards] (PRIoMAX): Likewise.
33078 [C99-based-standards] (PRIuMAX): Likewise.
33079 [C99-based-standards] (PRIxMAX): Likewise.
33080 [C99-based-standards] (PRIXMAX): Likewise.
33081 [C99-based-standards] (SCNdMAX): Likewise.
33082 [C99-based-standards] (SCNiMAX): Likewise.
33083 [C99-based-standards] (SCNoMAX): Likewise.
33084 [C99-based-standards] (SCNuMAX): Likewise.
33085 [C99-based-standards] (SCNxMAX): Likewise.
33086 [C99-based-standards] (PRIdPTR): Likewise.
33087 [C99-based-standards] (PRIiPTR): Likewise.
33088 [C99-based-standards] (PRIoPTR): Likewise.
33089 [C99-based-standards] (PRIuPTR): Likewise.
33090 [C99-based-standards] (PRIxPTR): Likewise.
33091 [C99-based-standards] (PRIXPTR): Likewise.
33092 [C99-based-standards] (SCNdPTR): Likewise.
33093 [C99-based-standards] (SCNiPTR): Likewise.
33094 [C99-based-standards] (SCNoPTR): Likewise.
33095 [C99-based-standards] (SCNuPTR): Likewise.
33096 [C99-based-standards] (SCNxPTR): Likewise.
33097 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33099 * conform/data/stdint.h-data: Update comments to clarify
33101 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33103 [C99-based standards] (INT8_MAX): Likewise.
33104 [C99-based standards] (INT16_MIN): Likewise.
33105 [C99-based standards] (INT16_MAX): Likewise.
33106 [C99-based standards] (INT32_MIN): Likewise.
33107 [C99-based standards] (INT32_MAX): Likewise.
33108 [C99-based standards] (INT64_MIN): Likewise.
33109 [C99-based standards] (INT64_MAX): Likewise.
33110 [C99-based standards] (UINT8_MAX): Likewise.
33111 [C99-based standards] (UINT16_MAX): Likewise.
33112 [C99-based standards] (UINT32_MAX): Likewise.
33113 [C99-based standards] (UINT64_MAX): Likewise.
33114 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33115 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33116 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33117 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33118 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33119 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33120 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33121 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33122 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33123 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33124 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33125 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33126 [C99-based standards] (INT_FAST8_MIN): Likewise.
33127 [C99-based standards] (INT_FAST8_MAX): Likewise.
33128 [C99-based standards] (INT_FAST16_MIN): Likewise.
33129 [C99-based standards] (INT_FAST16_MAX): Likewise.
33130 [C99-based standards] (INT_FAST32_MIN): Likewise.
33131 [C99-based standards] (INT_FAST32_MAX): Likewise.
33132 [C99-based standards] (INT_FAST64_MIN): Likewise.
33133 [C99-based standards] (INT_FAST64_MAX): Likewise.
33134 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33135 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33136 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33137 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33138 [C99-based standards] (INTPTR_MIN): Likewise.
33139 [C99-based standards] (INTPTR_MAX): Likewise.
33140 [C99-based standards] (UINTPTR_MAX): Likewise.
33141 [C99-based standards] (INTMAX_MIN): Likewise.
33142 [C99-based standards] (INTMAX_MAX): Likewise.
33143 [C99-based standards] (UINTMAX_MAX): Likewise.
33144 [C99-based standards] (PTRDIFF_MIN): Likewise.
33145 [C99-based standards] (PTRDIFF_MAX): Likewise.
33146 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33147 [C99-based standards] (SIZE_MAX): Likewise.
33148 [C99-based standards] (WCHAR_MAX): Likewise.
33149 [C99-based standards] (WINT_MAX): Likewise.
33150 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33151 constraint on value.
33152 [C99-based standards] (WCHAR_MIN): Likewise.
33153 [C99-based standards] (WINT_MIN): Likewise.
33154 [C99-based standards] (*_t): Allow.
33155 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33156 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33157 Include math.h-data and complex.h-data. Remove all expectations
33158 of math.h and complex.h contents.
33159 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33161 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33162 (struct tm): Expect tag.
33163 [C99-based-standards] (wcstof): Expect function.
33164 [C99-based-standards] (wcstold): Likewise.
33165 [C99-based-standards] (wcstoll): Likewise.
33166 [C99-based-standards] (wcstoull): Likewise.
33167 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33168 macro-int-constant. Specify type.
33169 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33170 constraint on value.
33171 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33173 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33175 [ISO C standards]: Do not allow headers.
33176 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33177 wcs[abcdefghijklmnopqrstuvwxyz]*.
33178 [ISO C standards] (*_t): Do not allow.
33179 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33181 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33182 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33184 [ISO C standards]: Do not allow headers.
33185 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33186 is[abcdefghijklmnopqrstuvwxyz]*.
33187 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33188 to[abcdefghijklmnopqrstuvwxyz]*.
33189 [ISO C standards] (*_t): Do not allow.
33190 * conform/data/stdalign.h-data: New file.
33191 * conform/data/stdbool.h-data: Likewise.
33192 * conform/data/stdnoreturn.h-data: Likewise.
33194 2012-11-07 Roland McGrath <roland@hack.frob.com>
33197 * manual/filesys.texi (Directory Entries): Typo fix.
33198 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33200 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33202 * elf/elf.h (EM_AARCH64): New macro.
33203 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33204 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33205 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33206 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33207 (R_AARCH64_TLSDESC): Likewise.
33208 (NT_ARM_TLS): Likewise.
33209 (NT_ARM_HW_BREAK): Likewise.
33210 (NT_ARM_HW_WATCH): Likewise.
33212 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33215 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33216 (__ieee754_powl): Saturate nonzero exponents with absolute value
33217 below 0x1p-79 to +/- 0x1p-79.
33218 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33219 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33220 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33221 nonzero exponents with absolute value below 0x1p-32 to +/-
33223 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33224 (__ieee754_powl): Saturate nonzero exponents with absolute value
33225 below 0x1p-79 to +/- 0x1p-79.
33226 * math/libm-test.inc (pow_test): Add more tests.
33228 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33230 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33231 _dl_s390_cap_flags with kernel. Increase string length.
33232 (_dl_s390_platforms): Add z196 and zEC12.
33234 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33236 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33237 Change XOPEN21K to XOPEN2K.
33239 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33241 * string/memmove.c: Use memcpy when possible.
33243 2012-11-06 Andreas Jaeger <aj@suse.de>
33245 * po/eo.po: Update from translation team.
33247 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33251 exponent and small x and y exponents, scale x or y up. Increase
33252 by 2 the exponent used in scaling up.
33253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33255 * math/libm-test.inc (fma_test): Add more tests.
33256 (fma_test_towardzero): Likewise.
33257 (fma_test_downward): Likewise.
33258 (fma_test_upward): Likewise.
33260 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33263 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33267 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33268 namespace for names of struct fields.
33269 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33271 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33272 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33274 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33277 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33279 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33281 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33285 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33288 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33292 definitely overflow as x * y not x * y + z.
33293 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33294 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33295 * math/libm-test.inc (fma_test): Add more tests.
33296 (fma_test_towardzero): Likewise.
33297 (fma_test_downward): Likewise.
33298 (fma_test_upward): Likewise.
33300 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33304 * include/stub-tag.h: Remove file.
33305 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33307 * manual/maint.texi (Porting): Don't reference it.
33308 * Makerules ($(objpfx)stubs): Likewise.
33309 * dirent/closedir.c: Don't include <stub-tag.h>.
33310 * dirent/dirfd.c: Likewise.
33311 * dirent/fdopendir.c: Likewise.
33312 * dirent/getdents.c: Likewise.
33313 * dirent/getdents64.c: Likewise.
33314 * dirent/opendir.c: Likewise.
33315 * dirent/readdir.c: Likewise.
33316 * dirent/readdir64.c: Likewise.
33317 * dirent/readdir64_r.c: Likewise.
33318 * dirent/readdir_r.c: Likewise.
33319 * dirent/rewinddir.c: Likewise.
33320 * dirent/seekdir.c: Likewise.
33321 * dirent/telldir.c: Likewise.
33322 * gmon/profil.c: Likewise.
33323 * grp/setgroups.c: Likewise.
33324 * inet/if_index.c: Likewise.
33325 * io/access.c: Likewise.
33326 * io/chdir.c: Likewise.
33327 * io/chmod.c: Likewise.
33328 * io/chown.c: Likewise.
33329 * io/close.c: Likewise.
33330 * io/dup.c: Likewise.
33331 * io/dup2.c: Likewise.
33332 * io/dup3.c: Likewise.
33333 * io/euidaccess.c: Likewise.
33334 * io/faccessat.c: Likewise.
33335 * io/fchdir.c: Likewise.
33336 * io/fchmod.c: Likewise.
33337 * io/fchmodat.c: Likewise.
33338 * io/fchown.c: Likewise.
33339 * io/fchownat.c: Likewise.
33340 * io/fcntl.c: Likewise.
33341 * io/flock.c: Likewise.
33342 * io/fstatfs.c: Likewise.
33343 * io/fstatfs64.c: Likewise.
33344 * io/fstatvfs.c: Likewise.
33345 * io/fstatvfs64.c: Likewise.
33346 * io/futimens.c: Likewise.
33347 * io/fxstat.c: Likewise.
33348 * io/fxstat64.c: Likewise.
33349 * io/fxstatat.c: Likewise.
33350 * io/fxstatat64.c: Likewise.
33351 * io/getcwd.c: Likewise.
33352 * io/isatty.c: Likewise.
33353 * io/lchmod.c: Likewise.
33354 * io/lchown.c: Likewise.
33355 * io/link.c: Likewise.
33356 * io/linkat.c: Likewise.
33357 * io/lseek.c: Likewise.
33358 * io/lseek64.c: Likewise.
33359 * io/lxstat64.c: Likewise.
33360 * io/mkdir.c: Likewise.
33361 * io/mkdirat.c: Likewise.
33362 * io/mkfifo.c: Likewise.
33363 * io/mkfifoat.c: Likewise.
33364 * io/open.c: Likewise.
33365 * io/open64.c: Likewise.
33366 * io/openat.c: Likewise.
33367 * io/openat64.c: Likewise.
33368 * io/pipe.c: Likewise.
33369 * io/pipe2.c: Likewise.
33370 * io/poll.c: Likewise.
33371 * io/posix_fadvise.c: Likewise.
33372 * io/posix_fadvise64.c: Likewise.
33373 * io/posix_fallocate.c: Likewise.
33374 * io/posix_fallocate64.c: Likewise.
33375 * io/read.c: Likewise.
33376 * io/readlink.c: Likewise.
33377 * io/readlinkat.c: Likewise.
33378 * io/rmdir.c: Likewise.
33379 * io/sendfile.c: Likewise.
33380 * io/sendfile64.c: Likewise.
33381 * io/statfs.c: Likewise.
33382 * io/statfs64.c: Likewise.
33383 * io/statvfs.c: Likewise.
33384 * io/statvfs64.c: Likewise.
33385 * io/symlink.c: Likewise.
33386 * io/symlinkat.c: Likewise.
33387 * io/ttyname.c: Likewise.
33388 * io/ttyname_r.c: Likewise.
33389 * io/umask.c: Likewise.
33390 * io/unlink.c: Likewise.
33391 * io/unlinkat.c: Likewise.
33392 * io/utime.c: Likewise.
33393 * io/utimensat.c: Likewise.
33394 * io/write.c: Likewise.
33395 * io/xmknod.c: Likewise.
33396 * io/xmknodat.c: Likewise.
33397 * io/xstat.c: Likewise.
33398 * io/xstat64.c: Likewise.
33399 * login/getpt.c: Likewise.
33400 * login/grantpt.c: Likewise.
33401 * login/unlockpt.c: Likewise.
33402 * math/e_acoshl.c: Likewise.
33403 * math/e_acosl.c: Likewise.
33404 * math/e_asinl.c: Likewise.
33405 * math/e_atan2l.c: Likewise.
33406 * math/e_atanhl.c: Likewise.
33407 * math/e_coshl.c: Likewise.
33408 * math/e_expl.c: Likewise.
33409 * math/e_fmodl.c: Likewise.
33410 * math/e_gammal_r.c: Likewise.
33411 * math/e_hypotl.c: Likewise.
33412 * math/e_j0l.c: Likewise.
33413 * math/e_j1l.c: Likewise.
33414 * math/e_jnl.c: Likewise.
33415 * math/e_lgammal_r.c: Likewise.
33416 * math/e_log10l.c: Likewise.
33417 * math/e_log2l.c: Likewise.
33418 * math/e_logl.c: Likewise.
33419 * math/e_powl.c: Likewise.
33420 * math/e_rem_pio2l.c: Likewise.
33421 * math/e_sinhl.c: Likewise.
33422 * math/e_sqrtl.c: Likewise.
33423 * math/fclrexcpt.c: Likewise.
33424 * math/fedisblxcpt.c: Likewise.
33425 * math/feenablxcpt.c: Likewise.
33426 * math/fegetenv.c: Likewise.
33427 * math/fegetexcept.c: Likewise.
33428 * math/fegetround.c: Likewise.
33429 * math/feholdexcpt.c: Likewise.
33430 * math/fesetenv.c: Likewise.
33431 * math/fesetround.c: Likewise.
33432 * math/feupdateenv.c: Likewise.
33433 * math/fgetexcptflg.c: Likewise.
33434 * math/fraiseexcpt.c: Likewise.
33435 * math/fsetexcptflg.c: Likewise.
33436 * math/ftestexcept.c: Likewise.
33437 * math/k_cosl.c: Likewise.
33438 * math/k_rem_pio2l.c: Likewise.
33439 * math/k_sinl.c: Likewise.
33440 * math/k_tanl.c: Likewise.
33441 * math/s_asinhl.c: Likewise.
33442 * math/s_atanl.c: Likewise.
33443 * math/s_cbrtl.c: Likewise.
33444 * math/s_erfl.c: Likewise.
33445 * math/s_expm1l.c: Likewise.
33446 * math/s_log1pl.c: Likewise.
33447 * math/s_tanhl.c: Likewise.
33448 * misc/acct.c: Likewise.
33449 * misc/brk.c: Likewise.
33450 * misc/chflags.c: Likewise.
33451 * misc/chroot.c: Likewise.
33452 * misc/fchflags.c: Likewise.
33453 * misc/fgetxattr.c: Likewise.
33454 * misc/flistxattr.c: Likewise.
33455 * misc/fremovexattr.c: Likewise.
33456 * misc/fsetxattr.c: Likewise.
33457 * misc/fsync.c: Likewise.
33458 * misc/ftruncate.c: Likewise.
33459 * misc/futimes.c: Likewise.
33460 * misc/futimesat.c: Likewise.
33461 * misc/getdomain.c: Likewise.
33462 * misc/getdtsz.c: Likewise.
33463 * misc/gethostid.c: Likewise.
33464 * misc/gethostname.c: Likewise.
33465 * misc/getloadavg.c: Likewise.
33466 * misc/getpagesize.c: Likewise.
33467 * misc/getsysstats.c: Likewise.
33468 * misc/getxattr.c: Likewise.
33469 * misc/gtty.c: Likewise.
33470 * misc/ioctl.c: Likewise.
33471 * misc/lgetxattr.c: Likewise.
33472 * misc/listxattr.c: Likewise.
33473 * misc/llistxattr.c: Likewise.
33474 * misc/lremovexattr.c: Likewise.
33475 * misc/lsetxattr.c: Likewise.
33476 * misc/lutimes.c: Likewise.
33477 * misc/madvise.c: Likewise.
33478 * misc/mincore.c: Likewise.
33479 * misc/mlock.c: Likewise.
33480 * misc/mlockall.c: Likewise.
33481 * misc/mmap.c: Likewise.
33482 * misc/mprotect.c: Likewise.
33483 * misc/msync.c: Likewise.
33484 * misc/munlock.c: Likewise.
33485 * misc/munlockall.c: Likewise.
33486 * misc/munmap.c: Likewise.
33487 * misc/preadv.c: Likewise.
33488 * misc/preadv64.c: Likewise.
33489 * misc/ptrace.c: Likewise.
33490 * misc/pwritev.c: Likewise.
33491 * misc/pwritev64.c: Likewise.
33492 * misc/readv.c: Likewise.
33493 * misc/reboot.c: Likewise.
33494 * misc/remap_file_pages.c: Likewise.
33495 * misc/removexattr.c: Likewise.
33496 * misc/revoke.c: Likewise.
33497 * misc/select.c: Likewise.
33498 * misc/setdomain.c: Likewise.
33499 * misc/setegid.c: Likewise.
33500 * misc/seteuid.c: Likewise.
33501 * misc/sethostid.c: Likewise.
33502 * misc/sethostname.c: Likewise.
33503 * misc/setregid.c: Likewise.
33504 * misc/setreuid.c: Likewise.
33505 * misc/setxattr.c: Likewise.
33506 * misc/sstk.c: Likewise.
33507 * misc/stty.c: Likewise.
33508 * misc/swapoff.c: Likewise.
33509 * misc/swapon.c: Likewise.
33510 * misc/sync.c: Likewise.
33511 * misc/syncfs.c: Likewise.
33512 * misc/syscall.c: Likewise.
33513 * misc/truncate.c: Likewise.
33514 * misc/ualarm.c: Likewise.
33515 * misc/usleep.c: Likewise.
33516 * misc/ustat.c: Likewise.
33517 * misc/utimes.c: Likewise.
33518 * misc/vhangup.c: Likewise.
33519 * misc/writev.c: Likewise.
33520 * posix/_exit.c: Likewise.
33521 * posix/alarm.c: Likewise.
33522 * posix/execve.c: Likewise.
33523 * posix/fexecve.c: Likewise.
33524 * posix/fork.c: Likewise.
33525 * posix/fpathconf.c: Likewise.
33526 * posix/getaddrinfo.c: Likewise.
33527 * posix/getegid.c: Likewise.
33528 * posix/geteuid.c: Likewise.
33529 * posix/getgid.c: Likewise.
33530 * posix/getgroups.c: Likewise.
33531 * posix/getlogin.c: Likewise.
33532 * posix/getlogin_r.c: Likewise.
33533 * posix/getpgid.c: Likewise.
33534 * posix/getpid.c: Likewise.
33535 * posix/getppid.c: Likewise.
33536 * posix/getresgid.c: Likewise.
33537 * posix/getresuid.c: Likewise.
33538 * posix/getsid.c: Likewise.
33539 * posix/getuid.c: Likewise.
33540 * posix/glob64.c: Likewise.
33541 * posix/nanosleep.c: Likewise.
33542 * posix/pathconf.c: Likewise.
33543 * posix/pause.c: Likewise.
33544 * posix/posix_madvise.c: Likewise.
33545 * posix/pread.c: Likewise.
33546 * posix/pread64.c: Likewise.
33547 * posix/pwrite.c: Likewise.
33548 * posix/pwrite64.c: Likewise.
33549 * posix/sched_getaffinity.c: Likewise.
33550 * posix/sched_getp.c: Likewise.
33551 * posix/sched_gets.c: Likewise.
33552 * posix/sched_primax.c: Likewise.
33553 * posix/sched_primin.c: Likewise.
33554 * posix/sched_rr_gi.c: Likewise.
33555 * posix/sched_setaffinity.c: Likewise.
33556 * posix/sched_setp.c: Likewise.
33557 * posix/sched_sets.c: Likewise.
33558 * posix/sched_yield.c: Likewise.
33559 * posix/setgid.c: Likewise.
33560 * posix/setlogin.c: Likewise.
33561 * posix/setpgid.c: Likewise.
33562 * posix/setresgid.c: Likewise.
33563 * posix/setresuid.c: Likewise.
33564 * posix/setsid.c: Likewise.
33565 * posix/setuid.c: Likewise.
33566 * posix/sleep.c: Likewise.
33567 * posix/spawni.c: Likewise.
33568 * posix/sysconf.c: Likewise.
33569 * posix/times.c: Likewise.
33570 * posix/wait.c: Likewise.
33571 * posix/wait3.c: Likewise.
33572 * posix/wait4.c: Likewise.
33573 * posix/waitpid.c: Likewise.
33574 * resolv/gai_sigqueue.c: Likewise.
33575 * resource/getpriority.c: Likewise.
33576 * resource/getrlimit.c: Likewise.
33577 * resource/getrusage.c: Likewise.
33578 * resource/nice.c: Likewise.
33579 * resource/setpriority.c: Likewise.
33580 * resource/setrlimit.c: Likewise.
33581 * resource/ulimit.c: Likewise.
33582 * rt/aio_cancel.c: Likewise.
33583 * rt/aio_fsync.c: Likewise.
33584 * rt/aio_read.c: Likewise.
33585 * rt/aio_sigqueue.c: Likewise.
33586 * rt/aio_suspend.c: Likewise.
33587 * rt/aio_write.c: Likewise.
33588 * rt/clock_getres.c: Likewise.
33589 * rt/clock_gettime.c: Likewise.
33590 * rt/clock_nanosleep.c: Likewise.
33591 * rt/clock_settime.c: Likewise.
33592 * rt/lio_listio.c: Likewise.
33593 * rt/mq_close.c: Likewise.
33594 * rt/mq_getattr.c: Likewise.
33595 * rt/mq_notify.c: Likewise.
33596 * rt/mq_open.c: Likewise.
33597 * rt/mq_receive.c: Likewise.
33598 * rt/mq_send.c: Likewise.
33599 * rt/mq_setattr.c: Likewise.
33600 * rt/mq_timedreceive.c: Likewise.
33601 * rt/mq_timedsend.c: Likewise.
33602 * rt/mq_unlink.c: Likewise.
33603 * rt/shm_open.c: Likewise.
33604 * rt/shm_unlink.c: Likewise.
33605 * rt/timer_create.c: Likewise.
33606 * rt/timer_delete.c: Likewise.
33607 * rt/timer_getoverr.c: Likewise.
33608 * rt/timer_gettime.c: Likewise.
33609 * rt/timer_settime.c: Likewise.
33610 * setjmp/__longjmp.c: Likewise.
33611 * setjmp/setjmp.c: Likewise.
33612 * signal/kill.c: Likewise.
33613 * signal/killpg.c: Likewise.
33614 * signal/raise.c: Likewise.
33615 * signal/sigaction.c: Likewise.
33616 * signal/sigaltstack.c: Likewise.
33617 * signal/sigblock.c: Likewise.
33618 * signal/sigignore.c: Likewise.
33619 * signal/sigintr.c: Likewise.
33620 * signal/signal.c: Likewise.
33621 * signal/sigpause.c: Likewise.
33622 * signal/sigpending.c: Likewise.
33623 * signal/sigqueue.c: Likewise.
33624 * signal/sigreturn.c: Likewise.
33625 * signal/sigset.c: Likewise.
33626 * signal/sigsetmask.c: Likewise.
33627 * signal/sigstack.c: Likewise.
33628 * signal/sigsuspend.c: Likewise.
33629 * signal/sigtimedwait.c: Likewise.
33630 * signal/sigvec.c: Likewise.
33631 * signal/sigwait.c: Likewise.
33632 * signal/sigwaitinfo.c: Likewise.
33633 * signal/sysv_signal.c: Likewise.
33634 * socket/accept.c: Likewise.
33635 * socket/accept4.c: Likewise.
33636 * socket/bind.c: Likewise.
33637 * socket/connect.c: Likewise.
33638 * socket/getpeername.c: Likewise.
33639 * socket/getsockname.c: Likewise.
33640 * socket/getsockopt.c: Likewise.
33641 * socket/isfdtype.c: Likewise.
33642 * socket/listen.c: Likewise.
33643 * socket/recv.c: Likewise.
33644 * socket/recvfrom.c: Likewise.
33645 * socket/recvmsg.c: Likewise.
33646 * socket/send.c: Likewise.
33647 * socket/sendmsg.c: Likewise.
33648 * socket/sendto.c: Likewise.
33649 * socket/setsockopt.c: Likewise.
33650 * socket/shutdown.c: Likewise.
33651 * socket/sockatmark.c: Likewise.
33652 * socket/socket.c: Likewise.
33653 * socket/socketpair.c: Likewise.
33654 * stdio-common/ctermid.c: Likewise.
33655 * stdio-common/cuserid.c: Likewise.
33656 * stdio-common/remove.c: Likewise.
33657 * stdio-common/rename.c: Likewise.
33658 * stdio-common/renameat.c: Likewise.
33659 * stdio-common/tempname.c: Likewise.
33660 * stdlib/getcontext.c: Likewise.
33661 * stdlib/makecontext.c: Likewise.
33662 * stdlib/setcontext.c: Likewise.
33663 * stdlib/swapcontext.c: Likewise.
33664 * stdlib/system.c: Likewise.
33665 * streams/fattach.c: Likewise.
33666 * streams/fdetach.c: Likewise.
33667 * streams/getmsg.c: Likewise.
33668 * streams/getpmsg.c: Likewise.
33669 * streams/putmsg.c: Likewise.
33670 * streams/putpmsg.c: Likewise.
33671 * sysdeps/unix/bsd/getpt.c: Likewise.
33672 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33673 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33674 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33677 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33678 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33679 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33680 * sysvipc/msgctl.c: Likewise.
33681 * sysvipc/msgget.c: Likewise.
33682 * sysvipc/msgrcv.c: Likewise.
33683 * sysvipc/msgsnd.c: Likewise.
33684 * sysvipc/semctl.c: Likewise.
33685 * sysvipc/semget.c: Likewise.
33686 * sysvipc/semop.c: Likewise.
33687 * sysvipc/semtimedop.c: Likewise.
33688 * sysvipc/shmat.c: Likewise.
33689 * sysvipc/shmctl.c: Likewise.
33690 * sysvipc/shmdt.c: Likewise.
33691 * sysvipc/shmget.c: Likewise.
33692 * termios/tcdrain.c: Likewise.
33693 * termios/tcflow.c: Likewise.
33694 * termios/tcflush.c: Likewise.
33695 * termios/tcgetattr.c: Likewise.
33696 * termios/tcgetpgrp.c: Likewise.
33697 * termios/tcsendbrk.c: Likewise.
33698 * termios/tcsetattr.c: Likewise.
33699 * termios/tcsetpgrp.c: Likewise.
33700 * time/adjtime.c: Likewise.
33701 * time/clock.c: Likewise.
33702 * time/getitimer.c: Likewise.
33703 * time/gettimeofday.c: Likewise.
33704 * time/setitimer.c: Likewise.
33705 * time/settimeofday.c: Likewise.
33706 * time/stime.c: Likewise.
33707 * time/time.c: Likewise.
33709 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
33711 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33714 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33716 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33718 2012-11-03 Joseph Myers <joseph@codesourcery.com>
33721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33722 FE_TONEAREST before applying Dekker multiplication and Knuth
33723 addition. Clear inexact exceptions and check for exact zero
33724 results afterwards.
33725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33726 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33727 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33728 * math/libm-test.inc (fma_test): Add more tests.
33729 (fma_test_towardzero): Likewise.
33730 (fma_test_downward): Likewise.
33731 (fma_test_upward): Likewise.
33732 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33734 (libc_fesetround): New macro.
33735 (libc_fesetroundf): Likewise.
33736 (libc_fesetroundl): Likewise.
33737 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33739 (libc_fesetround_387): Likewise.
33740 (libc_fesetroundf): New macro.
33741 (libc_fesetround): Likewise.
33742 (libc_fesetroundl): Likewise.
33743 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33745 (libc_fesetroundf): New macro.
33746 (libc_fesetround): Likewise.
33747 (libc_fesetroundl): Likewise.
33748 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33749 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33750 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33752 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33753 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33755 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33756 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33758 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33762 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33763 integer constant usable in #if and use that to give value to enum
33765 (FE_DIVBYZERO): Likewise.
33766 (FE_UNDERFLOW): Likewise.
33767 (FE_OVERFLOW): Likewise.
33768 (FE_INVALID): Likewise.
33769 (FE_INVALID_SNAN): Likewise.
33770 (FE_INVALID_ISI): Likewise.
33771 (FE_INVALID_IDI): Likewise.
33772 (FE_INVALID_ZDZ): Likewise.
33773 (FE_INVALID_IMZ): Likewise.
33774 (FE_INVALID_COMPARE): Likewise.
33775 (FE_INVALID_SOFTWARE): Likewise.
33776 (FE_INVALID_SQRT): Likewise.
33777 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33778 (FE_TONEAREST): Likewise.
33779 (FE_TOWARDZERO): Likewise.
33780 (FE_UPWARD): Likewise.
33781 (FE_DOWNWARD): Likewise.
33782 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33783 (FE_DIVBYZERO): Likewise.
33784 (FE_OVERFLOW): Likewise.
33785 (FE_UNDERFLOW): Likewise.
33786 (FE_INEXACT): Likewise.
33787 (FE_TONEAREST): Likewise.
33788 (FE_DOWNWARD): Likewise.
33789 (FE_UPWARD): Likewise.
33790 (FE_TOWARDZERO): Likewise.
33791 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33792 (FE_UNDERFLOW): Likewise.
33793 (FE_OVERFLOW): Likewise.
33794 (FE_DIVBYZERO): Likewise.
33795 (FE_INVALID): Likewise.
33796 (FE_TONEAREST): Likewise.
33797 (FE_TOWARDZERO): Likewise.
33798 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33799 (FE_OVERFLOW): Likewise.
33800 (FE_UNDERFLOW): Likewise.
33801 (FE_DIVBYZERO): Likewise.
33802 (FE_INEXACT): Likewise.
33803 (FE_TONEAREST): Likewise.
33804 (FE_TOWARDZERO): Likewise.
33805 (FE_UPWARD): Likewise.
33806 (FE_DOWNWARD): Likewise.
33807 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33808 (FE_DIVBYZERO): Likewise.
33809 (FE_OVERFLOW): Likewise.
33810 (FE_UNDERFLOW): Likewise.
33811 (FE_INEXACT): Likewise.
33812 (FE_TONEAREST): Likewise.
33813 (FE_DOWNWARD): Likewise.
33814 (FE_UPWARD): Likewise.
33815 (FE_TOWARDZERO): Likewise.
33817 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33819 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33821 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33823 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33824 commands. Quote $PWD.
33825 (blacklist_exports): Don't use remove_newlines. Replace "declare
33827 (remove_newlines): Remove.
33829 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33831 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33832 * stdlib/stdlib.h (atof): Moved to ...
33833 * include/bits/stdlib-float.h: Here. New file.
33834 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33835 * stdlib/bits/stdlib-float.h: New file.
33836 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33838 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33841 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33843 * conform/conformtest.pl (@headers): Add fenv.h.
33844 * conform/data/fenv.h-data: New file.
33845 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33846 include of <math/fenv.h>.
33848 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33849 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33850 && !UNIX98]. Enables tests for XOPEN2K8.
33851 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33852 POSIX2008]: Likewise.
33854 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33855 (struct rusage): Do not expect type or its members.
33858 * math/math.h (FP_NAN): Define macro to integer constant usable in
33859 #if and use that to give value to enum constant.
33860 (FP_INFINITE): Likewise.
33861 (FP_ZERO): Likewise.
33862 (FP_SUBNORMAL): Likewise.
33863 (FP_NORMAL): Likewise.
33865 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33867 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33868 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33871 2012-11-02 Roland McGrath <roland@hack.frob.com>
33873 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33874 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33875 autoconf-time if not.
33876 * configure.in: Remove AC_PREREQ.
33878 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33880 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33881 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33882 of the internal implementation.
33884 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33886 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33887 except include of <misc/sys/syslog.h>.
33889 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33892 function returns with a NULL context exit with zero.
33894 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33896 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33898 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33900 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33901 (run_program_cmd): This.
33902 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33903 (tst_langinfo): New variable. Use it.
33905 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33907 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33908 floating point opcodes.
33910 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33912 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33915 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33917 * sysdeps/mach/hurd/powerpc: Remove directory.
33918 * sysdeps/mach/powerpc: Likewise.
33920 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33922 * scripts/check-local-headers.sh: Ignore c++ headers.
33924 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33926 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33927 __libc_cleanup_region_start argument.
33929 2012-11-01 Joseph Myers <joseph@codesourcery.com>
33933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33934 x * y using scaling, not as x * y + z.
33935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33937 * math/libm-test.inc (fma_test): Add more tests.
33938 (fma_test_towardzero): Likewise.
33939 (fma_test_downward): Likewise.
33940 (fma_test_upward): Likewise.
33942 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33944 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33946 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33948 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33951 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33953 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33955 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33962 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33965 Fix the order of the list for glibc 2.17.
33966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33969 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33973 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33976 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33977 for low part of x being zero before using __atanl (y).
33978 * math/libm-test.inc (atan2_test): Add another test.
33980 * manual/install.texi (Configuring and compiling): Document
33981 general use of test-wrapper and test-wrapper-env.
33982 * INSTALL: Regenerated.
33984 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33985 (__fma): Do not extract and scale down low bits on after-rounding
33986 systems when result rounded to normal precision would have normal
33988 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33989 (__fmal): Do not extract and scale down low bits on after-rounding
33990 systems when result rounded to normal precision would have normal
33992 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33993 (__fmal): Do not extract and scale down low bits on after-rounding
33994 systems when result rounded to normal precision would have normal
33996 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33998 (fma_test): Add more tests.
33999 (fma_test_towardzero): Likewise.
34000 (fma_test_downward): Likewise.
34001 (fma_test_upward): Likewise.
34003 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34005 * sysdeps/i386/tininess.h: Renamed to ...
34006 * sysdeps/x86/tininess.h: This.
34007 * sysdeps/x86_64/tininess.h: Removed.
34009 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34011 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34012 input. Use $(build-program-cmd).
34013 ($(objpfx)tst-array1-static.out): Likewise.
34014 ($(objpfx)tst-array2.out): Likewise.
34015 ($(objpfx)tst-array3.out): Likewise.
34016 ($(objpfx)tst-array4.out): Likewise.
34017 ($(objpfx)tst-array5.out): Likewise.
34018 ($(objpfx)tst-array5-static.out): Likewise.
34020 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34022 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34025 * nss/nsswitch.h (nss_interface_function): Provide new
34026 macro for use with NSS functions.
34027 * grp/initgroups.c: Use new macro.
34028 * nss/getXXbyYY.c: Likewise.
34029 * nss/getXXbyYY_r.c: Likewise.
34030 * nss/getXXent.c: Likewise.
34031 * nss/getXXent_r.c: Likewise.
34032 * sysdeps/posix/getaddrinfo.c: Likewise.
34034 2012-10-30 Andreas Jaeger <aj@suse.de>
34036 * po/ru.po: Update Russion translation from translation project.
34038 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34043 result and shift together with sticky bit instead of replicating
34044 round-to-nearest rounding.
34045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34047 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34048 missing underflow exceptions.
34049 (fma_test_towardzero): Add more tests.
34050 (fma_test_downward): Likewise.
34051 (fma_test_upward): Likewise.
34054 * sysdeps/generic/tininess.h: New file.
34055 * sysdeps/i386/tininess.h: Likewise.
34056 * sysdeps/sh/tininess.h: Likewise.
34057 * sysdeps/x86_64/tininess.h: Likewise.
34058 * stdlib/tst-strtod-underflow.c: Likewise.
34059 * stdlib/tst-tininess.c: Likewise.
34060 * stdlib/strtod_l.c: Include <tininess.h>.
34061 (round_and_return): Do not set errno for exact underflow cases.
34062 Force an underflow exception when setting errno for underflow.
34063 Determine underflow based on rounding to normal precision if
34064 TININESS_AFTER_ROUNDING.
34065 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34066 ERANGE for exact underflow cases.
34067 * stdlib/Makefile (tests): Add tst-tininess and
34068 tst-strtod-underflow.
34069 ($(objpfx)tst-tininess): Use $(link-libm).
34070 ($(objpfx)tst-strtod-underflow): Likewise.
34072 2012-10-30 Andreas Jaeger <aj@suse.de>
34075 * elf/Makefile (tests): Remove conditional for have-initfini-array
34076 since this is now always required and the variable does not exist
34078 (tests-static): Likewise.
34079 (modules-names): Likewise.
34081 * po/eo.po: Add Esperanto translation from translation project.
34083 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34084 merged with constructor/destructor.
34085 (init_array): Likewise.
34086 * elf/tst-array2dep.c (fini_array): Likewise.
34087 (init_array): Likewise.
34089 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34091 * manual/message.texi: Delete @cartouche tags.
34093 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34095 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34097 * sysdeps/mach/hurd/fsync.c: Likewise.
34099 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34100 [_POSIX_REALTIME_SIGNALS]: Change condition to
34101 [_POSIX_REALTIME_SIGNALS > 0].
34103 2012-10-27 Andreas Jaeger <aj@suse.de>
34105 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34106 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34108 [__WORDSIZE != 64]: Likewise.
34110 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34112 * iconvdata/tst-table.sh: Remove ${SHELL}.
34113 * iconvdata/tst-tables.sh: Likewise.
34115 2012-10-25 David S. Miller <davem@davemloft.net>
34117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34118 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34123 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34124 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34125 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34128 2012-10-25 Roland McGrath <roland@hack.frob.com>
34130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34131 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34134 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34135 Jim Blandy <jimb@codesourcery.com>
34137 * scripts/cross-test-ssh.sh: New file.
34138 * manual/install.texi (Configuring and compiling): Document use of
34140 * INSTALL: Regenerated.
34142 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34144 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34147 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34149 * Makeconfig (run-program-prefix): Fix comment.
34151 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34152 Jim Blandy <jimb@codesourcery.com>
34154 * Makeconfig (test-wrapper): New variable,
34155 (test-wrapper-env): Likewise.
34156 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34157 (run-built-tests): Define to yes.
34158 (run-program-prefix): Use $(test-wrapper).
34159 (built-program-cmd): Likewise.
34160 * Rules (make-test-out): Use $(test-wrapper-env) and
34161 $(host-built-program-cmd).
34162 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34163 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34165 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34166 $(test-wrapper-env) to tst-rtld-load-self.sh.
34167 ($(objpfx)order2.out): Use $(test-wrapper).
34168 ($(objpfx)tst-initorder.out): Likewise.
34169 ($(objpfx)tst-initorder2.out): Likewise.
34170 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34171 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34172 (test_wrapper_env): New variable. Use it to run ld.so.
34173 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34174 Use it to run ld.so.
34175 (test_wrapper_env): Likewise.
34176 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34177 $(test-wrapper) to run-iconv-test.sh.
34178 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34179 (ICONV): Use $test_wrapper.
34180 * posix/Makefile ($(objpfx)globtest.out): Pass
34181 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34182 globtest.sh, not $(run-program-prefix).
34183 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34184 (test_wrapper): Likewise.
34185 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34186 set together with run_via_rtld_prefix.
34187 (run_program_prefix): Define in terms of test_wrapper and
34188 run_via_rtld_prefix.
34190 2012-10-24 Roland McGrath <roland@hack.frob.com>
34192 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34193 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34197 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34198 Declare __clock_getres, __clock_gettime, __clock_settime,
34199 __clock_nanosleep, and __clock_getcpuclockid.
34200 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34201 Remove librt_hidden_def (clock_gettime).
34202 * sysdeps/unix/clock_gettime.c: Likewise.
34203 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34204 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34205 * rt/clock_getres.c: Define __clock_getres as an alias.
34206 * sysdeps/posix/clock_getres.c: Likewise.
34207 * rt/clock_settime.c: Define __clock_settime as an alias.
34208 * sysdeps/unix/clock_settime.c: Likewise.
34209 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34210 * sysdeps/unix/clock_nanosleep.c: Likewise.
34211 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34212 * rt/clock-compat.c: New file.
34213 * rt/Makefile (librt-routines): Add clock-compat and move
34214 $(clock-routines) to ...
34215 (routines): ... here, new variable.
34216 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34217 Don't add get_clockfreq here.
34218 * rt/Versions (libc: GLIBC_2.17): New version set.
34219 Add clock_* symbols here.
34220 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34221 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34222 (GLIBC_2.17): Add clock_* symbols.
34223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34234 * NEWS: Mention the move.
34236 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34237 Use __open, __read, __close rather than their public counterparts.
34238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34239 (__get_clockfreq_via_cpuinfo): Likewise.
34240 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34241 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34243 * config.h.in (HAVE_IFUNC): New #undef.
34244 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34246 * configure: Regenerated.
34248 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34250 * configure.in: Move READELF check to start of file.
34251 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34252 libc_cv_asm_gnu_indirect_function in the process.
34253 * configure: Regenerated.
34255 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34257 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34258 send the output to /dev/null.
34259 (libc_cv_cc_with_libunwind): Likewise.
34260 (libc_cv_as_noexecstack): Likewise.
34261 * configure: Regenerate.
34263 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34265 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34267 * posix/globtest.sh (TMPDIR): Do not set.
34268 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34269 (testout): Likewise.
34271 2012-10-24 Andreas Jaeger <aj@suse.de>
34273 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34274 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34275 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34276 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34277 posix_fadvise64, posix_fallocate64.
34279 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34280 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34281 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34283 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34285 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34288 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34289 <bits/fcntl-linux.h>.
34290 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34293 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34294 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34295 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34296 [__WORDSIZE != 64]: Likewise.
34298 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34300 * Makeconfig (run-built-tests): New variable.
34301 * Rules [$(cross-compiling) = yes]: Change condition to
34302 [$(run-built-tests) = no].
34303 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34304 to [$(run-built-tests) = yes].
34305 * elf/Makefile [$(cross-compiling) = no]: Likewise
34306 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34307 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34308 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34309 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34310 * io/Makefile [$(cross-compiling) = no]: Likewise.
34311 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34312 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34313 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34314 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34315 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34316 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34317 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34318 * string/Makefile [$(cross-compiling) = no]: Likewise.
34320 * posix/Makefile ($(objpfx)globtest.out): Pass
34321 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34322 $(rtld-installed-name).
34323 * posix/globtest.sh (elf_objpfx): Remove variable.
34324 (rtld_installed_name): Likewise.
34325 (library_path): Likewise.
34326 (run_program_prefix): New variable. Use for running globtest
34329 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34330 Joseph Myers <joseph@codesourcery.com>
34332 * Makeconfig (host-built-program-cmd): New variable.
34333 * elf/Makefile (tst-stackguard1-ARGS): Use
34334 $(host-built-program-cmd).
34335 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34336 (tst-spawn-ARGS): Likewise.
34337 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34339 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34340 Jim Blandy <jimb@codesourcery.com>
34342 * Makeconfig (run-via-rtld-prefix): New variable.
34343 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34344 (built-program-cmd): Likewise.
34346 2012-10-22 Andreas Jaeger <aj@suse.de>
34348 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34349 __O_RSYNC if it exists, otherwise to O_SYNC.
34351 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34352 Joseph Myers <joseph@codesourcery.com>
34354 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34356 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34358 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34361 2012-10-22 Andreas Jaeger <aj@suse.de>
34363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34368 bits/fcntl-linux.h.
34370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34371 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34378 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34379 Joseph Myers <joseph@codesourcery.com>
34381 * config.make.in (NM): New variable.
34383 2012-10-21 Andreas Jaeger <aj@suse.de>
34385 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34386 definitions and declarations that are provided by
34387 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34389 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34392 * elf/Makefile (tests-static): Add tst-leaks1-static.
34393 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34394 ($(objpfx)tst-leaks1-static): New rule.
34395 ($(objpfx)tst-leaks1-static-mem): Likewise.
34396 (tst-leaks1-static-ENV): New macro.
34397 * elf/dl-open.c (dl_open_worker): Check the main application
34398 only if SHARED is defined.
34399 * elf/tst-leaks1-static.c: New file.
34401 2012-10-20 Andreas Jaeger <aj@suse.de>
34403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34404 generic values for Linux.
34405 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34406 and declarations that are provided by <bits/fcntl-linux.h> and
34407 include <bits/fcntl-linux.h>.
34408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34411 2012-10-20 Roland McGrath <roland@hack.frob.com>
34413 * io/fcntl.h: Move include of <bits/types.h> to the top and
34414 include it unconditionally.
34416 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34418 * wcsmbs/Makefile (tests-ifunc): New variable.
34419 (tests): Add $(tests-ifunc).
34420 * wcsmbs/test-wcschr-ifunc.c: New file.
34421 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34422 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34423 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34424 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34425 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34427 * string/Makefile (tests-ifunc): New variable.
34428 (tests): Add $(tests-ifunc).
34429 * string/test-memccpy.c (TEST_NAME): New macro.
34430 * string/test-memchr.c (TEST_NAME): Likewise.
34431 * string/test-memcmp.c (TEST_NAME): Likewise.
34432 * string/test-memcpy.c (TEST_NAME): Likewise.
34433 * string/test-memmem.c (TEST_NAME): Likewise.
34434 * string/test-memmove.c (TEST_NAME): Likewise.
34435 * string/test-memset.c (TEST_NAME): Likewise.
34436 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34437 * string/test-stpcpy.c (TEST_NAME): Likewise.
34438 * string/test-stpncpy.c (TEST_NAME): Likewise.
34439 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34440 * string/test-strcasestr.c (TEST_NAME): Likewise.
34441 * string/test-strcat.c (TEST_NAME): Likewise.
34442 * string/test-strchr.c (TEST_NAME): Likewise.
34443 * string/test-strcmp.c(TEST_NAME): Likewise.
34444 * string/test-strcpy.c (TEST_NAME): Likewise.
34445 * string/test-strcspn.c (TEST_NAME): Likewise.
34446 * string/test-strlen.c (TEST_NAME): Likewise.
34447 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34448 * string/test-strncmp.c (TEST_NAME): Likewise.
34449 * string/test-strncpy.c (TEST_NAME): Likewise.
34450 * string/test-strnlen.c (TEST_NAME): Likewise.
34451 * string/test-strpbrk.c (TEST_NAME): Likewise.
34452 * string/test-strrchr.c (TEST_NAME): Likewise.
34453 * string/test-strspn.c (TEST_NAME): Likewise.
34454 * string/test-strstr.c (TEST_NAME): Likewise.
34455 * string/test-bcopy-ifunc.c: New file.
34456 * string/test-bzero-ifunc.c: Likewise.
34457 * string/test-memccpy-ifunc.c: Likewise.
34458 * string/test-memchr-ifunc.c: Likewise.
34459 * string/test-memcmp-ifunc.c: Likewise.
34460 * string/test-memcpy-ifunc.c: Likewise.
34461 * string/test-memmem-ifunc.c: Likewise.
34462 * string/test-memmove-ifunc.c: Likewise.
34463 * string/test-mempcpy-ifunc.c: Likewise.
34464 * string/test-memset-ifunc.c: Likewise.
34465 * string/test-rawmemchr-ifunc.c: Likewise.
34466 * string/test-stpcpy-ifunc.c: Likewise.
34467 * string/test-stpncpy-ifunc.c: Likewise.
34468 * string/test-strcasecmp-ifunc.c: Likewise.
34469 * string/test-strcasestr-ifunc.c: Likewise.
34470 * string/test-strcat-ifunc.c: Likewise.
34471 * string/test-strchr-ifunc.c: Likewise.
34472 * string/test-strchrnul-ifunc.c: Likewise.
34473 * string/test-strcmp-ifunc.c: Likewise.
34474 * string/test-strcpy-ifunc.c: Likewise.
34475 * string/test-strcspn-ifunc.c: Likewise.
34476 * string/test-strlen-ifunc.c: Likewise.
34477 * string/test-strncasecmp-ifunc.c: Likewise.
34478 * string/test-strncat-ifunc.c: Likewise.
34479 * string/test-strncmp-ifunc.c: Likewise.
34480 * string/test-strncpy-ifunc.c: Likewise.
34481 * string/test-strnlen-ifunc.c: Likewise.
34482 * string/test-strpbrk-ifunc.c: Likewise.
34483 * string/test-strrchr-ifunc.c: Likewise.
34484 * string/test-strspn-ifunc.c: Likewise.
34485 * string/test-strstr-ifunc.c: Likewise.
34487 * debug/Makefile (tests-ifunc): New variable.
34488 (tests): Add $(tests-ifunc).
34489 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34490 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34491 * debug/test-stpcpy_chk-ifunc.c: New file.
34492 * debug/test-strcpy_chk-ifunc.c: Likewise.
34494 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34497 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34498 header is not read in.
34500 2012-10-19 Joseph Myers <joseph@codesourcery.com>
34502 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34503 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34504 directly. Pass built executable to script as
34505 $(built-program-cmd).
34506 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34507 $testprogram without using LD_LIBRARY_PATH and $ldso.
34509 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34510 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34511 $(rtld-installed-name).
34512 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34513 (rtld_installed_name): Likewise.
34514 (library_path): Likewise.
34515 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34516 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34517 $(run-program-prefix) to tst-tables.sh.
34518 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34519 it to run tst-table-from and tst-table-to.
34520 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34521 Pass it to tst-table.sh.
34522 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34523 $(run-program-prefix) to tst-gettext.sh.
34524 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34526 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34528 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34529 to run tst-gettext.
34530 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34531 to run tst-gettext2.
34532 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34533 to run tst-translit.
34534 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34535 $(run-program-prefix) to tst-mtrace.sh.
34536 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34538 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34539 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34540 $(rtld-installed-name).
34541 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34542 (rtld_installed_name): Likewise.
34543 (run_program_prefix): New variable. Use it to run wordexp-test.
34545 * Makeconfig (ARCH): Remove all definitions.
34546 (machine): Likewise.
34547 [ARCH]: Remove conditional code.
34548 [!objdir]: Give error.
34549 [!objdir] (objpfx): Remove.
34550 [!objdir] (common-objpfx): Likewise.
34551 [!objdir] (common-objdir): Likewise.
34552 * configure.in (config_makefile): Remove. Hardcode Makefile in
34553 AC_CONFIG_FILES call.
34554 * configure: Regenerated.
34557 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34559 (testout): Likewise.
34561 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34562 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34563 $(rtld-installed-name).
34564 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34565 (rtld_installed_name): Likwise.
34566 (runit): Remove function.
34567 (run_getconf): New variable, Use it for running getconf binary.
34569 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34572 * string/test-memmem.c (check_result): New function.
34573 (do_one_test): Use it.
34574 (check1): New function.
34575 (test_main): Use it.
34577 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
34579 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34581 2012-10-18 Joseph Myers <joseph@codesourcery.com>
34583 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34584 (_G_LSEEK64): Likewise.
34585 (_G_MMAP64): Likewise.
34586 (_G_FSTAT64): Likewise.
34587 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34588 (_G_LSEEK64): Likewise.
34589 (_G_MMAP64): Likewise.
34590 (_G_FSTAT64): Likewise.
34591 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34592 unconditional. Call __mmap64 directly.
34593 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34594 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34595 __lseek64 directly.
34596 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34597 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34599 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34600 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34601 __lseek64 directly.
34602 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34603 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34604 __lseek64 directly.
34605 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34606 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34607 __lseek64 directly.
34608 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34609 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34610 __fxstat64 directly.
34611 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34612 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34614 (freopen64) [!_G_OPEN64]: Remove conditional code.
34615 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34617 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34618 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34620 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34621 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34623 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34624 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34626 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34627 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34629 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34630 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34632 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34633 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34635 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34637 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34640 * manual/memory.texi (Malloc Tunable Parameters): Add note
34641 about free list pointers overwriting some perturb bytes.
34642 Wording suggested by Roland McGrath.
34644 2012-10-17 Joseph Myers <joseph@codesourcery.com>
34646 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34647 (lgamma_test): Likewise.
34648 (tgamma_test): Likewise.
34650 2012-10-16 Florian Weimer <fweimer@redhat.com>
34653 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34654 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34656 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34658 * NEWS: Mention BZ #14716.
34659 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34660 when removing AVAILABLE1_USES_J macro.
34662 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34664 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34665 (__bswap_64): __uint64_t for unsigned 64-bit int.
34667 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34669 * include/string.h (memmem): Declare libc hidden alias.
34670 * string/memmem.c (memmem): Define libc hidden alias.
34671 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34672 __read, __close instead of open, read, close.
34674 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34677 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34679 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34680 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34681 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34683 (__rawmemchr_sse2): Likewise.
34684 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34685 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34686 (__strchr_sse2): Likewise.
34687 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34688 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34689 (__strcasecmp_sse2): Likewise.
34690 (__strncasecmp_sse2): Likewise.
34691 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34692 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34693 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34694 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34695 (__strrchr_sse2): Likewise.
34696 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34698 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34699 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34700 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34701 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34702 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34703 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34704 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34705 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34706 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34707 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34708 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34709 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34710 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34711 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34712 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34713 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34714 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34715 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34716 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34717 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34718 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34719 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34720 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34721 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34722 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34723 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34724 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34725 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34726 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34727 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34729 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34731 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34732 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34733 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34734 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34736 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34738 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34739 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34740 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34741 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34743 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34744 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34745 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34746 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34747 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34748 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34749 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34750 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34751 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34752 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34753 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34754 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34755 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34756 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34757 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34758 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34759 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34760 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34761 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34762 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34763 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34764 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34765 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34766 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34767 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34768 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34769 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34770 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34771 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34772 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34773 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34774 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34775 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34776 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34777 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34778 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34779 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34780 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34781 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34782 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34783 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34785 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34786 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34787 * include/ifunc-impl-list.h: New file.
34788 * misc/ifunc-impl-list.c: Likewise.
34789 * misc/Makefile (routines): Add ifunc-impl-list.
34790 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34791 * string/test-string.h: Include <ifunc-impl-list.h>.
34792 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34793 TEST_NAME]: New variables.
34794 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34796 (test_init): Call __libc_ifunc_impl_list to initialize
34797 func_list if TEST_IFUNC and TEST_NAME are defined.
34799 * string/Makefile (strop-tests): Add bcopy and bzero.
34800 * string/test-bcopy.c: New file.
34801 * string/test-bzero.c: Likewise.
34802 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34804 * string/test-memset.c: Support bzero test if TEST_BZERO is
34806 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34808 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34810 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34813 2012-10-10 Joseph Myers <joseph@codesourcery.com>
34815 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34816 * configure: Regenerated.
34818 * Makeconfig (+link-static-before-libc): Don't include
34819 $(link-static-libc).
34821 * libio/libio.h (_IO_pos_t): Remove.
34823 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34825 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34828 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34830 * crypt/crypt-entry.c: Include fips-private.h.
34831 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34832 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34833 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34834 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34836 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34838 * crypt/crypt-private.h: Include stdbool.h.
34839 (_ufc_setup_salt_r): Return bool.
34840 * crypt/crypt-entry.c: Include errno.h.
34841 (__crypt_r): Return NULL with EINVAL for bad salt.
34842 * crypt/crypt_util.c (bad_for_salt): New.
34843 (_ufc_setup_salt_r): Check that salt is long enough and within
34844 the specified alphabet.
34845 * crypt/badsalttest.c: New file.
34846 * crypt/Makefile (tests): Add it.
34847 ($(objpfx)badsalttest): New.
34849 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34851 * NEWS: Add entry for BZ #14602.
34853 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34855 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34857 * math/libm-test.inc: Update comment listing what functions and
34859 (isgreater_test): New function.
34860 (isgreaterequal_test): Likewise.
34861 (isless_test): Likewise.
34862 (islessequal_test): Likewise.
34863 (islessgreater_test): Likewise.
34864 (isunordered_test): Likewise.
34865 (main): Call the new functions.
34867 2012-10-09 Roland McGrath <roland@hack.frob.com>
34869 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34870 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34871 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34872 * sysdeps/i386/configure: Regenerated.
34873 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34874 * sysdeps/mach/configure: Regenerated.
34875 * sysdeps/mach/hurd/configure: Regenerated.
34876 * sysdeps/powerpc/configure: Regenerated.
34877 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34878 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34879 * sysdeps/s390/s390-32/configure: Regenerated.
34880 * sysdeps/s390/s390-64/configure: Regenerated.
34881 * sysdeps/sh/configure: Regenerated.
34882 * sysdeps/sparc/configure: Regenerated.
34883 * sysdeps/unix/sysv/linux/configure: Regenerated.
34884 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34885 * sysdeps/x86_64/configure: Regenerated.
34887 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34888 defined. Don't check if MAP is NULL.
34890 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34892 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34893 (_G_stat64): Likewise.
34894 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34895 (_G_stat64): Likewise.
34896 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34897 instead of struct _G_stat64.
34898 * libio/fileops.c (mmap_remap_check): Likewise.
34899 (decide_maybe_mmap): Likewise.
34900 (_IO_new_file_seekoff): Likewise.
34901 (_IO_file_stat): Likewise.
34902 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34904 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34905 instead of struct _G_stat64.
34906 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34908 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34911 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34913 (CHECK_EOL): New macro.
34914 (two_way_short_needle): Check beginning of haystack for EOL. Use
34916 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34917 Replace with CHECK_EOL.
34918 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34919 Replace with CHECK_EOL.
34921 2012-10-08 Joseph Myers <joseph@codesourcery.com>
34923 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34925 * math/libm-test.inc: Update comment listing what functions and
34927 (finite_test): New function.
34928 (isinf_test): Likewise.
34929 (isnan_test): Likewise.
34930 (fpclassify_test): Test subnormal input.
34931 (isfinite_test): Likewise.
34932 (isnormal_test): Likewise.
34933 (main): Call the new functions.
34935 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34938 * Makerules (%.dynsym): Force C locale when running
34939 $(OBJDUMP) --dynamic-syms.
34941 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34943 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34946 2012-10-06 David S. Miller <davem@davemloft.net>
34948 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34949 upper 32-bits of the length value in %o2 since we use branch-on-register
34950 tests which consider the entire 64-bit register.
34952 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34954 * string/test-strstr.c (check2): Add a test for page boundary.
34956 2012-10-05 David S. Miller <davem@davemloft.net>
34958 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34959 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34961 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34963 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34964 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34965 and bzero when HWCAP_SPARC_CRYPTO is present.
34967 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34970 * string/test-strstr.c (check2): New function.
34971 (test_main): Call check2.
34973 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34975 * string/bug-strcasestr1.c (do_test): Moved to ...
34976 * string/test-strcasestr.c (check1): Here. New function.
34977 (do_one_test): Break out result checking code into ...
34978 (check_result): This. New function.
34979 (do_one_test): Call check_result.
34980 (test_main): Call check1.
34981 * string/bug-strchr1.c (do_test): Moved to ...
34982 * string/test-strchr.c (check1): Here. New function.
34983 (do_one_test): Break out result checking code into ...
34984 (check_result): This. New function.
34985 (do_one_test): Call check_result.
34986 (test_main): Call check1.
34987 * string/bug-strstr1.c (main): Moved to ...
34988 * string/test-strstr.c (check1): Here. New function.
34989 (do_one_test): Break out result checking code into ...
34990 (check_result): This. New function.
34991 (do_one_test): Call check_result.
34992 (test_main): Call check1.
34993 * string/bug-strcasestr1.c: Removed.
34994 * string/bug-strchr1.c: Likewise.
34995 * string/bug-strstr1.c: Likewise.
34997 * elf/Makefile (dl-routines): Add hwcaps.
34998 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34999 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35000 (_dl_important_hwcaps): Moved to ...
35001 * elf/dl-hwcaps.c: Here. New file.
35002 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35005 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35006 if IS_IN_rtld isn't defined.
35008 * elf/dl-support.c (_dl_sysinfo_map): New.
35009 Include "get-dynamic-info.h" and "setup-vdso.h".
35010 (_dl_non_dynamic_init): Call setup_vdso.
35011 * elf/dynamic-link.h: Don't include <assert.h>.
35012 (elf_get_dynamic_info): Moved to ...
35013 * elf/get-dynamic-info.h: Here. New file.
35014 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35015 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35016 * elf/setup-vdso.h: Here. New file.
35017 * elf/rtld.c: Include "setup-vdso.h".
35018 (dl_main): Call setup_vdso.
35020 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35022 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35023 creal in comment listing functions tested. List finite, isinf,
35024 isnan, isless, islessequal, isgreater, isgreaterequal,
35025 islessgreater, isunordered, lgamma_r and pow10 as functions and
35026 macros not tested. Mention which functions not tested are aliases
35027 for other functions. Fix typo. Note that signs of NaNs are not
35030 * scripts/config.guess: Update from config.git.
35031 * scripts/config.sub: Likewise.
35033 2012-10-04 Roland McGrath <roland@hack.frob.com>
35035 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35036 * misc/madvise.c (madvise): Renamed to __madvise.
35037 Make madvise a weak alias.
35038 * include/sys/mman.h: Declare __madvise.
35039 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35040 * sysdeps/unix/syscalls.list
35041 (madvise): Make __madvise the strong name, and madvise a weak alias.
35042 * sysdeps/unix/sysv/linux/syscalls.list
35043 (madvise, mmap): Remove redundant entries.
35044 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35045 * malloc/malloc.c (mtrim): Likewise.
35046 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35048 2012-10-03 Roland McGrath <roland@hack.frob.com>
35050 * sysdeps/mach/hurd/dl-cache.c: File removed.
35051 * config.h.in (USE_LDCONFIG): New #undef.
35052 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35053 * configure: Regenerated.
35054 * elf/Makefile (dl-routines): Add dl-cache only under
35055 [$(use-ldconfig) = yes].
35056 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35057 cache on [USE_LDCONFIG].
35058 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35060 * elf/rtld.c (dl_main): Likewise.
35062 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35064 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35065 _SC_LEVEL4_CACHE_LINESIZE.
35067 2012-10-03 Roland McGrath <roland@hack.frob.com>
35069 * sysdeps/unix/bsd/confstr.h: File removed.
35071 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35073 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35076 2012-10-02 Roland McGrath <roland@hack.frob.com>
35078 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35079 Make 'mapoff' field ElfW(Off) rather than off_t.
35081 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35083 * nscd/Makefile: Remove nscd-cflags and all its users.
35084 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35085 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35088 * malloc.c (malloc_printerr): Clarify error message.
35090 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35094 Set bit_FMA_Usable if FMA is supported.
35095 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35097 (bit_FMA4_Usable): Updated.
35098 (index_FMA_Usable): New macro.
35099 (CPUID_FMA): Likewise
35100 (HAS_FMA): Defined with bit_FMA_Usable.
35102 2012-10-01 Roland McGrath <roland@hack.frob.com>
35104 * bits/types.h (__swblk_t): Type removed.
35105 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35106 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35108 (__SWBLK_T_TYPE): Likewise.
35109 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35110 (__SWBLK_T_TYPE): Likewise.
35111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35112 (__SWBLK_T_TYPE): Likewise.
35113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35114 (__SWBLK_T_TYPE): Likewise.
35116 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35117 Honza Horak <hhorak@redhat.com>
35119 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35120 (xdr_mapname): Use YPMAXMAP as maxsize.
35121 (xdr_peername): Use YPMAXPEER as maxsize.
35122 (xdr_keydat): Use YPAXRECORD as maxsize.
35123 (xdr_valdat): Use YPMAXRECORD as maxsize.
35125 2012-10-01 Roland McGrath <roland@hack.frob.com>
35127 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35129 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35130 * csu/init-first.c: ... here.
35131 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35132 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35133 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35134 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35135 * sysdeps/i386/init-first.c: File removed.
35136 * sysdeps/sh/init-first.c: File removed.
35138 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35142 if x * y might underflow to zero and z is zero.
35143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35145 * math/libm-test.inc (min_subnorm_value): New variable.
35146 (fma_test): Add more tests.
35147 (fma_test_towardzero): Likewise.
35148 (fma_test_downward): Likewise
35149 (fma_test_upward): Likewise.
35150 (initialize): Set min_subnorm_value.
35152 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35157 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35158 mode for addition resulting in exact zero.
35159 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35162 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35163 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35164 * math/libm-test.inc (fma_test): Add more tests.
35165 (fma_test_towardzero): New function.
35166 (fma_test_downward): Likewise.
35167 (fma_test_upward): Likewise.
35168 (main): Call the new functions.
35170 2012-09-28 David S. Miller <davem@davemloft.net>
35172 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35174 2012-09-28 Roland McGrath <roland@hack.frob.com>
35176 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35177 instead of SIGALRM.
35179 * sysdeps/gnu/_G_config.h: Moved to ...
35180 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35181 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35182 * sysdeps/generic/_G_config.h: ... here.
35184 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35186 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35188 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35189 Conditionalize target on [libnss_test1.so-version].
35191 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35193 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35194 (elfobjdir): Move out of conditionals.
35196 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35197 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35198 (__nss_lookup_function): Conditionalize label remove_from_tree on
35199 [!DO_STATIC_NSS || SHARED], matching its only use.
35201 2012-09-28 David S. Miller <davem@davemloft.net>
35203 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35204 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35206 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35208 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35210 when HWCAP_SPARC_CRYPTO is present.
35212 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35214 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35216 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35219 * stdio-common/vfprintf.c (process_string_arg): Revert
35222 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35224 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35226 * stdio-common/tst-sprintf.c: Include <locale.h>
35227 (main): Test sprintf's handling of incomplete multibyte
35230 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35232 * elf/dl-runtime.c (VERSYMIDX): Removed.
35233 * elf/dl-version.c (VERSYMIDX): Likewise.
35234 * elf/do-rel.h (VERSYMIDX): Likewise.
35235 (VALIDX): Likewise.
35236 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35237 * elf/rtld.c (VALIDX): Likewise.
35238 (ADDRIDX): Likewise.
35239 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35240 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35241 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35242 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35243 (VALIDX): Likewise.
35244 (ADDRIDX): Likewise.
35246 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35248 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35250 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35253 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35255 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35256 addresses are in the same scope as 192.0.2/24.
35257 * posix/gai.conf: Document new scope table defaults.
35259 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35262 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35263 for ftell. Compute offsets from write pointers instead.
35264 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35266 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35269 * libio/Makefile (tests): New test case tst-fseek.
35270 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35271 combination works in wide mode.
35272 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35273 state when the external buffer state changes.
35275 2012-09-27 David S. Miller <davem@davemloft.net>
35278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35279 pass reloc->r_addend in as the 'high' argument to
35280 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35284 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35286 * rt/tst-aio2.c: Include <pthread.h>.
35287 * rt/tst-aio3.c: Likewise.
35289 2012-09-27 Steve Ellcey <sellcey@mips.com>
35291 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35293 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35295 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35296 contents on [SHARED].
35298 2012-09-26 Marek Polacek <polacek@redhat.com>
35302 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35303 for C++ and GCC <4.3 as well as for non GCC compilers.
35305 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35309 2012-09-25 Roland McGrath <roland@hack.frob.com>
35311 * Makefile.in (all, install): Declare with .PHONY.
35312 Reported by Michael Hope <michael.hope@linaro.org>.
35314 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35316 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35317 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35319 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35321 (sydep_routines): Add the new and the internal functions.
35322 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35323 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35325 (GLIBC_2.17): Add the new function.
35326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35327 (GLIBC_2.17): Likewise.
35328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35329 (GLIBC_2.17): Likewise.
35330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35331 (GLIBC_2.17): Likewise.
35332 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35334 2012-09-25 Alan Modra <amodra@gmail.com>
35336 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35337 Add release barrier before setting once_control to say
35338 initialisation is done. Add hints on lwarx. Use macro in
35340 (clear_once_control): Add release barrier.
35342 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35345 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35347 * math/s_clog10.c (__clog10): Likewise.
35348 * math/s_clog10f.c (__clog10f): Likewise.
35349 * math/s_clog10l.c (__clog10l): Likewise.
35350 * math/s_clogf.c (__clogf): Likewise.
35351 * math/s_clogl.c (__clogl): Likewise.
35352 * math/Makefile (libm-calls): Add x2y2m1.
35353 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35354 (__x2y2m1): Likewise.
35355 (__x2y2m1l): Likewise.
35356 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35357 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35358 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35359 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35360 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35361 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35362 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35363 * sysdeps/i386/fpu/libm-test-ulps: Update.
35364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35367 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35368 int as type of variable DEPTH.
35369 (glob): Use size_t instead of int as type of variables NEWCOUNT
35372 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35374 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35375 Add s_sincosf-sse2.
35376 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35377 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35378 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35379 macros for using routine as __sincosf_ia32.
35380 Use macro for function declaration and weak_alias.
35381 * sysdeps/i386/fpu/libm-test-ulps: Update.
35383 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35386 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35387 subnormal argument.
35388 * math/s_cexpf.c (__cexpf): Likewise.
35389 * math/s_csinf.c (__csinf): Likewise.
35390 * math/s_csinhf.c (__csinhf): Likewise.
35391 * math/s_ctanf.c (__ctanf): Likewise.
35392 * math/s_ctanhf.c (__ctanhf): Likewise.
35393 * math/s_ccosh.c (__ccoshf): Likewise.
35394 * math/s_cexp.c (__cexpl): Likewise.
35395 * math/s_csin.c (__csin): Likewise.
35396 * math/s_csinh.c (__csinh): Likewise.
35397 * math/s_ctan.c (__ctan): Likewise.
35398 * math/s_ctanh.c (ctanh): Likewise.
35399 * math/s_ccoshl.c (__ccoshl): Likewise.
35400 * math/s_cexpl.c (__cexpl): Likewise.
35401 * math/s_csinl.c (__csinl): Likewise.
35402 * math/s_csinhl.c (__csinhl): Likewise.
35403 * math/s_ctanl.c (__ctanl): Likewise.
35404 * math/s_ctanhl.c (__ctanhl): Likewise.
35406 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35408 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35409 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35410 (_IO_off_t): Define to __off_t, not _G_off_t.
35411 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35412 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35413 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35414 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35415 type of __dummy and __dummy2 fields.
35416 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35417 (_G_ssize_t): Likewise.
35418 (_G_off_t): Likewise.
35419 (_G_pid_t): Likewise.
35420 (_G_uid_t): Likewise.
35421 (_G_wchar_t): Likewise.
35422 (_G_wint_t): Likewise.
35423 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35424 (_G_ssize_t): Likewise.
35425 (_G_off_t): Likewise.
35426 (_G_pid_t): Likewise.
35427 (_G_uid_t): Likewise.
35428 (_G_wchar_t): Likewise.
35429 (_G_wint_t): Likewise.
35430 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35431 (_G_ssize_t): Likewise.
35432 (_G_off_t): Likewise.
35433 (_G_pid_t): Likewise.
35434 (_G_uid_t): Likewise.
35435 (_G_wchar_t): Likewise.
35436 (_G_wint_t): Likewise.
35438 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35440 * malloc/arena.c: Include malloc-sysdep.h.
35441 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35442 is sufficient to shrink the heap or an unmap is needed.
35443 * sysdeps/generic/malloc-sysdep.h: New file. Define
35444 new function check_may_shrink_heap.
35445 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35446 new function check_may_shrink_heap.
35448 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35450 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35453 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35455 * catgets/test-gencat.sh: Add "set -e".
35456 * elf/tst-pathopt.sh: Likewise.
35457 * grp/tst_fgetgrent.sh: Likewise.
35458 * iconvdata/run-iconv-test.sh: Likewise.
35459 * intl/tst-gettext.sh: Likewise.
35460 * intl/tst-gettext2.sh: Likewise.
35461 * intl/tst-gettext4.sh: Likewise.
35462 * intl/tst-gettext6.sh: Likewise.
35463 * intl/tst-translit.sh: Likewise.
35464 * io/ftwtest-sh: Likewise.
35465 * libio/test-freopen.sh: Likewise.
35466 * malloc/tst-mtrace.sh: Likewise.
35467 * posix/globtest.sh: Likewise.
35468 * posix/tst-getconf.sh: Likewise.
35469 * posix/wordexp-tst.sh: Likewise.
35470 * stdio-common/tst-printf.sh: Likewise.
35471 * stdio-common/tst-unbputc.sh: Likewise.
35472 * stdlib/tst-fmtmsg.sh: Likewise.
35473 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35474 * catgets/Makefile: Do not specify -e option when running
35475 testsuite shell scripts.
35476 * elf/Makefile: Likewise.
35477 * grp/Makefile: Likewise.
35478 * iconvdata/Makefile: Likewise.
35479 * intl/Makefile: Likewise.
35480 * io/Makefile: Likewise.
35481 * libio/Makefile: Likewise.
35482 * malloc/Makefile: Likewise.
35483 * posix/Makefile: Likewise.
35484 * stdio-common/Makefile: Likewise.
35485 * stdlib/Makefile: Likewise.
35486 * sysdeps/x86_64/Makefile: Likewise.
35488 * io/ftwtest-sh: Add copyright header.
35489 * posix/globtest.sh: Likewise.
35490 * posix/tst-getconf.sh: Likewise.
35491 * posix/wordexp-tst.sh: Likewise.
35492 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35494 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35497 * Makeconfig (+link): Defined as $(+link-static) if
35498 $(build-shared) isn't yes.
35499 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35501 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35503 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35506 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35507 new chunk size with MALLOC_ALIGN_MASK.
35509 2012-09-24 Joseph Myers <joseph@codesourcery.com>
35512 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35514 (__printf_fphex): Determine rounding using get_rounding_mode and
35516 * stdio-common/tst-printf-round.c (struct hex_test): New
35518 (hex_tests): New variable.
35519 (test_hex_in_one_mode): New function.
35520 (do_test): Also run tests for hex float output.
35522 2012-09-21 Joseph Myers <joseph@codesourcery.com>
35524 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35525 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35526 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35527 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35528 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35529 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35530 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35531 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35533 2012-09-20 Joseph Myers <joseph@codesourcery.com>
35535 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35536 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35537 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35538 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35540 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35543 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35545 * elf/tst-rtld-load-self.sh: New test.
35546 * elf/Makefile: Run it.
35548 2012-09-18 Joseph Myers <joseph@codesourcery.com>
35550 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35551 (tst-writev-ENV): Remove.
35552 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35554 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35556 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35558 2012-09-17 Joseph Myers <joseph@codesourcery.com>
35560 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35562 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35564 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35565 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35566 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35569 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35572 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35573 * config.make.in (have-cpp-asm-debuginfo): Removed.
35574 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35575 * configure: Regenerated.
35577 2012-09-14 Joseph Myers <joseph@codesourcery.com>
35580 * stdio-common/printf_fp.c: Include <stdbool.h> and
35582 (___printf_fp): Determine rounding using get_rounding_mode and
35584 * stdio-common/tst-printf-round.c: New file.
35585 * stdio-common/Makefile (tests): Add tst-printf-round.
35586 (link-libm): New variable.
35587 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35589 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35592 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35593 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35595 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35598 2012-09-13 Joseph Myers <joseph@codesourcery.com>
35600 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35601 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35602 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35603 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35605 2012-09-12 Joseph Myers <joseph@codesourcery.com>
35608 * include/rounding-mode.h: New file.
35609 * sysdeps/generic/get-rounding-mode.h: Likewise.
35610 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35611 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35612 (MAX_VALUE): New macro.
35613 (MIN_VALUE): Likewise.
35614 (overflow_value): New function.
35615 (underflow_value): Likewise.
35616 (round_and_return): Use overflow_value and underflow_value to
35617 determine return values in overflow and underflow cases. Use
35618 round_away to determine rounding depending on rounding mode.
35619 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35620 determine return values in overflow and underflow cases.
35621 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35622 (struct test_results): New structure.
35623 (struct test): Use struct test_results to store expected results
35624 for all rounding modes.
35625 (TEST): Include expected results for all rounding modes.
35626 (test_in_one_mode): New function.
35627 (do_test): Use test_in_one_mode to compute and check results.
35628 Check results for all rounding modes.
35629 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35632 2012-12-09 Allan McRae <allan@archlinux.org>
35634 * sysdeps/i386/fpu/libm-test-ulps: Update
35636 2012-09-11 Joseph Myers <joseph@codesourcery.com>
35638 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35639 (_G_int32_t): Likewise.
35640 (_G_uint16_t): Likewise.
35641 (_G_uint32_t): Likewise.
35642 (_G_HAVE_BOOL): Likewise.
35643 (_G_HAVE_ATEXIT): Likewise.
35644 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35645 (_G_HAVE_IO_FILE_OPEN): Likewise.
35646 * sysdeps/gnu/_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/mach/hurd/_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.
35663 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35665 * csu/libc-tls.c: Update copyright years.
35667 2012-09-10 Joseph Myers <joseph@codesourcery.com>
35669 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35670 [!_G_USING_THUNKS]: Remove conditional code.
35671 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35672 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35674 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35675 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35676 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35677 (_G_VTABLE_LABEL_PREFIX): Likewise.
35678 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35679 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35680 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35681 (_G_VTABLE_LABEL_PREFIX): Likewise.
35682 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35683 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35684 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35685 (_G_VTABLE_LABEL_PREFIX): Likewise.
35686 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35688 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35690 * libio/Makefile: Include ../Makeconfig before tests.
35691 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35692 only if $(build-shared) is yes.
35694 * iconv/gconv_db.c: Update copyright years.
35696 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35698 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35699 unwind info if defined PIC. Fix special cases description.
35700 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35702 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35704 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35706 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35708 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35710 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35713 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35714 (LDLIBS-tst-chk4): This.
35715 (LDFLAGS-tst-chk5): Renamed to ...
35716 (LDLIBS-tst-chk5): This.
35717 (LDFLAGS-tst-chk6): Renamed to ...
35718 (LDLIBS-tst-chk6): This.
35719 (LDFLAGS-tst-lfschk4): Renamed to ...
35720 (LDLIBS-tst-lfschk4): This.
35721 (LDFLAGS-tst-lfschk5): Renamed to ...
35722 (LDLIBS-tst-lfschk5): This.
35723 (LDFLAGS-tst-lfschk6): Renamed to ...
35724 (LDLIBS-tst-lfschk6): This.
35726 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35727 on $(common-objpfx)soversions.mk.
35729 2012-09-07 Joseph Myers <joseph@codesourcery.com>
35732 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35735 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35737 * malloc/arena.c (arena_get_retry): New function that gets
35738 another arena for the caller to try its request on.
35739 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35740 current arena cannot fulfill the request.
35741 (__libc_memalign): Likewise.
35742 (__libc_memalign): Likewise.
35743 (__libc_pvalloc): Likewise.
35744 (__libc_calloc): Likewise.
35746 2012-09-05 John Tobey <john.tobey@gmail.com>
35749 * manual/arith.texi (Operations on Complex): Fix description
35750 of carg branch cut.
35752 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35755 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35759 * manual/memory.texi (Memory): Make order of menu items match
35762 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35764 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35765 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35766 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35768 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35770 * csu/libc-tls.c (static_dtv): Renamed to ...
35771 (_dl_static_dtv): This. Make it global.
35772 (_dl_initial_dtv): Removed.
35773 (__libc_setup_tls): Updated.
35774 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35775 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35778 2012-09-06 Petr Machata <pmachata@redhat.com>
35780 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35781 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35782 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35783 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35785 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35788 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35789 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35792 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35795 * Makeconfig (link-static-before-libc): Replace $(+prector)
35797 (link-static-after-libc): Replace $(+postctor) with
35799 (link-bounded): Replace $(+prector)/$(+postctor) with
35800 $(+prectorT)/$(+postctorT).
35801 (+prectorT): New macro.
35802 (+postctorT): Likewise.
35804 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35806 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35807 (round_str): Handle values above the maximum for IBM long double
35809 * stdlib/tst-strtod-round.c (tests): Regenerated.
35811 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35813 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35815 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35816 zarch_nohighgprs around the zarch optimized routines.
35817 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35818 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35819 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35822 2012-09-05 David S. Miller <davem@davemloft.net>
35824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35826 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35827 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35828 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35829 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35832 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35834 * malloc/arena.c: Fold copyright years.
35835 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35837 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35839 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35841 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35843 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35845 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35847 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35848 change internal state upon failure.
35850 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35852 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35853 * malloc/memusage.c (mmap): Likewise.
35854 (mmap64, mremap): Likewise. Adjust name in comment.
35856 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35858 * libio/fileops.c: Fix typos in comments.
35859 * libio/oldfileops.c: Likewise.
35860 * libio/wfileops.c: Likewise.
35862 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35865 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35866 (tst-malloc-usable-ENV): Set environment for test case.
35867 * malloc/hooks.c (malloc_check_get_size): New function to get
35869 * malloc/malloc.c (musable): Use malloc_check_get_size.
35870 * malloc/tst-malloc-usable.c: New test case.
35872 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35874 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35876 2012-09-05 Allan McRae <allan@archlinux.org>
35879 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35880 determine header location.
35881 * configure: Regenerated.
35883 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35885 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35887 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35888 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35890 (test): Regenerate.
35892 2012-09-04 David S. Miller <davem@davemloft.net>
35894 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35895 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35896 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35898 2012-09-04 Florian Weimer <fweimer@redhat.com>
35900 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35903 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35905 2012-09-04 Joseph Myers <joseph@codesourcery.com>
35908 * libio/iogetdelim.c: Include <limits.h>.
35909 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35910 + len + 1 would overflow.
35912 2012-09-03 Andreas Jaeger <aj@suse.de>
35914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35915 * sysdeps/i386/fpu/libm-test-ulps: Update.
35917 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35919 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35920 Add s_sinf-sse2, s_conf-sse2.
35922 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35923 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35924 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35925 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35927 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35928 for using routine as __sinf_ia32.
35929 Use macro for function declaration and weak_alias.
35930 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35931 for using routine as __cosf_ia32.
35932 Use macro for function declaration and weak_alias.
35934 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35935 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35937 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35938 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35941 * math/libm-test.inc (cos_test): Add more test cases.
35942 (sin_test): Likewise.
35943 (sincos_test): Likewise.
35945 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35947 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35948 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35950 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35952 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35955 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35956 first element of the GOT.
35957 (elf_machine_load_address): Return the difference between
35958 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35960 2012-09-01 Allan McRae <allan@archlinux.org>
35963 * configure.in (AWK): Require gawk version 3.0 or later.
35964 * configure: Regenerated.
35966 2012-09-01 Joseph Myers <joseph@codesourcery.com>
35968 * sysdeps/unix/sysv/linux/kernel-features.h
35969 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35970 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35971 [__NR_clock_getres]: Make code unconditional.
35972 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35973 (clock_getcpuclockid): Remove code left unreachable by removal of
35975 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35976 code unconditional.
35977 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35978 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35979 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35980 Make code unconditional.
35981 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35982 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35983 * sysdeps/unix/sysv/linux/clock_settime.c
35984 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35986 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35987 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35989 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35992 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35993 scripts/test-installation.pl.
35995 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35996 and $ld_so_version if it is set.
35998 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36001 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36002 failure if reading from procfs failed.
36003 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36005 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36007 * sysdeps/unix/sysv/linux/kernel-features.h
36008 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36009 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36010 Remove conditional code.
36011 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36012 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36013 Remove conditional code.
36014 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36015 * sysdeps/unix/sysv/linux/i386/fxstat.c
36016 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36017 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36018 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36019 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36020 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36021 * sysdeps/unix/sysv/linux/i386/lxstat.c
36022 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36023 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36024 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36025 Remove conditional code.
36026 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36027 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36028 Remove conditional code.
36029 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36030 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36031 <kernel-features.h>.
36032 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36034 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36035 Remove conditional code.
36036 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36037 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36038 Remove conditional.
36040 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36043 * NEWS: Add fixed bug number.
36045 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36048 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36049 underflowing exponent in case of negative sign.
36050 * stdlib/tst-strtod-round-data: Add more tests.
36051 * stdlib/tst-strtod-round.c (tests): Regenerated.
36054 * stdlib/strtod_l.c (NDIG): Remove.
36055 (HEXNDIG): Likewise.
36056 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36057 smallest representable value.
36058 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36059 lie within an exact representation of 1/2 ulp of the result.
36060 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36062 (TENS_P9_IDX): Define unconditionally.
36063 (TENS_P9_SIZE): Likewise.
36064 (TENS_P10_IDX): Likewise.
36065 (TENS_P10_SIZE): Likewise.
36066 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36067 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36068 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36069 entries for 10^2^13 and 10^2^14.
36070 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36071 (TENS_P13_IDX): Define.
36072 (TENS_P13_SIZE): Likewise.
36073 (TENS_P14_IDX): Likewise.
36074 (TENS_P14_SIZE): Likewise.
36075 (_fpioconst_pow10): Change array size to
36076 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36078 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36079 1024]: Add entries for 10^2^13 and 10^2^14.
36080 [LAST_POW10 > _LAST_POW10]: Remove #error.
36081 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36082 (_fpioconst_pow10): Change array size to
36083 FPIOCONST_POW10_ARRAY_SIZE.
36084 * stdlib/gen-fpioconst.c: New file.
36085 * stdlib/gen-tst-strtod-round.c: Likewise.
36086 * stdlib/tst-strtod-round-data: Likewise.
36087 * stdlib/tst-strtod-round.c: Likewise.
36088 * stdlib/Makefile (tests): Add tst-strtod-round.
36091 * stdlib/strtod_l.c: Include <stdint.h>.
36092 (NDEBUG): Do not define.
36093 (round_and_return): Change EXPONENT parameter to type intmax_t.
36094 Rearrange calculations to avoid internal overflow possibilities.
36095 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36096 Rearrange calculations to avoid internal overflow possibilities.
36097 Assert that number fits inside MPNSIZE limbs.
36098 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36099 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36100 calculations and add assertions to avoid internal overflow
36101 possibilities. Add casts to avoid signed/unsigned operations.
36102 * stdlib/tst-strtod-overflow.c: New file.
36103 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36105 2012-08-25 Marek Polacek <polacek@redhat.com>
36107 * time/time.h: Fix some typos in comments.
36109 2012-08-23 Roland McGrath <roland@hack.frob.com>
36111 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36112 * posix/tst-rfc3484-2.c: Likewise.
36113 * posix/tst-rfc3484-3.c: Likewise.
36115 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36117 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36118 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36120 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36122 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36123 #include of fxstatat64.c.
36125 2012-08-22 Roland McGrath <roland@hack.frob.com>
36127 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36128 * shadow/getspent_r.c: Likewise.
36129 * shadow/getspnam.c: Likewise.
36130 * shadow/getspnam_r.c: Likewise.
36131 * gshadow/getsgent.c: Likewise.
36132 * gshadow/getsgent_r.c: Likewise.
36133 * gshadow/getsgnam.c: Likewise.
36134 * gshadow/getsgnam_r.c: Likewise.
36135 * inet/getnetbyad.c: Likewise.
36136 * inet/getnetbyad_r.c: Likewise.
36137 * inet/getnetbynm.c: Likewise.
36138 * inet/getnetbynm_r.c: Likewise.
36139 * inet/getnetent.c: Likewise.
36140 * inet/getnetent_r.c: Likewise.
36141 * inet/getproto.c: Likewise.
36142 * inet/getproto_r.c: Likewise.
36143 * inet/getprtent.c: Likewise.
36144 * inet/getprtent_r.c: Likewise.
36145 * inet/getprtname.c: Likewise.
36146 * inet/getprtname_r.c: Likewise.
36147 * inet/getrpcbyname.c: Likewise.
36148 * inet/getrpcbyname_r.c: Likewise.
36149 * inet/getrpcbynumber.c: Likewise.
36150 * inet/getrpcbynumber_r.c: Likewise.
36151 * inet/getrpcent.c: Likewise.
36152 * inet/getrpcent_r.c: Likewise.
36153 * inet/getaliasent.c: Likewise.
36154 * inet/getaliasent_r.c: Likewise.
36155 * inet/getaliasname.c: Likewise.
36156 * inet/getaliasname_r.c: Likewise.
36157 * nscd/getgrgid_r.c: Likewise.
36158 * nscd/getgrnam_r.c: Likewise.
36159 * nscd/gethstbyad_r.c: Likewise.
36160 * nscd/gethstbynm3_r.c: Likewise.
36161 * nscd/getpwnam_r.c: Likewise.
36162 * nscd/getpwuid_r.c: Likewise.
36163 * nscd/getsrvbynm_r.c: Likewise.
36164 * nscd/getsrvbypt_r.c: Likewise.
36165 * nscd/gai.c: Likewise.
36167 * configure.in (build_nscd): New substituted variable, set
36168 by --disable-build-nscd and defaults to $use_nscd.
36169 * configure: Regenerated.
36170 * config.make.in (build-nscd): New substituted variable.
36171 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36172 Change conditional to require [$(build-nscd) = yes] as well.
36173 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36176 * configure.in (use_nscd): New substituted variable, set by
36177 --disable-nscd. If enabled, define USE_NSCD.
36178 * configure: Regenerated.
36179 * config.h.in: Add USE_NSCD.
36180 * config.make.in (use-nscd): New substituted variable.
36181 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36182 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36183 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36184 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36185 (CFLAGS-getgrnam_r.c): Likewise.
36186 (CFLAGS-initgroups.c): Likewise.
36187 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36188 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36190 * inet/getnetgrent_r.c
36191 (nscd_setnetgrent): New function, broken out of ...
36192 (setnetgrent): ... here. Call it.
36193 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36194 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36195 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36196 * nscd/Makefile (routines, aux): Move definitions after include of
36197 Makeconfig. Conditionalize on [$(use-nscd) != no].
36198 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36199 Conditionalize on [USE_NSCD].
36200 (is_nscd, nscd_init_cb): Likewise.
36201 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36202 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36203 * nss/nss_db/db-init.c: Likewise.
36204 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36206 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36207 (make_request): Use it.
36208 (cache_valid_p): New function.
36209 (__check_pf): Use it.
36210 * NEWS: Add item for --disable-nscd.
36212 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36214 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36215 to support sed >= 4.2.1-20-ga9bf076.
36216 * configure: Regenerated.
36218 2012-08-22 Roland McGrath <roland@hack.frob.com>
36220 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36221 Conditionalize whole body on [IREL].
36223 2012-08-22 Jeff Law <law@redhat.com>
36226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36227 if the family is PF_UNSPEC.
36229 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36231 * Makerules (lib-version): Rename from V.
36232 (install-lib-nosubdir): Change V to lib-version.
36234 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36237 * powerpc32/power6/wcschr.c: New file.
36238 * powerpc32/power6/wcscpy.c: New file.
36239 * powerpc32/power6/wcsrchr.c: New file.
36240 * powerpc64/power6/wcschr.c: New file.
36241 * powerpc64/power6/wcscpy.c: New file.
36242 * powerpc64/power6/wcsrchr.c: New file.
36244 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36246 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36247 (two_way_short_needle): Use it.
36248 * string/strstr.c (AVAILABLE1_USES_J): Define.
36249 * string/strcasestr.c: Likewise.
36251 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36253 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36256 * NEWS: Add an entry.
36257 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36258 define their defaults.
36259 (two_way_short_needle): Detect end-of-string on-the-fly.
36260 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36261 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36262 * string/bug-strcasestr1.c: New test.
36263 * string/Makefile: Run it.
36265 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36268 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36269 the first character.
36271 2012-08-21 Roland McGrath <roland@hack.frob.com>
36273 * csu/elf-init.c (__libc_csu_irel): Function removed.
36274 * csu/libc-start.c (apply_irel): New function.
36275 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36277 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36279 * sysdeps/unix/sysv/linux/kernel-features.h
36280 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36281 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36282 <kernel-features.h>.
36283 [__NR_fadvise64_64]: Make code unconditional.
36284 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36285 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36286 !__NR_fadvise64_64)]: Likewise.
36287 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36288 !__NR_fadvise64_64))]: Likewise.
36289 [__NR_fadvise64]: Make code unconditional.
36290 [!__NR_fadvise64]: Remove conditional code.
36291 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36292 <kernel-features.h>.
36293 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36295 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36298 not include <kernel-features.h>.
36299 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36301 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36303 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36304 include <kernel-features.h>.
36305 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36307 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36310 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36312 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36313 slight instruction rearrangements per scrollpipe analysis.
36314 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36316 2012-08-20 Roland McGrath <roland@hack.frob.com>
36318 * manual/syslog.texi (syslog; vsyslog, closelog):
36319 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36320 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36322 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36323 DSOCAPS to match condition on defining it.
36325 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36327 * sysdeps/unix/sysv/linux/kernel-features.h
36328 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36330 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36331 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36333 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36334 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36336 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36337 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36339 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36340 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36342 * sysdeps/unix/sysv/linux/kernel-features.h
36343 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36344 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36346 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36347 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36348 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36349 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36350 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36351 Make code unconditional.
36352 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36353 (__mmap64) [!__NR_mmap2]: Likewise.
36354 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36355 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36356 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36357 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36358 [__NR_mmap2]: Make code unconditional.
36359 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36360 (__mmap64) [!__NR_mmap2]: Likewise.
36362 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36364 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36366 2012-08-18 Andreas Jaeger <aj@suse.de>
36368 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36370 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36372 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36373 * include/unistd.h (__have_sock_cloexec): Likewise.
36374 (__have_pipe2): Likewise.
36375 (__have_dup3): Likewise.
36377 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36380 * include/unistd.h (__have_pipe2): Change define into an extern int.
36381 (__have_dup3): Likewise.
36382 * socket/have_sock_cloexec.c: Include fcntl.h.
36383 (__have_pipe2): New variable.
36384 (__have_dup3): Likewise.
36386 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36388 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36390 2012-08-17 Marek Polacek <polacek@redhat.com>
36392 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36393 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36395 2012-08-17 Roland McGrath <roland@hack.frob.com>
36397 * configure.in: Add AC_SUBST for sysheaders.
36398 * configure: Regenerated.
36399 * config.make.in (sysheaders): New substituted variable.
36401 * sysdeps/unix/mkfifo.c: Moved ...
36402 * sysdeps/posix/mkfifo.c: ... here.
36403 * sysdeps/unix/mkfifoat.c: Moved ...
36404 * sysdeps/posix/mkfifoat.c: ... here.
36406 * sysdeps/unix/utime.c: Moved ...
36407 * sysdeps/posix/utime.c: ... here.
36409 * sysdeps/unix/time.c: Moved ...
36410 * sysdeps/posix/time.c: ... here.
36411 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36412 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36414 * sysdeps/unix/nice.c: Moved ...
36415 * sysdeps/posix/nice.c: ... here.
36417 * sysdeps/unix/alarm.c: Moved ...
36418 * sysdeps/posix/alarm.c: ... here.
36420 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36422 2012-08-17 Jeff Law <law@redhat.com>
36424 * intl/Makefile (codeset_mo): New variable.
36425 ($(codeset_mo)): New target.
36426 (tst-codeset.out): Depend on that. Remove explicit rule.
36427 (tst-gettext3.out, tst-gettext5.out): Likewise.
36428 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36429 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36430 * intl/tst-codeset.sh: Remove.
36431 * intl/tst-gettext3.sh: Likewise.
36432 * intl/tst-gettext5.sh: Likewise.
36434 2012-08-17 Roland McGrath <roland@hack.frob.com>
36436 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36437 * sysdeps/unix/syscalls.list: ... here.
36439 * sysdeps/posix/getaddrinfo.c
36440 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36441 (gaiconf_init, gaiconf_reload): Use them.
36442 [!_STATBUF_ST_NSEC]
36443 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36444 Define using time_t rather than struct timespec.
36446 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36447 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36449 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36451 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36452 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36455 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36456 __libc_cleanup_push argument.
36458 * bits/param.h: New file.
36459 * misc/sys/param.h: New file.
36460 * include/sys/param.h: New file.
36461 * misc/Makefile (headers): Add bits/param.h.
36462 * sysdeps/generic/sys/param.h: File removed.
36463 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36464 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36465 * sysdeps/mach/hurd/bits/param.h: New file.
36466 * sysdeps/mach/hurd/sys/param.h: File removed.
36468 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36471 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36473 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36474 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36477 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36478 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36479 rather than -D_IO_MTSAFE_IO conditionally.
36480 * stdio-common/Makefile (CPPFLAGS): Likewise.
36481 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36482 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36483 Use $(libio-mtsafe).
36484 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36485 of -D_IO_MTSAFE_IO.
36486 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36487 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36488 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36489 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36490 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36491 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36492 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36493 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36494 (CFLAGS-fread_u_chk.c): Likewise.
36495 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36496 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36497 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36498 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36499 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36500 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36501 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36502 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36503 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36505 * libio/Makefile: Test [$(libc-reentrant) = yes]
36506 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36509 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36510 * sysdeps/pthread/configure: File removed.
36511 * sysdeps/pthread/Makeconfig: New file.
36512 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36513 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36515 2012-08-16 Gary Benson <gbenson@redhat.com>
36517 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36518 unmapping the first object in a namespace.
36520 2012-08-16 Roland McGrath <roland@hack.frob.com>
36522 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36523 (__internal_setnetgrent): ... this. Add internal_function to
36524 definition. Add libc_hidden_def.
36525 (setnetgrent): Update caller.
36526 (internal_endnetgrent): Renamed to ...
36527 (__internal_endnetgrent): ... this. Add internal_function to
36528 definition. Add libc_hidden_def.
36529 (endnetgrent): Update caller.
36530 (internal_getnetgrent_r): Renamed to ...
36531 (__internal_getnetgrent_r): ... this. Add internal_function to
36532 definition. Add libc_hidden_def.
36533 (__getnetgrent_r): Update caller.
36534 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36536 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36538 * stdlib/longlong.h: Update from GCC.
36540 2012-08-16 Roland McGrath <roland@hack.frob.com>
36542 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36543 on _QL, which is set by umul_ppmm but never used.
36544 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36545 variables, which are set by GMP macros but never used.
36546 * stdio-common/_itowa.c (_itowa): Likewise.
36547 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36548 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36550 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36552 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36553 struct La_sh_regs is not constant.
36554 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36555 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36556 and struct La_sparc64_regs are not constant.
36558 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36560 * sysdeps/unix/sysv/linux/kernel-features.h
36561 (__ASSUME_POSIX_TIMERS): Remove.
36562 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36563 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36564 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36565 Make code unconditional.
36566 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36567 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36568 Make code unconditional.
36569 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36570 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36571 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36572 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36573 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36574 Make code unconditional.
36575 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36576 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36577 (__libc_missing_posix_timers): Remove.
36579 2012-08-15 Roland McGrath <roland@hack.frob.com>
36581 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36582 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36584 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36586 * elf/dl-sym.c: Include <stdlib.h>.
36588 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36589 constants, which avoids warnings in 32-bit builds.
36591 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36592 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36594 * misc/lseek.c: File moved to ...
36595 * io/lseek.c: ... here.
36597 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36599 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36600 shifting LEN more than 31 bits at once.
36602 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36605 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36606 segmentation fault for a case of two empty input strings.
36607 * string/test-strncasecmp.c (check1): Renamed to...
36608 (bz12205): ...this.
36609 (bz14195): Add new testcase for two empty input strings and N > 0.
36610 (test_main): Call new testcase, adapt for renamed function.
36612 2012-08-15 Andreas Jaeger <aj@suse.de>
36615 * crypt/md5test2.c: New test, based on test supplied by Serge
36616 Belyshev <belyshev@depni.sinp.msu.ru>.
36617 * crypt/Makefile (xtests): Add md5test-giant..
36618 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36620 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36623 * crypt/md5.c (md5_process_block): Don't assume the buffer
36624 length is less than 2**32.
36625 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36626 length is less than 2**64.
36628 2012-08-15 Roland McGrath <roland@hack.frob.com>
36630 * string/str-two-way.h: Include <sys/param.h>.
36631 (MAX): Macro removed.
36633 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36634 Move #define and #undef of memmove to just before and after
36635 including <string.h>.
36637 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36638 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36639 and after including <string.h>. Move declarations of
36640 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36641 to before #include "string/memmove.c".
36643 * include/dirent.h: Declare __getdirentries.
36645 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36646 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36648 2012-08-14 Mike Frysinger <vapier@gentoo.org>
36650 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36651 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36652 * sysdeps/i386/configure: Regenerated.
36653 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36654 STABS_CURRENT_FILE, and STABS_FUN.
36655 (END): Remove call to STABS_FUN_END.
36656 (STABS_CURRENT_FILE1): Delete.
36657 (STABS_CURRENT_FILE): Likewise.
36658 (STABS_FUN): Likewise.
36659 (STABS_FUN_END): Likewise.
36660 (STABS_FUN2): Likewise.
36661 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36662 * sysdeps/x86_64/configure: Regenerated.
36664 2012-08-14 Roland McGrath <roland@hack.frob.com>
36666 * elf/dl-open.c: Include <atomic.h>.
36667 * elf/dl-lookup.c: Likewise.
36669 2012-08-14 Joseph Myers <joseph@codesourcery.com>
36671 * sysdeps/unix/sysv/linux/kernel-features.h
36672 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36673 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36675 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36677 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36678 condition on __ASSUME_CLONE_THREAD_FLAGS.
36680 2012-08-14 Andreas Jaeger <aj@suse.de>
36682 * sysdeps/i386/fpu/libm-test-ulps: Update.
36684 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36686 * include/atomic.h (atomic_exchange_and_add): Split into ...
36687 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36690 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36694 2012-08-13 Jeff Law <law@redhat.com>
36696 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36697 null byte in the output string.
36699 2012-08-10 Joseph Myers <joseph@codesourcery.com>
36701 * sysdeps/unix/sysv/linux/kernel-features.h
36702 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36703 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36704 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36705 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36706 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36707 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36708 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36710 2012-08-09 Jeff Law <law@redhat.com>
36713 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36714 When avoid_arena is set, don't retry in the that arena. Pick the
36715 next one, whatever it might be.
36716 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36717 (arena_lock): Pass in new parameter to arena_get2.
36718 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36720 (__libc_malloc): Unify retrying after main arena failure with
36721 __libc_memalign version.
36722 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36724 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36727 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36728 to __redirect_strstr.
36729 (__strstr_sse42): Use typeof __redirect_strstr.
36730 (__strstr_ia32): Likewise.
36731 (__libc_strstr): New prototype.
36732 (strstr): Renamed to ...
36733 (__libc_strstr): This.
36734 (strstr): New strong alias of __libc_strstr.
36735 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36736 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36739 (__libc_time): New prototype.
36740 (time_ifunc): Replace time with __libc_time.
36741 (time): New strong alias and hidden definition of __libc_time.
36742 (__GI_time): Remove strong alias.
36743 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36744 Include <stddef.h>.
36745 (memmove): Redefined to __redirect_memmove.
36746 (__memmove_sse2): Use typeof __redirect_memmove.
36747 (__memmove_ssse3): Likewise.
36748 (__memmove_ssse3_back): Likewise.
36749 (__libc_memmove): New prototype.
36750 (memmove): Renamed to ...
36751 (__libc_memmove): This.
36752 (memmove): New strong alias of __libc_memmove.
36754 2012-08-08 Mark Salter <msalter@redhat.com>
36757 (R_MN10300_TLS_GD): Define.
36758 (R_MN10300_TLS_LD): Likewise.
36759 (R_MN10300_TLS_LDO): Likewise.
36760 (R_MN10300_TLS_GOTIE): Likewise.
36761 (R_MN10300_TLS_IE): Likewise.
36762 (R_MN10300_TLS_LE): Likewise.
36763 (R_MN10300_TLS_DTPMOD): Likewise.
36764 (R_MN10300_TLS_DTPOFF): Likewise.
36765 (R_MN10300_TLS_TPOFF): Likewise.
36766 (R_MN10300_SYM_DIFF): Likewise.
36767 (R_MN10300_ALIGN): Likewise.
36768 (R_MN10300_NUM): Update.
36770 2012-08-08 Joseph Myers <joseph@codesourcery.com>
36772 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36775 2012-08-08 Roland McGrath <roland@hack.frob.com>
36777 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36779 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36780 sysdeps/unix -> sysdeps/posix move.
36781 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36783 2012-08-07 Allan McRae <allan@archlinux.org>
36786 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36787 (SUNOS_CPP): Likewise.
36788 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36790 (open_input): Call CPP using execvp.
36792 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36794 * sysdeps/unix/sysv/linux/kernel-features.h
36795 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36796 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36797 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36798 (__ASSUME_WAITID_SYSCALL): Likewise.
36799 * sysdeps/unix/sysv/linux/dl-execstack.c
36800 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36801 code unconditional.
36802 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36804 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36805 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36806 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36808 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36810 [__ASSUME_WAITID_SYSCALL]: Likewise.
36811 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36813 2012-08-07 Roland McGrath <roland@hack.frob.com>
36815 * sysdeps/unix/closedir.c: Renamed to ...
36816 * sysdeps/posix/closedir.c: ... here.
36817 * sysdeps/unix/dirfd.c: Renamed to ...
36818 * sysdeps/posix/dirfd.c: ... here.
36819 * sysdeps/unix/dirstream.h: Renamed to ...
36820 * sysdeps/posix/dirstream.h: ... here.
36821 * sysdeps/unix/fdopendir.c: Renamed to ...
36822 * sysdeps/posix/fdopendir.c: ... here.
36823 * sysdeps/unix/opendir.c: Renamed to ...
36824 * sysdeps/posix/opendir.c: ... here.
36825 * sysdeps/unix/readdir.c: Renamed to ...
36826 * sysdeps/posix/readdir.c: ... here.
36827 * sysdeps/unix/readdir_r.c: Renamed to ...
36828 * sysdeps/posix/readdir_r.c: ... here.
36829 * sysdeps/unix/rewinddir.c: Renamed to ...
36830 * sysdeps/posix/rewinddir.c: ... here.
36831 * sysdeps/unix/seekdir.c: Renamed to ...
36832 * sysdeps/posix/seekdir.c: ... here.
36833 * sysdeps/unix/telldir.c: Renamed to ...
36834 * sysdeps/posix/telldir.c: ... here.
36835 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36836 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36837 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36838 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36840 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36841 * bits/fcntl.h: ... here.
36843 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36845 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36846 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36847 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36848 (struct flock): Move l_start, l_len to the beginning.
36849 Use __pid_t for l_pid.
36850 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36851 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36852 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36853 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36854 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36855 [__USE_LARGEFILE64] (struct flock64): New type.
36856 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36858 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36859 * bits/dirent.h: ... here.
36861 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36862 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36864 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36866 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36867 Change from 2.6.0 to 2.6.16.
36868 * sysdeps/unix/sysv/linux/configure: Regenerated.
36869 * sysdeps/unix/sysv/linux/kernel-features.h
36870 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36871 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36873 (__ASSUME_UTIMES): Likewise.
36874 (__ASSUME_CLONE_STOPPED): Remove.
36875 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36876 architectures, not kernel version.
36877 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36878 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36879 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36880 (__ASSUME_WAITID_SYSCALL): Likewise.
36881 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36882 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36883 * README: State 2.6.16 as minimum Linux kernel version. Do not
36884 refer to older versions.
36886 2012-08-06 Roland McGrath <roland@hack.frob.com>
36888 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36889 Define alphasort64 as an alias.
36890 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36891 Define versionsort64 as an alias.
36892 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36893 Define scandir64 as an alias.
36894 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36895 Define scandirat64 as an alias.
36896 * dirent/alphasort64.c (alphasort64):
36897 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36898 * dirent/versionsort64.c: Likewise.
36899 * dirent/scandir64.c: Likewise.
36900 * dirent/scandirat64.c: Likewise.
36901 * sysdeps/wordsize-64/alphasort.c: File removed.
36902 * sysdeps/wordsize-64/alphasort64.c: File removed.
36903 * sysdeps/wordsize-64/scandir.c: File removed.
36904 * sysdeps/wordsize-64/scandir64.c: File removed.
36905 * sysdeps/wordsize-64/scandirat.c: File removed.
36906 * sysdeps/wordsize-64/scandirat64.c: File removed.
36907 * sysdeps/wordsize-64/versionsort.c: File removed.
36908 * sysdeps/wordsize-64/versionsort64.c: File removed.
36909 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36910 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36911 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36912 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36913 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36914 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36915 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36916 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36918 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36919 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36920 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36921 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36922 [defined __arch64__ || defined __sparcv9]
36923 (__INO_T_MATCHES_INO64_T): New macro.
36924 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36925 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36926 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36927 * sysdeps/unix/sysv/linux/bits/dirent.h
36928 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36929 (_DIRENT_MATCHES_DIRENT64): New macro.
36931 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36932 Define lockf64 as an alias.
36933 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36934 Define fseeko64 as an alias.
36935 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36936 Define ftello64 as an alias.
36937 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36938 Define _IO_fgetpos64 and fgetpos64 as aliases.
36939 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36940 Define _IO_fsetpos64 and fsetpos64 as aliases.
36941 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36942 Conditionalize body on this.
36943 * libio/fseeko64.c: Likewise.
36944 * libio/ftello64.c: Likewise.
36945 * libio/iofgetpos64.c: Likewise.
36946 * libio/iofsetpos64.c: Likewise.
36947 * sysdeps/wordsize-64/lockf.c: File removed.
36948 * sysdeps/wordsize-64/lockf64.c: File removed.
36949 * sysdeps/wordsize-64/fseeko.c: File removed.
36950 * sysdeps/wordsize-64/fseeko64.c: File removed.
36951 * sysdeps/wordsize-64/ftello.c: File removed.
36952 * sysdeps/wordsize-64/ftello64.c: File removed.
36953 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36954 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36955 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36956 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36957 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36958 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36959 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36960 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36961 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36962 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36963 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36964 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36965 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36966 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36968 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36969 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36970 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36971 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36972 [defined __arch64__ || defined __sparcv9]
36973 (__OFF_T_MATCHES_OFF64_T): New macro.
36974 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36975 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36976 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36977 (__OFF_T_MATCHES_OFF64_T): New macro.
36979 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36981 * stdlib/secure-getenv.c (__secure_getenv): Replace
36982 GLIBC_2_16 with GLIBC_2_17.
36984 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36986 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36987 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36989 2012-08-03 David S. Miller <davem@davemloft.net>
36991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36993 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36995 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36997 (__ASSUME_CORRECT_SI_PID): Likewise.
36998 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36999 (__ASSUME_TMPFS_NAME): Likewise.
37000 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37001 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37002 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37003 (HAVE_AUX_SECURE): Make definition unconditional.
37004 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37005 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37007 2012-08-03 Roland McGrath <roland@hack.frob.com>
37009 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37010 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37011 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37012 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37013 __eloop_threshold instead of SYMLOOP_MAX.
37015 * sysdeps/generic/eloop-threshold.h: New file.
37016 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37018 * elf/chroot_canon.c (chroot_canon): Likewise.
37020 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37024 Change to 2.6.0 everywhere.
37025 * sysdeps/unix/sysv/linux/configure: Regenerated.
37026 * sysdeps/unix/sysv/linux/kernel-features.h
37027 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37028 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37030 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37031 (__ASSUME_FUTEX_REQUEUE): Remove.
37032 (__ASSUME_STATFS64): Define unconditionally.
37033 (__ASSUME_AT_SECURE): Likewise.
37034 (__ASSUME_CORRECT_SI_PID): Likewise.
37035 (__ASSUME_TGKILL): Define without depending on kernel version for
37037 (__ASSUME_UTIMES): Likewise.
37038 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37040 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37041 (__ASSUME_TMPFS_NAME): Likewise.
37042 * README: Update reference to Linux kernel versions.
37044 2012-08-02 Marek Polacek <polacek@redhat.com>
37047 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37048 libc_cv_asm_type_prefix with %.
37049 * configure: Regenerated.
37050 * include/libc-symbols.h: Remove comment about
37051 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37052 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37053 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37054 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37055 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37056 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37057 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37058 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37059 * elf/tst-unique2mod1.c: Likewise.
37060 * elf/tst-unique1mod2.c: Likewise.
37061 * elf/tst-unique1mod1.c: Likewise.
37062 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37063 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37064 Replace ASM_TYPE_DIRECTIVE with .type.
37065 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37066 * sysdeps/i386/sysdep.h: Likewise.
37067 * sysdeps/x86_64/sysdep.h: Likewise.
37068 * sysdeps/sh/sysdep.h: Likewise.
37069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37070 Do not define ASM_TYPE_DIRECTIVE.
37071 * sysdeps/powerpc/sysdep.h: Likewise.
37072 * sysdeps/powerpc/powerpc32/sysdep.h:
37073 Replace ASM_TYPE_DIRECTIVE with .type.
37074 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37075 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37076 * sysdeps/i386/fpu/e_powf.S: Likewise.
37077 * sysdeps/i386/fpu/e_expl.S: Likewise.
37078 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37079 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37080 * sysdeps/i386/fpu/e_pow.S: Likewise.
37081 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37082 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37083 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37084 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37085 * sysdeps/i386/fpu/e_log2.S: Likewise.
37086 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37087 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37088 * sysdeps/i386/fpu/e_powl.S: Likewise.
37089 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37090 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37091 * sysdeps/i386/fpu/e_logl.S: Likewise.
37092 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37093 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37094 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37095 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37096 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37097 * sysdeps/i386/fpu/e_log.S: Likewise.
37098 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37099 * sysdeps/i386/fpu/e_logf.S: Likewise.
37100 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37101 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37102 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37103 * sysdeps/i386/fpu/e_log10.S: Likewise.
37104 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37105 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37106 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37107 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37108 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37109 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37110 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37111 * sysdeps/i386/i686/strtok.S: Likewise.
37112 * sysdeps/i386/i386-mcount.S: Likewise.
37113 * sysdeps/i386/strtok.S: Likewise.
37114 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37115 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37116 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37117 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37118 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37119 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37120 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37121 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37122 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37123 * sysdeps/x86_64/_mcount.S: Likewise.
37124 * sysdeps/x86_64/strtok.S: Likewise.
37125 * sysdeps/sh/_mcount.S: Likewise.
37127 2012-08-01 Roland McGrath <roland@hack.frob.com>
37129 * libio/iofopen.c: Include <fcntl.h>.
37130 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37131 (_IO_fopen64, fopen64): Define as aliases.
37132 * libio/iofopen64.c: Include <fcntl.h>.
37133 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37134 Conditionalize body on this.
37135 * sysdeps/wordsize-64/iofopen.c: File removed.
37136 * sysdeps/wordsize-64/iofopen64.c: File removed.
37138 2012-08-01 Marek Polacek <polacek@redhat.com>
37140 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37141 Use dlfcn directly instead of a variable.
37142 (binfmt-subdir): Do not define.
37145 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37147 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37148 Remove all definitions.
37149 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37150 <kernel-features.h>.
37151 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37152 (miss_F_GETOWN_EX): Remove all definitions.
37153 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37155 [!__ASSUME_FCNTL64]: Remove conditional code.
37156 [__ASSUME_FCNTL64]: Make code unconditional.
37157 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37158 <kernel-features.h>.
37159 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37160 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37161 (lockf64) [__NR_fcntl64]: Make code unconditional.
37162 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37164 * sysdeps/unix/sysv/linux/kernel-features.h
37165 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37166 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37167 Make code unconditional.
37168 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37169 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37171 [__NR_vfork]: Make code unconditional.
37172 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37173 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37175 [__NR_vfork]: Make code unconditional.
37176 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37177 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37179 2012-08-01 Roland McGrath <roland@hack.frob.com>
37181 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37182 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37184 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37185 Define mkstemp64 as an alias.
37186 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37187 Define mkstemps64 as an alias.
37188 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37189 Define mkostemp64 as an alias.
37190 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37191 Define mkostemps64 as an alias.
37192 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37193 Conditionalize body on this.
37194 * misc/mkostemp64.c: Likewise.
37195 * misc/mkostemps64.c: Likewise.
37196 * misc/mkstemps64.c: Likewise.
37197 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37198 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37199 * sysdeps/wordsize-64/mkostemp.c: File removed.
37200 * sysdeps/wordsize-64/mkstemp.c: File removed.
37201 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37202 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37203 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37204 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37207 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37208 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37209 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37210 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37212 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37213 compat_symbol macros from <shlib-compat.h> rather than the underlying
37214 default_symbol_version and symbol_version macros, so that DEFAULT
37215 lines in shlib-versions are respected.
37216 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37218 2012-08-01 Florian Weimer <fweimer@redhat.com>
37220 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37221 Declare with warn_unused_result.
37222 (setgid, setregid, setegid, setresgid): Likewise.
37223 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37225 * WUR-REPORT: Remove set*id functions.
37227 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37229 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37231 2012-07-31 Roland McGrath <roland@hack.frob.com>
37234 * include/sys/socket.h (__libc_accept, __libc_accept4):
37235 Add attribute_hidden.
37236 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37238 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37240 * inet/getnetgrent_r.c (setup): Likewise.
37242 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37244 2012-07-31 David S. Miller <davem@davemloft.net>
37246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37248 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37251 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37252 value between 1.0 and 2.0 and smaller part has absolute value less
37254 * math/s_clog10.c (__clog10): Likewise.
37255 * math/s_clog10f.c (__clog10f): Likewise.
37256 * math/s_clog10l.c (__clog10l): Likewise.
37257 * math/s_clogf.c (__clogf): Likewise.
37258 * math/s_clogl.c (__clogl): Likewise.
37259 * math/libm-test.inc (clog_test): Add more tests.
37260 (clog10_test): Likewise.
37261 * sysdeps/i386/fpu/libm-test-ulps: Update.
37262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37264 2012-07-31 Florian Weimer <fweimer@redhat.com>
37266 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37267 Exit with zero in case no suitable GID is found, and write a
37268 message to standard error.
37270 2012-07-30 Roland McGrath <roland@hack.frob.com>
37272 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37274 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37275 (MAXPATHLEN): Removed.
37276 (NOGROUP, NODEV): New macros.
37277 (setbit, clrbit, isset, isclr): New macros.
37278 (howmany, roundup, powerof2): New macros.
37279 (DEV_BSIZE): New macro.
37281 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37282 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37284 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37285 definition on [!__NO_LONG_DOUBLE_MATH].
37287 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37288 PTR_MANGLE and PTR_DEMANGLE.
37290 * socket/accept4.c (accept4): Rename to __libc_accept4.
37291 Define accept4 as a weak alias.
37293 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37294 on [_DIRENT_HAVE_D_TYPE].
37295 * io/ftw.c (ftw_dir): Likewise.
37297 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37299 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37301 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37302 Use the BSD numbers rather than the arbitrary ones we had.
37303 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37304 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37305 (SIGXCPU, SIGXFSZ): New macros.
37308 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37309 initializer on [_LIBC_REENTRANT].
37311 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37312 definitions inside [_POSIX_MAPPED_FILES].
37314 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37316 * dirent/opendir.c: Include <fcntl.h>.
37318 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37319 (__libc_getspecific): Likewise.
37320 (__libc_key_create): Likewise.
37322 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37323 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37324 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37325 (tmpfile64): Define as alias.
37326 * sysdeps/wordsize-64/tmpfile.c: File removed.
37327 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37328 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37329 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37331 * stdio-common/vfscanf.c: Include <stdbool.h>.
37332 * nss/makedb.c: Likewise.
37333 * stdio-common/_i18n_number.h: Likewise.
37334 * argp/argp-help.c: Likewise.
37335 * posix/wordexp.c: Likewise.
37336 * sysdeps/posix/spawni.c: Likewise.
37337 * nss/nss_files/files-initgroups.c: Likewise.
37338 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37339 * nss/nss_files/files-initgroups.c: Likewise.
37340 * nss/nss_db/db-netgrp.c: Likewise.
37341 * nss/nss_db/db-initgroups.c: Likewise.
37342 * io/fchmodat.c: Include <sys/stat.h>.
37344 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37345 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37347 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37350 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37351 Add multiple inclusion protection.
37353 2012-07-27 David S. Miller <davem@davemloft.net>
37355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37357 2012-07-27 Gary Benson <gbenson@redhat.com>
37360 * elf/rtld.c: Include <stap-probe.h>.
37361 (dl_main): Added static probes "init_start" and "init_complete".
37362 * elf/dl-load.c: Include <stap-probe.h>.
37363 (lose): Take new parameter "nsid".
37364 Added static probe "map_failed".
37365 (_dl_map_object_from_fd): Pass namespace id to lose.
37366 Added static probe "map_start".
37367 (open_verify): Pass namespace id to lose.
37368 * elf/dl-open.c: Include <stap-probe.h>.
37369 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37370 and "reloc_complete".
37371 * elf/dl-close.c: Include <stap-probe.h>.
37372 (_dl_close_worker): Added static probes "unmap_start" and
37374 * elf/rtld-debugger-interface.txt: New file documenting the above.
37376 2012-07-26 Roland McGrath <roland@hack.frob.com>
37378 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37379 rather than a string variable.
37380 * sunrpc/rpc_main.c (h_output): Likewise.
37381 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37383 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37385 * inet/check_native.c: New file.
37387 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37390 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37391 if larger part has absolute value 1.0.
37392 * math/s_clog10.c (__clog10): Likewise.
37393 * math/s_clog10f.c (__clog10f): Likewise.
37394 * math/s_clog10l.c (__clog10l): Likewise.
37395 * math/s_clogf.c (__clogf): Likewise.
37396 * math/s_clogl.c (__clogl): Likewise.
37397 * math/libm-test.inc (clog_test): Add more tests.
37398 (clog10_test): Likewise.
37399 * sysdeps/i386/fpu/libm-test-ulps: Update.
37400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37402 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37403 (pltexit): Likewise.
37404 (La_regs): Likewise.
37405 (La_retval): Likewise.
37406 (int_retval): Likewise.
37407 Update #error for removed macros to refer only to definitions in
37409 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37411 (pltexit): Likewise.
37412 (La_regs): Likewise.
37413 (La_retval): Likewise.
37414 (int_retval): Likewise.
37415 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37417 (pltexit): Likewise.
37418 (La_regs): Likewise.
37419 (La_retval): Likewise.
37420 (int_retval): Likewise.
37421 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37423 (pltexit): Likewise.
37424 (La_regs): Likewise.
37425 (La_retval): Likewise.
37426 (int_retval): Likewise.
37427 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37429 (pltexit): Likewise.
37430 (La_regs): Likewise.
37431 (La_retval): Likewise.
37432 (int_retval): Likewise.
37433 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37435 (pltexit): Likewise.
37436 (La_regs): Likewise.
37437 (La_retval): Likewise.
37438 (int_retval): Likewise.
37439 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37441 (pltexit): Likewise.
37442 (La_regs): Likewise.
37443 (La_retval): Likewise.
37444 (int_retval): Likewise.
37445 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37446 macro definitions in tst-audit.h.
37447 * sysdeps/i386/tst-audit.h: New file.
37448 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37449 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37450 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37451 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37452 * sysdeps/sh/tst-audit.h: Likewise.
37453 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37454 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37455 * sysdeps/x86_64/tst-audit.h: Likewise.
37457 2012-07-26 Andreas Jaeger <aj@suse.de>
37459 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37462 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37463 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37464 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37466 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37467 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37468 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37470 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37473 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37475 (si_call_addr, si_syscall, si_arch): Define new macro.
37476 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37478 (si_call_addr, si_syscall, si_arch): Define new marcro.
37479 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37481 (si_call_addr, si_syscall, si_arch): Define new macro.
37482 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37484 (si_call_addr, si_syscall, si_arch): Define new macro.
37486 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37489 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37490 Change to 2.4.21 where previously 2.4.1.
37491 * sysdeps/unix/sysv/linux/configure: Regenerated.
37492 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37493 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37494 Linux kernel version.
37495 (__ASSUME_STD_AUXV): Remove.
37496 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37498 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37499 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37500 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37501 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37502 (__ASSUME_NETLINK_SUPPORT): Likewise.
37503 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37504 (__no_netlink_support): Remove conditional definition.
37505 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37507 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37508 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37509 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37510 (if_nameindex_ioctl): Remove.
37511 (if_nameindex_netlink): Do not handle __no_netlink_support.
37512 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37514 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37515 Remove conditional code.
37516 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37518 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37520 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37521 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37522 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37524 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37525 [!__ASSUME_STD_AUXV]: Remove conditional code.
37526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37527 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37528 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37530 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37531 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37533 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37535 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37536 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37538 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37540 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37543 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37546 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37547 code unconditional.
37548 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37550 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37552 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37555 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37557 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37560 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37561 code unconditional.
37562 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37564 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37566 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37569 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37570 code unconditional.
37571 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37573 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37575 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37578 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
37580 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37581 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37582 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37583 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37584 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37585 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37586 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37587 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37588 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37589 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37590 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37591 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37592 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37593 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37594 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37595 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37596 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37598 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37600 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37601 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37604 2012-07-25 Florian Weimer <fweimer@redhat.com>
37606 * Versions.def: Add GLIBC_2.17.
37607 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37608 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37609 Introduce __libc_secure_getenv.
37610 * stdlib/Versions (2.17): Add secure_getenv
37611 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37612 * stdlib/secure-getenv.c: Rename __secure_getenv to
37613 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37614 symbol __secure_getenv for GLIBC_2.0.
37615 * stdlib/tst-secure-getenv.c: New.
37616 * stdlib/Makefile (tests): Add testcase.
37617 * manual/startup.texi (Environment Access): Document
37619 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37620 __libc_secure_getenv.
37621 * inet/ruserpass.c (ruserpass): Likewise.
37622 * malloc/mtrace.c (mtrace): Likewise.
37623 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37624 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37625 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37626 * sysdeps/posix/tempname.c: Likewise. Evaluate
37627 HAVE_SECURE_GETENV.
37628 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37629 __secure_getenv to __libc_secure_getenv.
37630 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37637 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37643 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37645 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37646 (struct La_i86_retval): Likewise.
37647 (struct La_x86_64_regs): Likewise.
37648 (struct La_x86_64_retval): Likewise.
37649 (struct La_x32_regs): Likewise.
37650 (struct La_x32_retval): Likewise.
37651 (struct La_ppc32_regs): Likewise.
37652 (struct La_ppc32_retval): Likewise.
37653 (struct La_ppc64_regs): Likewise.
37654 (struct La_ppc64_retval): Likewise.
37655 (struct La_sh_regs): Likewise.
37656 (struct La_sh_retval): Likewise.
37657 (struct La_s390_32_regs): Likewise.
37658 (struct La_s390_32_retval): Likewise.
37659 (struct La_s390_64_regs): Likewise.
37660 (struct La_s390_64_retval): Likewise.
37661 (struct La_sparc32_regs): Likewise.
37662 (struct La_sparc32_retval): Likewise.
37663 (struct La_sparc64_regs): Likewise.
37664 (struct La_sparc64_retval): Likewise.
37665 (struct audit_ifaces): Remove architecture-specific pltenter and
37667 * sysdeps/i386/ldsodefs.h: New file.
37668 * sysdeps/powerpc/ldsodefs.h: Likewise.
37669 * sysdeps/s390/ldsodefs.h: Likewise.
37670 * sysdeps/sh/ldsodefs.h: Likewise.
37671 * sysdeps/sparc/ldsodefs.h: Likewise.
37672 * sysdeps/x86_64/ldsodefs.h: Likewise.
37674 2012-07-25 Marek Polacek <polacek@redhat.com>
37677 * math/libm-test.inc (yn_test): Add another test.
37678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37679 to ERANGE when the result is +-Inf.
37680 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37681 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37682 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37683 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37685 2012-07-24 Joseph Myers <joseph@codesourcery.com>
37687 * conform/data/time.h-data (NULL): Use macro-constant. Require
37689 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37691 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37693 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37695 * configure.in <sysdeps resolving>: Correct printing
37697 * configure: Regenerate.
37699 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37701 * math/w_ilogb.c: Include <limits.h>.
37702 * math/w_ilogbl.c: Likewise.
37704 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37706 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37707 va_copy. Document allowing for unavailable va_copy only as
37708 pre-C99 compatibility.
37709 * manual/string.texi (Copying and Concatenation): Use va_copy
37710 instead of __va_copy in concat example.
37712 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37714 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37715 (__sendto): Use create_address_port. Initialize APORT and deallocate
37718 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37719 with O_NOLINK passed to __file_name_lookup.
37721 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37722 with O_NOLINK passed to __file_name_lookup.
37724 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37725 negative N or less than NGIDS.
37727 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37728 type to string_t. Set ERANGE as errno and return it if NAME is not big
37729 enough. Use memcpy instead of strncpy.
37731 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37733 * elf/Makefile (check-data): Remove.
37734 (localplt.data): New vpath directive.
37735 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37736 instead of $(check-data).
37737 * scripts/data/localplt-generic.data: Move to ...
37738 * sysdeps/generic/localplt.data: ... here.
37739 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37740 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37741 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37744 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37747 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37750 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37753 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37756 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37760 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37762 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37763 PPC32 and PPC64 files.
37764 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37765 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37767 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37769 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37770 __makecontext_ret to ...
37771 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37772 ... here and call exit if uc_link is NULL. New file.
37773 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37774 __makecontext_ret.S.
37775 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37776 __makecontext_ret to ...
37777 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37778 ... here and call exit if uc_link is NULL. New file.
37779 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37780 __makecontext_ret.S.
37782 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37784 * elf/elf.h (R_390_IRELATIVE): New definition.
37785 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37786 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37787 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37788 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37789 (elf_machine_lazy_rel): Likewise.
37790 * sysdeps/s390/dl-irel.h: New file.
37791 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37792 * sysdeps/s390/s390-64/memset.S: New asm code.
37793 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37794 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37795 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37796 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37797 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37798 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37799 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37800 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37801 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37802 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37803 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37804 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37805 * sysdeps/s390/s390-32/memset.S: New asm code.
37806 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37808 2012-07-17 Marek Polacek <polacek@redhat.com>
37811 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37812 * sysdeps/s390/s390-64/configure.in: Likewise.
37813 * sysdeps/sparc/configure.in: Likewise.
37814 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37815 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37816 * sysdeps/i386/configure.in: Likewise.
37817 * sysdeps/x86_64/configure.in: Likewise.
37818 * sysdeps/sh/configure.in: Likewise.
37819 * sysdeps/s390/s390-32/configure: Regenerated.
37820 * sysdeps/s390/s390-64/configure: Likewise.
37821 * sysdeps/x86_64/configure: Likewise.
37822 * sysdeps/sh/configure: Likewise.
37823 * sysdeps/powerpc/powerpc64/configure: Likewise.
37824 * sysdeps/powerpc/powerpc32/configure: Likewise.
37825 * sysdeps/sparc/configure: Likwise.
37826 * sysdeps/i386/configure: Likewise.
37828 * elf/dl-open.c: Comment fixes.
37830 2012-07-17 Joseph Myers <joseph@codesourcery.com>
37832 * Makefile [CXX] (check-data): Remove.
37833 [CXX] (c++-types.data): New vpath directive.
37834 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37835 vpath. Do not allow for C++ type data being missing.
37836 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37837 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37838 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37839 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37840 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37841 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37842 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37845 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37848 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37851 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37854 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37857 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37860 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37863 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37866 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37867 definitions to architecture-specific files.
37868 (TLS_IE): Likewise.
37869 (TLS_LD): Likewise.
37870 (TLS_GD): Likewise.
37871 * sysdeps/i386/tls-macros.h: New file.
37872 * sysdeps/powerpc/tls-macros.h: Likewise.
37873 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37874 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37875 * sysdeps/sh/tls-macros.h: Likewise.
37876 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37877 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37878 * sysdeps/x86_64/tls-macros.h: Likewise.
37880 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37882 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37883 zero value for regular exit case.
37885 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37886 (__start_context): Preserve zero value for regular exit case.
37888 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37889 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37891 * manual/setjmp.texi (setcontext): Clarify normal process
37892 termination when uc_link is the null pointer.
37893 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37896 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37898 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37899 preprocessor. Test for each exception mask separately.
37901 2012-07-16 Andreas Jaeger <aj@suse.de>
37903 * po/ru.po: Update from translation team.
37905 2012-07-15 Joseph Myers <joseph@codesourcery.com>
37907 * conform/data/string.h-data (NULL): Use macro-constant. Require
37909 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37910 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37911 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37912 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37913 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37915 2012-07-13 Andreas Jaeger <aj@suse.de>
37917 * po/fr.po: Update from translation team.
37919 2012-07-12 Marek Polacek <polacek@redhat.com>
37922 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37923 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37926 2012-07-12 Joseph Myers <joseph@codesourcery.com>
37929 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37930 Change to 2.4.1 where previously 2.4.0.
37931 * sysdeps/unix/sysv/linux/configure: Regenerated.
37932 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37933 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37935 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37936 (__ASSUME_AT_CLKTCK): Remove.
37937 (__ASSUME_AT_PAGESIZE): Likewise.
37938 (__ASSUME_AT_XID): Likewise.
37939 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37940 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37941 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37943 (HAVE_AUX_PAGESIZE): Likewise.
37944 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37945 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37946 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37948 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37952 the temporary buffer used to invoke __gethostbyname2_r,
37953 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37954 host_data / struct gaih_addrtuple.
37955 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37956 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37957 header file nss/nsswitch.h.
37958 * nss/nsswitch.h (global scope): Add definition of implementation
37959 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37960 resolv/nss_dns/dns-host.c).
37962 2012-07-11 Andreas Jaeger <aj@suse.de>
37964 * po/fr.po: Update from translation team.
37966 * po/sv.po: Update from translation team
37967 * po/fr.po: Another update from translation team.
37969 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37971 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37972 for subnormals or multiply small sinh result by itself.
37973 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37976 2012-07-11 David S. Miller <davem@davemloft.net>
37978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37980 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37983 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37984 (INTERNAL_MARK): Shift it here.
37986 2012-07-10 Marek Polacek <polacek@redhat.com>
37989 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37990 libc_cv_asm_global_directive with .globl.
37991 * configure: Regenerated.
37992 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37994 * sysdeps/i386/configure: Regenerated.
37995 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37997 * sysdeps/x86_64/configure: Regenerated.
37998 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37999 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38000 * elf/tst-unique2mod2.c: Likewise.
38001 * elf/tst-unique2mod1.c: Likewise.
38002 * elf/tst-unique1mod2.c: Likewise.
38003 * elf/tst-unique1mod1.c: Likewise.
38004 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38005 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38007 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38008 * sysdeps/mach/sysdep.h: Likewise.
38009 * sysdeps/i386/sysdep.h: Likewise.
38010 * sysdeps/i386/i386-mcount.S: Likewise.
38011 * sysdeps/x86_64/_mcount.S: Likewise.
38012 * sysdeps/x86_64/sysdep.h: Likewise.
38013 * sysdeps/sh/_mcount.S: Likewise.
38014 * sysdeps/sh/sysdep.h: Likewise.
38015 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38016 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38017 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38018 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38019 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38020 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38021 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38022 * locale/localeinfo.h: Likewise.
38023 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38024 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38026 2012-07-09 Roland McGrath <roland@hack.frob.com>
38029 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38031 * manual/message.texi (The Uniforum approach): Likewise.
38032 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38033 (glibc iconv Implementation): Likewise.
38035 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38038 * math/s_clog.c (__clog): Avoid scaling a value down where that
38039 could result in underflow.
38040 * math/s_clog10.c (__clog10): Likewise.
38041 * math/s_clog10f.c (__clog10f): Likewise.
38042 * math/s_clog10l.c (__clog10l): Likewise.
38043 * math/s_clogf.c (__clogf): Likewise.
38044 * math/s_clogl.c (__clogl): Likewise.
38045 * math/libm-test.inc (clog_test): Add more tests.
38046 (clog10_test): Likewise.
38047 * sysdeps/i386/fpu/libm-test-ulps: Update.
38048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38050 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38053 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38054 by 7 not 8 to examine high bit of fractional part.
38057 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38058 for call to __mcount_internal.
38059 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38060 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38061 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38063 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38066 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38067 approximation for values within 0x1p-13f of an odd multiple of
38069 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38070 exception. Add more tests.
38071 * sysdeps/i386/fpu/libm-test-ulps: Update.
38074 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38075 inputs and return -1 for them. Do not check for +Inf in case not
38076 reachable for +Inf.
38077 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38078 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38079 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38080 and return -1 for them. Do not check for +Inf in case not
38081 reachable for +Inf.
38082 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38084 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38085 and return -1 for them. Do not check for +Inf in case not
38086 reachable for +Inf.
38087 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38088 spurious underflow.
38089 * sysdeps/i386/fpu/libm-test-ulps: Update.
38090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38092 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38094 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38096 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38100 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38101 could result in spurious underflow. Scale down values above
38102 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38103 * math/s_csqrtf.c (__csqrtf): Likewise.
38104 * math/s_csqrtl.c (__csqrtl): Likewise.
38105 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38106 spurious underflow.
38107 * sysdeps/i386/fpu/libm-test-ulps: Update.
38108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38110 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38112 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38114 * catgets/xopen-msg.awk: New file.
38115 * catgets/xopen-msg.sed: Removed.
38117 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38119 * intl/po2test.awk: New file.
38120 * intl/po2test.sed: Removed.
38122 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38125 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38126 or multiply small sinh result by itself.
38127 * math/s_ctanf.c (__ctanf): Likewise.
38128 * math/s_ctanh.c (__ctanh): Likewise.
38129 * math/s_ctanhf.c (__ctanhf): Likewise.
38130 * math/s_ctanhl.c (__ctanhl): Likewise.
38131 * math/s_ctanl.c (__ctanl): Likewise.
38132 * math/libm-test.inc (ctan_test_tonearest): New function.
38133 (ctan_test_towardzero): Likewise.
38134 (ctan_test_downward): Likewise.
38135 (ctan_test_upward): Likewise.
38136 (ctanh_test_tonearest): Likewise.
38137 (ctanh_test_towardzero): Likewise.
38138 (ctanh_test_downward): Likewise.
38139 (ctanh_test_upward): Likewise.
38140 (main): Call these new functions.
38141 * sysdeps/i386/fpu/libm-test-ulps: Update.
38142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38144 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38146 * .gitignore: Delete /ports entry.
38148 2012-07-03 Andreas Jaeger <aj@suse.de>
38150 * po/bg.po: Update from translation team.
38151 * po/cs.po: Likewise.
38152 * po/de.po: Likewise.
38153 * po/hr.po: Likewise.
38154 * po/nl.pl: Likewise.
38155 * po/pl.po: Likewise.
38156 * po/vi.po: Likewise.
38158 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38160 * Makeconfig [!+link] (+link-before-libc): New variable.
38161 [!+link] (+link-after-libc): Likewise.
38162 [!+link] (+link-tests): Likewise.
38163 [!+link] (+link): Define in terms of $(+link-before-libc) and
38164 $(+link-after-libc).
38165 [!+link-static] (+link-static-before-libc): New variable.
38166 [!+link-static] (+link-static-after-libc): Likewise.
38167 [!+link-static] (+link-static-tests): Likewise.
38168 [!+link-static] (+link-static): Define in terms of
38169 $(+link-static-before-libc) and $(+link-static-after-libc).
38170 [build-shared] (link-libc-before-gnulib): New variable.
38171 [build-shared] (link-libc-tests): Likewise.
38172 [build-shared] (link-libc): Define in terms of
38173 $(link-libc-before-gnulib).
38174 [!build-shared] (link-libc-tests): New variable.
38175 (link-libc-static-tests): New variable.
38176 [!gnulib] (gnulib-arch): New variable.
38177 [!gnulib] (gnulib-tests): Likewise.
38178 [!gnulib] (static-gnulib-arch): Likewise.
38179 [!gnulib] (static-gnulib-tests): Likewise.
38180 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38181 Define with "=" instead of ":=".
38182 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38183 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38184 * Rules (binaries-all-notests): New variable.
38185 (binaries-all-tests): Likewise.
38186 (binaries-static-notests): Likewise.
38187 (binaries-static-tests): Likewise.
38188 (binaries-all): Define using $(binaries-all-notests) and
38189 $(binaries-all-tests).
38190 (binaries-static): Define using $(binaries-static-notests) and
38191 $(binaries-static-tests).
38192 (binaries-shared-tests): New variable.
38193 (binaries-shared-notests): Likewise.
38194 (binaries-shared): Remove variable.
38195 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38196 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38197 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38198 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38199 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38200 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38201 * elf/Makefile (sln-modules): New variable.
38202 (extra-objs): Add $(sln-modules:=.o).
38203 (ldconfig-modules): Add static-stubs.
38204 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38205 * elf/static-stubs.c: New file.
38208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38209 by 7 not 8 to examine high bit of fractional part. Use volatile
38210 variables when splitting into final array of floats if
38211 __FLT_EVAL_METHOD__ != 0.
38212 * math/libm-test.inc (cos_test): Add another test.
38213 (sin_test): Likewise.
38214 * sysdeps/i386/fpu/libm-test-ulps: Update.
38217 * math/libm-test.inc (cosh_test): Add more tests.
38219 * version.h (RELEASE): Set to "development".
38220 (VERSION): Set to "2.16.90".
38222 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38224 * NEWS: Update copyright. Remove last-updated date.
38225 Mention math library bug fixes and timezone data changes.
38226 * README: Mention GNU/Hurd, x32, and HPPA support status.
38228 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38230 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38232 2012-06-27 Andreas Jaeger <aj@suse.de>
38234 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38236 2012-06-25 Andreas Jaeger <aj@suse.de>
38238 * sysdeps/s390/fpu/libm-test-ulps: Update.
38240 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38241 Thomas Schwinge <thomas@codesourcery.com>
38243 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38244 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38245 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38248 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38250 * sysdeps/mach/start.c: Remove file.
38251 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38252 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38253 * sysdeps/sh/init-first.c: Likewise.
38255 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38256 registers for frame unwinding purposes, add CFI directives.
38257 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38258 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38259 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38262 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38263 __fortify_fail returning.
38264 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38266 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38267 sysdeps/sh/____longjmp_chk.S.
38268 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38269 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38270 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38271 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38273 * sysdeps/sh/abort-instr.h: New file.
38274 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38275 process in case exit returns.
38277 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38278 initialize the GOT register before use.
38280 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38281 calculation of ARGC > 4.
38283 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38284 meaningful names to some local labels.
38286 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38287 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38289 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38290 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38291 (__arch_compare_and_exchange_val_16_acq): Likewise.
38292 (__arch_compare_and_exchange_val_32_acq): Likewise.
38293 (atomic_exchange_and_add): Fix gUSA sequence.
38294 (atomic_add): Likewise.
38295 (atomic_add_negative): Likewise.
38296 (atomic_add_zero): Likewise.
38297 (atomic_bit_test_set): Likewise.
38299 2012-06-22 Andreas Schwab <schwab@redhat.com>
38302 * include/link.h (struct link_map): Add l_free_initfini.
38303 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38305 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38306 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38307 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38310 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38312 * configure.in: Use AC_LANG_SOURCE.
38313 * configure: Regenerate.
38315 2012-06-22 Roland McGrath <roland@hack.frob.com>
38317 * configure.in (libc_cv_localstatedir): New substituted variable.
38318 * configure: Regenerated.
38319 * config.make.in (localstatedir): New variable, substituted from
38320 libc_cv_localstatedir.
38321 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38322 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38323 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38324 * sysdeps/gnu/configure: Regenerated.
38326 2012-06-21 Jeff Law <law@redhat.com>
38329 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38330 free. Simplify list management for _LIBC case.
38332 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38335 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38336 Clear sign bit of 64-bit integer value before comparing against
38339 * sysdeps/mach/configure: Regenerated.
38341 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38344 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38346 2012-06-21 Jeff Law <law@redhat.com>
38349 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38350 uint16_t for elements in the "seen" array to avoid char overflows.
38351 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38352 * elf/dl-open.c (dl_open_worker): Likewise.
38354 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38356 * scripts/list-sources.sh: Scan PORTS for translations.
38357 * po/libc.pot: Regenerated.
38359 2012-06-21 Andreas Jaeger <aj@suse.de>
38362 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38364 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38365 * bits/byteswap-16.h (__bswap_16): Likewise.
38366 * bits/byteswap.h (__bswap_constant_16): Likewise.
38368 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38371 * sysdeps/i386/fpu_control.h: Removed.
38372 * sysdeps/x86_64/fpu_control.h: Moved to ...
38373 * sysdeps/x86/fpu_control.h: Here.
38375 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38376 (_FPU_SETCW): Likewise.
38378 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38381 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38382 * sysdeps/x86/fpu/bits/mathinline.h: This.
38383 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38387 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38388 functions if __x86_64__ is defined.
38390 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38392 * string/endian.h: Add !__ASSEMBLER__ condition for including
38393 conversion interfaces.
38395 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38398 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38399 of ABS(x) in calculating zero to negative powers other than odd
38401 * math/libm-test.inc (pow_test): Add more tests.
38403 2012-06-15 Andreas Jaeger <aj@suse.de>
38405 * manual/contrib.texi (Contributors): Update entry of Liubov
38406 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38409 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38411 * string/string.h: Add __wur to GNU version of strerror_r.
38413 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38416 * string/Makefile (tests): Add tst-strtok_r.
38417 * string/tst-strtok_r.c: New file.
38418 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38419 RAX_LP/RDX_LP on SAVE_PTR.
38421 2012-06-14 Roland McGrath <roland@hack.frob.com>
38423 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38425 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38427 * libm_test.inc (csqrt_test): Allow more spurious underflow
38429 (j0_test): Likewise.
38430 (j1_test): Likewise.
38431 (y0_test): Likewise.
38432 (y1_test): Likewise.
38434 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38436 * po/Makefile (libc.pot): Use UTF-8 charset.
38438 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38441 Suppress sign-conversion warning from FD_SET.
38442 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38443 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38444 not unsigned long int.
38445 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38447 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38451 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38452 __extern_always_inline instead of __extern_inline.
38453 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38454 (__signbit): Likewise.
38455 (__signbitl): Support C++ namespace.
38456 (lrintf): New inline function.
38458 (llrintf): Likewise.
38459 (llrint): Likewise.
38469 (floorf): Likewise.
38470 (nearbyint): Likewise.
38471 (nearbyintf): Likewise.
38473 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38475 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38476 non-default versions.
38478 2012-06-11 Roland McGrath <roland@hack.frob.com>
38481 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38483 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38485 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38486 (FE_UPWARD, FE_DOWNWARD): Don't define.
38487 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38488 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38490 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38492 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38493 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38495 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38497 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38499 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38500 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38502 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38505 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38506 * sysdeps/i386/fpu/Implies: New file.
38507 * sysdeps/x86_64/fpu/Implies: Likewise.
38508 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38509 * sysdeps/x86/fpu/bits/fenv.h: This.
38511 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38514 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38517 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38518 character 0xffff that matches the last element of the
38521 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38523 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38526 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38528 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38529 values higher than 25.6283.
38531 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38533 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38534 subnormal exponent extraction and add some __builtin_expect.
38535 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38536 Fix for subnormal mantissa calculation.
38538 2012-06-04 Mike Frysinger <vapier@gentoo.org>
38540 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38541 cpu2 is -1 and errno is not ENOSYS.
38543 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38546 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38547 * sysdeps/x86/bits/string.h: This.
38548 * sysdeps/x86_64/bits/string.h: Removed.
38550 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38551 if not compiling for x86-64, but compiling for >= i486.
38553 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38554 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38556 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38557 New macro from Linux kernel 3.4.0.
38558 (FP_XSTATE_MAGIC2): Likewise.
38559 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38560 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38561 (struct _fpx_sw_bytes): New struct.
38562 (struct _xsave_hdr): Likewise.
38563 (struct _ymmh_state): Likewise.
38564 (struct _xstate): Likewise.
38566 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38567 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38568 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38569 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38570 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38571 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38573 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38574 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38575 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38576 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38577 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38578 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38580 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38583 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38584 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38585 (sysdep_headers): Include sys/platform/ppc.h.
38586 * sysdeps/powerpc/test-gettimebase.c: Test for
38587 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38588 * manual/Makefile (appendices): Include platform.texi.
38589 * manual/contrib.texi (Contributors): Update @node pointers.
38590 * manual/maint.texi (Maintenance): Likewise.
38591 (Platform): New node.
38592 * manual/platform.texi: New file. Document the new features.
38594 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38595 Jakub Jelinek <jakub@redhat.com>
38598 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38599 where __builtin_expect is unavailable.
38601 2012-06-03 David S. Miller <davem@davemloft.net>
38603 * stdlib/longlong.h: Updated from GCC.
38605 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38608 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38609 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38612 (GLIBC_2.16): Likewise.
38614 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38616 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38618 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38621 (default-abi): New variable.
38622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38623 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38625 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38627 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38629 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38632 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38633 definition. Document in comment.
38635 2012-06-01 David S. Miller <davem@davemloft.net>
38637 * stdlib/longlong.h: Updated from GCC.
38639 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38642 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38643 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38644 sys/debugreg.h sys/io.h here.
38645 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38646 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38648 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38649 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38650 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38651 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38652 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38653 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38655 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38656 Define only if __x86_64__ is defined.
38658 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38661 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38662 Use int64_t for variable i.
38663 * math/libm-test.inc (fmod_test): Add more tests.
38665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38666 z computation is not scheduled after fetestexcept.
38667 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38668 Use math_force_eval instead of asm to ensure calculation scheduled
38669 before exception test.
38670 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38671 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38673 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38676 computation is not scheduled after fetestexcept.
38678 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38681 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38682 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38684 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38686 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38687 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38689 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38692 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38694 (__WCHAR_MIN): Support __WORDSIZE == 64.
38695 (__WCHAR_MAX): Likewise.
38697 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38698 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38701 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38702 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38705 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38706 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38708 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38709 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38711 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38712 Defined to 1 if __x86_64__ isn't defined.
38713 (_STAT_VER_LINUX_OLD): New.
38714 (st_atime): Remove duplicate.
38715 (st_mtime): Likewise.
38716 (st_ctime): Likewise.
38718 2012-05-31 David S. Miller <davem@davemloft.net>
38720 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38723 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38725 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38729 * elf/dl-reloc.c: Include <_itoa.h>.
38730 (_dl_reloc_bad_type): Remove use of INTUSE.
38731 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38732 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38733 * stdio-common/psiginfo.c (psiginfo): Likewise.
38734 * stdio-common/psignal.c (psignal): Likewise.
38735 * string/strsignal.c (strsignal): Likewise.
38736 * include/signal.h (_sys_siglist): Declare hidden proto.
38737 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38738 INTVARDEF with libc_hidden_data_def.
38739 * stdio-common/itoa-udigits.c: Likewise.
38740 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38741 (_itoa_lower_digits_internal): Remove declaration.
38742 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38743 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38744 (_sys_sigabbrev_internal): Remove aliases.
38745 (_sys_siglist): Define hidden alias.
38747 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38752 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38755 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38756 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38758 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38759 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38760 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38761 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38762 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38763 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38765 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38766 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38767 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38769 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38777 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38778 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38779 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38781 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38782 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38783 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38784 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38785 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38786 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38788 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38789 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38791 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38792 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38796 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38798 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38799 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38801 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38803 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38804 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38805 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38807 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38809 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38811 2012-05-31 Joseph Myers <joseph@codesourcery.com>
38813 * math/math.h (M_El): Use two more decimal places.
38814 (M_LOG2El): Likewise.
38815 (M_LOG10El): Likewise.
38816 (M_LN2l): Likewise.
38817 (M_LN10l): Likewise.
38819 (M_PI_2l): Likewise.
38820 (M_PI_4l): Likewise.
38821 (M_1_PIl): Likewise.
38822 (M_2_PIl): Likewise.
38823 (M_2_SQRTPIl): Likewise.
38824 (M_SQRT2l): Likewise.
38825 (M_SQRT1_2l): Likewise.
38827 2012-05-31 David S. Miller <davem@davemloft.net>
38829 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38830 values between float registers.
38831 * sysdeps/sparc/sparc64/memset.S: Likewise.
38832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38834 2012-05-31 Mike Frysinger <vapier@gentoo.org>
38836 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38837 -D_FORTIFY_SOURCE=1.
38838 (CPPFLAGS-tst-longjmp_chk.c): Define.
38839 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38840 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38841 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38842 CFLAGS-tst-wchar-h.c.
38844 2012-05-31 Marek Polacek <polacek@redhat.com>
38847 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38848 __endmntent_internal): Remove declaration.
38849 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38850 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38851 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38853 2012-05-30 David S. Miller <davem@davemloft.net>
38855 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38856 (___Q_simulate_exceptions): Use real FP ops rather than writing
38858 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38861 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38864 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38865 * sysdeps/x86/bits/xtitypes.h: This.
38867 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38868 * sysdeps/x86/bits/wordsize.h: This.
38870 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38871 * sysdeps/x86/bits/huge_vall.h: This.
38873 * sysdeps/i386/bits/select.h: Removed.
38874 * sysdeps/x86_64/bits/select.h: Renamed to ...
38875 * sysdeps/x86/bits/select.h: This.
38877 * sysdeps/i386/bits/setjmp.h: Removed.
38878 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38879 * sysdeps/x86/bits/setjmp.h: This.
38881 * sysdeps/i386/bits/mathdef.h: Removed.
38882 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38883 * sysdeps/x86/bits/mathdef.h: This.
38885 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38888 * include/sys/socket.h (__connect_internal)
38889 (__libc_sa_len_internal): Remove declaration.
38890 (__connect, __libc_sa_len): Declare hidden_proto.
38891 (SA_LEN): Remove use of INTUSE.
38892 * socket/connect.c: Add libc_hidden_def.
38893 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38894 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38895 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38897 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38898 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38899 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38900 of adding _internal alias.
38902 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38905 * sysdeps/i386/bits/link.h: Removed.
38906 * sysdeps/i386/bits/linkmap.h: Likewise.
38907 * sysdeps/x86_64/bits/link.h: Renamed to ...
38908 * sysdeps/x86/bits/link.h: This.
38909 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38910 * sysdeps/x86/bits/linkmap.h: This.
38912 * sysdeps/i386/bits/endian.h: Removed.
38913 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38914 * sysdeps/x86/bits/endian.h: This.
38916 * sysdeps/i386/bits/byteswap.h: Removed.
38917 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38918 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38919 * sysdeps/x86/bits/byteswap.h: This.
38920 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38921 * sysdeps/x86/bits/byteswap-16.h: This.
38922 * sysdeps/i386/Implies: Add x86.
38923 * sysdeps/x86_64/Implies: Likewise.
38925 2012-05-30 David S. Miller <davem@davemloft.net>
38927 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38928 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38929 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38930 (FP_TRAPPING_EXCEPTIONS): Define.
38931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38932 (FP_TRAPPING_EXCEPTIONS): Define.
38933 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38934 subnormals only when inexact has been signalled or underflow
38935 exceptions are enabled.
38936 (_FP_PACK_CANONICAL): Likewise.
38938 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38941 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38942 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38944 2012-05-30 Richard Henderson <rth@twiddle.net>
38946 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38947 with #ifndef NOT_IN_libc.
38949 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38950 marked to avoid plt entry.
38952 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38955 * Makeconfig (default-abi): New macro.
38956 (abi-includes): Likewise.
38957 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38958 $(abi-$(default-abi)-lib-soname) for soname if defined.
38959 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38961 * Makefile (installed-stubs): Likewise.
38962 * include/stubs-biarch.h: Removed.
38963 * scripts/lib-names.awk: Only handle one library at a time.
38964 * scripts/soversions.awk: Remove WORDSIZE support.
38965 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38967 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38969 (syscall-list-default-condition): Likewise.
38970 (syscall-list-default-condition): Likewise.
38971 (syscall-list-includes): Likewise.
38972 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38973 syscall-list-* with abi-*. Handle undefined abi-variants.
38974 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38975 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38976 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38977 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38978 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38979 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38981 (syscall-list-32-options): Likewise.
38982 (syscall-list-32-condition): Likewise.
38983 (syscall-list-64-options): Likewise.
38984 (syscall-list-64-condition): Likewise.
38985 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38987 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38990 (abi-64-ld-soname): New macro.
38991 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38992 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38995 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38996 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38998 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39000 * sysdeps/unix/sysv/linux/kernel-features.h
39001 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39002 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39003 include <kernel-features.h>.
39004 [!__NR_ftruncate64]: Remove conditional code.
39005 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39006 [__NR_ftruncate64]: Make code unconditional.
39007 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39008 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39009 include <kernel-features.h>.
39010 [!__NR_ftruncate64]: Remove conditional code.
39011 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39012 [__NR_ftruncate64]: Make code unconditional.
39013 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39015 include <kernel-features.h>.
39016 [!__NR_ftruncate64]: Remove conditional code.
39017 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39018 [__NR_ftruncate64]: Make code unconditional.
39019 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39021 include <kernel-features.h>.
39022 [!__NR_ftruncate64]: Remove conditional code.
39023 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39024 [__NR_ftruncate64]: Make code unconditional.
39025 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39027 * configure.in (libc_cv_fpie): Weaken to a compile test using
39028 LIBC_TRY_CC_OPTION.
39029 * configure: Regenerated.
39031 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39046 2012-05-27 David S. Miller <davem@davemloft.net>
39048 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39050 (__Q_simulate_exceptions): Return void. Change to simulate
39051 exceptions by writing into the %fsr.
39052 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39053 (__Qp_handle_exceptions): Likewise.
39055 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39056 __Qp_handle_exceptions.
39057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39058 __Qp_handle_exceptions.
39059 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39060 as unused and give dummy FP_RND_NEAREST initializer.
39061 (FP_INHIBIT_RESULTS): Define.
39062 (___Q_simulate_exceptions): Update declaration.
39063 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39065 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39066 as unused and give dummy FP_RND_NEAREST initializer.
39067 (__Qp_handle_exceptions): Update declaration.
39068 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39071 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39073 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39074 the temporary FPU control word.
39075 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39076 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39077 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39078 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39079 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39080 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39081 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39082 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39083 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39084 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39085 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39087 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39089 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39092 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39094 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39095 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39096 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39097 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39099 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39100 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39103 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39105 * po/h.po: Update from translation team.
39107 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39109 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39111 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39112 handling of denormals.
39113 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39114 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39115 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39116 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39117 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39122 2012-05-26 Marek Polacek <polacek@redhat.com>
39125 * math/libm-test.inc (fma_test): Don't always expect underflow
39128 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39131 * elf/tst-execstack.c: Include stackinfo.h.
39132 (do_test): Adjust test case to ensure that pthread_getattr_np
39133 behaviour remains the same after marking stack executable.
39135 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39137 * sysdeps/unix/sysv/linux/kernel-features.h
39138 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39139 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39141 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39142 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39143 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39145 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39146 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39148 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39150 * configure.in: Define the default includes to being none.
39151 * configure: Regenerated.
39153 2012-05-25 Roland McGrath <roland@hack.frob.com>
39155 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39156 * sysdeps/x86_64/setjmp.S: Likewise.
39157 * sysdeps/i386/bsd-setjmp.S: Likewise.
39158 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39159 * sysdeps/i386/setjmp.S: Likewise.
39160 * sysdeps/i386/__longjmp.S: Likewise.
39161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39162 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39164 * include/stap-probe.h: New file.
39165 * configure.in: Handle --enable-systemtap.
39166 * configure: Regenerated.
39167 * config.h.in (USE_STAP_PROBE): New #undef.
39168 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39169 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39170 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39172 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39175 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39176 to 2.4.0 where earlier.
39177 * sysdeps/unix/sysv/linux/configure: Regenerated.
39178 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39179 <kernel-features.h>.
39180 [__ASSUME_32BITUIDS]: Make code unconditional.
39181 [!__ASSUME_32BITUIDS]: Remove conditional code.
39182 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39183 <kernel-features.h>.
39184 [__ASSUME_32BITUIDS]: Make code unconditional.
39185 [!__ASSUME_32BITUIDS]: Remove conditional code.
39186 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39187 [__ASSUME_32BITUIDS]: Make code unconditional.
39188 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39189 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39190 <kernel-features.h>.
39191 [__ASSUME_32BITUIDS]: Make code unconditional.
39192 [!__ASSUME_32BITUIDS]: Remove conditional code.
39193 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39194 <kernel-features.h>.
39195 [__ASSUME_32BITUIDS]: Make code unconditional.
39196 [!__ASSUME_32BITUIDS]: Remove conditional code.
39197 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
39230 <kernel-features.h>.
39231 [__NR_setresgid] (__setresgid): Do not declare.
39232 [__ASSUME_32BITUIDS]: Make code unconditional.
39233 [!__ASSUME_32BITUIDS]: Remove conditional code.
39234 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39235 <kernel-features.h>.
39236 [__NR_setresuid] (__setresuid): Do not declare.
39237 [__ASSUME_32BITUIDS]: Make code unconditional.
39238 [!__ASSUME_32BITUIDS]: Remove conditional code.
39239 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39240 <kernel-features.h>.
39241 [__ASSUME_32BITUIDS]: Make code unconditional.
39242 [!__ASSUME_32BITUIDS]: Remove conditional code.
39243 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39244 <kernel-features.h>.
39245 [__ASSUME_32BITUIDS]: Make code unconditional.
39246 [!__ASSUME_32BITUIDS]: Remove conditional code.
39247 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
39280 (__ASSUME_SETRESUID_SYSCALL): Remove.
39281 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39282 (__ASSUME_32BITUIDS): Likewise.
39283 (__ASSUME_LDT_WORKS): Likewise.
39284 (__ASSUME_O_DIRECTORY): Likewise.
39285 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39286 architecture but not kernel version.
39287 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39288 (__ASSUME_MMAP2_SYSCALL): Likewise.
39289 (__ASSUME_STAT64_SYSCALL): Likewise.
39290 (__ASSUME_IPC64): Likewise.
39291 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39292 <kernel-features.h>.
39293 [__ASSUME_32BITUIDS]: Make code unconditional.
39294 [!__ASSUME_32BITUIDS]: Remove conditional code.
39295 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39296 <kernel-features.h>.
39297 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39298 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39299 132096]: Remove conditional code.
39300 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39301 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39302 <kernel-features.h>.
39303 [__ASSUME_32BITUIDS]: Make code unconditional.
39304 [!__ASSUME_32BITUIDS]: Remove conditional code.
39305 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39306 <kernel-features.h>.
39307 [__ASSUME_32BITUIDS]: Make code unconditional.
39308 [!__ASSUME_32BITUIDS]: Remove conditional code.
39309 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39310 <kernel-features.h>.
39311 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39313 (__setresgid): Do not declare.
39314 [__ASSUME_32BITUIDS]: Make code unconditional.
39315 [!__ASSUME_32BITUIDS]: Remove conditional code.
39316 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39317 <kernel-features.h>.
39318 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39320 (__setresuid): Do not declare.
39321 [__ASSUME_32BITUIDS]: Make code unconditional.
39322 [!__ASSUME_32BITUIDS]: Remove conditional code.
39323 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39324 <kernel-features.h>.
39325 [__ASSUME_32BITUIDS]: Make code unconditional.
39326 [!__ASSUME_32BITUIDS]: Remove conditional code.
39327 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39328 <kernel-features.h>.
39329 [__ASSUME_32BITUIDS]: Make code unconditional.
39330 [!__ASSUME_32BITUIDS]: Remove conditional code.
39332 2012-05-25 Richard Henderson <rth@twiddle.net>
39334 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39335 dl_hwcap to ifunc resolver.
39336 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39338 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39339 dl_hwcap to ifunc resolver.
39340 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39342 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39345 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39346 for |x| <= 2**-26, not 2**-57.
39347 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39350 2012-05-24 Jeff Law <law@redhat.com>
39352 * stdio-common/Makefile (tests): Add bug25.
39353 * stdio-common/bug25.c: New test.
39355 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39358 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39359 multiple of MALLOC_ALIGNMENT in size.
39360 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39362 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39364 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39366 (FILENAME_MAX): Use macro-int-constant.
39367 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39368 (_IOFBF): Use macro-int-constant.
39369 (_IOLBF): Likewise.
39370 (_IONBF): Likewise.
39371 (SEEK_CUR): Likewise.
39372 (SEEK_END): Likewise.
39373 (SEEK_SET): Likewise.
39374 (TMP_MAX): Likewise.
39375 (EOF): Use macro-int-constant. Require < 0.
39376 (NULL): Use macro-constant. Require == 0.
39377 (stdin): Require type to be FILE *.
39378 (stdout): Likewise.
39379 (stderr): Likewise.
39380 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39381 macro-int-constant.
39382 (EXIT_SUCCESS): Likewise.
39383 (NULL): Use macro-constant. Require == 0.
39384 (RAND_MAX): Use macro-int-constant.
39385 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39386 [C99-based standards] (strtof): Require function.
39387 [C99-based standards] (strtold): Likewise.
39388 [C99-based standards] (strtoll): Likewise.
39389 [C99-based standards] (strtoull): Likewise.
39390 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39391 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39392 [ISO || ISO99 || ISO11] (math.h): Likewise.
39393 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39394 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39397 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39400 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39401 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39402 * intl/dgettext.c (DCGETTEXT): Likewise.
39403 * intl/gettext.c (DCGETTEXT): Likewise.
39404 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39405 * posix/regex_internal.h (gettext): Likewise.
39406 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39407 Remove declaration.
39408 * include/argz.h (__argz_count_internal)
39409 (__argz_stringify_internal): Remove declaration.
39410 (__argz_count, __argz_stringify): Declare hidden proto.
39411 * intl/dcgettext.c: Remove use of INTDEF.
39412 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39413 * string/argz-stringify.c: Likewise.
39414 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39415 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39416 Declare hidden proto.
39417 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39418 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39419 Declare hidden proto.
39420 * include/stdio.h (__asprintf_internal): Don't declare.
39421 (__asprintf): Don't define as macro. Declare hidden proto.
39422 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39423 (__fsetlocking): Declare hidden proto.
39424 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39425 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39427 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39428 (_IO_setlinebuf): Remove use of INTUSE.
39429 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39430 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39431 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39432 Remove declaration.
39433 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39434 (_IO_do_flush): Remove use of INTUSE.
39435 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39436 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39437 (_IO_adjust_column, _IO_least_wmarker)
39438 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39439 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39440 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39441 (_IO_default_doallocate, _IO_wdefault_doallocate)
39442 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39443 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39444 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39445 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39446 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39447 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39448 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39449 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39450 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39451 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39452 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39453 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39454 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39456 (_IO_flush_all_internal, _IO_adjust_column_internal)
39457 (_IO_default_uflow_internal, _IO_default_finish_internal)
39458 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39459 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39460 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39461 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39462 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39463 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39464 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39465 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39466 (_IO_file_close_internal, _IO_file_close_it_internal)
39467 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39468 (_IO_file_init_internal, _IO_file_attach_internal)
39469 (_IO_file_fopen_internal, _IO_file_read_internal)
39470 (_IO_file_sync_internal, _IO_file_seek_internal)
39471 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39472 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39473 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39474 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39475 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39476 (_IO_list_all_internal, _IO_link_in_internal)
39477 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39478 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39479 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39480 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39481 (_IO_do_write_internal, _IO_padn_internal)
39482 (_IO_getline_info_internal, _IO_getline_internal)
39483 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39484 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39485 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39486 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39487 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39488 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39489 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39490 with libc_hidden_ver, remove use of INTUSE.
39491 * libio/genops.c: Likewise.
39492 * libio/freopen.c: Likewise.
39493 * libio/freopen64.c: Likewise.
39494 * libio/iofclose.c: Likewise.
39495 * libio/iofdopen.c: Likewise.
39496 * libio/iofflush.c: Likewise.
39497 * libio/iofflush_u.c: Likewise.
39498 * libio/iofgets.c: Likewise.
39499 * libio/iofgets_u.c: Likewise.
39500 * libio/iofopen.c: Likewise.
39501 * libio/iofopncook.c: Likewise.
39502 * libio/iofread.c: Likewise.
39503 * libio/iofread_u.c: Likewise.
39504 * libio/ioftell.c: Likewise.
39505 * libio/iofwrite.c: Likewise.
39506 * libio/iogetline.c: Likewise.
39507 * libio/iogets.c: Likewise.
39508 * libio/iogetwline.c: Likewise.
39509 * libio/iopadn.c: Likewise.
39510 * libio/iopopen.c: Likewise.
39511 * libio/ioseekoff.c: Likewise.
39512 * libio/ioseekpos.c: Likewise.
39513 * libio/iosetbuffer.c: Likewise.
39514 * libio/iosetvbuf.c: Likewise.
39515 * libio/ioungetc.c: Likewise.
39516 * libio/ioungetwc.c: Likewise.
39517 * libio/iovdprintf.c: Likewise.
39518 * libio/iovsprintf.c: Likewise.
39519 * libio/iovsscanf.c: Likewise.
39520 * libio/memstream.c: Likewise.
39521 * libio/obprintf.c: Likewise.
39522 * libio/oldfileops.c: Likewise.
39523 * libio/oldiofclose.c: Likewise.
39524 * libio/oldiofdopen.c: Likewise.
39525 * libio/oldiofopen.c: Likewise.
39526 * libio/oldiopopen.c: Likewise.
39527 * libio/oldstdfiles.c: Likewise.
39528 * libio/putc.c: Likewise.
39529 * libio/setbuf.c: Likewise.
39530 * libio/setlinebuf.c: Likewise.
39531 * libio/stdfiles.c: Likewise.
39532 * libio/strops.c: Likewise.
39533 * libio/vasprintf.c: Likewise.
39534 * libio/vscanf.c: Likewise.
39535 * libio/vsnprintf.c: Likewise.
39536 * libio/vswprintf.c: Likewise.
39537 * libio/wfiledoalloc.c: Likewise.
39538 * libio/wfileops.c: Likewise.
39539 * libio/wgenops.c: Likewise.
39540 * libio/wmemstream.c: Likewise.
39541 * libio/wstrops.c: Likewise.
39542 * libio/__fpurge.c: Likewise.
39543 * libio/__fsetlocking.c: Likewise.
39544 * assert/assert.c: Likewise.
39545 * debug/fgets_chk.c: Likewise.
39546 * debug/fgets_u_chk.c: Likewise.
39547 * debug/fread_chk.c: Likewise.
39548 * debug/fread_u_chk.c: Likewise.
39549 * debug/gets_chk.c: Likewise.
39550 * debug/obprintf_chk.c: Likewise.
39551 * debug/vasprintf_chk.c: Likewise.
39552 * debug/vdprintf_chk.c: Likewise.
39553 * debug/vsnprintf_chk.c: Likewise.
39554 * debug/vsprintf_chk.c: Likewise.
39555 * malloc/mtrace.c: Likewise.
39556 * misc/error.c: Likewise.
39557 * misc/syslog.c: Likewise.
39558 * stdio-common/asprintf.c: Likewise.
39559 * stdio-common/fxprintf.c: Likewise.
39560 * stdio-common/getw.c: Likewise.
39561 * stdio-common/isoc99_fscanf.c: Likewise.
39562 * stdio-common/isoc99_scanf.c: Likewise.
39563 * stdio-common/isoc99_vfscanf.c: Likewise.
39564 * stdio-common/isoc99_vscanf.c: Likewise.
39565 * stdio-common/isoc99_vsscanf.c: Likewise.
39566 * stdio-common/printf-prs.c: Likewise.
39567 * stdio-common/printf_fp.c: Likewise.
39568 * stdio-common/printf_fphex.c: Likewise.
39569 * stdio-common/printf_size.c: Likewise.
39570 * stdio-common/putw.c: Likewise.
39571 * stdio-common/scanf.c: Likewise.
39572 * stdio-common/sprintf.c: Likewise.
39573 * stdio-common/tmpfile.c: Likewise.
39574 * stdio-common/vfprintf.c: Likewise.
39575 * stdio-common/vfscanf.c: Likewise.
39576 * stdlib/strfmon_l.c: Likewise.
39577 * sunrpc/openchild.c: Likewise.
39578 * sunrpc/xdr_stdio.c: Likewise.
39579 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39580 * sysdeps/mach/hurd/tmpfile.c: Likewise.
39582 2012-05-24 Roland McGrath <roland@hack.frob.com>
39584 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39586 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39587 in the third column, to generate for the shared library an IFUNC
39588 that uses _dl_vdso_vsym.
39589 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39590 * Makeconfig (object-suffixes-noshared): New variable.
39592 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39593 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39594 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39595 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39598 * include/sys/time.h (__gettimeofday): Remove macro.
39599 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39600 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39602 (__gettimeofday): Add libc_hidden_def.
39603 (gettimeofday): Add libc_hidden_weak.
39604 * sysdeps/mach/gettimeofday.c: Likewise.
39605 * sysdeps/posix/gettimeofday.c: Likewise.
39606 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39607 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39609 (__gettimeofday_internal): Remove strong_alias.
39610 (__gettimeofday): Add libc_hidden_def.
39611 (gettimeofday): Add libc_hidden_weak.
39612 * sysdeps/unix/syscalls.list (gettimeofday):
39613 Remove __gettimeofday_internal alias.
39615 2012-05-24 Daniel Jacobowitz <drow@false.org>
39616 H.J. Lu <hongjiu.lu@intel.com>
39619 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39620 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39621 (largebin_index_32_big): New.
39622 (largebin_index): Use it for 16-byte alignment.
39623 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39624 correction with front_misalign.
39626 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39654 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39655 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39657 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39661 * math/libm-test.inc (exp_test): Add test from bug 14036.
39662 (pow_test): Add test from bug 10846.
39664 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39666 (special_function): Do not include flags in test name.
39667 (parse_args): Likewise.
39668 * sysdeps/i386/fpu/libm-test-ulps: Update.
39669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39670 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39671 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39674 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39676 * math/libm-test.inc ("Philosophy"): Update comment about
39678 (UNDERFLOW_EXCEPTION): New macro.
39679 (UNDERFLOW_EXCEPTION_OK): Likewise.
39680 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39681 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39682 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39683 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39684 (INVALID_EXCEPTION_OK): Update value.
39685 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39686 (OVERFLOW_EXCEPTION_OK): Likewise.
39687 (IGNORE_ZERO_INF_SIGN): Likewise.
39688 (test_exceptions): Handle underflow exceptions.
39689 (acos_test): Update for underflow exception expectations.
39690 (cexp_test): Likewise.
39691 (clog_test): Likewise.
39692 (clog10_test): Likewise.
39693 (csqrt_test): Likewise.
39694 (ctan_test): Likewise.
39695 (ctanh_test): Likewise.
39696 (exp_test): Likewise.
39697 (exp10_test): Likewise.
39698 (exp2_test): Likewise.
39699 (expm1_test): Likewise.
39700 (fma_test): Likewise.
39701 (j0_test): Likewise.
39702 (jn_test): Likewise.
39703 (nexttoward_test): Likewise.
39704 (pow_test): Likewise.
39705 (scalbn_test): Likewise.
39706 (scalbln_test): Likewise.
39707 (tan_test): Likewise.
39708 (y1_test): Likewise.
39709 * sysdeps/i386/fpu/libm-test-ulps: Update.
39710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39712 2012-05-23 David S. Miller <davem@davemloft.net>
39714 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39715 (__libc_sigaction): Remove unused local variables.
39717 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39719 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39721 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39723 mktime: avoid signed integer overflow
39724 * time/mktime.c (__mktime_internal): Do not mishandle the case
39725 where diff == INT_MIN.
39727 mktime: simplify computation of average
39728 * time/mktime.c (ranged_convert): Use new time_t_avg function
39729 instead of rolling our own (probably-slower) code.
39731 mktime: do not assume signed right shift propagates sign bit
39732 * time/mktime.c (isdst_differ): New static function.
39733 (__mktime_internal): No need to normalize tm_isdst now.
39734 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39737 mktime: merge another wrapv change from gnulib
39738 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39739 from some compilers.
39741 mktime: remove incorrect attempt at unusual arithmetics
39742 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39743 The code didn't really work on such machines anyway.
39744 (TYPE_MINIMUM): Assume two's complement.
39745 (twos_complement_arithmetic): Verify that long_int and time_t
39746 are two's complement (or unsigned, in the latter case).
39748 mktime: check signed shifts on long_int and time_t, too
39749 * time/mktime.c (SHR): Check that shifts work as desired
39750 on the types long_int and time_t too, as SHR is used on
39753 mktime: do not assume 'long' is wide enough
39754 * time/mktime.c (verify): Move decl up.
39755 (long_int): New type.
39756 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39757 to remove assumption in the code that 'long' is wide enough to
39758 store year values. This assumption is not true on x32 and on
39759 some non-glibc platforms.
39761 mktime: merge wrapv change from gnulib
39762 * time/mktime.c (WRAPV): New macro.
39763 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39764 (guess_time_tm, __mktime_internal): Do not assume that signed
39765 integer overflow wraps around; modern compilers generate code
39766 where this assumption is no longer valid.
39768 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39770 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39771 Replace "jmp L(pseudo_end)" with "ret".
39772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39775 2012-05-23 Andreas Jaeger <aj@suse.de>
39777 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39778 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39780 2012-05-23 Andreas Jaeger <aj@suse.de>
39781 Maximilian Attems <max@stro.at>
39783 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39786 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39788 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39789 code so that pseudo_end is just ret and the stack pointer is
39790 correct also for static library in error case.
39792 2012-05-23 Joseph Myers <joseph@codesourcery.com>
39794 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39795 move to syscalls.list.
39796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39801 * manual/install.texi (Running make install): Do not mention Linux
39802 kernel version for which pt_chown is not needed.
39803 (Linux): Do not mention problems with nscd with 2.0 kernels.
39804 * INSTALL: Regenerated.
39806 2012-05-23 Andreas Jaeger <aj@suse.de>
39808 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39809 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39811 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39812 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39813 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39814 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39815 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39816 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39817 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39818 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39819 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39820 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39821 * sysdeps/unix/sysv/linux/bits/in.h
39822 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39824 2012-05-22 Roland McGrath <roland@hack.frob.com>
39826 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39827 (PREPARE_VERSION): Just use assert instead, it will be elided
39828 under [NDEBUG] anyway.
39830 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39832 * sysdeps/unix/sysv/linux/Makefile: Include
39833 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39834 (sysdep_routines): Remove sysctl.
39835 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39836 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39837 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39838 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39839 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39841 2012-05-22 Andreas Jaeger <aj@suse.de>
39843 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39844 that pseudo_end is just ret and the stack pointer is correct also
39845 for static library in error case.
39847 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39850 * nss/nsswitch.c (defconfig_entries): New variable.
39851 (__nss_database_lookup): Don't leak defconfig entries.
39852 (nss_parse_service_list): Don't leak on error paths.
39853 (free_database_entries): New function.
39854 (free_defconfig): New function.
39855 (free_mem): Move common code to free_database_entries.
39857 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39859 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39861 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39863 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39864 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39867 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39868 (INTERNAL_SYSCALL_TYPES): Likewise.
39869 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39870 (LOAD_REGS_TYPES_[1-6]): Likewise.
39871 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39872 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39874 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39876 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39877 copysignl for GLIBC_2_0.
39878 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39879 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39881 logbl for GLIBC_2_0.
39882 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39883 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39885 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39887 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39888 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39890 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39893 * time/mktime.c: Update copyright years.
39895 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39897 mktime: merge comment-quoting-style change from gnulib
39898 * time/mktime.c: Quote 'like this' in comments.
39899 The GNU coding standards suggest that we no longer quote `like this',
39900 as "`" and "'" are typically rendered asymmetrically nowadays.
39901 The typical gnulib style is to quote 'like this' when quoting
39902 code, and "like this" when quoting English.
39904 * time/mktime.c (compile-command): Add "-I.".
39906 mktime: merge mktime-internal.h change from gnulib
39907 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39909 mktime: merge time_r change from gnulib
39910 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39912 mktime: merge DEBUG change from gnulib
39913 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39914 case system <time.h> has a #define.
39916 mktime: merge <sys/types.h> change from gnulib
39917 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39918 since <time.t> is now guaranteed to define time_t.
39920 mktime: merge HAVE_CONFIG_H change from gnulib
39921 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39923 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39928 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39930 (struct rusage): Use anonymous union to pad each field to
39933 2012-05-21 David S. Miller <davem@davemloft.net>
39935 * Makefules (o-iterator): Remove .s cases.
39936 (compile-command.s): Delete.
39937 (COMPILE.s): Delete.
39938 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39940 2012-05-21 Joseph Myers <joseph@codesourcery.com>
39942 * configure.in (libc_cv_predef_stack_protector): Only consider
39943 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39944 * configure: Regenerated.
39946 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39949 New macro. Use R*LP on int and pointer.
39950 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39951 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39952 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39953 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39955 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39956 [__WORDSIZE_TIME64_COMPAT32] instead of
39957 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39958 (struct utmp): Likewise.
39959 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39960 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39962 (__WORDSIZE_TIME64_COMPAT32): This.
39963 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39964 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39965 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39966 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39967 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39968 (__WORDSIZE_TIME64_COMPAT32): New macro.
39970 2012-05-21 Andreas Jaeger <aj@suse.de>
39972 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39973 only if [SHARED]. Add prototype for __wcschr_ia32.
39975 2012-05-21 Roland McGrath <roland@hack.frob.com>
39977 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39978 of %rbp unmolested in the jmp_buf while mangling the low bits.
39979 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39980 unmolested high bits of %rbp while demangling the low bits.
39981 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39983 2012-05-21 Andreas Jaeger <aj@suse.de>
39985 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39986 * sunrpc/svc_simple.c: Use it for registerrpc.
39987 * sunrpc/xcrypt.c: Use it for passwd2des.
39989 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39991 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39993 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39994 Don't define if [__SYSCALL_WORDSIZE != 32].
39995 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39998 2012-05-21 Bruno Haible <bruno@clisp.org>
39999 Andreas Jaeger <aj@suse.de>
40001 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40002 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40003 inptr and inend for must_buffer_ch.
40004 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40005 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40006 * stdio-common/Makefile (tests): Remove bug15.
40007 (bug15-ENV): Remove macro.
40008 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40011 2012-05-19 Andreas Jaeger <aj@suse.de>
40012 Roland McGrath <roland@hack.frob.com>
40014 * manual/contrib.texi: Completely rewritten. It contains now an
40015 alphabetical list of contributors and their contributions.
40017 2012-05-21 Richard Henderson <rth@twiddle.net>
40019 * misc/getauxval.c (__getauxval): Use unsigned long int.
40020 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40021 (getauxval): Use unsigned long int.
40023 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40025 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40027 2012-05-21 Roland McGrath <roland@hack.frob.com>
40029 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40030 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40031 __alignof__ (long double).
40033 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40037 2012-05-20 Richard Henderson <rth@twiddle.net>
40039 * misc/getauxval.c: New file.
40040 * misc/sys/auxv.h: New file.
40041 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40042 (routines): Add getauxval.
40043 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40044 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40045 * elf/dl-sysdep.c (_dl_auxv): Remove.
40046 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40047 * elf/dl-support.c (_dl_auxv): New variable.
40048 (_dl_aux_init): Initialize it.
40049 * manual/startup.texi (Auxiliary Vector): New node.
40050 * sysdeps/generic/bits/hwcap.h: New file.
40051 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40052 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40053 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40054 * sysdeps/sparc/sysdep.h: ... here. Include it.
40055 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40056 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40062 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40068 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40072 2012-05-19 David S. Miller <davem@davemloft.net>
40074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40076 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40079 * math/s_ccosh.c: Include <float.h>
40080 (__ccosh): Avoid internal overflow calculating sinh and cosh
40081 values before multiplying by sin and cos values.
40082 * math/s_ccoshf.c: Likewise.
40083 * math/s_ccoshl.c: Likewise.
40084 * math/s_csin.c: Likewise.
40085 * math/s_csinf.c: Likewise.
40086 * math/s_csinl.c: Likewise.
40087 * math/s_csinh.c: Likewise.
40088 * math/s_csinhf.c: Likewise.
40089 * math/s_csinhl.c: Likewise.
40090 * math/libm-test.inc (ccos_test): Add more tests.
40091 (ccosh_test): Likewise.
40092 (csin_test): Likewise.
40093 (csinh_test): Likewise.
40094 * sysdeps/i386/fpu/libm-test-ulps: Update.
40095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40097 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40099 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40100 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40102 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40104 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40106 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40107 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40108 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40109 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40110 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40111 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40112 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40113 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40114 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40115 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40116 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40117 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40118 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40119 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40120 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40121 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40122 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40123 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40124 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40125 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40126 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40127 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40128 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40129 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40130 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40131 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40132 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40133 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40134 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40135 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40136 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40138 2012-05-18 Andreas Jaeger <aj@suse.de>
40140 * csu/.gitignore: Delete.
40142 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40144 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40145 (timex): Use __syscall_slong_t.
40147 2012-05-18 Andreas Jaeger <aj@suse.de>
40148 Carlos O'Donell <carlos_odonell@mentor.com>
40150 * manual/install.texi (Configuring and compiling): Update
40151 description about files modified in the source directory.
40152 * INSTALL: Regenerated.
40154 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40156 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40157 value. Use "or" to set return value to -1.
40158 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40159 negate return value.
40161 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40163 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40164 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40165 failure if the compiler has Graphite support disabled.
40166 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40168 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40169 (CFLAGS-memmove.c): Likewise.
40170 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40173 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40175 * sysdeps/x86_64/x32/_itoa.h: New file.
40177 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40178 getdents system call only if kernel and user dirents have the
40179 same d_ino and d_off.
40181 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40182 LLONG_MAX != LONG_MAX.
40183 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40184 (_fitoa_word): Likewise.
40186 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40188 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40189 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40190 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40192 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40193 include <bits/wordsize.h>. Check __x86_64__ instead of
40195 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40196 if __x86_64__ is defined. Use anonymous union on fpstate.
40198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40201 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40203 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40204 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40205 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40206 Refer to _rtld_local_ro instead of _rtld_global_ro.
40207 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40209 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40211 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40213 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40214 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40215 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40217 * sysdeps/powerpc/powerpc32/dl-machine.c
40218 (__elf_machine_runtime_setup) [PROF]: Don't reference
40221 2012-05-18 Andreas Jaeger <aj@suse.de>
40223 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40224 function only available for GCCs before 3.4 since GCC 3.4
40225 introduced a builtin.
40227 (llrintf): Likewise.
40228 (llrint): Likewise.
40235 (nearbyint): Likewise.
40236 (nearbyintf): Likewise.
40240 (floorf): Likewise.
40242 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40244 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40245 on both fields and cast pointer to __syscall_ulong_t.
40247 * bits/types.h (__fsword_t): New type.
40248 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40249 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40251 (__FSWORD_T_TYPE): Likewise.
40252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40253 (__FSWORD_T_TYPE): Likewise.
40254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40255 (__FSWORD_T_TYPE): Likewise.
40256 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40257 (__FSWORD_T_TYPE): Likewise.
40258 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40259 __SWORD_TYPE with __fsword_t.
40260 (statfs64): Likewise.
40262 2012-05-17 David S. Miller <davem@davemloft.net>
40264 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40266 2012-05-17 Andreas Jaeger <aj@suse.de>
40268 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40271 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40273 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40275 2012-05-17 Andreas Jaeger <aj@suse.de>
40277 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40280 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40282 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40284 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40286 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40287 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40289 2012-05-17 Andreas Jaeger <aj@suse.de>
40290 Carlos O'Donell <carlos_odonell@mentor.com>
40293 * sysdeps/x86_64/multiarch/init-arch.h
40294 (bit_YMM_Usable): Rename to...
40295 (bit_AVX_Usable): ... this.
40296 (bit_FMA4_Usable): New macro.
40297 (bit_XMM_state): New macro.
40298 (bit_YMM_state): New macro.
40299 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40300 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40301 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40302 (CPUID_OSXSAVE): New macro.
40303 (CPUID_AVX): New macro.
40304 (CPUID_FMA4): New macro.
40305 (index_YMM_Usable): Rename to...
40306 (index_AVX_Usable): ... this.
40307 (HAS_AVX): Use HAS_ARCH_FEATURE.
40308 (HAS_FMA4): Likewise.
40309 (HAS_YMM_USABLE): Remove.
40310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40311 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40313 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40314 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40315 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40316 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40317 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40319 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40321 * math/libm-test.c: Support platforms without multiple rounding modes.
40322 * math/bug-nextafter.c: Support platforms without FP exceptions.
40323 * math/bug-nexttoward.c: Likewise.
40324 * math/test-fenv.c: Likewise.
40325 * math/test-misc.c: Likewise.
40326 * stdlib/bug-getcontext.c: Likewise.
40328 2012-05-17 Andreas Jaeger <aj@suse.de>
40330 * manual/examples/search.c (critter_cmp): Change signature to
40332 * manual/string.texi (Collation Functions): Likewise.
40334 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40336 * bits/types.h: Fold copyright years.
40337 * bits/typesizes.h: Likewise.
40338 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40339 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40342 * time/time.h: Likewise.
40344 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40347 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40348 in instead of returning them. Return void.
40349 (__libc_mallinfo): Accumulate over all arenas.
40350 (__malloc_stats): Adjust for change in int_mallinfo interface.
40352 2012-05-16 Roland McGrath <roland@hack.frob.com>
40355 * configure.in (NM): Add AC_CHECK_TOOL for it.
40356 (libc_extra_cflags): New substituted variable.
40357 Check for -fstack-protector being used implicitly.
40358 * configure: Regenerated.
40359 * config.make.in (config-extra-cflags): New variable,
40360 gets @libc_extra_cflags@.
40361 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40364 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40365 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40366 * configure: Regenerated.
40367 * config.make.in (CPPUNDEFS): New substituted variable.
40368 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40369 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40370 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40372 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40374 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40375 (mq_attr): Use __syscall_slong_t.
40377 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40379 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40380 Check __x86_64__ instead of __WORDSIZE.
40381 (_STAT_VER_LINUX): Likewise.
40382 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40383 __syscall_ulong_t and __syscall_slong_t.
40384 (stat64): Likewise.
40386 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40388 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40390 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40392 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40394 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40396 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40399 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40400 include <bits/wordsize.h>. Check __x86_64__ instead of
40402 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40404 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40407 include <bits/wordsize.h>. Check __x86_64__ instead of
40409 (user_regs_struct): Use "__extension__ unsigned long long"
40410 instead of "unsigned long" if __x86_64__ is defined.
40411 (user): Likewise. Pad after pointer field if __ILP32__ is
40414 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40416 * configure.in (makeinfo): Require version 4.5 or later. Allow
40418 * configure: Regenerated.
40419 * manual/install.texi (texinfo): Increase version requirement to
40421 * INSTALL: Regenerated.
40423 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40425 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40427 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40429 * sysdeps/x86_64/x32/ffs.c: New file.
40431 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40433 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40434 defined. Use __syscall_ulong_t.
40435 (shminfo): Use __syscall_ulong_t.
40436 (shm_info): Likewise.
40438 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40441 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40443 (msgqnum_t): Use __syscall_ulong_t.
40444 (msglen_t): Likewise.
40445 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40448 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40449 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40451 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40453 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40454 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40456 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40459 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40460 include <bits/wordsize.h>. Check __x86_64__ instead of
40463 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40464 "unsigned long long int" if __x86_64__ is defined.
40465 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40467 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40468 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40469 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40471 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40473 (GET_PC): Cast to uintptr_t first.
40474 (GET_FRAME): Likewise.
40475 (GET_STACK): Likewise.
40477 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40478 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40479 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40480 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40481 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40482 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40483 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40484 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40485 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40486 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40487 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40488 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40489 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40490 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40491 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40492 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40493 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40494 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40495 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40496 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40497 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40498 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40499 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40500 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40501 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40502 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40503 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40504 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40505 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40507 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40509 * Makerules (+depfiles): Also collect depfiles from .oS in
40511 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40512 .oS, $(libnldbl-routines)).
40514 * Makerules (native-compile-mkdep-flags): Define.
40515 * sunrpc/Makefile (extra-objs): Add $(addprefix
40516 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40517 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40518 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40519 calling $(make-target-directory).
40521 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40523 * bits/types.h (__snseconds_t): Removed.
40524 * time/time.h (struct timespec): Replace __snseconds_t with
40526 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40527 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40530 (__SNSECONDS_T_TYPE): Likewise.
40531 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40532 (__SNSECONDS_T_TYPE): Likewise.
40533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40534 (__SNSECONDS_T_TYPE): Likewise.
40536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40538 * sysdeps/mach/hurd/bits/typesizes.h
40539 (__SYSCALL_SLONG_TYPE): New macro.
40540 (__SYSCALL_ULONG_TYPE): Likewise.
40542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40544 * bits/types.h (__syscall_slong_t): New type.
40545 (__syscall_ulong_t): Likewise.
40547 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40548 (__SYSCALL_ULONG_TYPE): Likewise.
40549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40550 (__SYSCALL_SLONG_TYPE): Likewise.
40551 (__SYSCALL_ULONG_TYPE): Likewise.
40552 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40553 (__SYSCALL_SLONG_TYPE): Likewise.
40554 (__SYSCALL_ULONG_TYPE): Likewise.
40555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40556 (__SYSCALL_SLONG_TYPE): Likewise.
40557 (__SYSCALL_ULONG_TYPE): Likewise.
40559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40561 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40562 Add sigaltstack-offsets.sym.
40563 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40564 <sigaltstack-offsets.h>.
40565 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40566 longjmp_msg pointer.
40567 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40568 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40570 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40572 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40574 * elf/stackguard-macros.h: Remove file.
40575 * sysdeps/generic/stackguard-macros.h: New file.
40576 * sysdeps/i386/stackguard-macros.h: Likewise.
40577 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40578 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40579 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40580 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40581 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40582 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40583 * sysdeps/x86_64/stackguard-macros.h: Likewise.
40584 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40585 <elf/stackguard-macros.h>.
40588 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40589 __aligned__ in attribute.
40590 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40591 (gregset_t): Likewise.
40593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40595 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40596 * sysdeps/x86_64/64/Implies-after: Here. New file.
40597 * sysdeps/x86_64/x32/Implies-after: New file.
40599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40601 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40602 and access return value for _dl_profile_fixup. Use R10_LP to
40605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40607 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40611 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40612 * sysdeps/x86_64/x32/sysdep.h: New file.
40614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40616 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40617 * sysdeps/x86_64/setjmp.S: Likewise.
40619 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40621 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40622 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40623 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40624 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40625 remove unused global constant.
40627 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40629 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40630 include of <not-cancel.h>.
40632 2012-05-15 Roland McGrath <roland@hack.frob.com>
40634 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40636 2012-05-15 Jeff Law <law@redhat.com>
40637 Andreas Jaeger <aj@suse.de>
40640 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40642 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40643 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40644 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40645 code changing __hst_map_handle.map.
40647 2012-05-15 Roland McGrath <roland@hack.frob.com>
40649 * configure.in (sysnames): Look for Implies-before and Implies-after
40651 * configure: Regenerated.
40653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40655 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40656 8-byte data alignment with LP_SIZE alignment.
40658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40660 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40665 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40669 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40670 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40671 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40673 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40677 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40678 (stackinfo_sub_sp): Likewise.
40680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40682 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40687 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40690 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40692 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40697 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40701 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40702 into R11_LP and load __x86_64_shared_cache_size_half into
40705 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40707 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40710 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40712 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40714 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40718 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40719 powerpc32/power7/fpu/s_logb.c via #include.
40720 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40721 powerpc32/power7/fpu/s_logbf.c via #include.
40722 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40723 powerpc32/power7/fpu/s_logbl.c via #include.
40725 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40727 * README.libm: Remove file.
40729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40731 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40732 count for x32. Use R*_LP and omit operand-size suffix.
40734 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40736 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40737 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40738 * sysdeps/x86_64/x32/shlib-versions: New file.
40740 2012-05-14 Roland McGrath <roland@hack.frob.com>
40742 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40743 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40744 Use _dl_fatal_printf instead.
40746 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40748 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40749 set if not set by the user. Do not allow for being unset.
40750 * sysdeps/unix/sysv/linux/configure: Regenerated.
40752 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40754 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40755 the `q' suffix from lea and replace .quad with ASM_ADDR.
40757 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40760 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40762 (PTR_DEMANGLE): Likewise.
40764 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40766 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40768 (ASM_ADDR): Likewise.
40769 (RAX_LP): Likewise.
40770 (RBP_LP): Likewise.
40771 (RBX_LP): Likewise.
40772 (RCX_LP): Likewise.
40773 (RDI_LP): Likewise.
40774 (RSI_LP): Likewise.
40775 (RSP_LP): Likewise.
40778 (R10_LP): Likewise.
40779 (R10_LP): Likewise.
40780 (R11_LP): Likewise.
40781 (R12_LP): Likewise.
40782 (R13_LP): Likewise.
40783 (R14_LP): Likewise.
40784 (R15_LP): Likewise.
40786 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40788 * sysdeps/x86_64/x32/dl-machine.h: New file.
40790 2012-05-14 Andreas Jaeger <aj@suse.de>
40792 * manual/Makefile (subdir): Remove export of subdir.
40793 (all): Remove target.
40794 (.PHONY): Remove all from list.
40795 (mkinstalldirs): Remove.
40796 (.PHONY): Remove installdirs from list.
40797 ($(inst_infodir)/libc.info): Use make-target-directory.
40798 (installdirs): Remove.
40799 (subdir_%): Remove.
40800 (glibc-targets): Remove.
40803 ($(objpfx)stubs ../po/manual.pot): Remove.
40804 ($(objpfx)stamp%): Remove.
40805 (make-target-directory): Remove.
40806 (subdir_install): Remove.
40807 (routines): Remove.
40814 * manual/.gitignore: Remove, it's not needed anymore.
40815 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40817 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40819 (texis): Renamed to $(objpfx)texis.
40820 (texis-path): New, contains path to generated files.
40821 (chapters.%): Use texis-path for complete path, add extra argument
40823 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40824 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40825 (summary,texi, stamp-summary): Use complete path of
40826 files. Generate files in build dir.
40827 (dir-add.texi): Build in build dir.
40828 (libm-err.texi,stamp-libm-err): Likewise.
40829 (version.texi, stamp-version): Likewise.
40830 (.%c.texi): Likewise.
40831 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40832 (mostlyclean): Remove target.
40833 (realclean): Remove target.
40834 (generated): Add new variable with contents from mostlyclean and
40835 realclean, remove entries duplicated in common-mostlyclean, add
40836 stamp-libm-err and stamp-version.
40837 (generated-dirs): Add libc directory.
40838 ($(inst_infodir)/libc.info): Install files from build dir.
40840 * manual/install.texi (Configuring and compiling): Adjust since
40841 the info files are not part of the tar ball anymore.
40843 2012-05-14 Andreas Jaeger <aj@suse.de>
40845 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40848 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40851 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40852 to 2.2.0 where earlier.
40853 * sysdeps/unix/sysv/linux/configure: Regenerated.
40854 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40855 Remove conditional code.
40856 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40857 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40858 Remove conditional code.
40859 [!__NR_lchown]: Likewise.
40860 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40861 [__NR_lchown]: Likewise.
40862 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40863 comment referencing __ASSUME_LCHOWN_SYSCALL.
40864 * sysdeps/unix/sysv/linux/i386/sigaction.c
40865 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40866 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40867 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40868 Remove conditional code.
40869 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40870 (__protocol_available): Remove #if 0 code.
40871 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40873 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40874 * sysdeps/unix/sysv/linux/kernel-features.h
40875 (__ASSUME_GETCWD_SYSCALL): Don't define.
40876 (__ASSUME_REALTIME_SIGNALS): Likewise.
40877 (__ASSUME_PREAD_SYSCALL): Likewise.
40878 (__ASSUME_PWRITE_SYSCALL): Likewise.
40879 (__ASSUME_POLL_SYSCALL): Likewise.
40880 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40881 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40883 (__ASSUME_SIOCGIFNAME): Don't define.
40884 (__ASSUME_MSG_NOSIGNAL): Likewise.
40885 (__ASSUME_SENDFILE): Define unconditionally.
40886 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40887 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40889 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40890 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40891 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40892 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40893 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40894 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40895 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40897 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40898 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40900 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40901 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40903 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40904 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40906 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40909 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40912 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40915 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40916 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40918 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40919 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40920 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40921 Remove conditional code.
40922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40923 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40924 Remove conditional code.
40925 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40926 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40927 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40928 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40929 Remove conditional code.
40930 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40931 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40932 Remove conditional code.
40933 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40934 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40935 Remove conditional code.
40936 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40937 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40938 Remove conditional code.
40939 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40940 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40941 Remove conditional code.
40942 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40943 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40944 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40945 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40946 * sysdeps/unix/sysv/linux/sigaction.c
40947 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40948 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40949 * sysdeps/unix/sysv/linux/sigpending.c
40950 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40951 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40952 * sysdeps/unix/sysv/linux/sigprocmask.c
40953 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40954 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40955 * sysdeps/unix/sysv/linux/sigsuspend.c
40956 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40957 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40958 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40959 (__libc_missing_rt_sigs): Remove.
40960 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40961 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40962 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40963 Remove conditional code.
40964 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40965 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40967 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40968 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40969 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40970 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40972 2012-05-14 Andreas Jaeger <aj@suse.de>
40974 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40975 it's not used in glibc.
40976 (__coshm1): Likewise.
40977 (__acosh1p): Likewise.
40980 * manual/string.texi (Copying and Concatenation): Add missing
40981 variable in concat example.
40982 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40984 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40987 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40988 __builtin_clzl with __builtin_clzll.
40990 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40993 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40996 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40998 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40999 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41000 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41001 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41003 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41005 * NEWS: Update ia64 info.
41007 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41009 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41012 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41014 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41015 * sysdeps/unix/syscalls.list (dup3): Likewise.
41016 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41017 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41019 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41021 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41022 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41024 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41026 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41028 (TLS_IE): Use mov/add instead of movq/addq to load thread
41030 (TLS_GD_PREFIX): New.
41033 2012-05-11 David S. Miller <davem@davemloft.net>
41035 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41036 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41037 (_FPU_SETCW): Likewise.
41039 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41041 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41042 is 32-byte aligned.
41044 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41047 * iconvdata/gb18030.c: Update tables.
41048 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41049 characters specially.
41050 (BODY for TO_LOOP): Add encoding of missing ranges.
41052 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41055 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41056 * sysdeps/mach/hurd/dup3.c: Likewise.
41057 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41058 * sysdeps/powerpc/memmove.c:: Likewise.
41060 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41063 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41065 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41067 * elf/elf.h (R_X86_64_RELATIVE64): New.
41068 (R_X86_64_NUM): Updated.
41069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41070 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41071 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41072 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41073 tst-quad1pie tst-quad2pie
41074 (modules-names): Add tst-quadmod1 tst-quadmod2.
41075 ($(objpfx)tst-quad1): New dependency.
41076 ($(objpfx)tst-quad2): Likewise.
41077 ($(objpfx)tst-quad1pie): Likewise.
41078 ($(objpfx)tst-quad2pie): Likewise.
41079 * sysdeps/x86_64/tst-quad1.c: New file.
41080 * sysdeps/x86_64/tst-quad1pie.c: New file.
41081 * sysdeps/x86_64/tst-quad2.c: Likewise.
41082 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41083 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41084 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41085 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41086 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41088 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41090 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41091 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41092 * streams/stropts.h (t_scalar_t): Define type.
41094 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41095 (_PATH_PRESERVE): Set to "/var/lib".
41096 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41098 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41101 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41102 if __dir_mkfile succeeded.
41104 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41105 checking for _hurd_dtablesize. Unlock it right after having
41106 finished _hurd_dtable allocation.
41108 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41110 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41111 * sysdeps/mach/hurd/configure: Regenerated.
41112 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41113 special-casing to...
41114 * sysdeps/gnu/configure.in: ... this new file.
41115 * sysdeps/unix/sysv/linux/configure: Regenerated.
41116 * sysdeps/gnu/configure: New generated file.
41118 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41119 for Linux: use nsec instead of usec, as well as:
41120 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41121 members of type struct timespec.
41122 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41124 (struct stat64): Likewise.
41125 (_STATBUF_ST_NSEC): New macro.
41126 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41128 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41129 __strtoul_internal rather than strtoul.
41131 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41133 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41136 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41138 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41139 which preserves existing values.
41140 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41142 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41144 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41145 TIMEOUT values. Return EINVAL for NFDS values either negative or
41146 greater than FD_SETSIZE.
41148 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41150 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41151 allocated, call __vm_protect to finish enabling the existing space, and
41152 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41153 allocate the remainder.
41155 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41157 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41158 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41160 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41162 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41163 sysdeps/mach/hurd/readlink.c.
41165 * posix/tst-sysconf.c (posix_options): Only use
41166 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41167 _POSIX_SYNCHRONIZED_IO when they are defined
41168 * sysdeps/mach/hurd/bits/posix_opt.h:
41169 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41170 (_XOPEN_REALTIME): Undefine macro.
41171 (_XOPEN_REALTIME_THREADS): Undefine macro.
41172 (_XOPEN_SHM): Undefine macro.
41173 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41175 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41177 (_POSIX_ASYNC_IO): Undefine macro.
41178 (_POSIX_PRIORITIZED_IO): Undefine macro.
41179 (_POSIX_SPIN_LOCKS): Define macro to -1.
41181 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41182 SA_NODEFER, SA_RESETHAND.
41183 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41184 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41187 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41189 * elf/Makefile (pldd-modules): Define unconditionally.
41191 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41193 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41195 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41197 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41198 Return ENOENT when name is empty.
41199 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41201 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41203 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41205 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41207 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41209 Fix mlock in all cases except non-readable pages.
41210 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41211 instead of VM_PROT_ALL as parameter to __vm_wire function.
41213 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41214 (__mkdir): When path is `/', just fail with EEXIST.
41215 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41217 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41219 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41220 <sys/uio.h> (for writev).
41221 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41222 and <sys/param.h> (for MIN).
41224 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41226 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41227 REQUESTED_TIME. Properly set the remaining time and return EINTR
41230 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41232 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41233 Depend on against $(link-rpcuserlibs).
41235 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41237 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41238 (__libc_stack_end): Do not use attribute_relro.
41239 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41240 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41241 to libthread-provided value.
41242 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41245 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41248 * bits/libc-lock.h (__libc_once_get): New macro.
41249 * sysdeps/mach/bits/libc-lock.h: Likewise.
41250 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41252 instead of using implementation details.
41254 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41255 * libio/freopen.c: Likewise.
41256 * libio/freopen64.c: Likewise.
41257 * misc/syslog.c: Likewise.
41258 * nscd/connections.c: Likewise.
41259 * nscd/netgroupcache.c: Likewise.
41260 * sysdeps/posix/getcwd.c: Likewise.
41262 2012-05-10 Roland McGrath <roland@hack.frob.com>
41264 * math/w_ilogbf.c: Add #include <limits.h>.
41266 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41268 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41269 path instead of returning without unlocking.
41271 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41272 immediate-write ioctls.
41273 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41275 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41277 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41278 __builtin_frame_address instead of making assumptions about the
41279 location of the return address relative to DATA. Force early load of
41280 the return address.
41281 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41282 __builtin_frame_address.
41285 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41286 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41287 implement dup3 and do some further code clean-ups.
41288 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41289 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41291 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41293 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41295 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41296 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41297 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41298 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41299 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41302 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41303 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41304 when handler == SIG_ERR, not when handler != SIG_ERR.
41306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41308 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41309 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41312 accept4 for GNU Hurd.
41313 * include/sys/socket.h (__libc_accept4): New prototype.
41314 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41315 to implement __libc_accept4.
41316 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41318 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41320 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41321 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41322 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41323 signal-defines.sym.
41325 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41327 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41329 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41331 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41332 assertion on O_CLOEXEC flag.
41333 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41334 * hurd/intern-fd.c: Likewise.
41335 * hurd/port2fd.c: Likewise.
41337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41340 * bits/in.h (IPV6_PKTINFO): Define new macro.
41341 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41343 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41348 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41349 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41350 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41351 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41353 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41354 * math/libm-test.inc (logb_test) : Additional logb tests.
41356 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41357 Andreas Jaeger <aj@suse.de>
41359 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41360 * configure: Regenerated.
41361 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41362 * config.make.in (link-obsolete-rpc): New substituted variable.
41363 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41364 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41365 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41366 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41367 so that libc.a contains the symbols.
41368 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41369 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41370 * sunrpc/auth_none.c: Likewise.
41371 * sunrpc/auth_unix.c: Likewise.
41372 * sunrpc/authdes_prot.c: Likewise.
41373 * sunrpc/authuxprot.c: Likewise.
41374 * sunrpc/clnt_gen.c: Likewise.
41375 * sunrpc/clnt_perr.c: Likewise.
41376 * sunrpc/clnt_raw.c: Likewise.
41377 * sunrpc/clnt_simp.c: Likewise.
41378 * sunrpc/clnt_tcp.c: Likewise.
41379 * sunrpc/clnt_udp.c: Likewise.
41380 * sunrpc/clnt_unix.c: Likewise.
41381 * sunrpc/des_crypt.c: Likewise.
41382 * sunrpc/des_soft.c: Likewise.
41383 * sunrpc/get_myaddr.c: Likewise.
41384 * sunrpc/key_call.c: Likewise.
41385 * sunrpc/key_prot.c: Likewise.
41386 * sunrpc/netname.c: Likewise.
41387 * sunrpc/pm_getmaps.c: Likewise.
41388 * sunrpc/pm_getport.c: Likewise.
41389 * sunrpc/pmap_clnt.c: Likewise.
41390 * sunrpc/pmap_prot.c: Likewise.
41391 * sunrpc/pmap_prot2.c: Likewise.
41392 * sunrpc/pmap_rmt.c: Likewise.
41393 * sunrpc/publickey.c: Likewise.
41394 * sunrpc/rpc_cmsg.c: Likewise.
41395 * sunrpc/rpc_common.c: Likewise.
41396 * sunrpc/rpc_dtable.c: Likewise.
41397 * sunrpc/rpc_prot.c: Likewise.
41398 * sunrpc/rpc_thread.c: Likewise.
41399 * sunrpc/rtime.c: Likewise.
41400 * sunrpc/svc.c: Likewise.
41401 * sunrpc/svc_auth.c: Likewise.
41402 * sunrpc/svc_raw.c: Likewise.
41403 * sunrpc/svc_run.c: Likewise.
41404 * sunrpc/svc_tcp.c: Likewise.
41405 * sunrpc/svc_udp.c: Likewise.
41406 * sunrpc/svc_unix.c: Likewise.
41407 * sunrpc/svcauth_des.c: Likewise.
41408 * sunrpc/xcrypt.c: Likewise.
41409 * sunrpc/xdr.c: Likewise.
41410 * sunrpc/xdr_array.c: Likewise.
41411 * sunrpc/xdr_float.c: Likewise.
41412 * sunrpc/xdr_intXX_t.c: Likewise.
41413 * sunrpc/xdr_mem.c: Likewise.
41414 * sunrpc/xdr_rec.c: Likewise.
41415 * sunrpc/xdr_ref.c: Likewise.
41416 * sunrpc/xdr_sizeof.c: Likewise.
41417 * sunrpc/xdr_stdio.c: Likewise.
41419 2012-05-10 Roland McGrath <roland@hack.frob.com>
41421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41422 change. Update copyright years.
41424 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41426 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41428 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41429 Joseph Myers <joseph@codesourcery.com>
41430 Paul Pluzhnikov <ppluzhnikov@google.com>
41433 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41435 [cross-compiling] (extra-libs): Likewise.
41436 [cross-compiling] (extra-libs-others): Likewise.
41437 [cross-compiling] (librpcsvc-routines): Likewise.
41438 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41439 [cross-compiling] (omit-deps): Likewise.
41440 (sunrpc-CPPFLAGS): New variable.
41441 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41442 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41443 (cross-rpcgen-objs): New variable.
41444 (extra-objs): Append $(cross-rpcgen-objs).
41445 ($(cross-rpcgen-objs)): New rule.
41446 ($(objpfx)cross-rpcgen): Likewise.
41447 (rpcgen-cmd): Define to use $(built-program-file). Expand
41449 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41450 ($(objpfx)x%.stmp): Likewise.
41451 * sunrpc/proto.h [IS_IN_build] (_): Define.
41452 [IS_IN_build] (_libc_intl_domainname): Likewise.
41454 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41456 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41457 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41458 and R_X86_64_TPOFF64.
41460 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41462 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41463 sysdeps/unix/sysv/syscalls.list.
41466 * sysdeps/unix/sysv/syscalls.list: Remove file.
41468 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41471 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41472 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41473 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41474 (__LC_IDENTIFICATION): Make these macros useful in #if
41475 expressions, as required by C99.
41477 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41479 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41480 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41483 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41485 * stdlib/longlong.h: Updated from GCC.
41487 2012-05-09 Andreas Jaeger <aj@suse.de>
41489 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41490 default is first entry.
41491 (run_mode): Set type.
41492 (main): Remove informal message about syslog.
41493 (options): Fix typo.
41496 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41499 (llrintf): Likewise.
41500 (llrint): Likewise.
41503 (nearbyint): Likewise.
41504 (nearbyintf): Likewise.
41506 2012-05-09 Andreas Jaeger <aj@suse.de>
41507 Pedro Alves <palves@redhat.com>
41509 * nscd/nscd.c (run_mode): Use enum.
41510 (main): Cleanup coding style issue.
41512 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
41513 Andreas Jaeger <aj@suse.de>
41515 * nscd/nscd.c (go_background): Replaced with...
41516 (run_mode): ... this.
41517 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41518 (options): Add -F --foreground.
41519 (main): Implement it.
41520 (parse_opt): Parse it.
41522 2012-05-09 Andreas Jaeger <aj@suse.de>
41525 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41526 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41527 -Wconversion warning.
41528 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41531 2012-05-09 Joseph Myers <joseph@codesourcery.com>
41533 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41535 (LC_ALL): Use macro-int-constant.
41536 (LC_COLLATE): Likewise.
41537 (LC_CTYPE): Likewise.
41538 (LC_MESSAGES): Likewise.
41539 (LC_MONETARY): Likewise.
41540 (LC_NUMERIC): Likewise.
41541 (LC_TIME): Likewise.
41542 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41543 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41545 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41547 [C99-based standards] (float_t): Expect type.
41548 [C99-based standards] (double_t): Expect type.
41549 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41551 [C99-based standards] (HUGE_VALL): Likewise.
41552 [C99-based standards] (INFINITY): Likewise.
41553 [C99-based standards] (NAN): Likewise.
41554 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41555 [C99-based standards] (FP_NAN): Likewise.
41556 [C99-based standards] (FP_NORMAL): Likewise.
41557 [C99-based standards] (FP_SUBNORMAL): Likewise.
41558 [C99-based standards] (FP_ZERO): Likewise.
41559 [C99-based standards] (FP_FAST_FMA): Use
41560 optional-macro-int-constant. Specify type. Require == 1.
41561 [C99-based standards] (FP_FAST_FMAF): Likewise.
41562 [C99-based standards] (FP_FAST_FMAL): Likewise.
41563 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41564 [C99-based standards] (FP_ILOGBNAN): Likewise.
41565 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41567 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41568 [C99-based standards] (math_errhandling): Specify type.
41569 [ISO99 || ISO11] (signgam): Do not allow.
41570 [non-C99-based standards] (copysignf): Do not allow.
41571 [non-C99-based standards] (exp2f): Likewise.
41572 [non-C99-based standards] (log2f): Likewise.
41573 [non-C99-based standards] (modff): Allow.
41574 [non-C99-based standards] (erff): Do not allow.
41575 [non-C99-based standards] (erfcf): Likewise.
41576 [non-C99-based standards] (gammaf): Likewise.
41577 [non-C99-based standards] (hypotf): Likewise.
41578 [non-C99-based standards] (j0f): Likewise.
41579 [non-C99-based standards] (j1f): Likewise.
41580 [non-C99-based standards] (jnf): Likewise.
41581 [non-C99-based standards] (lgammaf): Likewise.
41582 [non-C99-based standards] (tgammaf): Likewise.
41583 [non-C99-based standards] (y0f): Likewise.
41584 [non-C99-based standards] (y1f): Likewise.
41585 [non-C99-based standards] (ynf): Likewise.
41586 [non-C99-based standards] (isnanf): Likewise.
41587 [non-C99-based standards] (acoshf): Likewise.
41588 [non-C99-based standards] (asinhf): Likewise.
41589 [non-C99-based standards] (atanhf): Likewise.
41590 [non-C99-based standards] (cbrtf): Likewise.
41591 [non-C99-based standards] (expm1f): Likewise.
41592 [non-C99-based standards] (ilogbf): Likewise.
41593 [non-C99-based standards] (log1pf): Likewise.
41594 [non-C99-based standards] (logbf): Likewise.
41595 [non-C99-based standards] (nextafterf): Likewise.
41596 [non-C99-based standards] (remainderf): Likewise.
41597 [non-C99-based standards] (rintf): Likewise.
41598 [non-C99-based standards] (scalbf): Likewise.
41599 [non-C99-based standards] (copysignl): Likewise.
41600 [non-C99-based standards] (exp2l): Likewise.
41601 [non-C99-based standards] (log2l): Likewise.
41602 [non-C99-based standards] (modfl): Allow.
41603 [non-C99-based standards] (erfl): Do not allow.
41604 [non-C99-based standards] (erfcl): Likewise.
41605 [non-C99-based standards] (gammal): Likewise.
41606 [non-C99-based standards] (hypotl): Likewise.
41607 [non-C99-based standards] (j0l): Likewise.
41608 [non-C99-based standards] (j1l): Likewise.
41609 [non-C99-based standards] (jnl): Likewise.
41610 [non-C99-based standards] (lgammal): Likewise.
41611 [non-C99-based standards] (tgammal): Likewise.
41612 [non-C99-based standards] (y0l): Likewise.
41613 [non-C99-based standards] (y1l): Likewise.
41614 [non-C99-based standards] (ynl): Likewise.
41615 [non-C99-based standards] (isnanl): Likewise.
41616 [non-C99-based standards] (acoshl): Likewise.
41617 [non-C99-based standards] (asinhl): Likewise.
41618 [non-C99-based standards] (atanhl): Likewise.
41619 [non-C99-based standards] (cbrtl): Likewise.
41620 [non-C99-based standards] (expm1l): Likewise.
41621 [non-C99-based standards] (ilogbl): Likewise.
41622 [non-C99-based standards] (log1pl): Likewise.
41623 [non-C99-based standards] (logbl): Likewise.
41624 [non-C99-based standards] (nextafterl): Likewise.
41625 [non-C99-based standards] (remainderl): Likewise.
41626 [non-C99-based standards] (rintl): Likewise.
41627 [non-C99-based standards] (scalbl): Likewise.
41628 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41629 [non-C99-based standards] (FP_*): Do not allow.
41630 [C99-based standards] (FP_*): Change to
41631 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41632 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41634 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41635 (SIG_ERR): Likewise.
41636 [X/Open-based standards] (SIG_HOLD): Likewise.
41637 (SIG_IGN): Likewise.
41638 (SIGABRT): Use macro-int-constant. Specify type. Require
41640 (SIGFPE): Likewise.
41641 (SIGILL): Likewise.
41642 (SIGINT): Likewise.
41643 (SIGSEGV): Likewise.
41644 (SIGTER): Likewise.
41645 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41646 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41647 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41648 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41649 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41650 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41651 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41652 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41653 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41654 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41655 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41656 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41657 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41658 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41659 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41660 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41661 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41662 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41663 [X/Open-based standards] (SIGTRAP): Likewise.
41664 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41665 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41666 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41667 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41668 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41671 2012-05-08 Ian Wienand <ianw@vmware.com>
41674 * time/tzset.c (__tzset_parse_tz): Update default rules for
41675 daylight time changes in the Energy Policy Act of 2005.
41677 2012-05-09 Andreas Jaeger <aj@suse.de>
41680 * elf/ldconfig.c (parse_conf): Change string to make clear that
41681 ldconfig only issued a warning if ld.so.conf does not exist.
41683 2012-05-08 David S. Miller <davem@davemloft.net>
41685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41686 movxtod instead of popping the value on the stack.
41688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41690 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41692 * config.h.in: Add HAVE_ARM_PCS_VFP.
41694 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
41697 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41698 checking but the checks are disabled for any reason.
41700 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41702 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41703 and ELF64_R_TYPE with ELFW(R_TYPE).
41705 2012-05-08 Joseph Myers <joseph@codesourcery.com>
41707 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41708 (ulimit): Likewise.
41710 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41711 (settimeofday): Likewise.
41713 2012-05-08 Mike Frysinger <vapier@gentoo.org>
41715 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41716 a struct th_u2 inside the union, and move tu_block/tu_code into
41717 a new th_u3 union of tu_block/tu_code inside of that. Move
41718 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41719 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41720 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41721 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41722 (th_stuff): Change to th_u1.tu_stuff.
41724 (th_msg): Change to th_u1.th_u2.tu_data.
41726 2012-05-07 David S. Miller <davem@davemloft.net>
41728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41731 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41732 (SETUP_PIC_REG): Use it.
41733 (SETUP_PIC_REG_LEAF): Use it.
41735 2012-05-07 Joseph Myers <joseph@codesourcery.com>
41739 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41741 (EXPL_FINITE): Likewise.
41742 (FLDLOG): Likewise.
41743 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41744 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41746 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41748 (EXPL_FINITE): Likewise.
41749 (FLDLOG): Likewise.
41750 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41751 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41753 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41754 test of -max_value argument for long double.
41755 * sysdeps/i386/fpu/libm-test-ulps: Update.
41756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41758 2012-05-06 David S. Miller <davem@davemloft.net>
41760 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41761 quad soft-float symbols whose references which are compiler
41763 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41765 2012-05-06 Joseph Myers <joseph@codesourcery.com>
41769 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41771 (EXPL_FINITE): Likewise.
41772 (FLDLOG): Likewise.
41775 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41776 Adjust comments for base varying.
41777 (__expl_finite): Change alias to EXPL_FINITE.
41778 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41780 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41781 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41782 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41783 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41784 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41786 (EXPL_FINITE): Likewise.
41787 (FLDLOG): Likewise.
41790 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41791 Adjust comments for base varying.
41792 (__expl_finite): Change alias to EXPL_FINITE.
41793 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41798 * math/libm-test.inc (check_float_internal): Correct ulp
41799 calculation for subnormal expected results.
41801 2012-05-06 Andreas Jaeger <aj@suse.de>
41803 * Makeconfig (+math-flags): New, set to -frounding-math.
41804 (+cflags): Add +math-flags so that all of glibc gets compiled with
41807 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41809 2012-05-05 Joseph Myers <joseph@codesourcery.com>
41811 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41817 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41818 (__ieee754_expl): Allow for and saturate large arguments.
41819 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41820 (u_threshold): Likewise.
41821 (__exp): Call __ieee754_exp before checking for overflow and
41823 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41824 (u_threshold): Likewise.
41825 (__expf): Call __ieee754_expf before checking for overflow and
41827 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41828 (u_threshold): Likewise.
41829 (__expl): Call __ieee754_expl before checking for overflow and
41831 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41832 (__ieee754_expl): Allow for and saturate large arguments.
41833 * math/libm-test.inc (exp_test): Add another test. Do not allow
41834 missing overflow exception on overflow.
41835 (expm1_test): Do not allow missing overflow exception on overflow.
41837 * sysdeps/i386/fpu/e_expl.c: Move to ...
41838 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41839 rather than using inline asm.
41840 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41841 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41842 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41844 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41847 (signal): Likewise.
41851 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41853 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41854 sysdeps/unix/common/syscalls.list.
41855 (fchmod): Likewise.
41856 (fchown): Likewise.
41857 (ftruncate): Likewise.
41858 (getrusage): Likewise.
41859 (gettimeofday): Likewise.
41860 (setpgid): Likewise.
41861 (setregid): Likewise.
41862 (setreuid): Likewise.
41863 (sigaction): Likewise.
41864 (truncate): Likewise.
41865 (vhangup): Likewise.
41866 * sysdeps/unix/common/syscalls.list: Remove file.
41867 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41868 * sysdeps/unix/sysv/linux/Implies: Likewise.
41870 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41872 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41874 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41878 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41881 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41884 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41887 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41890 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41893 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41896 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41900 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41904 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41907 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41911 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41915 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41917 * sysdeps/unix/common/bits/dirent.h: Remove file.
41918 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41920 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41921 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41922 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41923 * sysdeps/unix/bsd/isatty.c: Likewise.
41924 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41925 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41926 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41928 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41931 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41932 long double comparison inaccuracies.
41933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41936 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41938 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41939 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41941 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41944 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41945 nonzero digits before rounding a hex value.
41946 * stdlib/tst-strtod.c (tests): Add another test.
41948 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41950 * sysdeps/s390/fpu/libm-test-ulps: Update.
41952 2012-05-03 Andreas Jaeger <aj@suse.de>
41954 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41955 does not get optimized out.
41956 (malloc_opt_barrier): New.
41958 2012-05-03 Andreas Jaeger <aj@suse.de>
41959 Roland McGrath <roland@hack.frob.com>
41961 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41962 intermediate file deletion.
41963 (generated): Add .symlist files.
41965 2012-05-03 Joseph Myers <joseph@codesourcery.com>
41968 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41969 Redirect under this condition.
41970 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41971 [__USE_GNU] (__dprintf_chk): Not under this condition.
41972 [__USE_GNU] (__vdprintf_chk): Likewise.
41973 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41974 under this condition.
41975 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41976 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41977 [__USE_XOPEN2K8] (vdprintf): Likewise.
41978 [__USE_GNU] (__dprintf_chk): Not under this condition.
41979 [__USE_GNU] (__vdprintf_chk): Likewise.
41980 [__USE_GNU] (dprintf): Likewise.
41981 [__USE_GNU] (vdprintf): Likewise.
41983 2012-05-03 Roland McGrath <roland@hack.frob.com>
41985 * elf/Makefile (common-generated): Set this instead of generated for
41986 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41987 $(all-built-dso)-derived lists.
41989 2012-05-03 Andreas Jaeger <aj@suse.de>
41991 * sysdeps/i386/fpu/libm-test-ulps: Update.
41994 * FAQ.in: Likewise.
41995 * scripts/gen-FAQ.pl: Likewise.
41996 * manual/install.texi (Installation): Point to online location of
41998 * Makefile (files-for-dist): Remove FAQ.
42001 2012-05-02 Allan McRae <allan@archlinux.org>
42003 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42004 (LDFLAGS-reldepmod5.so): Likewise.
42005 (LDFLAGS-reldep6mod1.so): Likewise.
42006 (LDFLAGS-reldep6mod4.so): Likewise.
42007 (LDFLAGS-reldep8mod3.so): Likewise.
42008 (LDFLAGS-unload4mod1.so): Likewise.
42009 (LDFLAGS-unload4mod2.so): Likewise.
42010 (LDFLAGS-tst-initorder): Likewise.
42011 (LDFLAGS-tst-initordera2.so): Likewise.
42012 (LDFLAGS-tst-initordera3.so): Likewise.
42013 (LDFLAGS-tst-initordera4.so): Likewise.
42014 (LDFLAGS-tst-initorderb2.so): Likewise.
42015 (LDFLAGS-noload): Likewise.
42016 (LDFLAGS-next): Likewise.
42017 (LDFLAGS-order2mod1.so): Likewise.
42018 (LDFLAGS-order2mod2.so): Likewise.
42019 (LDFLAGS-tst-initorder2): Likewise.
42020 (LDFLAGS-tst-initorder2a.so): Likewise.
42021 (LDFLAGS-tst-initorder2b.so): Likewise.
42022 (LDFLAGS-tst-initorder2c.so): Likewise.
42023 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42025 2012-05-02 David S. Miller <davem@davemloft.net>
42027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42029 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42032 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42034 2012-05-02 Andreas Jaeger <aj@suse.de>
42036 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42037 since we manipulate rounding mode.
42038 (CPPFLAGS-test-idouble.c): Likewise.
42039 (CPPFLAGS-test-ifloat.c): Likewise.
42040 (CFLAGS-test-ldouble.c): Likewise.
42041 (CFLAGS-test-double.c): Likewise.
42042 (CFLAGS-test-float.c): Likewise.
42043 (CFLAGS-test-misc.c): Likewise.
42044 (CFLAGS-test-test-fenv.c): Likewise.
42046 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42050 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42051 comparisons to determine direction to adjust input.
42053 2012-05-01 Roland McGrath <roland@hack.frob.com>
42055 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42056 output to the target.
42058 * scripts/localplt.awk: New file.
42059 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42060 (check-localplt-CFLAGS): Variable removed.
42061 ($(all-built-dso:=.jmprel)): New static pattern rule.
42062 (generated): Add those targets.
42063 (localplt-built-dso): New variable.
42064 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42066 * elf/check-localplt.c: File removed.
42068 * scripts/check-execstack.awk: New file.
42069 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42070 (check-execstack-CFLAGS): Variable removed.
42071 ($(objpfx)check-execstack.h): Target removed.
42072 ($(objpfx)execstack-default): New target.
42073 (generated): Add that instead of check-execstack.h.
42074 ($(all-built-dso:=.phdr)): New static pattern rule.
42075 (generated): Add those targets.
42076 * elf/check-execstack.c: File removed.
42078 * scripts/check-textrel.awk: New file.
42079 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42080 (check-textrel-CFLAGS): Variable removed.
42081 (all-built-dso): Use := to define.o
42082 ($(all-built-dso:=.dyn)): New static pattern rule.
42083 (generated): Add those targets.
42084 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42085 * config.make.in (READELF): New substituted variable.
42086 * elf/check-textrel.c: File removed.
42088 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42090 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42092 * conform/data/ctype.h-data [C99-based standards] (isblank):
42094 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42095 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42097 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42098 Specify type. Require positive value.
42099 (EILSEQ): Likewise.
42100 (ERANGE): Likewise.
42101 [ISO || POSIX] (EILSEQ): Do not expect.
42102 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42103 Specify type. Require positive value.
42104 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42105 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42106 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42107 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42108 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42109 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42110 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42111 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42112 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42113 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42114 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42115 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42116 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42117 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42118 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42119 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42120 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42121 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42122 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42123 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42124 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42125 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42126 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42127 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42128 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42129 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42130 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42131 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42132 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42133 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42134 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42135 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42136 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42137 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42138 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42139 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42140 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42141 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42142 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42143 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42144 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42145 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42146 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42147 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42148 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42149 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42150 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42151 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42152 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42153 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42154 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42155 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42156 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42157 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42158 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42159 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42160 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42161 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42162 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42163 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42164 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42165 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42166 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42167 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42168 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42169 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42170 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42171 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42172 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42173 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42174 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42175 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42176 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42177 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42178 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42179 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42180 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42182 (FLT_ROUNDS): Expect as macro, not constant.
42183 (FLT_MANT_DIG): Use macro-int-constant.
42184 (DBL_MANT_DIG): Likewise.
42185 (LDBL_MANT_DIG): Likewise.
42186 (FLT_DIG): Likewise.
42187 (DBL_DIG): Likewise.
42188 (LDBL_DIG): Likewise.
42189 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42190 (DBL_MIN_EXP): Likewise.
42191 (LDBL_MIN_EXP): Likewise.
42192 (FLT_MAX_EXP): Use macro-int-constant.
42193 (DBL_MAX_EXP): Likewise.
42194 (LDBL_MAX_EXP): Likewise.
42195 (FLT_MAX_10_EXP): Likewise.
42196 (DBL_MAX_10_EXP): Likewise.
42197 (LDBL_MAX_10_EXP): Likewise.
42198 (FLT_MAX): Use macro-constant.
42199 (DBL_MAX): Likewise.
42200 (LDBL_MAX): Likewise.
42201 (FLT_EPSILON): Use macro-constant. Give upper bound.
42202 (DBL_EPSILON): Likewise.
42203 (LDBL_EPSILON): Likewise.
42204 (FLT_MIN): Likewise.
42205 (DBL_MIN): Likewise.
42206 (LDBL_MIN): Likewise.
42207 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42208 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42209 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42210 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42211 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42212 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42213 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42214 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42215 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42216 [ISO11] (FLT_TRUE_MIN): Likewise.
42217 [ISO11] (LDBL_TRUE_MIN): Likewise.
42218 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42219 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42220 (SCHAR_MIN): Use macro-int-constant. Specify type.
42221 (SCHAR_MAX): Likewise.
42222 (UCHAR_MAX): Likewise.
42223 (CHAR_MIN): Likewise.
42224 (CHAR_MAX): Likewise.
42225 (MB_LEN_MAX): Use macro-int-constant.
42226 (SHRT_MIN): Use macro-int-constant. Specify type.
42227 (SHRT_MAX): Likewise.
42228 (USHRT_MAX): Likewise.
42229 (INT_MAX): Likewise.
42230 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42232 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42234 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42236 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42237 bound negative. Suffix upper bound with "L".
42238 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42240 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42242 [C99-based standards] (LLONG_MAX): Likewise.
42243 [C99-based standards] (ULLONG_MAX): Likewise.
42244 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42246 [ISO11] (max_align_t): Require type.
42247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42249 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42250 from $CFLAGS, without defining away __attribute__ calls.
42251 (checknamespace): Use $CFLAGS_namespace.
42253 * conform/conformtest.pl (@keywords): Only include C99 keywords
42254 for standards based on C99 or C11.
42256 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42258 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42261 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42262 usability of symbols in #if.
42264 * conform/conformtest.pl: If macro or constant types start
42265 "promoted:", expect the symbol to be of the following type
42266 promoted by the integer promotions.
42268 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42269 in one place. Also handle "macro-constant".
42271 * conform/conformtest.pl: Only accept expected macro values with
42272 "==". Parse all "macro" lines in one place.
42273 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42275 * conform/conformtest.pl: Handle braced types on "constant" lines
42276 instead of handling "typed-constant".
42277 * conform/data/signal.h-data: Use "constant" instead of
42280 * conform/conformtest.pl: Handle "optional-" at start of lines in
42281 one place rather than duplicating several cases. Handle each
42282 format of "macro" line with initial "optional-".
42284 * conform/conformtest.pl: Only accept expected constant or
42285 optional-constant values with "==". Parse all "constant" lines in
42286 one place. Parse all "optional-constant" lines in one place.
42287 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42288 * conform/data/fmtmsg.h-data: Likewise.
42289 * conform/data/netinet/in.h-data: Likewise.
42290 * conform/data/tar.h-data: Likewise.
42291 * conform/data/limits.h-data: Use "==" form on "constant" and
42292 "optional-constant" lines.
42294 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42295 Use -std=c99 for XOPEN2K.
42296 (@knownproblems): Remove.
42297 (newtoken): Don't check %isknown.
42299 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42300 Do not expect macro.
42301 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42302 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42303 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42304 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42305 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42306 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42307 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42308 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42309 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42310 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42311 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42312 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42313 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42314 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42315 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42316 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42317 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42318 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42319 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42320 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42321 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42322 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42323 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42324 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42325 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42326 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42327 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42328 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42329 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42330 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42331 [XPG3] (acosh): Likewise.
42332 [XPG3] (asinh): Likewise.
42333 [XPG3] (atanh): Likewise.
42334 [XPG3] (cbrt): Likewise.
42335 [XPG3] (expm1): Likewise.
42336 [XPG3] (ilogb): Likewise.
42337 [XPG3] (log1p): Likewise.
42338 [XPG3] (logb): Likewise.
42339 [XPG3] (nextafter): Likewise.
42340 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42341 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42342 [XPG3] (remainder): Likewise.
42343 [XPG3] (rint): Likewise.
42344 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42345 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42346 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42347 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42348 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42349 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42350 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42351 [UNIX98 || XOPEN2K] (scalb): Expect.
42352 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42353 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42354 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42355 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42356 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42357 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42358 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42359 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42360 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42361 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42362 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42363 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42364 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42365 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42366 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42367 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42368 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42369 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42370 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42371 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42372 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42373 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42374 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42375 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42376 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42377 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42378 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42379 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42380 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42381 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42382 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42383 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42384 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42385 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42386 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42387 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42388 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42389 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42390 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42391 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42392 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42393 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42394 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42395 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42396 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42397 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42398 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42399 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42400 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42401 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42402 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42403 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42404 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42405 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42406 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42407 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42408 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42409 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42410 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42411 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42412 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42413 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42414 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42415 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42416 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42417 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42418 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42419 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42420 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42421 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42422 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42423 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42424 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42425 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42426 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42427 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42428 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42429 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42430 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42431 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42432 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42433 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42434 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42435 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42436 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42437 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42438 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42439 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42440 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42441 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42442 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42443 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42444 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42445 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42446 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42447 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42448 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42449 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42450 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42451 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42452 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42453 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42454 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42455 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42456 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42457 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42458 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42459 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42460 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42461 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42462 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42463 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42464 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42465 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42466 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42467 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42468 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42469 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42470 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42471 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42472 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42473 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42474 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42475 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42476 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42477 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42478 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42479 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42480 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42481 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42482 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42483 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42484 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42485 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42486 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42487 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42488 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42490 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42491 _XOPEN_SOURCE_EXTENDED for XPG4.
42493 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42495 * Makeconfig (localtime): Remove variable.
42496 (inst_localtime-file): Likewise.
42498 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42519 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42523 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42524 comparisons to determine direction to adjust input.
42525 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42526 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42527 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42529 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42533 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42534 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42536 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42538 * math/libm-test.inc (nexttoward_test): Add more tests.
42540 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42543 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42544 in version GLIBC_2.1, not GLIBC_2.0.
42545 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42548 2012-04-30 Joseph Myers <joseph@codesourcery.com>
42551 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42553 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42554 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42555 * math/libm-test.inc (acos_test): Add more tests.
42556 (asin_test): Likewise.
42557 * sysdeps/i386/fpu/libm-test-ulps: Update.
42558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42561 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42563 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42564 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42565 * math/libm-test.inc (acos_test_tonearest): New function.
42566 (acos_test_towardzero): Likewise.
42567 (acos_test_downward): Likewise.
42568 (acos_test_upward): Likewise.
42569 (asin_test_tonearest): Likewise.
42570 (asin_test_towardzero): Likewise.
42571 (asin_test_downward): Likewise.
42572 (asin_test_upward): Likewise.
42573 (main): Call the new functions.
42574 * sysdeps/i386/fpu/libm-test-ulps: Update.
42575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42579 * math/e_exp10.c: Include <float.h>.
42580 (__ieee754_exp10): Handle underflow here rather than multiplying
42581 large negative argument by M_LN10.
42582 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42584 * math/e_exp10l.c: Include <float.h>.
42585 (__ieee754_exp10l): Handle underflow here rather than multiplying
42586 large negative argument by M_LN10l.
42587 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42588 spurious overflow exception on underflow.
42590 2012-04-29 Marek Polacek <polacek@redhat.com>
42592 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42593 (__fortify_function): New macro.
42594 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42595 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42596 __extern_always_inline.
42597 * libio/bits/stdio2.h: Likewise.
42598 * libio/bits/stdio.h: Likewise.
42599 * string/string.h: Likewise.
42600 * string/bits/string3.h: Likewise.
42601 * include/stdio.h: Likewise.
42602 * stdlib/bits/stdlib.h: Likewise.
42603 * stdlib/stdlib.h: Likewise.
42604 * rt/bits/mqueue2.h: Likewise.
42605 * rt/mqueue.h: Likewise.
42606 * posix/bits/unistd.h: Likewise.
42607 * posix/unistd.h: Likewise.
42608 * io/bits/poll2.h: Likewise.
42609 * io/bits/fcntl2.h: Likewise.
42610 * io/fcntl.h: Likewise.
42611 * io/sys/poll.h: Likewise.
42612 * misc/bits/syslog.h: Likewise.
42613 * misc/bits/syslog-ldbl.h: Likewise.
42614 * misc/sys/syslog.h: Likewise.
42615 * socket/bits/socket2.h: Likewise.
42616 * socket/sys/socket.h: Likewise.
42617 * debug/tst-chk1.c: Likewise.
42618 * wcsmbs/bits/wchar2.h: Likewise.
42619 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42620 * wcsmbs/wchar.h: Likewise.
42622 2012-04-29 Andreas Jaeger <aj@suse.de>
42624 * Makerules (tests): Remove enable-check-abi protection.
42625 (check-abi-warn): Remove.
42626 (check-abi-%): Remove check-abi-warn usage.
42628 * configure.in: Remove check-abi configure option.
42629 * configure: Regenerated.
42630 * config.make.in (enable-check-abi): Remove.
42632 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42635 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42636 double functions to double *_finite functions.
42639 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42640 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42642 * stdio-common/Makefile (tests): Add tst-sprintf3.
42643 * stdio-common/tst-sprintf3.c: New file.
42645 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42646 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42648 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42650 * conform/conformtest.pl: Remove duplicate typed-constant
42653 2012-04-28 David S. Miller <davem@davemloft.net>
42655 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42656 (check-abi-%): Remove AWK script prerequisite and explicit
42658 (check-abi): Rewrite to just diff the symlist with the abilist.
42659 (config-tls, config-abi-config): Delete, no longer used.
42660 (update-abi-%): Remove AWK script and explicit abilist directory.
42661 (update-abi): Rewrite to simply compare and conditionally copy the
42662 symlist and the sysdep abilist file. Remove update-abi-config
42664 * abilist/ld.abilist: Remove.
42665 * abilist/libBrokenLocale.abilist: Remove.
42666 * abilist/libanl.abilist: Remove.
42667 * abilist/libcrypt.abilist: Remove.
42668 * abilist/libdl.abilist: Remove.
42669 * abilist/librt.abilist: Remove.
42670 * abilist/libthread_db.abilist: Remove.
42671 * abilist/libutil.abilist: Remove.
42672 * scripts/extract-abilist.awk: Remove.
42673 * scripts/merge-abilist.awk: Remove.
42674 * sysdeps/generic/libcidn.abilist: New file.
42675 * sysdeps/generic/libnss_compat.abilist: New file.
42676 * sysdeps/generic/libnss_db.abilist: New file.
42677 * sysdeps/generic/libnss_dns.abilist: New file.
42678 * sysdeps/generic/libnss_files.abilist: New file.
42679 * sysdeps/generic/libnss_hesiod.abilist: New file.
42680 * sysdeps/generic/libnss_nis.abilist: New file.
42681 * sysdeps/generic/libnss_nisplus.abilist: New file.
42682 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42683 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42684 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42686 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42687 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42688 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42689 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42690 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42691 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42692 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42693 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42694 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42696 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42697 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42698 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42699 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42701 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42702 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42703 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42704 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42705 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42706 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42708 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42709 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42710 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42712 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42815 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42816 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42817 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42819 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42820 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42821 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42822 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42823 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42824 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42825 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42826 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42827 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42828 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42880 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42882 * conform/conformtest.pl: Fix typo in handling typed-constant from
42885 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42887 * README: Cut down references to pre-2.6 Linux kernels and
42888 Linuxthreads. Update lists of configurations in libc and ports
42889 and sort alphabetically. Say "or newer" with Linux kernel version
42892 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42894 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42897 * math/libm-test.inc (logb_test_downward): New test to expose
42898 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42901 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42904 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42906 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42907 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42909 2012-04-26 Joseph Myers <joseph@codesourcery.com>
42911 * sysdeps/unix/i386/brk.S: Remove file.
42912 * sysdeps/unix/i386/dl-brk.S: Likewise.
42913 * sysdeps/unix/i386/pipe.S: Likewise.
42914 * sysdeps/unix/i386/sigreturn.S: Likewise.
42915 * sysdeps/unix/i386/syscall.S: Likewise.
42916 * sysdeps/unix/i386/vfork.S: Likewise.
42917 * sysdeps/unix/i386/wait.S: Likewise.
42919 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42920 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42922 * configure.in (arm*-none*): Do not allow without
42923 --enable-hacker-mode.
42924 (netbsd*): Remove case setting base_os.
42925 (386bsd*): Likewise.
42926 (freebsd*): Likewise.
42929 (sunos*): Likewise.
42930 (ultrix*): Likewise.
42931 (newsos*): Likewise.
42932 (dynix*): Likewise.
42938 (minix*): Likewise.
42939 (irix4*): Likewise.
42940 (irix6*): Likewise.
42941 (solaris[2-9]*): Likewise.
42943 * configure: Regenerated.
42945 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42948 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42949 overflow or cancellation in calculating denominator.
42950 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42951 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42952 down expression to avoid unexpected rounding in newer GCCs.
42953 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42955 2012-04-26 David S. Miller <davem@davemloft.net>
42957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42958 long-double compat symbols.
42959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42973 2012-04-25 David S. Miller <davem@davemloft.net>
42975 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42976 HWCAP_* values only after the memory barriers have been defined.
42977 (atomic_full_barrier): Define.
42978 (atomic_read_barrier): Define.
42979 (atomic_write_barrier): Define.
42981 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42983 * shlib-versions: Add libgcc_s version information.
42984 * sysdeps/generic/libgcc_s.h: Remove.
42985 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42987 * sysdeps/gnu/unwind-resume.c: Likewise.
42988 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42990 2012-04-25 David S. Miller <davem@davemloft.net>
42992 * sysdeps/unix/sparc/brk.S: Delete.
42993 * sysdeps/unix/sparc/dl-brk.S: Delete.
42994 * sysdeps/unix/sparc/pipe.S: Delete.
42995 * sysdeps/unix/sparc/sysdep.S: Delete.
42996 * sysdeps/unix/sparc/sysdep.h: Delete.
42997 * sysdeps/unix/sparc/vfork.S: Delete.
42998 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42999 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43000 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43001 (ret_ERRVAL, r0, r1, MOVE): Define.
43002 (JUMPTARGET): Remove.
43003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43004 sysdeps/unix/sparc/sysdep.h
43005 (ENTRY, END): Remove.
43006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43008 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43010 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43011 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43014 * timezone/README: Update upstream location and email address for
43016 * timezone/zdump.c: Update from tzcode 2012b.
43017 * timezone/zic.c: Likewise.
43019 * configure.in (libc_cv_as_needed): Remove test.
43020 * configure: Regenerated.
43021 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43022 conditional definition.
43023 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43024 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43025 * config.make.in (have-as-needed): Remove variable.
43027 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43028 Paul Pluzhnikov <ppluzhnikov@google.com>
43030 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43033 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43035 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43036 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43037 * sysdeps/sh/strlen.S: Likewise.
43039 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43041 * sysdeps/unix/fork.S: Remove file.
43042 * sysdeps/unix/i386/fork.S: Likewise.
43043 * sysdeps/unix/sparc/fork.S: Likewise.
43045 * sysdeps/unix/system.c: Remove file.
43046 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43048 * sysdeps/unix/getegid.S: Remove file.
43049 * sysdeps/unix/geteuid.S: Likewise.
43051 2012-04-24 Roland McGrath <roland@hack.frob.com>
43053 * scripts/check-localplt.awk: New file.
43054 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43056 * scripts/data/localplt-generic.data: Add a comment.
43058 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43059 NODE when __dir_mkfile failed.
43060 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43061 Reported by Ludovic Courtès <ludo@gnu.org>.
43063 2012-04-24 Andreas Jaeger <aj@suse.de>
43065 * Makerules (common-clean): Also remove gen-as-const-headers
43068 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43070 * Makerules (native-compile): Do not change working directory for
43071 build. Use $(OUTPUT_OPTION) in command.
43072 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43074 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43077 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43078 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43079 * math/libm-test.inc (floor_test): Add more tests.
43080 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43082 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43084 * sysdeps/unix/getdents.c: Remove file.
43085 * sysdeps/unix/sysv/getdents.c: Likewise.
43086 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43088 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43089 sysdeps/unix/mman/syscalls.list.
43091 (mprotect): Likewise.
43093 (munmap): Likewise.
43094 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43095 * sysdeps/unix/mman/syscalls.list: Remove.
43096 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43098 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43099 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43100 * configure: Regenerated.
43101 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43102 $(libgcc_s_suffix).
43103 * config.make.in (libgcc_s_suffix): Remove variable.
43105 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43107 * sysdeps/unix/sysv/gethostname.c: Move to ...
43108 * sysdeps/posix/gethostname.c: ... here.
43110 * sysdeps/unix/execve.S: Remove file.
43112 * sysdeps/unix/_exit.S: Remove file.
43114 2012-04-23 Andreas Jaeger <aj@suse.de>
43117 * manual/Makefile: Remove make dist support, there's no
43118 need for a stand-alone documentation tar ball.
43119 (TEXI2DVI): Define always, it's not in Makeconfig.
43122 (edition): Removed.
43123 (glibc-doc-$(edition).tar): Removed
43127 (ETAGS): Remove, it's in Makeconfig.
43128 (move-if-change): Remove, it's in Makeconfig.
43130 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43133 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43134 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43135 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43136 (strtod_l, strtof_l, strtold_l): Remove __wur.
43137 It is not necessarily an error to ignore strtol's return value.
43138 One can reliably look at the stored endptr to decide whether
43139 the number had valid syntax.
43141 2012-04-21 Andreas Jaeger <aj@suse.de>
43144 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43146 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43148 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43149 * sysdeps/unix/sysv/Versions: Remove file.
43151 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43156 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43160 version from __vm86.
43162 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43164 * sysdeps/unix/common/lxstat.c: Remove file.
43165 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43167 * sysdeps/unix/sysv/Makefile: Remove file.
43169 * sysdeps/unix/sysv/direct.h: Remove file.
43171 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43172 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43173 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43174 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43175 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43176 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43177 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43179 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43181 * sysdeps/unix/xmknod.c: Remove file.
43182 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43184 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43186 * sysdeps/unix/sysv/i386/time.S: Remove file.
43188 * sysdeps/unix/fxstat.c: Remove file.
43189 * sysdeps/unix/xstat.c: Likewise.
43190 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43192 * sysdeps/unix/sysv/sigaction.c: Remove file.
43194 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43195 (sysdep_headers): Remove variable.
43196 [termio.h not in sysdep_headers] (generated): Likewise.
43197 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43198 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43199 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43200 * sysdeps/unix/sysv/tcflow.c: Likewise.
43201 * sysdeps/unix/sysv/tcflush.c: Likewise.
43202 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43203 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43204 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43205 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43206 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43208 * sysdeps/unix/siglist.c: Remove file.
43210 * sysdeps/unix/getppid.S: Remove file.
43212 * sysdeps/unix/mkdir.c: Remove file.
43213 * sysdeps/unix/rmdir.c: Likewise.
43215 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43217 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43219 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43220 errlist-compat value.
43222 2012-04-18 David S. Miller <davem@davemloft.net>
43224 * sysdeps/generic/memcopy.h (reg_char): Delete.
43225 * debug/strcat_chk.c: Use char, not reg_char.
43226 * debug/strcpy_chk.c: Likewise.
43227 * debug/strncat_chk.c: Likewise.
43228 * debug/strncpy_chk.c: Likewise.
43229 * string/memchr.c: Likewise.
43230 * string/memrchr.c: Likewise.
43231 * string/rawmemchr.c: Likewise.
43232 * string/strcat.c: Likewise.
43233 * string/strchr.c: Likewise.
43234 * string/strchrnul.c: Likewise.
43235 * string/strcmp.c: Likewise.
43236 * string/strcpy.c: Likewise.
43237 * string/strncat.c: Likewise.
43238 * string/strncmp.c: Likewise.
43239 * string/strncpy.c: Likewise.
43241 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43243 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43244 __builtin_memcopy is called when src and dest ranges are known to not
43247 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43249 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43250 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43251 fwd_align_merge macro call.
43252 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43253 bwd_align_merge macro call.
43254 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43256 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43258 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43259 bwd_align_merge macros.
43260 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43261 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43262 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43264 2012-04-18 David S. Miller <davem@davemloft.net>
43266 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43268 2012-04-18 Andreas Jaeger <aj@suse.de>
43271 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43272 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43273 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43275 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43276 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43277 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43279 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43280 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43281 Adjust for changed ldbl-128 files.
43283 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43284 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43285 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43287 2012-04-17 David S. Miller <davem@davemloft.net>
43289 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43291 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43293 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43294 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43295 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43296 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43297 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43298 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43300 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43303 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43304 * math/libm-test.inc: Add ilogb errno and exception tests.
43305 * math/w_ilogb.c: New file: ilogb wrapper.
43306 * math/w_ilogbf.c: New file: ilogbf wrapper.
43307 * math/w_ilogbl.c: New file: ilogbl wrapper.
43308 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43309 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43310 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43311 exception being thrown with 0.0 as argument.
43312 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43313 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43314 exception being thrown with 0.0 as argument.
43315 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43316 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43317 exception being thrown with 0.0 as argument.
43318 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43319 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43320 exception being thrown with 0.0 as argument.
43321 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43322 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43323 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43324 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43325 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43326 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43327 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43328 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43329 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43331 2012-04-17 Petr Baudis <pasky@ucw.cz>
43333 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43336 2012-04-16 Marek Polacek <polacek@redhat.com>
43338 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43340 2012-04-16 Marek Polacek <polacek@redhat.com>
43342 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43343 operands of fdivp instruction.
43345 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43347 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43348 * elf/tst-auditmod3b.c: Likewise.
43349 * elf/tst-auditmod4b.c: Likewise.
43350 * elf/tst-auditmod5b.c: Likewise.
43351 * elf/tst-auditmod6b.c: Likewise.
43352 * elf/tst-auditmod6c.c: Likewise.
43353 * elf/tst-auditmod7b.c: Likewise.
43354 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43355 * sysdeps/x86_64/preconfigure.in: Likewise.
43356 * sysdeps/x86_64/preconfigure: Regenerated.
43358 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43360 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43363 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43365 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43366 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43368 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43371 * locale/iso-639.def: Fix gl language name. Spotted by
43374 2012-04-12 Roland McGrath <roland@hack.frob.com>
43377 * libio/libio.h (__io_write_fn): Update comment.
43379 2012-04-12 Petr Baudis <pasky@ucw.cz>
43382 * stdio.texi (Hook Functions): The user provided writer function
43383 is not allowed to return -1.
43385 2012-04-11 David S. Miller <davem@davemloft.net>
43387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43389 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43391 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43392 Add a leading slash to rtkaio.
43394 2012-04-11 Jim Meyering <meyering@redhat.com>
43397 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43398 It is not necessarily an error to ignore fwrite's return
43399 value. One can reliably use ferror to test for errors after
43402 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43404 * bits/types.h (__snseconds_t): New type.
43405 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43407 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43409 (__SNSECONDS_T_TYPE): Likewise.
43410 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43411 (__SNSECONDS_T_TYPE): Likewise.
43412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43413 (__SNSECONDS_T_TYPE): Likewise.
43415 2012-04-10 Andreas Jaeger <aj@suse.de>
43418 * manual/time.texi (Processor Time): Return type of times is
43419 elapsed real time since an arbitrary point in the past.
43420 (CPU Time): Move CLK_TCK from here...
43421 (Processor Time): ...to here. Correct description.
43422 * manual/conf.texi (Constants for Sysconf): Correct description of
43425 2012-04-10 David S. Miller <davem@davemloft.net>
43428 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43429 where the is a gap between DT_REL(A) and DT_JMPREL.
43431 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43433 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43434 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43435 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43437 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43439 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43440 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43441 (dl_main): Handle --inhibit-cache.
43442 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43444 * elf/dl-load.c (_dl_map_object): Use it.
43445 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43447 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43450 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43451 (__ieee754_powl): Saturate large exponents rather than testing for
43452 overflow of y*log2(x).
43453 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43454 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43458 * math/s_ctan.c: Include <float.h>.
43459 (__ctan): Avoid internal overflow or cancellation in calculating
43461 * math/s_ctanf.c: Likewise.
43462 * math/s_ctanl.c: Likewise.
43463 * math/s_ctanh.c: Likewise.
43464 * math/s_ctanhf.c: Likewise.
43465 * math/s_ctanhl.c: Likewise.
43466 * math/libm-test.inc (ctan_test): Add more tests.
43467 (ctanh_test): Likewise.
43468 * sysdeps/i386/fpu/libm-test-ulps: Update.
43469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43471 2012-04-09 Andreas Jaeger <aj@suse.de>
43474 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43475 is an optional BSD extension.
43478 * manual/stdio.texi (Opening Streams): Document additional fopen
43481 2012-04-09 Roland McGrath <roland@hack.frob.com>
43483 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43484 %eax without telling the compiler.
43486 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43489 * manual/install.texi: Use sourceware.org.
43491 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43494 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43495 (__ieee754_pow): Generate overflow and underflow using huge*huge
43496 and tiny*tiny rather than just returning constant infinity or zero
43497 for large exponents.
43498 * math/libm-test.inc (pow_test): Require overflow exceptions for
43499 applicable cases of large exponents.
43502 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43503 (__ieee754_pow): Use iterative multiplication algorithm only for
43504 integer exponents with absolute value below 1024. Check for odd
43505 integer exponents when using algorithm for real exponents.
43506 * math/libm-test.inc (pow_test): Add more tests.
43507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43509 2012-04-08 Joseph Myers <joseph@codesourcery.com>
43512 * math/libm-test.inc (exp_test): Do not allow overflow exception
43515 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43518 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43519 instead of __kernel_standard_f.
43521 2012-04-08 Mike Frysinger <vapier@gentoo.org>
43523 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43524 * sysdeps/x86_64/memset_chk.S: Likewise.
43526 2012-04-08 Andreas Jaeger <aj@suse.de>
43529 * manual/startup.texi (Environment Access): Describe return value
43530 for putenv and setenv.
43533 * manual/filesys.texi (Directory Entries): Add description for
43537 * manual/filesys.texi (Directory Entries): Clarify that it's file
43538 system not operating system in the description of DT_UNKNOWN.
43541 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43543 2012-04-08 Stephen Compall <s11@member.fsf.org>
43546 * manual/llio.texi (Opening and Closing Files): Add cross
43547 reference to explain mode argument.
43549 2012-04-07 Mike Frysinger <vapier@gentoo.org>
43551 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43552 * sysdeps/x86_64/memset_chk.S: Likewise.
43554 2012-04-07 David S. Miller <davem@davemloft.net>
43556 * elf/elf.h (R_SPARC_WDISP10): Define.
43557 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43559 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43560 R_SPARC_SIZE64 and R_SPARC_H34.
43562 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43564 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43565 conditions and remove no longer applicable assertion.
43567 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43569 * bits/byteswap.h: Include <features.h>.
43570 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43571 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43573 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43575 * bits/byteswap.h (__bswap_16): Removed.
43576 Include <bits/byteswap-16.h> to get __bswap_16.
43577 * sysdeps/i386/bits/byteswap.h: Likewise.
43578 * sysdeps/s390/bits/byteswap.h: Likewise.
43579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43580 * bits/byteswap-16.h: New file.
43581 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43582 * sysdeps/s390/bits/byteswap-16.h: Likewise.
43583 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43584 * string/Makefile (headers): Add bits/byteswap-16.h.
43586 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43589 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43591 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43592 * nss/tst-nss-static.c: New.
43594 2012-04-06 Robert Millan <rmh@gnu.org>
43597 * manual/llio.texi (File Position Primitive): lseek
43598 refers to WHENCE when it really means OFFSET.
43600 2012-04-06 Andreas Jaeger <aj@suse.de>
43602 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43603 strncmp declarations.
43605 * abilist/libc.abilist: Add __poll and __ppoll.
43607 2012-04-05 David S. Miller <davem@davemloft.net>
43609 * scripts/check-local-headers.sh: Accept a host triplet in the
43610 path matched by the exclude regexp.
43612 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43614 * sysdeps/powerpc/powerpc32/dl-machine.h
43615 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43616 * sysdeps/s390/s390-32/dl-machine.h
43617 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43618 * sysdeps/sparc/sparc32/dl-machine.h
43619 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43620 * sysdeps/sparc/sparc64/dl-machine.h
43621 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43623 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43625 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43626 undefined symbol errors.
43628 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43631 2012-04-05 Michael Matz <matz@suse.de>
43634 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43636 2012-04-05 Andreas Jaeger <aj@suse.de>
43639 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43642 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43644 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43645 which ROUND is no valid rounding mode.
43647 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43649 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43651 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43653 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43655 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43656 an exception using FPU order intentionally.
43658 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43660 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43661 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43662 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43663 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43665 2012-04-05 Simon Josefsson <simon@josefsson.org>
43668 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43669 EINVAL when BUFLEN is too smal.
43671 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43674 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43675 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43677 2012-04-03 Andreas Jaeger <aj@suse.de>
43680 * manual/setjmp.texi (System V contexts): Fix sentence.
43683 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43684 New macro for this case.
43685 [!__GNUC__] (__bswap_64): New inline function for this case.
43686 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43687 * bits/byteswap.h: Likewise.
43688 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43689 ull, guard with __GLIBC_HAVE_LONG_LONG.
43691 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43692 __GLIBC_HAVE_LONG_LONG.
43694 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43695 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43697 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43700 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43701 inptr and inend, rather than using last_ch.
43703 2012-04-02 David S. Miller <davem@davemloft.net>
43705 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43706 * stdio-common/printf-parse.h (read_int): Change return type to
43707 'int', return -1 on INT_MAX overflow.
43708 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43709 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43710 overflows INT_MAX. Check for overflow of in-format-string precision
43711 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43712 SIZE_MAX not INT_MAX for integer overflow test.
43713 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43714 skip the construct in the format string but do not record anything.
43715 * stdio-common/bug22.c: Adjust to test both width/prevision
43716 INT_MAX overflow as well as total length INT_MAX overflow. Check
43717 explicitly for proper errno values.
43719 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43721 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43723 * string/test-strcmp.c [! WIDE]: Likewise.
43724 * time/tst-mktime2.c: Likewise for INT_MAX.
43725 * string/test-string.h: #include <sys/param.h> for MIN.
43727 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43728 * sysdeps/i386/init-first.c (init): Likewise.
43729 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43730 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43731 * sysdeps/sh/init-first.c (init): Likewise.
43733 2012-04-01 Ulrich Drepper <drepper@gmail.com>
43735 * po/ru.po: Update from translation team.
43736 * po/vi.po: Likewise.
43738 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43740 * resolv/nss_dns/dns-host.c: Merge copyright years.
43742 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43744 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43745 Optimize memcpy with prefetch if
43746 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43747 src, dst pointers have unequal 16 byte alignments.
43749 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43752 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43753 from a CNAME entry and return the minimum ttl for the query.
43754 (gaih_getanswer_slice): Likewise.
43756 2012-03-30 Jeff Law <law@redhat.com>
43758 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43760 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43761 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43763 * resolv/nss_dns/dns-host.c: Update copyright year.
43765 2012-03-30 Ulrich Drepper <drepper@gmail.com>
43767 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43768 requests to save a system call. Fix check that all bytes are sent.
43770 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43771 comments for sendmmsg.
43773 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43776 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43777 with only 1 character between 0x0041 and 0x01b0.
43778 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43779 * wcsmbs/tst-mbsnrtowcs.c: New file.
43781 2012-03-29 David S. Miller <davem@davemloft.net>
43783 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43784 small copies by hand.
43786 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43789 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43790 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43793 2012-03-28 David S. Miller <davem@davemloft.net>
43795 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43796 that branches into memcpy.
43797 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43798 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43799 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43800 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43803 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43804 implementation too.
43805 * sysdeps/sparc/mempcpy.S: New file.
43807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43808 the IFUNC routine in the libc case.
43809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43811 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43812 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43813 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43814 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43815 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43816 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43817 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43818 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43820 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43821 loop to 256 bytes instead of 64 bytes and fix test signedness.
43823 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43824 * sysdeps/sparc/sparc32/Makefile: rather than here...
43825 * sysdeps/sparc/sparc64/Makefile: and here.
43827 2012-03-28 Ulrich Drepper <drepper@gmail.com>
43829 * malloc/mallocbug.c: Avoid warnings about unused variables.
43831 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43834 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43835 in the right place. Discard and retry query if response is
43836 larger than input buffer size.
43838 2012-03-28 Joseph Myers <joseph@codesourcery.com>
43843 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43844 x for large integer exponent.
43845 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43846 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43847 sign of result as needed afterwards.
43848 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43849 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43850 result for underflowing pow the same as for overflow.
43851 (__kernel_standard_l): Handle powl overflow and underflow here
43852 rather than calling __kernel_standard.
43853 * math/libm-test.inc (pow_test): Add more tests.
43868 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43869 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43870 (__kernel_standard_l): New function.
43871 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43873 * math/w_acosl.c (__acosl): Likewise.
43874 * math/w_asinl.c (__asinl): Likewise.
43875 * math/w_atan2l.c (__atan2l): Likewise.
43876 * math/w_atanhl.c (__atanhl): Likewise.
43877 * math/w_coshl.c (__coshl): Likewise.
43878 * math/w_exp10l.c (__exp10l): Likewise.
43879 * math/w_exp2l.c (__exp2l): Likewise.
43880 * math/w_fmodl.c (__fmodl): Likewise.
43881 * math/w_hypotl.c (__hypotl): Likewise.
43882 * math/w_j0l.c (__j0l, __y0l): Likewise.
43883 * math/w_j1l.c (__j1l, __y1l): Likewise.
43884 * math/w_jnl.c (__jnl, __ynl): Likewise.
43885 * math/w_lgammal.c (__lgammal): Likewise.
43886 * math/w_log10l.c (__log10l): Likewise.
43887 * math/w_log2l.c (__log2l): Likewise.
43888 * math/w_logl.c (__logl): Likewise.
43889 * math/w_powl.c (__powl): Likewise.
43890 * math/w_remainderl.c (__remainderl): Likewise.
43891 * math/w_scalbl.c (sysv_scalbl): Likewise.
43892 * math/w_sinhl.c (__sinhl): Likewise.
43893 * math/w_sqrtl.c (__sqrtl): Likewise.
43894 * math/w_tgammal.c (__tgammal): Likewise.
43895 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43896 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43897 * math/libm-test.inc (acos_test): Add more tests.
43898 (acosh_test): Likewise.
43899 (asin_test): Likewise.
43900 (atanh_test): Likewise.
43901 (exp_test): Likewise.
43902 (exp10_test): Likewise.
43903 (exp2_test): Likewise.
43904 (expm1_test): Likewise.
43905 (lgamma_test): Likewise.
43906 (log_test): Likewise.
43907 (log10_test): Likewise.
43908 (log1p_test): Likewise.
43909 (log2_test): Likewise.
43910 (pow_test): Do not allow some spurious overflow exceptions.
43911 (sqrt_test): Add more tests.
43912 (tgamma_test): Likewise.
43913 (y0_test): Likewise.
43914 (y1_test): Likewise.
43915 (yn_test): Likewise.
43917 2012-03-27 Anton Blanchard <anton@samba.org>
43919 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43921 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43922 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43923 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43925 2012-03-27 David S. Miller <davem@davemloft.net>
43927 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43929 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43930 have-as-vis3 check.
43932 2012-03-27 Andreas Jaeger <aj@suse.de>
43934 * sysdeps/x86_64/elf/configure.in: Moved to ...
43935 * sysdeps/x86_64/configure.in: ... here.
43936 * sysdeps/x86_64/elf/start.S: Moved to ...
43937 * sysdeps/x86_64/start.S: ... here.
43938 * sysdeps/x86_64/elf/configure: Delete.
43940 * sysdeps/x86_64/configure.in: Merge contents from
43941 sysdeps/i386/configure.in (without i686 check).
43943 * sysdeps/i386/elf/Versions: Merge into ...
43944 * sysdeps/i386/Versions: ... this.
43945 * sysdeps/i386/elf/Versions: Delete file.
43946 * sysdeps/i386/elf/start.S: Moved to ...
43947 * sysdeps/i386/start.S: ...here.
43948 * sysdeps/i386/elf/configure.in: Merge into...
43949 * sysdeps/i386/configure.in: ...here.
43950 * sysdeps/i386/elf/configure.in: Delete file.
43951 * sysdeps/i386/elf/configure: Delete file.
43953 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43954 * debug/backtracesyms.c: ... here.
43955 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43956 * debug/backtracesymsfd.c: ... here.
43957 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43958 * sysdeps/generic/ifunc-sel.h: ... here.
43960 * sysdeps/unix/i386/start.c: Delete file.
43961 * sysdeps/unix/sparc/start.c: Delete file.
43962 * sysdeps/unix/start.c: Delete file.
43964 * sysdeps/sh/elf/configure.in: Moved to ...
43965 * sysdeps/sh/configure.in: ... here.
43966 * sysdeps/sh/elf/start.S: Moved to ...
43967 * sysdeps/sh/start.S: ... here.
43968 * sysdeps/sh/elf/configure: Delete file.
43970 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43971 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43972 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43973 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43974 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43975 * sysdeps/powerpc/powerpc64/start.S: here.
43976 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43977 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43978 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43979 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43980 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43982 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43983 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43984 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43985 * sysdeps/powerpc/powerpc32/start.S: ... here.
43986 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43987 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43988 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43990 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43991 * sysdeps/powerpc/ifunc-sel.h: ... here.
43992 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43993 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43995 * sysdeps/sparc/elf/configure.in: Moved to ...
43996 * sysdeps/sparc/configure.in: ... here.
43997 * sysdeps/sparc/elf/configure: Delete file.
43998 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43999 * sysdeps/sparc/sparc32/start.S: ... here.
44000 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44001 * sysdeps/sparc/sparc64/start.S: ... here.
44002 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44003 * sysdeps/sparc/sparc32/Makefile: ... this.
44004 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44005 * sysdeps/sparc/sparc64/Makefile: ... this.
44007 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44008 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44009 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44010 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44011 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44012 * sysdeps/s390/s390-32/setjmp.S: ... here.
44013 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44014 * sysdeps/s390/s390-32/configure.in: ... here.
44015 * sysdeps/s390/s390-32/elf/configure: Delete file.
44016 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44017 * sysdeps/s390/s390-32/start.S: ... here.
44019 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44020 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44021 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44022 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44023 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44024 * sysdeps/s390/s390-64/setjmp.S: ... here.
44025 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44026 * sysdeps/s390/s390-64/configure.in: ... here
44027 * sysdeps/s390/s390-64/elf/configure: Delete file.
44028 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44029 * sysdeps/s390/s390-64/start.S: ... here.
44030 * sysdeps/s390/s390-64/elf/configure: Delete.
44032 * configure.in: Remove support for elf directories in sysdeps.
44034 * configure: Regenerated.
44035 * sysdeps/i386/configure: Regenerated.
44036 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44037 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44038 * sysdeps/s390/s390-32/configure: Regenerated.
44039 * sysdeps/s390/s390-64/configure: Regenerated.
44040 * sysdeps/sh/configure: Regenerated.
44041 * sysdeps/sparc/configure: Regenerated.
44042 * sysdeps/x86_64/configure: Regenerated.
44044 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44048 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44049 denormal result into account.
44051 2012-03-25 Roland McGrath <roland@hack.frob.com>
44053 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44054 Reported by Allan McRae <allan@archlinux.org>.
44056 2012-03-23 Jeff Law <law@redhat.com>
44058 * nss/getnssent.c (__nss_getent): Fix typo.
44060 2012-03-23 David S. Miller <davem@davemloft.net>
44062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44064 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44066 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44067 to pad to uint64_t for each field.
44068 (dl_tls_index): Replace unsigned long with uint64_t.
44070 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44071 Paul Pluzhnikov <ppluzhnikov@google.com>
44074 * grp/Makefile (otherlibs): Don't set it.
44075 * inet/Makefile (otherlibs): Likewise.
44076 * login/Makefile (otherlibs): Likewise.
44077 * nscd/Makefile (otherlibs): Likewise.
44078 * posix/Makefile (otherlibs): Likewise.
44079 * pwd/Makefile (otherlibs): Likewise.
44080 * rt/Makefile (otherlibs): Likewise.
44081 * sunrpc/Makefile (otherlibs): Likewise.
44082 * nss/Makefile (otherlibs): Likewise.
44083 Add libnss_files to routines and static-only-routines.
44084 ($(objpfx)getent): Remove rule.
44085 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44086 static-only-routines.
44088 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44091 * math/s_cexp.c: Include <float.h>.
44092 (__cexp): Handle exp result overflowing not necessarily
44093 overflowing both real and imaginary parts of result.
44094 * math/s_cexpf.c: Likewise.
44095 * math/s_cexpl.c: Likewise.
44096 * math/libm-test.inc (cexp_test): Add more tests.
44097 * sysdeps/i386/fpu/libm-test-ulps: Update.
44098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44100 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44102 * include/link.h (ELFW): New macro.
44103 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44104 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44106 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44108 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44111 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44113 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44115 (struct La_x32_retval): Likewise.
44117 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44119 * sysdeps/x86_64/preconfigure.in: New file.
44120 * sysdeps/x86_64/preconfigure: New generated file.
44122 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44125 * math/e_exp2l.c: Include <float.h>.
44126 (__ieee754_exp2l): Handle overflow and underflow cases
44127 separately. Only pass fractional part of argument to
44129 * math/libm-test.inc (exp2_test): Add more tests.
44131 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44132 negating x to take absolute value.
44133 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44135 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44136 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44138 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44139 computing low part if x was negated.
44140 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44142 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44144 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44145 la_x32_gnu_pltexit.
44146 (pltexit): Cast int_retval to ptrdiff_t.
44147 * elf/tst-auditmod3b.c: Likewise.
44148 * elf/tst-auditmod4b.c: Likewise.
44149 * elf/tst-auditmod5b.c: Likewise.
44150 * elf/tst-auditmod6b.c: Likewise.
44151 * elf/tst-auditmod6c.c: Likewise.
44152 * elf/tst-auditmod7b.c: Likewise.
44154 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44155 and x32_gnu_pltexit.
44157 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44158 __ELF_NATIVE_CLASS.
44159 (La_x32_regs): New macro.
44160 (La_x32_retval): Likewise.
44161 (la_x32_gnu_pltenter): New function prototype.
44162 (la_x32_gnu_pltexit): Likewise.
44164 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44166 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44171 * configure.in (libc_cv_cc_nofma): Check for option to disable
44172 generation of FMA instructions.
44173 * configure: Regenerate.
44174 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44175 * sysdeps/ieee754/dbl-64/Makefile: New file.
44176 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44177 Remove brandred-fma4.
44178 (CFLAGS-brandred-fma4.c): Remove.
44179 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44180 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44182 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44185 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44187 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44188 LLONG_MAX != LONG_MAX.
44189 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44190 (_fitoa_word): Likewise.
44191 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44192 LLONG_MAX != LONG_MAX.
44193 * stdio-common/_itowa.h: Include <_itoa.h>.
44194 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44195 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44196 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44197 only if not defined.
44198 (_ITOA_WORD_TYPE): Likewise.
44199 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44200 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44202 2012-03-21 David S. Miller <davem@davemloft.net>
44204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44206 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44208 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44209 of x86_64 when setting libc_cv_slibdir, libdir and
44211 * sysdeps/unix/sysv/linux/configure: Regenerated.
44213 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44215 * manual/lang.texi (Old Varargs): Remove section.
44216 (How Variadic): Update menu.
44217 (va_start): Do not mention varargs.h.
44219 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44220 Joseph Myers <joseph@codesourcery.com>
44222 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44224 * configure: Regenerated.
44226 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44228 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44229 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44232 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44235 * Makefile (files-for-dist): Remove NOTES.
44236 (NOTES): Remove rule.
44237 * README: Don't refer to NOTES.
44238 * manual/creature.texi: Don't include macros.texi.
44239 * manual/intro.texi (creature.texi): Remove comment referring to
44242 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44243 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44244 * configure: Regenerated.
44245 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44246 LIBC_TRY_CC_OPTION.
44247 (libc_cv_as_i686): Likewise.
44248 (libc_cv_cc_avx): Likewise.
44249 (libc_cv_cc_sse2avx): Likewise.
44250 (libc_cv_cc_fma4): Likewise.
44251 (libc_cv_cc_novzeroupper): Likewise.
44252 * sysdeps/i386/configure: Regenerated.
44255 * sysdeps/i386/fpu/s_cexp.S: Remove.
44256 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44257 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44258 * math/libm-test.inc (cexp_test): Add more tests.
44259 * sysdeps/i386/fpu/libm-test-ulps: Update.
44260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44262 2012-03-21 Allan McRae <allan@archlinux.org>
44264 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44266 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44269 * math/w_exp2.c: Do not include <float.h>.
44270 (o_threshold, u_threshold): Remove.
44271 (__exp2): Calculate result before checking finiteness and calling
44273 * math/w_exp2f.c: Likewise.
44274 * math/w_exp2l.c: Likewise.
44275 * math/libm-test.inc (exp2_test): Require overflow exception for
44279 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44280 range of signed 64-bit integers before using fistpll. Remove
44281 checks for whether integers fit in mantissa bits.
44282 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44283 the range of signed 32-bit integers before using fistpl. Remove
44284 checks for whether integers fit in mantissa bits.
44285 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44286 (__ieee754_powl): Test for y outside the range of signed 64-bit
44287 integers before using fistpll. Reduce 64-bit values to 63-bit
44289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44290 divide-by-zero is raised for zero to large negative powers.
44291 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44292 (__ieee754_powl): Test for y outside the range of signed 64-bit
44293 integers before using fistpll. Reduce 64-bit values to 63-bit
44295 * math/libm-test.inc (pow_test): Add more tests.
44297 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44299 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44300 <stdio-common/_itoa.h>.
44301 * debug/segfault.c: Likewise.
44302 * elf/dl-cache.c: Likewise.
44303 * elf/dl-minimal.c: Likewise.
44304 * elf/dl-misc.c: Likewise.
44305 * elf/dl-sysdep.c: Likewise.
44306 * elf/dl-version.c: Likewise.
44307 * elf/rtld.c: Likewise.
44308 * hurd/hurdsock.c: Likewise.
44309 * hurd/lookup-retry.c: Likewise.
44310 * malloc/malloc.c: Likewise.
44311 * malloc/mtrace.c: Likewise.
44312 * nscd/nscd_getgr_r.c: Likewise.
44313 * nscd/nscd_getpw_r.c: Likewise.
44314 * nscd/nscd_getserv_r.c: Likewise.
44315 * posix/getopt_init.c: Likewise.
44316 * posix/wordexp.c: Likewise.
44317 * stdio-common/_itoa.c: Likewise.
44318 * stdio-common/printf_fphex.c: Likewise.
44319 * stdio-common/vfprintf.c: Likewise.
44320 * string/_strerror.c: Likewise.
44321 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44322 * sysdeps/i386/i686/hp-timing.h: Likewise.
44323 * sysdeps/mach/_strerror.c: Likewise.
44324 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44325 * sysdeps/mach/hurd/sethostid.c: Likewise.
44326 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44327 * sysdeps/mach/xpg-strerror.c: Likewise.
44328 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44329 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44330 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44331 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44332 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44333 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44334 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44335 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44336 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44337 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44338 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44339 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44340 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44341 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44342 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44343 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44344 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44345 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44346 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44347 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44348 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44350 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44352 * stdio-common/_itoa.h: Moved to ...
44353 * sysdeps/generic/_itoa.h: Here.
44355 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44357 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44358 instead of "_itoa.h" and "_itowa.h".
44359 * stdio-common/vfprintf.: Likewise.
44361 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44363 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44365 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44366 (__signbit): Likwise.
44367 (llrintf): Likwise.
44370 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44372 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44375 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44377 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44378 OVERFLOW_EXCEPTION_OK.
44379 * math/libm-test.inc ("Philosophy"): Update comment about
44381 (OVERFLOW_EXCEPTION): Define.
44382 (OVERFLOW_EXCEPTION_OK): Likewise.
44383 (INVALID_EXCEPTION_OK): Renumber.
44384 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44385 (IGNORE_ZERO_INF_SIGN): Likewise.
44386 (test_exceptions): Handle FE_OVERFLOW.
44387 (exp10_test): Expect overflow exceptions.
44388 (exp2_test): Likewise.
44389 (expm1_test): Likewise.
44390 (nextafter_test): Likewise.
44391 (pow_test): Likewise.
44392 (scalbn_test): Likewise.
44393 (scalbln_test): Likewise.
44395 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44397 * sysdeps/x86_64/bits/atomic.h
44398 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44400 (atomic_exchange_acq): Likewise.
44401 (__arch_exchange_and_add_body): Likewise.
44402 (__arch_add_body): Likewise.
44403 (atomic_add_negative): Likewise.
44404 (atomic_add_zero): Likewise.
44406 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44408 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44409 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44411 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44413 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44414 Check __x86_64__ instead of __WORDSIZE.
44416 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44418 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44420 2012-03-19 David S. Miller <davem@davemloft.net>
44422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44424 * sysdeps/sparc/fpu/fenv_private.h: New file.
44425 * sysdeps/sparc/fpu/math_private.h: Use it.
44426 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44428 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44429 (libc_feholdexcept_setroundl): Remove.
44430 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44432 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44433 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44435 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44437 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44438 int64_t instead of long int.
44439 (INSERT_WORDS64): Likwise.
44441 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44443 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44444 _Unwind_GetCFA return to _Unwind_Ptr first.
44446 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44449 * math/s_clog.c: Include <float.h>.
44450 (__clog): Scale large or subnormal inputs.
44451 * math/s_clogf.c: Likewise.
44452 * math/s_clogl.c: Likewise.
44453 * math/s_clog10.c: Include <float.h>.
44454 (M_LOG10_2): Define.
44455 (__clog10): Scale large or subnormal inputs.
44456 * math/s_clog10f.c: Likewise.
44457 * math/s_clog10l.c: Likewise.
44458 * math/libm-test.inc (clog_test): Add more tests.
44459 (clog10_test): Likewise.
44460 * sysdeps/i386/fpu/libm-test-ulps: Update.
44461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44464 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44466 * math/libm-test.inc (atan2_test): Add another test.
44468 * Makerules (common-objdir-compile): Remove.
44469 * sysdeps/unix/Makefile (config-generated): Do not add
44470 $(unix-generated) to variable.
44471 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44472 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44474 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44476 [generic bits/local_lim.h] (before-compile): Do not append to
44478 [generic bits/local_lim.h] (common-generated): Likewise.
44479 [generic sys/param.h] (before-compile): Do not append to variable.
44480 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44481 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44482 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44483 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44485 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44486 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44487 [generic sys/param.h] ($(addprefix
44488 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44489 [generic sys/param.h] (common-generated): Do not append to
44491 [generic sys/param.h] (sysdep_headers): Likewise.
44492 [generic bits/errno.h] (before-compile): Do not append to
44494 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44496 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44497 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44498 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44499 [generic bits/errno.h] (common-generated): Do not append to
44501 [generic bits/ioctls.h] (before-compile): Do not append to
44503 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44505 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44506 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44507 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44509 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44510 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44511 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44512 [generic bits/ioctls.h] (common-generated): Do not append to
44514 [generic sys/syscall.h] (syscall.h): Remove variable.
44515 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44517 [generic sys/syscall.h] (before-compile): Do not append to
44519 [generic sys/syscall.h] (common-generated): Likewise.
44520 * sysdeps/unix/errnos-tmpl.c: Remove file.
44521 * sysdeps/unix/errnos.awk: Likewise.
44522 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44523 * sysdeps/unix/ioctls.awk: Likewise.
44524 * sysdeps/unix/mk-local_lim.c: Likewise.
44525 * sysdeps/unix/snarf-ioctls: Likewise.
44527 2012-03-19 Richard Henderson <rth@twiddle.net>
44529 * sysdeps/i386/fpu/fenv_private.h: New file.
44530 * sysdeps/i386/fpu/math_private.h: Use it.
44531 (math_opt_barrier, math_force_eval): Remove.
44532 (libc_feholdexcept_setround_53bit): Remove.
44533 (libc_feupdateenv_53bit): Remove.
44534 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44535 (math_opt_barrier, math_force_eval): Remove.
44536 (libc_feholdexcept): Remove.
44537 (libc_feholdexcept_setround): Remove.
44538 (libc_fetestexcept, libc_fesetenv): Remove.
44539 (libc_feupdateenv_test): Remove.
44540 (libc_feupdateenv, libc_feholdsetround): Remove.
44541 (libc_feresetround): Remove.
44543 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44544 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44546 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44547 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44548 (libc_feupdateenv_testl): New.
44549 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44550 (libc_feupdateenv_testf): New.
44551 (libc_feupdateenv): Use libc_feupdateenv_test.
44552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44553 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44555 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44556 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44557 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44558 (libc_feresetround_noex): New.
44559 (libc_feresetround_noexf): New.
44560 (libc_feresetround_noexl): New.
44561 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44562 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44563 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44564 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44567 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44569 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44570 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44571 SET_RESTORE_ROUND_NOEX.
44572 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44573 SET_RESTORE_ROUND_NOEXF.
44574 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44575 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44576 (libc_feholdsetroundf): New.
44577 (libc_feresetround, libc_feresetroundf): New.
44579 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44580 (libc_feholdexcept_setround_53bit): Convert from macro to function.
44581 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
44583 * sysdeps/generic/math_private.h: Include <fenv.h>.
44584 (default_libc_feholdexcept): New.
44585 (default_libc_feholdexcept_setround): New.
44586 (default_libc_fesetenv, default_libc_feupdateenv): New.
44587 (libc_feholdexcept): Only define if undefined.
44588 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44589 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44590 (libc_feholdexcept_setroundl): Likewise.
44591 (libc_feholdexcept_setround_53bit): Likewise.
44592 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44593 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44594 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44595 (libc_feupdateenv_53bit): Likewise.
44596 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44597 (libc_feholdexcept): Convert from macro to inline function.
44598 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44599 (libc_fesetenv, libc_feupdateenv): Likewise.
44601 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44602 not previously defined.
44603 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44604 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44605 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44606 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44607 * sysdeps/ieee754/flt-32/math_private.h: New file.
44608 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44609 math_private.h below SET_FLOAT_WORD.
44610 (__isnan, __isinf_ns, __finite): Remove.
44611 (__isnanf, __isinf_nsf, __finitef): Remove.
44613 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44617 2012-03-17 David S. Miller <davem@davemloft.net>
44620 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44623 2012-03-16 David S. Miller <davem@davemloft.net>
44625 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44629 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44631 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44632 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44633 sysdep_routines when subdir is sysvipc.
44634 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44635 __getshmlba helper.
44637 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44639 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44641 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44644 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44647 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44648 (__lround): Renamed to ...
44649 (__llround): This. Replace long int with long long int.
44650 Define lround functions as aliases of llround functions.
44651 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44653 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44655 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44656 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44657 adresses to uintptr_t. Replace "long int" and "unsigned long
44658 int" with "greg_t" on va_arg.
44660 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44662 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44663 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44665 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44666 Move e_machine check before EI_CLASS check. Handle x32
44667 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44668 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44669 SKIP_EM_IA_64 and include
44670 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44672 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44673 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44674 (add_system_dir): New macro.
44676 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44677 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44679 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44690 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44692 * math/w_j0f.c (j0f): Likewise.
44694 * math/w_j0l.c (__j0l): Likewise.
44696 * math/w_j1.c (j1): Likewise.
44698 * math/w_j1f.c (j1f): Likewise.
44700 * math/w_j1l.c (__j1l): Likewise.
44702 * math/w_jn.c (jn): Likewise.
44704 * math/w_jnf.c (jnf): Likewise.
44706 * math/w_jnl.c (__jnl): Likewise.
44708 * math/libm-test.inc (j0_test): Add more tests.
44709 (j1_test): Likewise.
44710 (jn_test): Likewise. Add trailing semicolon to existing test.
44711 (y0_test): Likewise.
44712 (y1_test): Likewise.
44713 * sysdeps/i386/fpu/libm-test-ulps: Update.
44714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44718 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44719 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44720 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44721 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44722 (__tanl): Set errno for infinite argument.
44723 * sysdeps/i386/fpu/mptan.c: Remove.
44724 * sysdeps/i386/fpu/s_tan.S: Likewise.
44725 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44726 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44727 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44728 * math/libm-test.inc (tan_test): Add more tests and enable more
44729 tests for double and long double.
44730 * sysdeps/i386/fpu/libm-test-ulps: Update.
44731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44733 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44735 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44736 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44738 2012-03-16 Roland McGrath <roland@hack.frob.com>
44740 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44741 * configure.in: Use it for both main tree and add-ons.
44742 * configure: Regenerated.
44744 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44746 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44748 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44750 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44754 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44755 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44756 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44757 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44758 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44760 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44761 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44762 != 0 for prec == 2.
44763 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44764 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44765 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44766 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44767 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44768 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44769 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44770 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44771 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44772 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44773 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44774 * math/libm-test.inc (cos_test): Add more tests and enable more
44775 tests for long double.
44776 (sin_test): Likewise.
44777 (sincos_test): Likewise.
44778 * sysdeps/i386/fpu/libm-test-ulps: Update.
44779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44781 2012-03-16 David S. Miller <davem@davemloft.net>
44783 * sysdeps/sparc/fpu/math_private.h: New file.
44785 2012-03-15 David S. Miller <davem@davemloft.net>
44787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44801 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44802 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44804 * sysdeps/sparc/sparc-ifunc.h: New file.
44805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44832 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44844 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44850 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44852 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44856 2012-03-15 Andreas Jaeger <aj@suse.de>
44859 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44860 ieee754/flt-32 implementation for sin, cos and sincos.
44861 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44862 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44863 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44864 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44865 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44866 ieee754/flt-32 implementation for tan.
44868 * math/libm-test.inc (cos_test): Enable some large input tests for
44870 (sin_test): Likewise.
44871 (sincos_test): Likewise.
44872 (tan_test): Add tests for large input.
44874 * sysdeps/i386/fpu/libm-test-ulps: Update.
44876 2012-03-15 Andreas Jaeger <aj@suse.de>
44879 * math/libm-test.inc (cos_test): Add more test cases.
44880 (sin_test): Likewise.
44881 (sincos_test): Likewise.
44883 2012-03-15 Andreas Jaeger <aj@suse.de>
44886 * math/libm-test.inc (cos_test): Add a test case for large input
44888 (sin_test): Likewise.
44889 (sincos_test): Likewise.
44891 2012-03-15 Andreas Jaeger <aj@suse.de>
44892 Joseph Myers <joseph@codesourcery.com>
44895 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44896 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44897 * sysdeps/i386/fpu/branred.c: Likewise.
44898 * sysdeps/i386/fpu/dosincos.c: Likewise.
44899 * sysdeps/i386/fpu/mpa.c: Likewise.
44900 * sysdeps/i386/fpu/s_cos.S: Likewise.
44901 * sysdeps/i386/fpu/s_sin.S: Likewise.
44902 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44903 * sysdeps/i386/fpu/sincos32.c: Likewise.
44905 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44907 (libc_feupdateenv_53bit): Define.
44908 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44910 (libc_feupdateenv_53bit): Define.
44912 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44913 53 bit (without extend i386 double precision).
44915 * math/libm-test.inc (sincos_test): Add tests for large input.
44919 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44921 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44925 2012-03-15 David S. Miller <davem@davemloft.net>
44927 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44928 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44929 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44930 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44955 fmin/fmax sysdep routines.
44956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44958 2012-03-14 David S. Miller <davem@davemloft.net>
44960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44967 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44971 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44981 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44982 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44983 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44984 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44985 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44986 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44987 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45032 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45037 * sysdeps/sparc/configure.in: New file.
45038 * sysdeps/sparc/configure: Generate.
45039 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45040 * configure: Regenerate.
45041 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45042 * config.make.in (have-as-vis3): New.
45043 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45044 available use -Av9d instead of -Av9a.
45045 * sysdeps/sparc/sparc64/Makefile: Likewise.
45046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45055 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45057 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45058 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45059 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45061 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45062 fzeros/fnegs to load 0x80000000 into a float register instead of
45064 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45066 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45070 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45071 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45072 ($(inst_includedir)/bits/syscall.h): Remove rule.
45073 ($(objpfx)bits/syscall.d): Include instead of
45074 $(objpfx)syscall-list.d.
45075 (generated): Change syscall-list.h and syscall-list.d to
45076 bits/syscall.h and bits/syscall.d.
45078 2012-03-14 Roland McGrath <roland@hack.frob.com>
45081 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45083 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45086 * math/s_csqrt.c: Include <float.h>.
45087 (__csqrt): Scale large or subnormal inputs.
45088 * math/s_csqrtf.c: Likewise.
45089 * math/s_csqrtl.c: Likewise.
45090 * math/libm-test.inc (csqrt_test): Add more tests.
45091 * sysdeps/i386/fpu/libm-test-ulps: Update.
45092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45095 * math/libm-test.inc (hypot_test): Add more tests.
45097 2012-03-13 David S. Miller <davem@davemloft.net>
45100 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45101 double-precision for the calculation instead of scaling.
45103 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45105 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45106 manipulate bits before adding and subtracting TWO52[sx].
45107 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45108 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45110 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45112 2012-03-13 David S. Miller <davem@davemloft.net>
45114 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45115 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45117 rtld-global-offsets.h
45118 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45120 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45123 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45125 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45126 'err' in the ifdef scope in which it is actually used.
45128 * nss/nss_db/db-init.c: Include string.h
45130 2012-03-12 David S. Miller <davem@davemloft.net>
45132 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45133 masking out of the most significant byte of random value used.
45134 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45135 Fix coding style in previous change.
45137 * sysdeps/unix/sysv/linux/kernel-features.h
45138 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45139 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45141 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45144 2012-03-11 David S. Miller <davem@davemloft.net>
45146 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45147 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45148 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45149 for 'resultvar' otherwise things get truncated on 64-bit.
45151 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45152 Fix masking out of the most significant byte of random value used.
45154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45156 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45160 2012-03-09 David S. Miller <davem@davemloft.net>
45162 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45163 variables with appropriate CPP guards.
45164 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45165 from the frame pointer, not the stack pointer. Correct layout
45166 comments. Fix test on resulting framesize and the management of
45167 the outregs buffer for pltexit. Preserve floating point return
45168 values across _dl_call_pltexit call.
45169 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45170 framesize and the management of the outregs buffer for pltexit.
45171 Preserve floating point return values across _dl_call_pltexit
45173 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45174 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45175 (la_sparc64_gnu_pltexit): New functions.
45176 (print_exit): Fix format string for return register value.
45178 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45180 * sunrpc/Makefile (others): Add rpcgen.
45181 ($(objpfx)rpcgen): Remove special build rule and dependency on
45183 * sunrpc/rpcgen.c: New file.
45185 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45188 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45189 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45190 * sysdeps/i386/crti.S: Likewise.
45191 * sysdeps/i386/crtn.S: Likewise.
45192 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45193 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45194 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45195 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45196 * sysdeps/sh/crti.S: Likewise.
45197 * sysdeps/sh/crtn.S: Likewise.
45198 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45201 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45203 * locale/programs/locfile-kw.gperf: Likewise.
45204 * locale/programs/charmap-kw.h: Regenerated.
45205 * locale/programs/locfile-kw.h: Likewise.
45208 * intl/plural.y: Replace FSF snail mail address with URL.
45209 * intl/plural.c: Regenerated.
45211 2012-03-09 Richard Henderson <rth@twiddle.net>
45213 * include/math_private.h: Remove file.
45214 * math/math_private.h: Move file ...
45215 * sysdeps/generic/math_private.h: ... here.
45217 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45218 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45219 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45221 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45222 and <math_private.h>.
45223 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45224 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45225 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45226 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45227 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45228 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45229 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45231 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45232 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45234 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45235 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45237 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45238 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45239 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45240 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45241 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45242 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45243 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45244 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45245 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45247 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45248 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45249 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45250 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45251 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45252 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45253 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45254 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45255 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45256 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45257 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45258 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45259 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45260 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45261 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45263 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45264 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45265 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45266 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45267 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45268 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45269 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45270 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45271 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45272 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45273 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45274 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45275 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45276 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45277 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45278 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45279 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45280 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45281 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45282 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45283 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45284 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45286 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45287 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45288 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45289 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45290 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45291 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45292 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45293 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45294 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45295 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45296 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45297 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45298 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45300 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45301 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45303 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45304 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45305 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45306 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45307 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45308 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45310 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45311 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45312 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45313 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45314 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45315 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45316 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45317 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45318 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45319 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45320 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45321 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45322 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45323 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45324 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45325 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45326 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45327 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45328 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45329 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45330 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45331 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45332 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45333 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45334 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45335 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45336 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45337 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45338 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45339 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45340 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45341 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45342 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45343 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45344 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45345 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45346 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45347 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45348 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45349 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45350 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45351 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45352 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45353 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45354 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45355 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45356 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45357 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45358 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45359 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45360 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45361 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45362 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45363 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45364 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45365 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45366 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45367 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45368 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45369 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45370 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45371 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45372 * sysdeps/ieee754/k_standard.c: Likewise.
45373 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45374 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45375 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45376 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45377 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45378 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45379 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45380 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45381 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45382 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45383 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45384 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45385 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45386 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45387 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45388 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45389 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45390 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45391 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45392 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45393 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45394 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45395 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45396 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45397 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45398 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45399 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45400 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45401 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45402 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45403 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45404 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45405 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45406 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45407 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45408 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45409 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45410 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45411 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45412 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45413 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45414 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45415 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45416 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45417 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45418 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45419 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45420 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45421 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45422 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45423 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45424 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45425 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45426 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45427 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45428 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45429 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45430 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45431 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45432 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45433 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45434 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45435 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45436 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45438 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45439 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45440 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45441 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45442 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45443 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45445 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45446 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45447 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45448 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45449 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45450 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45452 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45453 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45454 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45455 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45456 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45457 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45458 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45459 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45460 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45461 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45462 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45463 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45464 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45465 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45466 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45467 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45468 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45469 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45470 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45471 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45472 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45473 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45474 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45475 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45476 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45477 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45478 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45479 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45480 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45481 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45482 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45483 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45484 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45485 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45486 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45487 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45488 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45489 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45490 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45491 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45492 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45493 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45494 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45495 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45496 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45497 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45498 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45499 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45500 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45501 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45502 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45503 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45504 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45505 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45506 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45507 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45508 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45509 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45510 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45511 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45512 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45513 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45514 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45515 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45516 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45517 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45518 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45519 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45520 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45521 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45522 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45523 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45524 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45525 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45526 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45527 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45528 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45529 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45530 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45531 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45532 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45533 * sysdeps/ieee754/s_lib_version.c: Likewise.
45534 * sysdeps/ieee754/s_matherr.c: Likewise.
45535 * sysdeps/ieee754/s_signgam.c: Likewise.
45536 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45537 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45538 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45539 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45540 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45541 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45542 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45543 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45544 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45545 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45546 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45547 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45548 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45549 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45550 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45551 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45552 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45553 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45554 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45555 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45556 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45558 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45560 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45561 * sunrpc/rpc_main.c: Likewise.
45562 * sunrpc/rpc_svcout.c: Likewise.
45564 2012-03-09 David S. Miller <davem@davemloft.net>
45566 * include/math_private.h: New file.
45568 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45570 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45571 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45572 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45573 from <bits/socket_type.h>.
45574 (enum __socket_type): Don't define here.
45575 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45577 bits/socket_type.h.
45580 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45581 checking __USE_GNU.
45583 * Makerules ($(inst_includedir)/%.h): New rule.
45584 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45585 (install-others): Remove variable setting.
45586 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45588 2012-03-08 Richard Henderson <rth@twiddle.net>
45590 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45591 from macro to inline function; merge with the
45592 !__LIBC_INTERNAL_MATH_INLINES version.
45593 (__ieee754_sqrtf): Likewise.
45595 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45596 to inline function.
45597 (__rintf, __floor, __floorf): Likewise.
45599 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45600 macro to inline function.
45601 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45603 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45604 not <math/math_private.h>.
45606 2012-03-08 David S. Miller <davem@davemloft.net>
45608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45610 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45612 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45614 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45616 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45617 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45619 2012-03-08 Ulrich Drepper <drepper@gmail.com>
45621 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45622 be defined individually, they must be defined as a block. Define
45623 S for printing a string instead of hidint the different by using a
45624 macro for adding the 'l'.
45625 * stdio-common/tst-fphex-wide.c: Adjust.
45627 2012-03-07 Marek Polacek <polacek@redhat.com>
45629 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45631 2012-03-08 Marek Polacek <polacek@redhat.com>
45634 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45635 * stdio-common/tst-fphex.c: Define a few macros to make the
45636 test reusable. Use them.
45637 * stdio-common/tst-fphex-wide.c: New file.
45639 2012-03-08 Joseph Myers <joseph@codesourcery.com>
45642 * manual/macros.texi (gnusystems): New macro.
45643 (nongnusystems): Likewise.
45644 (gnulinuxhurdsystems): Likewise.
45645 (gnuhurdsystems): Likewise..
45646 (gnulinuxsystems): Likewise.
45647 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45648 variants of the GNU system, not "GNU system".
45649 * manual/conf.texi: Likewise.
45650 * manual/errno.texi: Likewise. Update example of errno macro
45652 * manual/filesys.texi: Likewise.
45653 (getumask): Document as specific to GNU/Hurd.
45654 * manual/install.texi: Likewise. Reword some references to
45656 * manual/intro.texi: Likewise.
45657 * manual/io.texi: Likewise.
45658 (File Name Portability): Detail which constraints are inapplicable
45659 to all GNU systems and which are only inapplicable to GNU/Hurd.
45660 * manual/job.texi: Likewise.
45661 * manual/llio.texi: Likewise.
45662 (O_NOCTTY): Document as present on GNU/Linux.
45663 * manual/maint.texi: Likewise.
45664 * manual/memory.texi: Likewise.
45665 * manual/pattern.texi: Likewise.
45666 * manual/pipe.texi: Likewise.
45667 * manual/process.texi: Likewise.
45668 * manual/resource.texi: Likewise.
45669 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45671 * manual/setjmp.texi: Likewise.
45672 * manual/signal.texi: Likewise.
45673 * manual/startup.texi: Likewise.
45674 * manual/stdio.texi: Likewise.
45675 * manual/terminal.texi: Likewise.
45676 (ONLCR): Document as POSIX.
45677 (OXTABS): Document availability on GNU/Linux as XTABS.
45678 (ONOEOT): Document availability separately from other bits.
45679 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45680 * manual/time.texi: Likewise.
45681 * manual/users.texi: Likewise.
45682 * INSTALL: Regenerated.
45683 * sysdeps/gnu/errlist.c: Regenerated.
45685 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45686 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45687 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45689 * configure: Regenerated.
45691 2012-03-07 Joseph Myers <joseph@codesourcery.com>
45693 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45694 default includes instead of AC_HEADER_CHECK.
45695 * sysdeps/i386/configure: Regenerated.
45698 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45699 * math/s_cacoshf.c (__cacoshf): Likewise.
45700 * math/s_cacoshl.c (__cacoshl): Likewise.
45701 * math/s_casinh.c (__casinh): Set signs of result from argument.
45702 * math/s_casinhf.c (__casinhf): Likewise.
45703 * math/s_casinhl.c (__casinhl): Likewise.
45704 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45705 (casinh_test): Add more tests.
45706 * sysdeps/i386/fpu/libm-test-ulps: Update.
45707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45709 2012-03-07 Ulrich Drepper <drepper@gmail.com>
45711 * po/zh_TW.po: Update from translation team.
45713 * login/Makefile (distribute): Remove variable.
45714 * catgets/Makefile: Likewise.
45715 * mach/Makefile: Likewise.
45716 * malloc/Makefile: Likewise.
45717 * misc/Makefile: Likewise.
45718 * iconv/Makefile: Likewise.
45719 * nscd/Makefile: Likewise.
45720 * hurd/Makefile: Likewise.
45721 * manual/Makefile: Likewise.
45722 * locale/Makefile: Likewise.
45723 * intl/Makefile: Likewise.
45724 * conform/Makefile: Likewise.
45725 * nss/Makefile: Likewise.
45726 * time/Makefile: Likewise.
45727 * soft-fp/Makefile: Likewise.
45728 * dirent/Makefile: Likewise.
45729 * gmon/Makefile: Likewise.
45730 * po/Makefile: Likewise.
45731 * rt/Makefile: Likewise.
45732 * socket/Makefile: Likewise.
45733 * math/Makefile: Likewise.
45734 * signal/Makefile: Likewise.
45735 * debug/Makefile: Likewise.
45736 * elf/Makefile: Likewise.
45737 * timezone/Makefile: Likewise.
45738 * stdlib/Makefile: Likewise.
45739 * iconvdata/Makefile: Likewise.
45740 * sunrpc/Makefile: Likewise.
45741 * io/Makefile: Likewise.
45742 * argp/Makefile: Likewise.
45743 * inet/Makefile: Likewise.
45744 * hesiod/Makefile: Likewise.
45745 * grp/Makefile: Likewise.
45746 * csu/Makefile: Likewise.
45747 * wctype/Makefile: Likewise.
45748 * crypt/Makefile: Likewise.
45749 * libio/Makefile: Likewise.
45750 * string/Makefile: Likewise.
45751 * nis/Makefile: Likewise.
45752 * resolv/Makefile: Likewise.
45753 * stdio-common/Makefile: Likewise.
45754 * wcsmbs/Makefile: Likewise.
45755 * dlfcn/Makefile: Likewise.
45756 * posix/Makefile: Likewise.
45759 * timezone/Makefile: Don't install timezone files, just the programs
45762 2012-03-06 Ulrich Drepper <drepper@gmail.com>
45764 * nss/databases.def: Add missing gshadow entry.
45766 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45768 2012-03-06 Marek Polacek <polacek@redhat.com>
45771 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45772 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45773 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45774 * stdio-common/tst-long-dbl-fphex.c: New file.
45776 2012-03-06 David S. Miller <davem@davemloft.net>
45778 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45779 (set_obp_int): New function.
45780 (get_obp_int): New function.
45781 (__get_clockfreq_via_dev_openprom): Likewise.
45782 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45783 Avoid unused variable warnings on 'val' and use builtin_expect.
45784 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45786 (INLINE_CLONE_SYSCALL): Likewise.
45788 2012-03-05 David S. Miller <davem@davemloft.net>
45790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45792 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45796 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45797 only for |x| >= 40.
45798 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45800 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
45802 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45803 Replace gettimeofday with __vdso_gettimeofday.
45805 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45806 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45807 __vdso_clock_gettime and __vdso_getcpu.
45809 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45810 time with __vdso_time.
45812 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45814 * manual/lang.texi (size_t): Note types to which size_t may be
45815 equivalent with the GNU C Library, but do not describe when
45816 differences between them are significant.
45818 2012-03-05 Andreas Jaeger <aj@suse.de>
45820 * sysdeps/i386/fpu/libm-test-ulps: Update.
45822 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45825 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45826 (__ieee754_pow): Save and restore rounding mode and use
45827 round-to-nearest for main computations.
45828 * math/libm-test.inc (pow_test_tonearest): New function.
45829 (pow_test_towardzero): Likewise.
45830 (pow_test_downward): Likewise.
45831 (pow_test_upward): Likewise.
45832 (main): Call the new functions.
45833 * sysdeps/i386/fpu/libm-test-ulps: Update.
45834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45837 * math/libm-test.inc (cosh_test_tonearest): New function.
45838 (cosh_test_towardzero): Likewise.
45839 (cosh_test_downward): Likewise.
45840 (cosh_test_upward): Likewise.
45841 (sinh_test_tonearest): Likewise.
45842 (sinh_test_towardzero): Likewise.
45843 (sinh_test_downward): Likewise.
45844 (sinh_test_upward): Likewise.
45845 (main): Call the new functions.
45846 * sysdeps/i386/fpu/libm-test-ulps: Update.
45847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45849 2012-03-05 Tom de Vries <tom@codesourcery.com>
45851 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45852 default stack guard is set in last bytes.
45853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45855 2012-03-05 Kees Cook <keescook@chromium.org>
45857 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45860 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45861 possibly allocate from heap instead of stack.
45862 * stdio-common/bug-vfprintf-nargs.c: New file.
45863 * stdio-common/Makefile (tests): Add nargs overflow test.
45865 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45869 2012-03-03 Marek Polacek <polacek@redhat.com>
45871 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45872 * math/math_private.h: Likewise.
45873 * stdlib/tst-strtod.c: Likewise.
45874 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45875 * sysdeps/x86_64/bits/atomic.h: Likewise.
45877 2012-03-02 David S. Miller <davem@davemloft.net>
45879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45883 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45884 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45885 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45886 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45888 2012-03-02 Roland McGrath <roland@hack.frob.com>
45891 * manual/examples/README: New file, says the example source files
45892 can be used under GPL>=2.
45893 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45894 line containing just "*/".
45895 * manual/examples/add.c: Add copyright header (GPL>=2).
45896 * manual/examples/argp-ex1.c: Likewise.
45897 * manual/examples/argp-ex2.c: Likewise.
45898 * manual/examples/argp-ex3.c: Likewise.
45899 * manual/examples/argp-ex4.c: Likewise.
45900 * manual/examples/atexit.c: Likewise.
45901 * manual/examples/db.c: Likewise.
45902 * manual/examples/dir.c: Likewise.
45903 * manual/examples/dir2.c: Likewise.
45904 * manual/examples/execinfo.c: Likewise.
45905 * manual/examples/filecli.c: Likewise.
45906 * manual/examples/filesrv.c: Likewise.
45907 * manual/examples/fmtmsgexpl.c: Likewise.
45908 * manual/examples/genpass.c: Likewise.
45909 * manual/examples/inetcli.c: Likewise.
45910 * manual/examples/inetsrv.c: Likewise.
45911 * manual/examples/isockad.c: Likewise.
45912 * manual/examples/longopt.c: Likewise.
45913 * manual/examples/memopen.c: Likewise.
45914 * manual/examples/memstrm.c: Likewise.
45915 * manual/examples/mkfsock.c: Likewise.
45916 * manual/examples/mkisock.c: Likewise.
45917 * manual/examples/mygetpass.c: Likewise.
45918 * manual/examples/pipe.c: Likewise.
45919 * manual/examples/popen.c: Likewise.
45920 * manual/examples/rprintf.c: Likewise.
45921 * manual/examples/search.c: Likewise.
45922 * manual/examples/select.c: Likewise.
45923 * manual/examples/setjmp.c: Likewise.
45924 * manual/examples/sigh1.c: Likewise.
45925 * manual/examples/sigusr.c: Likewise.
45926 * manual/examples/stpcpy.c: Likewise.
45927 * manual/examples/strdupa.c: Likewise.
45928 * manual/examples/strftim.c: Likewise.
45929 * manual/examples/strncat.c: Likewise.
45930 * manual/examples/subopt.c: Likewise.
45931 * manual/examples/swapcontext.c: Likewise.
45932 * manual/examples/termios.c: Likewise.
45933 * manual/examples/testopt.c: Likewise.
45934 * manual/examples/testpass.c: Likewise.
45935 * manual/examples/timeval_subtract.c: Likewise.
45938 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45940 * manual/timeval_subtract.c.texi: ... here, new file.
45942 2012-03-02 David S. Miller <davem@davemloft.net>
45944 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45946 2012-03-02 Joseph Myers <joseph@codesourcery.com>
45949 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45950 (__sin): Save and restore rounding mode and use round-to-nearest
45951 for all computations.
45952 (__cos): Save and restore rounding mode and use round-to-nearest
45953 for all computations.
45954 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45956 (tan): Save and restore rounding mode and use round-to-nearest for
45958 * math/libm-test.inc (cos_test_tonearest): New function.
45959 (cos_test_towardzero): Likewise.
45960 (cos_test_downward): Likewise.
45961 (cos_test_upward): Likewise.
45962 (sin_test_tonearest): Likewise.
45963 (sin_test_towardzero): Likewise.
45964 (sin_test_downward): Likewise.
45965 (sin_test_upward): Likewise.
45966 (tan_test_tonearest): Likewise.
45967 (tan_test_towardzero): Likewise.
45968 (tan_test_downward): Likewise.
45969 (tan_test_upward): Likewise.
45970 (main): Call the new functions.
45971 * sysdeps/i386/fpu/libm-test-ulps: Update.
45972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45975 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45976 small n, then large n, before computing and testing k+n.
45977 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45980 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45982 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45983 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45984 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45985 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45986 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45987 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45988 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45989 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45990 * math/libm-test.inc (scalbn_test): Add more tests.
45991 (scalbln_test): Likewise.
45993 * manual/filesys.texi (mode_t): Describe constraints on size and
45994 signedness, not exact equivalence to a particular type.
45996 (ino64_t): Likewise.
45998 (nlink_t): Likewise.
45999 (blkcnt_t): Likewise.
46000 (blkcnt64_t): Likewise.
46001 * manual/llio.texi (off_t): Likewise.
46004 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46005 (__ieee754_exp): Save and restore rounding mode and use
46006 round-to-nearest for all computations.
46007 * math/libm-test.inc (exp_test_tonearest): New function.
46008 (exp_test_towardzero): Likewise.
46009 (exp_test_downward): Likewise.
46010 (exp_test_upward): Likewise.
46011 (main): Call the new functions.
46012 * sysdeps/i386/fpu/libm-test-ulps: Update.
46013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46015 2012-03-01 Chris Demetriou <cgd@google.com>
46017 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46018 have predictable order.
46020 2012-03-01 David S. Miller <davem@davemloft.net>
46022 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46024 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46025 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46026 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46027 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46029 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46030 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46031 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46033 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46034 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46035 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46036 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46037 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46041 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46042 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46043 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46045 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46046 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46047 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46048 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46049 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46050 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46051 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46052 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46053 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46054 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46055 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46056 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46058 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46059 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46061 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46062 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46063 * sysdeps/sparc/elf/configure: Regenerated.
46065 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46067 * configure.in (AS, LD): Require binutils 2.20 or later.
46068 * configure: Regenerated.
46069 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46070 as required minimum version.
46071 * INSTALL: Regenerated.
46075 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46076 before squaring exponent.
46077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46078 bottom long double and 27 bits of top long double before squaring
46080 * math/libm-test.inc (erfc_test): Add more tests.
46081 * sysdeps/i386/fpu/libm-test-ulps: Update.
46082 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46085 2012-03-01 Kai Tietz <ktietz@redhat.com>
46087 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46088 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46089 containing bit-fields.
46090 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46091 * soft-fp/single.h (_FP_UNION_S): Likewise.
46092 * soft-fp/double.h (_FP_UNION_D): Likewise.
46094 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46097 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46098 not include ../strcmp.S.
46099 [USE_AS_STRNCASECMP_L]: Likewise.
46100 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46101 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46102 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46103 (__strncasecmp_l_ia32): Define as alias to
46104 __strncasecmp_l_nonascii.
46107 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46108 * sysdeps/i386/fpu/libm-test-ulps: Update.
46109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46111 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46114 2012-02-29 Jeff Law <law@redhat.com>
46116 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46117 out of bounds read.
46119 2012-02-29 Marek Polacek <polacek@redhat.com>
46122 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46123 * elf/Makefile: Add rules to run tst-unused-dep.out.
46125 2012-02-28 David S. Miller <davem@davemloft.net>
46127 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46128 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46129 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46130 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46131 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46132 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46134 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46136 * math/libm-test.inc (llround_test): Move one test from
46137 lround_test. Use TEST_f_L in moved test.
46138 (lround_test): Move misplaced test to llround_test. Add testcase
46141 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46143 * sysdeps/x86_64/fpu/e_expf.S: New file.
46144 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46146 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46149 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46150 of remain_len that may cause incomplete multi-byte character and
46152 * posix/bug-regex33.c: New file.
46153 * posix/Makefile (tests): Add bug-regex33.
46155 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46157 * manual/macros.texi: New file.
46158 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46159 * manual/libc.texinfo: Include macros.texi.
46160 * manual/creatute.texi: Likewise.
46161 * manual/install.texi: Likewise.
46162 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46163 @glibcadj{} in references to the GNU C Library.
46164 * manual/charset.texi: Likewise.
46165 * manual/conf.texi: Likewise.
46166 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46167 when not using those macros.
46168 * manual/creature.texi: Likewise.
46169 * manual/crypt.texi: Likewise.
46170 * manual/errno.texi: Likewise.
46171 * manual/filesys.texi: Likewise.
46172 * manual/header.texi: Likewise.
46173 * manual/install.texi: Likewise.
46174 * manual/intro.texi: Likewise.
46175 * manual/io.texi: Likewise.
46176 * manual/job.texi: Likewise.
46177 * manual/lang.texi: Likewise.
46178 * manual/libc.texiinfo: Likewise.
46179 * manual/llio.texi: Likewise.
46180 * manual/locale.texi: Likewise.
46181 * manual/maint.texi: Likewise.
46182 * manual/math.texi: Likewise.
46183 * manual/memory.texi: Likewise.
46184 * manual/message.texi: Likewise.
46185 * manual/nss.texi: Likewise.
46186 * manual/pattern.texi: Likewise.
46187 * manual/process.texi: Likewise.
46188 * manual/resource.texi: Likewise.
46189 * manual/search.texi: Likewise.
46190 * manual/setjmp.texi: Likewise.
46191 * manual/signal.texi: Likewise.
46192 * manual/socket.texi: Likewise.
46193 * manual/startup.texi: Likewise.
46194 * manual/stdio.texi: Likewise.
46195 * manual/string.texi: Likewise.
46196 * manual/sysinfo.texi: Likewise.
46197 * manual/syslog.texi: Likewise.
46198 * manual/terminal.texi: Likewise.
46199 * manual/time.texi: Likewise.
46200 * manual/users.texi: Likewise.
46201 * INSTALL: Regenerated.
46202 * NOTES: Regenerated.
46203 * sysdeps/gnu/errlist.c: Regenerated.
46205 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46207 * include/dirent.h: Include <dirstream.h> before
46210 2012-02-28 David S. Miller <davem@davemloft.net>
46212 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46213 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46214 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46215 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46217 2012-02-27 David S. Miller <davem@davemloft.net>
46219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46221 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46222 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46225 frame pointer instead of stack pointer relative arg slot.
46226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46227 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46228 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46230 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46233 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46235 2012-02-27 David S. Miller <davem@davemloft.net>
46237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46241 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46242 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46243 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46244 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46246 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46248 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46249 later. Allow versions 5-9.
46250 * configure: Regenerated.
46251 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46252 required minimum version and 4.6 as recommended version. Do not
46253 mention bugs in GCC 2.7 and 2.8.
46254 * INSTALL: Regenerated.
46256 2012-02-27 David S. Miller <davem@davemloft.net>
46258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46262 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46263 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46264 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46265 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46268 manipulate bits before adding and subtracting TWO112[sx].
46269 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46271 2012-02-27 Roland McGrath <roland@hack.frob.com>
46274 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46275 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46276 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46277 being in POSIX, because they are in 1003.1-2008.
46279 * rt/tst-aio.c: Include <fcntl.h>.
46280 * rt/tst-aio7.c: Likewise.
46281 * rt/tst-aio64.c: Likewise.
46283 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46285 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46287 * manual/install.texi (--with-headers): Describe headers as
46288 interface headers, not private headers.
46289 (Specific advice for GNU/Linux systems): Describe use of headers
46290 from "make headers_install", not private headers from older
46292 * INSTALL: Regenerated.
46293 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46295 * sysdeps/unix/sysv/linux/configure: Regenerated.
46297 * manual/llio.texi (fclean): Remove documentation.
46299 * manual/Makefile (libc-texi-generated): New variable. Include
46301 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46302 $(libc-texi-generated), not duplicated list of files.
46303 (version.texi, stamp-version): New rules.
46304 (realclean): Remove $(libc-texi-generated), not individual files
46305 from that list. Do not remove dir-add.texinfo.
46306 * manual/libc.texinfo: Comment out uses of edition numbers and
46307 references to printed manual. Remove last-updated dates.
46308 (EDITION): Comment out.
46310 (VERSION, UPDATED): Remove.
46311 (version.texi): Include.
46313 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46315 * sysdeps/posix/spawni.c: Include <signal.h>.
46316 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46317 * sysdeps/pthread/aio_fsync.c: Likewise.
46319 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46321 * conform/Makefile (tests): Run only when not cross-compiling and
46322 when fast-check is not defined.
46324 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46325 * conform/data/limits.h-data: Fixes for POSIX2008.
46326 * conform/run-conformtest.sh: Run all tests.
46327 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46329 * include/bits/dlfcn.h: Likewise.
46330 * include/langinfo.h: Likewise.
46331 * include/monetary.h: Likewise.
46332 * include/sys/poll.h: Likewise.
46334 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46336 * posix/spawn.h: Define __need_sigset_t.
46337 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46338 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46339 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46340 to get sigevent_t only.
46341 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46342 only for __USE_GNU.
46343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46344 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46345 process_vm_writev only for __USE_GNU.
46346 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46348 * conform/Makefile: For now ignore errors from run-conformtest.
46349 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46350 POSIX to avoid namespace pollution. Don't prepend headers.
46351 * conform/data/aio.h-data: Fixes for POSIX testing.
46352 * conform/data/fcntl.h-data: Likewise.
46353 * conform/data/glob.h-data: Likewise.
46354 * conform/data/grp.h-data: Likewise.
46355 * conform/data/pthread.h-data: Likewise.
46356 * conform/data/pwd.h-data: Likewise.
46357 * conform/data/signal.h-data: Likewise.
46358 * conform/data/spawn.h-data: Likewise.
46359 * conform/data/stdio.h-data: Likewise.
46360 * conform/data/stdlib.h-data: Likewise.
46361 * conform/data/stropts.h-data: Likewise.
46362 * conform/data/sys/mman.h-data: Likewise.
46363 * conform/data/sys/stat.h-data: Likewise.
46364 * conform/data/sys/types.h-data: Likewise.
46365 * conform/data/sys/wait.h-data: Likewise.
46366 * conform/data/time.h-data: Likewise.
46367 * conform/data/unistd.h-data: Likewise.
46368 * conform/data/utime.h-data: Likewise.
46370 * io/sys/stat.h: fchmod was always in POSIX.
46371 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46372 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46373 * rt/aio.h: Define __need_timespec before including <time.h>.
46374 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46375 struct. Add forward declaration of pthread_attr_t and use it in
46377 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46378 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46379 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46380 always remove CLK_TCK definition.
46382 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46384 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46386 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46388 * conform/run-conformtest.sh: New file.
46389 * conform/Makefile: Run run-conformtest for tests.
46390 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46393 * conform/data/uchar.h-data: New file.
46394 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46395 * conform/data/arpa/inet.h-data: Likewise.
46396 * conform/data/assert.h-data: Likewise.
46397 * conform/data/complex.h-data: Likewise.
46398 * conform/data/cpio.h-data: Likewise.
46399 * conform/data/ctype.h-data: Likewise.
46400 * conform/data/dirent.h-data: Likewise.
46401 * conform/data/dlfcn.h-data: Likewise.
46402 * conform/data/errno.h-data: Likewise.
46403 * conform/data/fcntl.h-data: Likewise.
46404 * conform/data/float.h-data: Likewise.
46405 * conform/data/fmtmsg.h-data: Likewise.
46406 * conform/data/fnmatch.h-data: Likewise.
46407 * conform/data/ftw.h-data: Likewise.
46408 * conform/data/glob.h-data: Likewise.
46409 * conform/data/grp.h-data: Likewise.
46410 * conform/data/iconv.h-data: Likewise.
46411 * conform/data/inttypes.h-data: Likewise.
46412 * conform/data/langinfo.h-data: Likewise.
46413 * conform/data/libgen.h-data: Likewise.
46414 * conform/data/limits.h-data: Likewise.
46415 * conform/data/locale.h-data: Likewise.
46416 * conform/data/math.h-data: Likewise.
46417 * conform/data/monetary.h-data: Likewise.
46418 * conform/data/mqueue.h-data: Likewise.
46419 * conform/data/ndbm.h-data: Likewise.
46420 * conform/data/net/if.h-data: Likewise.
46421 * conform/data/netdb.h-data: Likewise.
46422 * conform/data/netinet/in.h-data: Likewise.
46423 * conform/data/nl_types.h-data: Likewise.
46424 * conform/data/poll.h-data: Likewise.
46425 * conform/data/pthread.h-data: Likewise.
46426 * conform/data/pwd.h-data: Likewise.
46427 * conform/data/regex.h-data: Likewise.
46428 * conform/data/sched.h-data: Likewise.
46429 * conform/data/search.h-data: Likewise.
46430 * conform/data/semaphore.h-data: Likewise.
46431 * conform/data/setjmp.h-data: Likewise.
46432 * conform/data/signal.h-data: Likewise.
46433 * conform/data/spawn.h-data: Likewise.
46434 * conform/data/stdarg.h-data: Likewise.
46435 * conform/data/stdio.h-data: Likewise.
46436 * conform/data/stdlib.h-data: Likewise.
46437 * conform/data/string.h-data: Likewise.
46438 * conform/data/strings.h-data: Likewise.
46439 * conform/data/stropts.h-data: Likewise.
46440 * conform/data/sys/ipc.h-data: Likewise.
46441 * conform/data/sys/mman.h-data: Likewise.
46442 * conform/data/sys/msg.h-data: Likewise.
46443 * conform/data/sys/resource.h-data: Likewise.
46444 * conform/data/sys/select.h-data: Likewise.
46445 * conform/data/sys/sem.h-data: Likewise.
46446 * conform/data/sys/shm.h-data: Likewise.
46447 * conform/data/sys/socket.h-data: Likewise.
46448 * conform/data/sys/stat.h-data: Likewise.
46449 * conform/data/sys/statvfs.h-data: Likewise.
46450 * conform/data/sys/time.h-data: Likewise.
46451 * conform/data/sys/timeb.h-data: Likewise.
46452 * conform/data/sys/times.h-data: Likewise.
46453 * conform/data/sys/types.h-data: Likewise.
46454 * conform/data/sys/uio.h-data: Likewise.
46455 * conform/data/sys/un.h-data: Likewise.
46456 * conform/data/sys/utsname.h-data: Likewise.
46457 * conform/data/sys/wait.h-data: Likewise.
46458 * conform/data/syslog.h-data: Likewise.
46459 * conform/data/tar.h-data: Likewise.
46460 * conform/data/termios.h-data: Likewise.
46461 * conform/data/utime.h-data: Likewise.
46462 * conform/data/utmpx.h-data: Likewise.
46463 * conform/data/varargs.h-data: Likewise.
46464 * conform/data/wchar.h-data: Likewise.
46465 * conform/data/wctype.h-data: Likewise.
46466 * conform/data/wordexp.h-data: Likewise.
46468 * include/stropts.h: New file.
46469 * include/uchar.h: New file.
46470 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46471 * include/assert.h: Likewise.
46472 * include/ctype.h: Likewise.
46473 * include/dirent.h: Likewise.
46474 * include/dlfcn.h: Likewise.
46475 * include/fcntl.h: Likewise.
46476 * include/fnmatch.h: Likewise.
46477 * include/glob.h: Likewise.
46478 * include/grp.h: Likewise.
46479 * include/libio.h: Likewise.
46480 * include/locale.h: Likewise.
46481 * include/math.h: Likewise.
46482 * include/net/if.h: Likewise.
46483 * include/netdb.h: Likewise.
46484 * include/netinet/in.h: Likewise.
46485 * include/pthread.h: Likewise.
46486 * include/pwd.h: Likewise.
46487 * include/regex.h: Likewise.
46488 * include/sched.h: Likewise.
46489 * include/search.h: Likewise.
46490 * include/setjmp.h: Likewise.
46491 * include/signal.h: Likewise.
46492 * include/stdio.h: Likewise.
46493 * include/stdlib.h: Likewise.
46494 * include/string.h: Likewise.
46495 * include/sys/cdefs.h: Likewise.
46496 * include/sys/mman.h: Likewise.
46497 * include/sys/msg.h: Likewise.
46498 * include/sys/resource.h: Likewise.
46499 * include/sys/select.h: Likewise.
46500 * include/sys/socket.h: Likewise.
46501 * include/sys/stat.h: Likewise.
46502 * include/sys/statvfs.h: Likewise.
46503 * include/sys/time.h: Likewise.
46504 * include/sys/times.h: Likewise.
46505 * include/sys/uio.h: Likewise.
46506 * include/sys/utsname.h: Likewise.
46507 * include/sys/wait.h: Likewise.
46508 * include/termios.h: Likewise.
46509 * include/time.h: Likewise.
46510 * include/ulimit.h: Likewise.
46511 * include/unistd.h: Likewise.
46512 * include/utime.h: Likewise.
46513 * include/wchar.h: Likewise.
46514 * include/wctype.h: Likewise.
46515 * include/wordexp.h: Likewise.
46517 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46519 * time/time.h: TIME_UTC must be a macro.
46520 Make timespec_get available for ISO C11 only as well.
46522 2012-02-24 Ulrich Drepper <drepper@gmail.com>
46524 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46525 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46527 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46529 * configure.in: Use -o not -a in test for unsupported multi-arch.
46531 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46533 * manual/texinfo.tex: Update to version 2012-01-19.16.
46535 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46537 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46539 2012-02-24 Roland McGrath <roland@hack.frob.com>
46542 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46543 * manual/fdl-1.3.texi: New file.
46544 * manual/fdl-1.1.texi: File removed.
46547 * manual/libc.texinfo (FDL_VERSION): New @set.
46548 Use it for mention of FDL in cover text.
46549 (Documentation License): Use it in @include file name.
46551 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46552 Roland McGrath <roland@hack.frob.com>
46555 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46556 (not LONG_LONG_MAX and LONG_LONG_MIN.
46557 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46558 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46560 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46562 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46566 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46567 manipulate bits before adding and subtracting TWO23[sx].
46568 * math/libm-test.inc (nearbyint_test): Add more tests.
46570 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46573 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46574 bits before adding and subtracting TWO23[sx].
46575 * math/libm-test.inc (rint_test): Add more tests.
46576 (rint_test_tonearest): Likewise.
46577 (rint_test_towardzero): Likewise.
46578 (rint_test_downward): Likewise.
46579 (rint_test_upward: Likewise.
46581 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46584 * include/stdc-predef.h: New file. Extracted from features.h.
46585 * include/features.h: Include stdc-predef.h.
46586 * Makefile (headers): Add stdc-predef.h.
46587 * CONFORMANCE (Compiler limitations): Update.
46589 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46591 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46593 2012-02-21 David S. Miller <davem@davemloft.net>
46595 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46596 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46598 2012-02-20 David S. Miller <davem@davemloft.net>
46600 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46601 using a normal save/restore sequence, rather than allocating a
46602 dummy stack frame just to store a frame pointer and restore.
46603 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46605 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46607 * manual/install.texi: Fix stray word in line-wrapped comment.
46609 2012-02-20 David S. Miller <davem@davemloft.net>
46611 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46612 both binutils and gcc support GOTDATA.
46614 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46615 "rd %pc" in the PIC register setup sequences.
46617 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46618 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46619 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46620 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46621 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46622 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46623 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46624 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46625 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46626 (SYSCALL_ERROR_HANDLER): Likewise.
46627 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46628 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46629 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46630 (SYSCALL_ERROR_HANDLER): Likewise.
46632 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46633 (HAVE_GCC_GOTDATA): New.
46634 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46635 relocation support in both binutils and gcc.
46636 * sysdeps/sparc/elf/configure: Regenerate.
46638 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46639 * sysdeps/sparc/sparc32/elf/configure: Delete.
46640 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46641 * sysdeps/sparc/sparc64/elf/configure: Delete.
46642 * sysdeps/sparc/elf/configure.in: New file.
46643 * sysdeps/sparc/elf/configure: Generate.
46645 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46646 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46647 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46648 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46649 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46651 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46653 * manual/install.texi: Do not mention specific glibc version
46655 * manual/libc.texinfo (VERSION, UPDATED): Update.
46656 (@copying): Use @copyright{} and range of years.
46658 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46661 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46662 [crti.S not in sysdirs] (generated): Do not append.
46663 [crti.S not in sysdirs] (omit-deps): Likewise.
46664 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46665 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46666 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46667 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46668 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46670 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46671 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46672 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46673 * csu/defs.awk: Remove file.
46674 * sysdeps/generic/initfini.c: Likewise.
46675 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46677 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46680 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46682 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46683 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46684 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46685 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46686 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46687 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46689 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46690 (__EPOLL_PACKED): Define to empty if not defined by
46692 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46696 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46698 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46699 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46700 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46701 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46703 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46707 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46709 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46712 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46713 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46716 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46718 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46719 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46721 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46723 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46724 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46726 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46728 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46731 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46733 * math/w_acos.c: Use non-signaling floating-point comparisons.
46734 * math/w_acosf.c: Likewise.
46735 * math/w_acosh.c: Likewise.
46736 * math/w_acoshf.c: Likewise.
46737 * math/w_acoshl.c: Likewise.
46738 * math/w_acosl.c: Likewise.
46739 * math/w_asin.c: Likewise.
46740 * math/w_asinf.c: Likewise.
46741 * math/w_asinl.c: Likewise.
46742 * math/w_atanh.c: Likewise.
46743 * math/w_atanhf.c: Likewise.
46744 * math/w_atanhl.c: Likewise.
46745 * math/w_exp2.c: Likewise.
46746 * math/w_exp2f.c: Likewise.
46747 * math/w_exp2l.c: Likewise.
46748 * math/w_j0.c: Likewise.
46749 * math/w_j0f.c: Likewise.
46750 * math/w_j0l.c: Likewise.
46751 * math/w_j1.c: Likewise.
46752 * math/w_j1f.c: Likewise.
46753 * math/w_j1l.c: Likewise.
46754 * math/w_jn.c: Likewise.
46755 * math/w_jnf.c: Likewise.
46756 * math/w_log.c: Likewise.
46757 * math/w_log10.c: Likewise.
46758 * math/w_log10f.c: Likewise.
46759 * math/w_log10l.c: Likewise.
46760 * math/w_log2.c: Likewise.
46761 * math/w_log2f.c: Likewise.
46762 * math/w_log2l.c: Likewise.
46763 * math/w_logf.c: Likewise.
46764 * math/w_logl.c: Likewise.
46765 * math/w_sqrt.c: Likewise.
46766 * math/w_sqrtf.c: Likewise.
46767 * math/w_sqrtl.c: Likewise.
46768 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46769 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46770 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46771 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46772 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46774 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46777 * manual/string.texi (strnlen): Use correct parameter name in
46778 equivalent expression.
46780 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46783 * manual/users.texi (seteuid): Consistently use neweuid for
46786 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46789 * manual/nss.texi (Services in the NSS configuration): Correct
46790 list of services in example configuration file.
46792 2012-02-19 Nick Bowler <nbowler@draconx.ca>
46795 * manual/arith.texi: Remove statements about negative zero
46796 behaving identically to zero.
46798 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46801 * manual/install.texi: Do not document upgrading from libc5.
46803 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46806 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46808 2012-02-18 David S. Miller <davem@davemloft.net>
46810 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46811 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46812 %o7 across the call.
46813 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46816 SETUP_PIC_REG_LEAF.
46817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46818 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46819 * sysdeps/sparc/crtn.S: Likewise.
46821 2012-02-17 Ulrich Drepper <drepper@gmail.com>
46823 * aout/Makefile: Remove.
46825 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46828 * manual/examples/argp-ex1.c (main): Format definition in GNU
46830 * manual/examples/argp-ex2.c (main): Likewise.
46831 * manual/examples/argp-ex3.c (main): Likewise.
46832 * manual/examples/argp-ex4.c (main): Likewise.
46833 * manual/examples/longopt.c (main): Use new-style prototype
46835 * manual/examples/strncat.c (main): Specify return type and use
46836 (void) for arguments.
46837 * manual/examples/subopt.c (main): Use char **argv argument.
46839 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46842 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46845 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46848 * manual/string.texi (strchr): Change when strchrnul is
46851 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46854 * manual/locale.texi (setlocale): Document LOCPATH.
46856 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46859 * manual/process.texi (execle): Move @dots{} before last argument.
46861 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
46864 * manual/charset.texi (Generic Charset Conversion): Fix typo
46865 (LC_TYPE -> LC_CTYPE).
46867 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46870 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46871 (scalbnf): Likewise.
46872 (scalbnl): Likewise.
46873 (scalbln): Likewise.
46874 (scalblnf): Likewise.
46875 (scalblnl): Likewise.
46876 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46877 (vwarnx): Likewise.
46880 * manual/filesys.texi (telldir): Use braces around return type.
46881 * manual/llio.texi (mmap): Add space after comma.
46882 (mmap64): Likewise.
46883 * manual/math.texi (jn): Use @var{} on parameter names.
46889 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46891 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46893 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46894 (sched_get_priority_max): Likewise.
46895 * manual/signal.texi (sigvec): Add space after comma.
46896 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46898 (if_indextoname): Likewise.
46899 (if_freenameindex): Likewise.
46900 (sendto): Use ',' instead of '.' in prototype.
46901 * manual/startup.texi (syscall): Use @dots{} instead of literal
46903 * manual/stdio.texi (__fpending): Separate initial words of
46904 paragraph from @deftypefun line.
46905 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46907 (vsyslog): Use @var{} on parameter names.
46908 * manual/terminal.texi (stty): Use @var{} on parameter names.
46909 * manual/users.texi (getutmp): Use @var{} on parameter names.
46910 (getutmpx): Likewise.
46912 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46915 * manual/stdio.texi (fopen): Fix typos in description of
46918 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46921 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46922 get clock_id definition.
46924 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
46927 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46928 (madvise): Cast every argument to void on its own.
46930 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46933 * manual/startup.texi (Exit Status): Fix typo.
46935 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46938 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46939 * manual/examples/argp-ex2.c: Likewise.
46940 * manual/examples/argp-ex3.c: Likewise.
46942 2012-02-16 Richard Henderson <rth@redhat.com>
46944 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46945 * sysdeps/s390/s390-32/initfini.c: Remove.
46946 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46947 * sysdeps/s390/s390-64/initfini.c: Remove.
46949 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46951 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46952 compiler output for sysdeps/generic/initfini.c.
46953 * sysdeps/sh/elf/initfini.c: Remove file.
46955 2012-02-16 David S. Miller <davem@davemloft.net>
46958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46960 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46961 * sysdeps/sparc/crti.S: New file.
46962 * sysdeps/sparc/crtn.S: New file.
46963 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46964 * sysdeps/sparc/sparc64/Makefile: Likewise.
46966 2012-02-15 Mike Frysinger <vapier@gentoo.org>
46969 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46971 2012-02-15 Roland McGrath <roland@hack.frob.com>
46974 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46976 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46977 (write, read, close): Likewise.
46978 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46980 2012-02-15 Joseph Myers <joseph@codesourcery.com>
46982 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46983 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46984 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46985 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46987 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46991 2012-02-14 Marek Polacek <polacek@redhat.com>
46993 * sysdeps/x86_64/crti.S: New file.
46994 * sysdeps/x86_64/crtn.S: New file.
46995 * sysdeps/x86_64/elf/initfini.c: Remove file.
46997 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46999 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47000 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47001 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47002 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47004 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47008 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47010 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47011 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47012 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47013 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47015 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47019 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47021 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47022 __feraiseexcept instead of feraiseexcept.
47024 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47025 nanosleep invocations.
47026 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47027 strings, and add error checking for a nanosleep invocations.
47029 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47031 Replace FSF snail mail address with URLs, as per GNU coding standards.
47032 Most of the snail mail addresses were wrong anyway, and omitting
47033 them makes the source code easier to maintain. Almost all of the
47034 changes are to license notices and to locale LC_IDENTIFICATION
47035 addresses, except for this one:
47036 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47037 not its snail mail address.
47039 2012-02-09 Richard Henderson <rth@twiddle.net>
47041 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47042 of kernel-features.h.
47044 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47046 2012-02-08 Marek Polacek <polacek@redhat.com>
47048 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47049 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47050 * sysdeps/gnu/_G_config.h: Likewise.
47051 * sysdeps/generic/_G_config.h: Likewise.
47053 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47055 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47059 * sysdeps/powerpc/powerpc32/crti.S: New file.
47060 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47061 * sysdeps/powerpc/powerpc64/crti.S: New file.
47062 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47064 * Makeconfig (have-initfini): Don't set.
47065 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47066 * configure.in (nopic_initfini): Don't substitute.
47067 * config.h.in (HAVE_INITFINI): Don't #undef.
47068 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47069 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47071 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47073 Support crti.S and crtn.S provided directly by architectures.
47074 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47075 [crti.S in sysdirs] (omit-deps): Likewise.
47076 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47077 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47078 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47079 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47080 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47081 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47082 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47083 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47084 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47085 compiler output for sysdeps/generic/initfini.c.
47086 * sysdeps/i386/elf/Makefile: Remove file.
47087 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47089 2012-02-07 Marek Polacek <polacek@redhat.com>
47091 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47092 * sysdeps/gnu/_G_config.h: Likewise.
47093 * sysdeps/mach/hurd/_G_config.h: Likewise.
47095 2012-02-07 Marek Polacek <polacek@redhat.com>
47097 * math/Makefile (tests): Add tst-CMPLX2.
47098 * math/tst-CMPLX2.c: New file.
47100 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47102 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47104 * math/libm-test.inc (jn_test): Add missing L suffix.
47106 2012-02-06 Marek Polacek <polacek@redhat.com>
47108 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47109 * sysdeps/i386/fpu/e_powf.S: Likewise.
47110 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47111 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47112 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47113 * sysdeps/i386/fpu/e_pow.S: Likewise.
47114 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47115 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47116 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47117 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47118 * sysdeps/i386/fpu/e_log2.S: Likewise.
47119 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47120 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47121 * sysdeps/i386/fpu/e_powl.S: Likewise.
47122 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47123 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47124 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47125 * sysdeps/i386/fpu/e_logl.S: Likewise.
47126 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47127 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47128 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47129 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47130 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47131 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47132 * sysdeps/i386/fpu/e_log.S: Likewise.
47133 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47134 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47135 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47136 * sysdeps/i386/fpu/e_logf.S: Likewise.
47137 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47138 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47139 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47140 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47141 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47142 * sysdeps/i386/fpu/e_log10.S: Likewise.
47143 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47144 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47145 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47146 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47147 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47148 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47149 * sysdeps/i386/asm-syntax.h: Likewise.
47150 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47151 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47152 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47153 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47154 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47155 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47156 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47157 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47158 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47159 * sysdeps/powerpc/sysdep.h: Likewise.
47160 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47161 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47163 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47166 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47168 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47170 * sysdeps/i386/sysdep.h: Include <features.h>.
47171 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47174 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47176 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47178 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47181 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47183 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47184 (SETUP_PIC_REG): Use GET_PC_THUNK.
47185 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47188 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47190 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47191 for non-PIC compilation.
47192 (SETUP_PIC_REG): Add .p2align directive.
47193 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47194 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47195 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47196 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47197 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47198 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47199 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47200 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47201 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47202 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47203 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47204 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47205 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47206 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47207 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47208 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47209 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47210 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47211 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47212 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47213 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47214 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47215 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47216 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47217 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47218 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47219 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47220 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47221 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47222 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47223 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47224 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47225 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47226 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47227 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47228 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47229 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47230 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47231 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47232 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47233 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47235 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47237 * math/tst-CMPLX.c: Include <stdio.h>.
47239 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47241 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47243 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47244 * sysdeps/sparc/bits/mathdef.h: Likewise.
47246 2012-01-31 Marek Polacek <polacek@redhat.com>
47248 * libio/libio.h: Don't define _PARAMS.
47249 * locale/programs/config.h: Don't define PARAMS.
47250 * stdlib/strtol_l.c: Likewise.
47251 (__strtol_l): Remove PARAMS from the prototype.
47253 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47255 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47256 names. Just use the correct names. Remove unnecessary wrapper
47258 * malloc/arena.c: Likewise.
47259 * malloc/hooks.c: Likewise.
47261 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47262 ARENA_TEST says not to. Simplify test for creation of a new arena.
47263 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47265 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47267 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47269 (update_get_addr): New function.
47270 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47271 GET_ADDR_MODULE parameter.
47273 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47275 * crypt/cert.c: Remove __STDC__ conditionals.
47276 * crypt/crypt-entry.c: Likewise.
47277 * crypt/crypt_util.c: Likewise.
47278 * libio/filedoalloc.c: Likewise.
47279 * libio/fileops.c: Likewise.
47280 * libio/genops.c: Likewise.
47281 * libio/iofclose.c: Likewise.
47282 * libio/iofdopen.c: Likewise.
47283 * libio/iofopen.c: Likewise.
47284 * libio/iofopen64.c: Likewise.
47285 * libio/iogetdelim.c: Likewise.
47286 * libio/iopopen.c: Likewise.
47287 * libio/obprintf.c: Likewise.
47288 * libio/oldfileops.c: Likewise.
47289 * libio/oldiofclose.c: Likewise.
47290 * libio/oldiofdopen.c: Likewise.
47291 * libio/oldiofopen.c: Likewise.
47292 * libio/oldiopopen.c: Likewise.
47293 * libio/wfiledoalloc.c: Likewise.
47294 * libio/wgenops.c: Likewise.
47295 * locale/programs/xmalloc.c: Likewise.
47296 * misc/syslog.c: Likewise.
47297 * stdio-common/xbug.c: Likewise.
47298 * string/memchr.c: Likewise.
47299 * string/memcmp.c: Likewise.
47300 * string/memrchr.c: Likewise.
47301 * string/rawmemchr.c: Likewise.
47302 * sysdeps/posix/getcwd.c: Likewise.
47303 * time/strftime_l.c: Likewise.
47305 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47307 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47308 * config.make.in (config-cflags-sse2avx): Define.
47309 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47312 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47314 * scripts/config.guess: Update from upstream config git repository.
47315 * scripts/config.sub: Likewise.
47317 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47319 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47321 (R_TILEPRO_*, R_TILEGX_*): New macros.
47323 * scripts/firstversions.awk: Fix bug in version range handling.
47325 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47327 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47329 * include/sys/epoll.h: New file.
47330 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47333 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47335 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47336 Avoid unnecessary __WORDSIZE == 64 test.
47337 (fmaxf): Use VEX format if possible.
47342 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47343 * math/math_private.h: Remove libc_fegetround* and
47345 * sysdeps/i386/configure.in: Check for -msse2avx.
47346 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47347 also if SSE2AVX is defined.
47348 Remove libc_fegetround* and libc_fesetround*.
47349 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47350 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47351 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47353 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47354 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47355 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47356 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47357 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47359 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47361 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47363 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47365 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47367 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47370 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47372 * Makeconfig (libm): Define.
47373 * elf/Makefile: Add rules to build and run tst-relsort1.
47374 * elf/tst-relsort1.c: New file.
47375 * elf/tst-relsort1mod1.c: New file.
47376 * elf/tst-relsort1mod2.c: New file.
47378 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47380 * math/s_ldexp.c: Remove __STDC__ conditionals.
47381 * math/s_ldexpf.c: Likewise.
47382 * math/s_ldexpl.c: Likewise.
47383 * math/s_nextafter.c: Likewise.
47384 * math/s_nexttowardf.c: Likewise.
47385 * math/s_significand.c: Likewise.
47386 * math/s_significandf.c: Likewise.
47387 * math/s_significandl.c: Likewise.
47388 * math/w_jnl.c: Likewise.
47389 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47390 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47391 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47392 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47393 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47395 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47396 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47397 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47398 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47399 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47400 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47401 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47402 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47403 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47404 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47405 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47406 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47408 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47409 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47410 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47411 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47412 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47413 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47414 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47415 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47416 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47417 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47418 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47419 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47420 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47421 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47422 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47423 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47424 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47425 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47426 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47427 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47428 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47429 * sysdeps/ieee754/k_standard.c: Likewise.
47430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47431 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47432 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47433 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47434 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47435 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47436 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47437 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47438 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47439 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47440 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47441 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47442 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47443 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47444 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47445 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47446 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47447 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47448 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47449 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47450 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47451 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47452 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47453 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47454 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47455 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47456 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47459 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47460 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47461 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47462 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47463 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47464 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47465 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47466 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47467 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47468 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47469 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47470 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47471 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47472 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47473 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47474 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47475 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47476 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47477 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47478 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47479 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47480 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47481 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47482 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47483 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47484 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47485 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47486 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47487 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47488 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47489 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47490 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47491 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47492 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47493 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47494 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47495 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47496 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47497 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47498 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47499 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47500 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47501 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47502 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47503 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47504 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47505 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47506 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47507 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47508 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47509 * sysdeps/ieee754/s_matherr.c: Likewise.
47510 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47511 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47512 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47513 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47515 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47517 * crypt/md5.h: Remove __STDC__ conditionals.
47518 * libio/libioP.h: Likewise.
47519 * locale/programs/config.h: Likewise.
47520 * sysdeps/generic/sysdep.h: Likewise.
47521 * sysdeps/i386/asm-syntax.h: Likewise.
47522 * sysdeps/s390/asm-syntax.h: Likewise.
47523 * sysdeps/unix/sysdep.h: Likewise.
47524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47527 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47529 * libio/libio.h: Remove __STDC__ conditionals.
47530 * malloc/obstack.h: Likewise.
47531 * math/complex.h: Likewise.
47532 * math/math.h: Likewise.
47533 * sysdeps/generic/_G_config.h: Likewise.
47534 * sysdeps/gnu/_G_config.h: Likewise.
47535 * sysdeps/mach/hurd/_G_config.h: Likewise.
47536 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47537 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47538 * sysdeps/sparc/bits/mathdef.h: Likewise.
47540 2012-01-26 Ulrich Drepper <drepper@gmail.com>
47543 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47544 Clean up HAS_* macros.
47545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47546 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47548 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47550 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47551 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47552 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47553 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47554 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47556 2012-01-25 Joseph Myers <joseph@codesourcery.com>
47558 * elf/tst-unique3.cc (gets): Remove declaration.
47559 * elf/tst-unique3lib.cc (gets): Likewise.
47560 * elf/tst-unique3lib2.cc (gets): Likewise.
47561 * elf/tst-unique4.cc (gets): Likewise.
47563 2012-01-24 Ulrich Drepper <drepper@gmail.com>
47565 * include/stdio.h: Add C++ protection. Add gets declarations and
47567 * debug/tst-chk1.c: Don't declare gets here.
47568 * stdio-common/tst-gets.c: Likewise.
47570 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47572 * posix/glob: Remove directory.
47574 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47576 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47578 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
47580 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47581 of the non-standard EPFNOSUPPORT.
47583 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47585 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47586 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47587 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47589 2012-01-21 Ulrich Drepper <drepper@gmail.com>
47591 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47593 2012-01-20 Ulrich Drepper <drepper@gmail.com>
47595 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47597 * nscd/grpcache.c (cache_addgr): Likewise.
47598 * nscd/hstcache.c (cache_addhst): Likewise.
47599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47600 * nscd/pwdcache.c (cache_addpw): Likewise.
47601 * nscd/servicescache.c (cache_addserv): Likewise.
47603 2012-01-16 Ulrich Drepper <drepper@gmail.com>
47605 * malloc/malloc.c: Various cleanups.
47606 * malloc/hooks.c: Likewise.
47608 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47609 * stdlib/bug-fmtmsg1.c: New file.
47611 * stdlib/fmtmsg.c (init): Add missing unlock.
47612 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47614 2012-01-12 Marek Polacek <polacek@redhat.com>
47616 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47619 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47621 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47622 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47623 macro to ensure uniqueness of label name.
47624 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47625 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47627 2012-01-11 Ulrich Drepper <drepper@gmail.com>
47629 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47631 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47632 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47633 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47636 2012-01-10 Ulrich Drepper <drepper@gmail.com>
47638 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47640 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47641 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47642 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47644 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47646 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47647 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47648 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47651 * math/bits/math-finite.h: Add ldexp support.
47653 2012-01-10 Marek Polacek <polacek@redhat.com>
47655 * locale/programs/localedef.h (show_archive_content): Add noreturn
47658 2012-01-09 Ulrich Drepper <drepper@gmail.com>
47660 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47662 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47664 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47666 * io/Makefile (headers): Add bits/poll2.h.
47668 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47671 typo #include statement.
47673 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47675 * include/sys/cdefs.h: Define __attribute_alloc_size.
47676 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47677 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47678 * elf/pldd.c: Likewise.
47679 * iconv/iconv_charmap.c: Likewise.
47680 * iconv/iconvconfig.c: Likewise.
47681 * iconv/strtab.c: Likewise.
47682 * locale/programs/locale.c: Likewise.
47683 * locale/programs/localedef.h: Likewise.
47684 * locale/programs/simple-hash.c: Likewise.
47685 * nscd/nscd.h: Likewise.
47686 * nss/makedb.c: Likewise.
47687 * sysdeps/generic/ldconfig.h: Likewise.
47688 * locale/programs/localedef.c: Remove xmalloc prototype.
47689 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47691 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47693 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47696 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47698 * math/Makefile (tests): Add tst-CMPLX.
47699 * math/tst-CMPLX.c: New file.
47701 * math/complex.h (CMPLXL): Fix typo.
47703 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47704 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47706 * debug/tst-chk1.c: Add poll and ppoll tests.
47707 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47708 * include/sys/poll.h: Add hidden proto for ppoll.
47709 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47710 * sysdeps/mach/hurd/ppoll.c: Likewise.
47711 * io/ppoll.c: Likewise.
47712 * debug/poll_chk.c: New file.
47713 * debug/ppoll_chk.c: New file.
47714 * include/bits/poll2.h: New file.
47715 * io/bits/poll2.h: New file.
47718 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47720 * configure.in: static is always set to yes. Remove.
47721 * config.make.in: Don't set build-static.
47722 * Makeconfig: Remove use of build-static.
47723 * dlfcn/Makefile: Likewise.
47724 * elf/Makefile: Likewise.
47725 * math/Makefile: Likewise.
47726 * misc/Makefile: Likewise.
47727 * nptl/Makefile: Likewise.
47728 * sysdeps/mach/hurd/Makefile: Likewise.
47730 * configure.in: PWD_P is not used anymore.
47731 * config.make.in: Remove PWD_P entry.
47733 * configure.in: Remove last remnants of RANLIB.
47734 No need to check for signed size_t anymore.
47735 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47737 Remove __builtin_expect test because we require at least gcc 3.4.
47738 * aclocal.m4: Likewise.
47740 * wcsmbs/mbrtoc16.c: Implement using towc function.
47741 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47742 * wcsmbs/wcsmbsload.c: Likewise.
47743 * iconv/gconv_simple.c: Likewise.
47744 * iconv/gconv_int.h: Likewise.
47745 * iconv/gconv_builtin.h: Likewise.
47746 * iconv/iconv_prog.c: Remove CHAR16 handling.
47748 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47750 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47752 * configure.in: Remove --with-elf and --enable-bounded options.
47753 Dont set base_machine for ia64. More non-ELF conditions removed.
47754 Remove testing and setting of leading underscore information.
47755 * config.make.in (build-bounded): Set to no.
47756 * config.h.in: Remove NO_UNDERSCORES entry.
47757 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47759 * csu/start.c: Remove !NO_UNDERSCORE code.
47760 * locale/localeinfo.h: Likewise.
47761 * sysdeps/generic/machine-gmon.h: Likewise.
47762 * sysdeps/generic/sysdep.h: Likewise.
47763 * sysdeps/i386/sysdep.h: Likewise.
47764 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47765 * sysdeps/mach/sysdep.h: Likewise.
47766 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47767 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47768 * sysdeps/sh/sysdep.h: Likewise.
47769 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47770 * sysdeps/unix/i386/sysdep.S: Likewise.
47771 * sysdeps/unix/sparc/start.c: Likewise.
47772 * sysdeps/unix/sparc/sysdep.S: Likewise.
47773 * sysdeps/unix/sparc/sysdep.h: Likewise.
47774 * sysdeps/unix/start.c: Likewise.
47775 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47776 * sysdeps/x86_64/sysdep.h: Likewise.
47778 2012-01-07 Ulrich Drepper <drepper@gmail.com>
47781 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47783 * argp/argp-fmtstream.h: Use const instead __const.
47784 * argp/argp.h: Likewise.
47785 * assert/assert.h: Likewise.
47786 * bits/fenv.h: Likewise.
47787 * bits/sched.h: Likewise.
47788 * bits/sigset.h: Likewise.
47789 * bits/sigthread.h: Likewise.
47790 * catgets/nl_types.h: Likewise.
47791 * conform/data/pthread.h-data: Likewise.
47792 * crypt/crypt-private.h: Likewise.
47793 * crypt/crypt.h: Likewise.
47794 * crypt/crypt_util.c: Likewise.
47795 * ctype/ctype.h: Likewise.
47796 * debug/execinfo.h: Likewise.
47797 * debug/mbsnrtowcs_chk.c: Likewise.
47798 * debug/mbsrtowcs_chk.c: Likewise.
47799 * debug/wcsnrtombs_chk.c: Likewise.
47800 * debug/wcsrtombs_chk.c: Likewise.
47801 * debug/wcstombs_chk.c: Likewise.
47802 * dirent/dirent.h: Likewise.
47803 * dlfcn/dlfcn.h: Likewise.
47804 * elf/neededtest4.c: Likewise.
47805 * grp/grp.h: Likewise.
47806 * gshadow/gshadow.h: Likewise.
47807 * iconv/gconv.h: Likewise.
47808 * iconv/gconv_int.h: Likewise.
47809 * iconv/gconv_simple.c: Likewise.
47810 * iconv/iconv.h: Likewise.
47811 * iconv/loop.c: Likewise.
47812 * iconv/skeleton.c: Likewise.
47813 * include/aio.h: Likewise.
47814 * include/aliases.h: Likewise.
47815 * include/argz.h: Likewise.
47816 * include/arpa/inet.h: Likewise.
47817 * include/assert.h: Likewise.
47818 * include/dirent.h: Likewise.
47819 * include/dlfcn.h: Likewise.
47820 * include/execinfo.h: Likewise.
47821 * include/fcntl.h: Likewise.
47822 * include/fenv.h: Likewise.
47823 * include/glob.h: Likewise.
47824 * include/grp.h: Likewise.
47825 * include/libintl.h: Likewise.
47826 * include/mntent.h: Likewise.
47827 * include/netdb.h: Likewise.
47828 * include/pwd.h: Likewise.
47829 * include/rpc/netdb.h: Likewise.
47830 * include/sched.h: Likewise.
47831 * include/search.h: Likewise.
47832 * include/shadow.h: Likewise.
47833 * include/signal.h: Likewise.
47834 * include/stdio.h: Likewise.
47835 * include/stdlib.h: Likewise.
47836 * include/string.h: Likewise.
47837 * include/sys/socket.h: Likewise.
47838 * include/sys/stat.h: Likewise.
47839 * include/sys/statfs.h: Likewise.
47840 * include/sys/statvfs.h: Likewise.
47841 * include/sys/syslog.h: Likewise.
47842 * include/sys/time.h: Likewise.
47843 * include/sys/uio.h: Likewise.
47844 * include/time.h: Likewise.
47845 * include/unistd.h: Likewise.
47846 * include/utmp.h: Likewise.
47847 * include/wchar.h: Likewise.
47848 * include/wctype.h: Likewise.
47849 * inet/aliases.h: Likewise.
47850 * inet/arpa/inet.h: Likewise.
47851 * inet/netinet/ether.h: Likewise.
47852 * inet/netinet/in.h: Likewise.
47853 * intl/libintl.h: Likewise.
47854 * io/bits/fcntl2.h: Likewise.
47855 * io/fcntl.h: Likewise.
47856 * io/ftw.h: Likewise.
47857 * io/sys/poll.h: Likewise.
47858 * io/sys/stat.h: Likewise.
47859 * io/sys/statfs.h: Likewise.
47860 * io/sys/statvfs.h: Likewise.
47861 * io/utime.h: Likewise.
47862 * libio/bits/stdio.h: Likewise.
47863 * libio/bits/stdio2.h: Likewise.
47864 * libio/libio.h: Likewise.
47865 * libio/libioP.h: Likewise.
47866 * libio/stdio.h: Likewise.
47867 * locale/lc-ctype.c: Likewise.
47868 * locale/locale.h: Likewise.
47869 * login/utmp.h: Likewise.
47870 * malloc/arena.c: Likewise.
47871 * malloc/malloc.c: Likewise.
47872 * malloc/malloc.h: Likewise.
47873 * malloc/mcheck.c: Likewise.
47874 * malloc/mtrace.c: Likewise.
47875 * math/bits/mathcalls.h: Likewise.
47876 * math/fenv.h: Likewise.
47877 * math/math_private.h: Likewise.
47878 * misc/bits/error.h: Likewise.
47879 * misc/bits/syslog.h: Likewise.
47880 * misc/err.h: Likewise.
47881 * misc/error.h: Likewise.
47882 * misc/fstab.h: Likewise.
47883 * misc/mntent.h: Likewise.
47884 * misc/regexp.h: Likewise.
47885 * misc/search.h: Likewise.
47886 * misc/sgtty.h: Likewise.
47887 * misc/sys/mman.h: Likewise.
47888 * misc/sys/syslog.h: Likewise.
47889 * misc/sys/uio.h: Likewise.
47890 * misc/sys/xattr.h: Likewise.
47891 * misc/ttyent.h: Likewise.
47892 * nis/rpcsvc/ypclnt.h: Likewise.
47893 * nss/nss.h: Likewise.
47894 * posix/bits/unistd.h: Likewise.
47895 * posix/fnmatch.h: Likewise.
47896 * posix/glob.h: Likewise.
47897 * posix/sched.h: Likewise.
47898 * posix/spawn.h: Likewise.
47899 * posix/sys/wait.h: Likewise.
47900 * posix/unistd.h: Likewise.
47901 * posix/wordexp.h: Likewise.
47902 * pwd/pwd.h: Likewise.
47903 * resolv/netdb.h: Likewise.
47904 * resource/sys/resource.h: Likewise.
47905 * rt/aio.h: Likewise.
47906 * rt/bits/mqueue2.h: Likewise.
47907 * rt/mqueue.h: Likewise.
47908 * shadow/shadow.h: Likewise.
47909 * signal/signal.h: Likewise.
47910 * socket/send.c: Likewise.
47911 * socket/sendto.c: Likewise.
47912 * socket/sys/socket.h: Likewise.
47913 * stdio-common/printf.h: Likewise.
47914 * stdlib/bits/stdlib.h: Likewise.
47915 * stdlib/fmtmsg.h: Likewise.
47916 * stdlib/monetary.h: Likewise.
47917 * stdlib/stdlib.h: Likewise.
47918 * stdlib/ucontext.h: Likewise.
47919 * streams/stropts.h: Likewise.
47920 * string/argz.h: Likewise.
47921 * string/bits/string2.h: Likewise.
47922 * string/string.h: Likewise.
47923 * string/strings.h: Likewise.
47924 * sunrpc/rpc/auth.h: Likewise.
47925 * sunrpc/rpc/auth_des.h: Likewise.
47926 * sunrpc/rpc/clnt.h: Likewise.
47927 * sunrpc/rpc/netdb.h: Likewise.
47928 * sunrpc/rpc/pmap_clnt.h: Likewise.
47929 * sunrpc/rpc/xdr.h: Likewise.
47930 * sysdeps/generic/inttypes.h: Likewise.
47931 * sysdeps/generic/net/if.h: Likewise.
47932 * sysdeps/generic/sys/swap.h: Likewise.
47933 * sysdeps/gnu/net/if.h: Likewise.
47934 * sysdeps/gnu/utmpx.h: Likewise.
47935 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47936 * sysdeps/i386/i486/bits/string.h: Likewise.
47937 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47938 * sysdeps/s390/bits/string.h: Likewise.
47939 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47940 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47941 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47942 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47943 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47944 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47945 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47946 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47947 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47948 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47949 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47950 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47951 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47952 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47953 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47954 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47955 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47957 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47958 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47959 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47960 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47961 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47962 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47963 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47964 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47965 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47966 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47967 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47968 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47969 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47970 * sysvipc/sys/ipc.h: Likewise.
47971 * sysvipc/sys/msg.h: Likewise.
47972 * sysvipc/sys/sem.h: Likewise.
47973 * sysvipc/sys/shm.h: Likewise.
47974 * termios/termios.h: Likewise.
47975 * time/sys/time.h: Likewise.
47976 * time/time.h: Likewise.
47977 * wcsmbs/bits/wchar2.h: Likewise.
47978 * wcsmbs/uchar.h: Likewise.
47979 * wcsmbs/wchar.h: Likewise.
47980 * wctype/wctype.h: Likewise.
47983 * Makeconfig: Remove all but ELF support including AIX support.
47984 * Makerules: Likewise.
47985 * config.h.in: Likewise.
47986 * config.make.in: Likewise.
47987 * configure: Likewise.
47988 * configure.in: Likewise.
47989 * csu/Makefile: Likewise.
47990 * csu/version.c: Likewise.
47991 * debug/Makefile: Likewise.
47992 * dlfcn/Makefile: Likewise.
47993 * elf/Makefile: Likewise.
47994 * extra-lib.mk: Likewise.
47995 * iconv/Makefile: Likewise.
47996 * include/libc-symbols.h: Likewise.
47997 * include/shlib-compat.h: Likewise.
47998 * resolv/Makefile: Likewise.
47999 * resolv/res_libc.c: Likewise.
48000 * rt/Makefile: Likewise.
48001 * sysdeps/i386/asm-syntax.h: Likewise.
48002 * sysdeps/i386/sysdep.h: Likewise.
48003 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48004 * sysdeps/mach/sysdep.h: Likewise.
48005 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48006 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48007 * sysdeps/s390/asm-syntax.h: Likewise.
48008 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48009 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48010 * sysdeps/sh/sysdep.h: Likewise.
48011 * sysdeps/unix/sparc/sysdep.h: Likewise.
48012 * sysdeps/wordsize-32/divdi3.c: Likewise.
48013 * sysdeps/x86_64/sysdep.h: Likewise.
48015 * argp/Versions: Remove _argp_unlock_xxx.
48018 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48019 * abilist/libBrokenLocale.abilist: Likewise.
48020 * abilist/libanl.abilist: Likewise.
48021 * abilist/libc.abilist: Likewise.
48022 * abilist/libcrypt.abilist: Likewise.
48023 * abilist/libdl.abilist: Likewise.
48024 * abilist/libm.abilist: Likewise.
48025 * abilist/libnsl.abilist: Likewise.
48026 * abilist/libpthread.abilist: Likewise.
48027 * abilist/libresolv.abilist: Likewise.
48028 * abilist/librt.abilist: Likewise.
48029 * abilist/libthread_db.abilist: Likewise.
48030 * abilist/libutil.abilist: Likewise.
48031 * abilist/libnss_db.abilist: New file.
48033 * scripts/abilist.awk: Add support for indirect functions.
48035 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48037 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48039 * shlib-versions: Remove entries for ports architectures.
48041 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48043 * elf/stackguard-macros.h: Remove support for IA-64.
48044 * elf/tst-auditmod1.c: Likewise.
48045 * sysdeps/generic/ldsodefs.h: Likewise.
48047 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48048 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48052 * configure.in: Remove --enable-omitfp support.
48054 * config.make.in: Likewise.
48055 * Makeconfig: Likewise.
48056 * manual/install.texi: Likewise.
48058 In case anyone cares, the IA-64 architecture could move to ports.
48059 * sysdeps/ia64/*: Removed.
48060 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48061 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48064 * configure.in: Remove entries for unsupported architectures.
48067 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48068 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48070 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48071 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48072 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48073 fall back to using wcrtomb.
48074 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48075 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48077 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48078 * wcsmbs/tst-c16c32-1.c: New file.
48080 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48083 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48085 * elf/tst-unique3.cc: Add explicit declaration of gets.
48086 * elf/tst-unique3lib.cc: Likewise.
48087 * elf/tst-unique3lib2.cc: Likewise.
48088 * elf/tst-unique4.cc: Likewise.
48090 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48092 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48095 * assert/assert.h (static_assert): Don't define for C++.
48096 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48097 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48099 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48101 * iconv/loop.c (single loop): Fix assertion in storing of
48104 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48106 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48108 * posix/getconf.c: Update copyright year.
48109 * nss/getent.c: Likewise.
48110 * nss/makedb.c: Likewise.
48111 * iconv/iconvconfig.c: Likewise.
48112 * iconv/iconv_prog.c: Likewise.
48113 * elf/ldconfig.c: Likewise.
48114 * elf/pldd.c: Likewise.
48115 * elf/sotruss.ksh: Likewise.
48116 * catgets/gencat.c: Likewise.
48117 * csu/version.c: Likewise.
48118 * elf/ldd.bash.in: Likewise.
48119 * elf/sprof.c (print_version): Likewise.
48120 * locale/programs/locale.c: Likewise.
48121 * locale/programs/localedef.c: Likewise.
48122 * login/programs/pt_chown.c: Likewise.
48123 * nscd/nscd.c (print_version): Likewise.
48124 * debug/xtrace.sh: Likewise.
48125 * malloc/memusage.sh: Likewise.
48126 * malloc/mtrace.pl: Likewise.
48127 * debug/catchsegv.sh: Likewise.
48129 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48131 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48134 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48137 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48138 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48140 * iconv/gconv_int.h: Likewise.
48141 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48142 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48143 from libc for GLIBC_2.16.
48144 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48145 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48146 * wcsmbs/uchar.h: Really define mbstate_t.
48147 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48148 * wcsmbs/c16rtomb.c: New file.
48149 * wcsmbs/mbrtoc16.c: New file.
48150 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48151 for C/POSIX locale.
48152 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48153 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48155 * wcsmbs/wchar.h: Add missing __restrict.
48157 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48160 * time/Makefile (routines): Add timespec_get.
48161 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48162 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48163 timespec for ISO C11.
48164 * time/timespec_get.c: New file.
48165 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48166 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48169 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48170 * stdlib/stdlib.h: Declare aligned_alloc.
48171 * Versions.def: Add GLIBC_2.16 for libc.
48172 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48175 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48178 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48182 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48185 * assert/assert.h (static_assert): Define.
48187 * version.h: Update for 2.16 development version.
48190 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48193 * version.h (RELEASE): Bump for 2.15 release.
48194 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48196 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48197 Patch by Marek Polacek <mpolacek@redhat.com>.
48199 * bits/byteswap.h: Protect long long constants with __extension__.
48200 * sysdeps/i386/bits/byteswap.h: Likewise.
48201 * sysdeps/ia64/bits/byteswap.h: Likewise.
48202 * sysdeps/s390/bits/byteswap.h: Likewise.
48203 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48205 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48208 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48209 destination buffer.
48210 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48212 2011-12-23 Marek Polacek <polacek@redhat.com>
48214 * elf/dl-addr.c (determine_info): Add inline keyword.
48215 * elf/tst-auditmod4b.c (check_avx): Likewise.
48216 * elf/tst-auditmod6b.c (check_avx): Likewise.
48217 * elf/tst-auditmod6c.c (check_avx): Likewise.
48218 * elf/tst-auditmod7b.c (check_avx): Likewise.
48220 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48222 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48225 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48228 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48229 processing for last bytes.
48231 2011-08-06 Bruno Haible <bruno@clisp.org>
48234 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48235 U+0385, not to U+1FEE.
48238 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48239 entry for U+00A5 U+0301.
48241 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48244 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48245 buffer for the output is too small.
48247 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48251 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48252 SSE flags if possible.
48254 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48257 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48258 processing for last bytes.
48260 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48262 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48263 (syscall-list-default-options, syscall-list-default-condition)
48264 (syscall-list-includes): Define.
48265 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48266 list of ABIs and options and #if conditions for each ABI. Do not
48267 handle common syscalls between ABIs specially.
48268 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48270 (syscall-list-variants, syscall-list-32bit-options)
48271 (syscall-list-32bit-condition, syscall-list-64bit-options)
48272 (syscall-list-64bit-condition): Define.
48273 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48274 (syscall-list-variants, syscall-list-32bit-options)
48275 (syscall-list-32bit-condition, syscall-list-64bit-options)
48276 (syscall-list-64bit-condition): Define.
48277 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48279 (syscall-list-variants, syscall-list-32bit-options)
48280 (syscall-list-32bit-condition, syscall-list-64bit-options)
48281 (syscall-list-64bit-condition): Define.
48282 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48284 (syscall-list-variants, syscall-list-32bit-options)
48285 (syscall-list-32bit-condition, syscall-list-64bit-options)
48286 (syscall-list-64bit-condition): Define.
48288 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48290 * locale/iso-639.def: Add brx entry.
48293 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48294 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48296 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48297 __feraiseexcept_renamed.
48299 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48302 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48303 EPOLLET with unsigned values.
48304 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48305 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48307 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48308 to large cancellation.
48309 * math/s_cacoshf.c: Likewise.
48310 * math/s_cacoshl.c: Likewise.
48312 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48316 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48317 * math/s_cacoshf.c: Likewise.
48318 * math/s_cacoshl.c: Likewise.
48320 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48323 * iconv/gconv.h: Define __GCONV_SWAP.
48324 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48325 * iconvdata/utf-16.c: Likewise.
48326 * iconvdata/utf-32.c: Likewise.
48328 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48331 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48332 numerator after shifting it by one limb.
48334 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48336 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48337 under [__USE_EXTERN_INLINES].
48339 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48342 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48344 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48346 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48347 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48349 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48350 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48351 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48352 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48353 for strncasecmp/strncasecmp_l compilation.
48354 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48355 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48357 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48360 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48363 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48366 * time/tzfile.c (__tzfile_read): Check values from file header.
48368 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48370 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48371 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48372 * powerpc/powerpc32/dl-start.S: Likewise.
48373 * powerpc/powerpc32/elf/start.S: Likewise.
48374 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48375 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48376 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48377 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48378 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48379 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48380 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48381 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48382 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48383 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48384 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48385 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48386 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48387 * powerpc/powerpc32/memset.S: Likewise.
48388 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48389 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48390 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48391 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48392 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48393 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48394 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48395 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48396 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48397 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48398 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48399 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48400 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48402 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48404 * math/libm-test.inc: Added more nearbyint tests.
48405 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48406 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48407 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48408 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48410 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48412 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48415 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48417 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48418 Add wcscpy-ssse3 wcscpy-c.
48419 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48420 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48421 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48422 * sysdeps/x86_64/wcschr.S: New file.
48423 * sysdeps/x86_64/wcsrchr.S: New file.
48424 * string/test-strcmp.c: Remove checking of wcscmp function for
48426 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48427 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48428 wcsrchr-sse2 wcsrchr-c.
48429 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48430 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48431 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48432 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48433 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48434 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48435 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48436 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48437 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48438 * wcsmbc/wcschr.c (WCSCHR): New macro.
48440 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48442 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48443 * wcsmbs/test-wcsrchr.c: New file.
48444 * string/test-strrchr.c: Add wcsrchr support.
48446 * wcsmbs/test-wcscpy.c: New file.
48447 * string/test-strcpy.c: Add wcscpy support.
48450 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48452 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48455 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48458 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48460 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48462 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48463 Minor optimizations.
48465 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48466 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48467 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48469 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48471 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48472 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48473 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48474 for gcc to avoid warnings.
48475 * inet/Makefile (tests): Add tst-checks.
48476 * inet/tst-checks.c: New file.
48478 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48481 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48484 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48485 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48487 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48489 2011-12-02 Ulrich Drepper <drepper@gmail.com>
48491 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48494 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48496 2011-11-29 Joseph Myers <joseph@codesourcery.com>
48498 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48499 conditional on GCC version.
48500 (__arch_compare_and_exchange_val_8_acq)
48501 (__arch_compare_and_exchange_val_16_acq)
48502 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48503 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48504 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48506 2011-12-02 Joseph Myers <joseph@codesourcery.com>
48508 * sysdeps/sh/backtrace.c: New file.
48510 2011-12-02 Andreas Schwab <schwab@redhat.com>
48512 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48515 2011-12-01 Andreas Schwab <schwab@redhat.com>
48517 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48518 falling back to utime.
48520 2011-11-30 Andreas Schwab <schwab@redhat.com>
48522 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48523 expectations for float.
48525 2011-11-29 Andreas Schwab <schwab@redhat.com>
48527 * locale/weight.h (findidx): Add parameter len.
48528 * locale/weightwc.h (findidx): Likewise.
48529 * posix/fnmatch_loop.c (FCT): Adjust caller.
48530 * posix/regcomp.c (build_equiv_class): Likewise.
48531 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48532 * posix/regexec.c (check_node_accept_bytes): Likewise.
48533 * string/strcoll_l.c (STRCOLL): Likewise.
48534 * string/strxfrm_l.c (STRXFRM): Likewise.
48536 2011-11-17 Ulrich Drepper <drepper@gmail.com>
48538 * Makefile.in: Remove CVSOPT handling.
48539 * configure.in: Remove use of AC_REVISION.
48540 * iconvdata/Makefile (distribute): No need to filter out CVS.
48541 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48544 2011-11-16 Andreas Schwab <schwab@redhat.com>
48546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48547 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48548 [USE_AS_STRNCASECMP_L]: Likewise.
48549 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48550 NO_TLS_DIRECT_SEG_REFS.
48551 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48552 Fix argument offsets for non-PIC.
48553 [USE_AS_STRNCASECMP_L]: Likewise.
48554 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48555 NO_TLS_DIRECT_SEG_REFS.
48557 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48559 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48561 * locale/loadlocale.c (_nl_load_locale): Likewise.
48563 2011-11-15 Andreas Schwab <schwab@redhat.com>
48565 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48566 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48567 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48568 (SYSCALL_GETTIME): Set errno on error.
48570 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48571 count references to noai6ai_cached.
48573 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48575 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48577 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48578 FD_CLOEXEC for /proc/self/maps.
48580 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48581 FD_CLOEXEC for /proc/meminfo.
48583 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48586 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48587 FD_CLOEXEC for given file.
48589 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48591 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48592 FD_CLOEXEC for /etc/hosts.
48593 (_gethtent): Likewise.
48595 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48597 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48598 cancellation and set FD_CLOEXEC for /etc/netgroup.
48600 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48601 reading /etc/publickey.
48603 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48604 allow cancellation when reading /etc/group.
48606 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48608 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48610 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48611 when using data file.
48613 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48615 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48616 (write_nis_obj): Use "c" and "e" in fopen.
48618 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48620 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48622 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48624 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48626 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48629 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48631 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48633 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48635 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48636 file parsing and set FD_CLOEXEC.
48638 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48640 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48642 2011-11-14 Andreas Schwab <schwab@redhat.com>
48644 * malloc/arena.c (arena_get2): Don't call reused_arena when
48645 _int_new_arena failed.
48647 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48649 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48650 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48651 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48652 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48653 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48654 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48655 to compile strcasecmp and strncasecmp.
48656 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48657 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48661 2011-11-13 Ulrich Drepper <drepper@gmail.com>
48663 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48664 locale-defines.sym to gen-as-const-headers.
48665 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48666 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48668 to compile strcasecmp and strncasecmp.
48669 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48670 strcasecmp_l and strncasecmp_l.
48671 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48672 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48673 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48674 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48675 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48676 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48677 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48678 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48679 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48680 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48681 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48683 2011-11-12 Ulrich Drepper <drepper@gmail.com>
48685 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48686 result of SYSDEP_GETTIME_CPU to retval.
48687 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48688 parameter list to macro. Remove trailing semicolon. Adjust users.
48690 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48693 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48695 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48697 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48698 from unused variable.
48700 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48702 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48705 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48708 * sunrpc/rpc_prot.c (rejected): Fix case value.
48710 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48711 unsigned long long int to avoid warnings in shift.
48713 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48715 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48718 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48719 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48720 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48722 * nis/nis_table.c (nis_list): Use variable of correct type for
48723 result of __follow_path call.
48725 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48727 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48728 of math functions ceil, trunc, floor, round, and sqrt, when
48729 avaliable on the platform.
48730 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48732 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48733 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48734 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48736 2011-10-30 Marek Polacek <mpolacek@redhat.com>
48738 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48739 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48741 2011-11-11 Roland McGrath <roland@hack.frob.com>
48743 * include/unistd.h: Fix __readlink return type.
48744 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48746 2011-11-11 Ulrich Drepper <drepper@gmail.com>
48748 * stdlib/ucontext.h: Undo last change for makecontext.
48750 2011-11-11 Andreas Schwab <schwab@redhat.com>
48752 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48754 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48755 * setjmp/setjmp.h: Mark functions as non-leaf.
48756 * setjmp/bits/setjmp2.h: Likewise.
48757 * stdlib/ucontext.h: Likewise.
48759 2011-11-10 Andreas Schwab <schwab@redhat.com>
48761 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48762 (reused_arena): Don't check arena limit.
48763 (arena_get2): Atomically check arena limit.
48765 2011-11-08 Ulrich Drepper <drepper@gmail.com>
48767 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48768 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48770 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48773 2011-11-07 Andreas Schwab <schwab@redhat.com>
48775 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48776 handler when locking.
48778 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48779 Fix size of allocated buffer.
48781 2011-11-04 Andreas Schwab <schwab@redhat.com>
48784 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48785 declarations for long double functions.
48786 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48788 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48790 2011-11-03 Andreas Schwab <schwab@redhat.com>
48792 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48795 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48798 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48800 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48802 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48804 * include/alloca.h (stackinfo_alloca_round): Define.
48805 (extend_alloca): Use it.
48806 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48807 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48810 * scripts/check-local-headers.sh: Ignore libaudit.h.
48812 * nscd/Makefile (extra-objs): Make recursively expanded.
48814 2011-11-01 Ulrich Drepper <drepper@gmail.com>
48816 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48817 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48819 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48820 * posix/tst-rfc3484-2.c: Likewise.
48821 * posix/tst-rfc3484-3.c: Likewise.
48823 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48825 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48827 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48828 process_vm_writev from libc using GLIBC_2.15 version.
48830 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48832 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48834 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48837 2011-10-31 Ulrich Drepper <drepper@gmail.com>
48840 * nss/getent.c (initgroups_keys): Show error message in case no group
48843 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48844 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48845 __bump_nl_timestamp.
48846 * nscd/connections (nscd_init): When host database is served open
48847 netlink socket and request notification about configuration changes.
48848 (main_loop_poll): Track netlink file descriptor and bump timestamp
48849 in case data becomes available.
48850 (main_loop_epoll): Likewise.
48851 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48852 (database_pers_head): Add extra_data fileds.
48853 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48854 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48855 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48857 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48858 in6ai data, call __free_in6ai.
48859 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48860 Add -DHAVE_NETLINK.
48861 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48862 interface information. Reuse previous data if netlink timestamp
48864 (__bump_nl_timestamp): New function.
48865 (__free_in6ai): New function.
48867 2011-10-30 Ulrich Drepper <drepper@gmail.com>
48869 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48870 close_not_cancel_no_status here.
48871 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48873 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48876 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48879 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48880 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48881 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48883 2011-07-03 Andreas Jaeger <aj@suse.de>
48886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48887 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48888 * math/libm-test.inc (sin_test): Add test case.
48890 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48893 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48894 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48896 * elf/chroot_canon.c (chroot_canon): Cleanups.
48898 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48901 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48902 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48904 * string/test-strchr.c: Make usable for strchrnul testing.
48905 * string/test-strchrnul.c: New file.
48906 * string/Makefile (strop-tests): Add strchrnul.
48908 * po/it.po: Update from translation team.
48909 * po/es.po: Likewise.
48911 2011-10-28 Ulrich Drepper <drepper@gmail.com>
48913 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48914 the three constants needed as parameters. Drop the others.
48915 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48916 __m128i_strloadu_tolower.
48917 Create and initialize variable zero and use it in all the places
48918 where _mm_setzero_si128 was used.
48920 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48921 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48922 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48923 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48925 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48926 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48927 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48928 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48929 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48930 __mpranred, __mptan.
48931 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48932 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48933 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48934 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48935 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48936 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48937 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48938 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48939 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48941 2011-10-28 Andreas Schwab <schwab@redhat.com>
48943 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48944 redefine if SHARED.
48945 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48948 wide char related routines to wcsmbs subdir.
48950 2011-10-27 Andreas Schwab <schwab@redhat.com>
48953 * misc/sys/cdefs.h (__THROWNL): Define.
48954 * posix/unistd.h: Use __THREADNL instead of __THREAD
48955 for memory synchronization functions.
48957 2011-10-26 Roland McGrath <roland@hack.frob.com>
48960 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48962 * manual/stdio.texi (Obstack Streams): Node removed.
48964 2011-10-26 Andreas Schwab <schwab@redhat.com>
48966 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48967 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48968 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48970 * math/math_private.h (math_force_eval): Allow non-addressable
48972 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48974 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48976 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48977 file is not needed.
48979 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48980 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48981 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48982 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48983 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48984 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48985 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48986 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48988 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48989 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48990 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48991 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48992 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48993 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48994 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48995 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48996 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48997 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48998 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48999 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49000 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49001 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49002 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49003 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49004 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49005 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49006 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49008 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49009 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49011 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49012 place. Use VEX encoding when compiling for AVX.
49014 2011-10-25 Andreas Schwab <schwab@redhat.com>
49016 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49017 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49019 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49021 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49023 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49024 useless if() expression.
49025 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49026 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49027 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49028 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49029 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49030 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49031 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49033 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49034 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49035 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49036 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49037 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49038 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49039 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49040 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49041 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49042 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49043 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49045 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49047 2011-10-25 Andreas Schwab <schwab@redhat.com>
49049 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49051 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49053 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49055 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49056 .text section. Avoid duplicate constants.
49057 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49059 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49061 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49065 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49066 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49067 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49068 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49069 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49070 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49071 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49072 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49073 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49074 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49075 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49076 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49077 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49078 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49079 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49080 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49081 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49082 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49083 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49084 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49085 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49086 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49087 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49088 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49089 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49090 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49091 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49092 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49093 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49095 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49096 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49097 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49098 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49099 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49100 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49101 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49103 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49105 * sysdeps/x86_64/dla.h: Move to ...
49106 * sysdeps/x86_64/fpu/dla.h: ...here.
49107 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49108 situations. Use __builtin_fma only for gcc 4.6 and up.
49110 * config.make.in: Add have-mfma4 entry.
49111 * configure.in: Substitute libc_cv_cc_fma4.
49112 * math/Makefile (dbl-only-routines): Add sincostab.
49113 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49114 Use __sincostab not sincos.
49115 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49117 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49122 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49123 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49124 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49125 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49127 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49128 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49130 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49131 define aliases when function name is a macro.
49132 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49133 sysdeps/ieee754/dbl-64/sincos.tbl.
49134 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49135 fma4-enabled routines.
49136 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49137 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49138 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49139 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49140 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49141 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49142 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49143 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49144 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49145 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49146 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49147 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49148 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49149 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49150 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49151 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49152 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49153 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49154 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49155 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49156 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49157 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49158 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49159 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49160 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49161 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49162 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49163 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49164 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49165 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49167 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49175 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49178 2011-10-24 Andreas Schwab <schwab@redhat.com>
49180 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49182 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49184 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49186 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49188 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49190 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49191 Remove unused variable magic_bits.
49192 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49194 * string/strnlen.c: Define and use STRNLEN macro.
49195 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49196 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49197 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49198 * wcsmbs/wcslen.c: Define and use WCSLEN.
49199 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49200 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49201 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49202 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49203 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49204 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49205 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49207 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49210 strnlen-sse2-no-bsf.
49211 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49212 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49213 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49214 Add strnlen support.
49215 (USE_AS_STRNLEN): New macro.
49216 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49217 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49218 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49219 * sysdeps/x86_64/wcslen.S: New file.
49221 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49223 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49224 XMM-moves are used for copying on small sizes.
49226 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49228 * wcsmbs/Makefile (strop-tests): Add wcschr.
49229 * wcsmbs/test-wcschr.c: New file.
49230 * string/test-strchr.c: Update.
49231 Add wcschr support.
49234 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49236 * wcsmbs/Makefile (strop-tests): Add wcslen.
49237 * wcsmbs/test-wcslen.c: New file.
49238 * string/test-strlen.c: Update.
49239 Add wcslen support.
49242 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49244 * po/it.po: Update from translation team.
49246 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49248 * sysdeps/x86_64/wcscmp.S: Update.
49249 Fix wrong comparison semantics.
49250 wcscmp shall use signed comparison not unsigned.
49251 Don't use substraction to avoid overflow bug.
49252 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49253 * wcsmbc/wcscmp.c: Likewise.
49254 * string/test-strcmp.c: Likewise.
49255 Add new tests to check cases with negative values.
49257 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49259 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49260 * sysdeps/x86_64/dla.h: ...here. New file.
49261 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49266 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49268 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49271 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49274 __ynl_finite aliases.
49276 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49280 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49282 [DLA_FMA] (EMULV): Use DLA_FMA.
49283 [DLA_FMA] (MUL12): Use EMULV.
49284 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49285 that are not needed.
49286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49287 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49289 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49290 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49291 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49292 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49294 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49296 * math/s_nan.c: Undef __nan.
49297 * math/s_nanf.c: Undef __nanf.
49298 * math/s_nanl.c: Undef __nanl.
49299 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49302 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49304 * math/s_catan.c: Add branch predictions.
49305 * math/s_catanf.c: Likewise.
49306 * math/s_catanh.c: Likewise.
49307 * math/s_catanhf.c: Likewise.
49308 * math/s_catanhl.c: Likewise.
49309 * math/s_catanl.c: Likewise.
49310 * math/s_cexp.c: Likewise.
49311 * math/s_cexpf.c: Likewise.
49312 * math/s_cexpl.c: Likewise.
49313 * math/s_clog.c: Likewise.
49314 * math/s_clog10.c: Likewise.
49315 * math/s_clog10f.c: Likewise.
49316 * math/s_clog10l.c: Likewise.
49317 * math/s_clogf.c: Likewise.
49318 * math/s_clogl.c: Likewise.
49319 * math/s_csqrt.c: Likewise.
49320 * math/s_csqrtf.c: Likewise.
49321 * math/s_csqrtl.c: Likewise.
49322 * math/s_ctanf.c: Likewise.
49323 * math/s_ctanh.c: Likewise.
49324 * math/s_ctanhf.c: Likewise.
49325 * math/s_ctanhl.c: Likewise.
49326 * math/s_ctanl.c: Likewise.
49328 * math/math_private.h: Define __nan, __nanf, __nanl.
49329 * math/s_cacosh.c: Include <math_private.h>.
49330 * math/s_cacoshl.c: Likewise.
49331 * math/s_casinh.c: Likewise.
49332 * math/s_casinhf.c: Likewise.
49333 * math/s_casinhl.c: Likewise.
49334 * math/s_ccos.c: Rely entire on ccosh.
49335 * math/s_ccosf.c: Rely entire on ccoshf.
49336 * math/s_ccosl.c: Rely entirely on ccoshl.
49337 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49338 Remove tests for FE_INVALID.
49339 * math/s_ccoshf.c: Likewise.
49340 * math/s_ccoshl.c: Likewise.
49341 * math/s_csin.c: Likewise.
49342 * math/s_csinf.c: Likewise.
49343 * math/s_csinh.c Likewise.
49344 * math/s_csinhf.c: Likewise.
49345 * math/s_csinhl.c: Likewise.
49346 * math/s_csinl.c: Likewise.
49347 * math/s_ctan.c: Likewise.
49348 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49349 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49350 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49352 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49355 compilation problems.
49357 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49360 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49362 * sysdeps/i386/configure.in: Test for -mfma4 option.
49363 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49364 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49365 COMMON_CPUID_INDEX_80000001.
49366 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49367 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49368 use it if FMA3 is not supported.
49369 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49371 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49372 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49374 2011-10-20 Andreas Schwab <schwab@redhat.com>
49377 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49378 it would create a cycle with a link time dependency.
49380 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49382 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49384 * string/Makefile (strop-tests): Add rawmemchr.
49385 * string/test-rawmemchr.c: New file.
49387 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49388 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49389 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49390 when compiling str{,n}casecmp and when AVX is available. Hook up
49391 new optimized code in initializers.
49393 2011-10-19 Andreas Schwab <schwab@redhat.com>
49395 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49396 __feraiseexcept instead of feraiseexcept.
49398 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49400 * math/math_private.h: Define defaults for libc_fetestexcept and
49402 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49403 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49404 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49405 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49406 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49407 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49408 libc_fetestexcept and libc_feupdateenv.
49410 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49411 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49412 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49413 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49414 libc_feholdexcept_setround.
49416 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49417 Add s_nearbyint-c and s_nearbyintf-c.
49418 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49419 nearbyintf inlines.
49420 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49421 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49422 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49423 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49425 * math/math_private.h: Define defaults for libc_fegetround,
49426 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49427 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49428 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49429 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49430 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49431 standard functions.
49432 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49433 Remove comments and hacks for old compiler versions.
49434 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49435 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49436 libc_feholdexceptl.
49438 2011-10-18 Andreas Schwab <schwab@redhat.com>
49440 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49441 (__feraiseexcept_renamed): Add __NTH.
49442 (feraiseexcept): Add __NTH. Rename local variables to fix
49443 namespace violations.
49445 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49447 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49449 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49451 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49452 recently added interfaces.
49453 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49455 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49456 about macro parameter expansion.
49458 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49459 __NO_MATH_INLINES is defined. Cleanups.
49461 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49462 and __floorf is target has SSE4.1.
49463 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49464 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49465 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49466 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49468 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49470 (floorf): Likewise.
49472 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49474 2011-10-17 Andreas Schwab <schwab@redhat.com>
49476 * misc/sys/cdefs.h: Fix last change.
49478 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49481 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49483 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49485 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49486 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49487 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49488 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49490 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49491 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49492 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49493 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49494 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49495 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49496 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49497 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49498 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49499 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49500 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49501 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49502 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49503 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49504 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49505 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49506 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49508 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49509 ceil, ceilf, floor, floorf.
49511 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49512 Perform IRELATIVE relocations last.
49514 * elf/do-rel.h: Add another parameter nrelative, replacing the
49515 local variable with the same name. Change name of the function
49516 to end in Rel or Rela (uppercase).
49517 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49518 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49519 elf_dynamic_do_##reloc function.
49521 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49523 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49524 is sufficient, at least on modern CPUs.
49526 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49528 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49529 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49531 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49533 * math/bits/math-finite.h: Add entries for exp.
49534 * math/e_expl.c: Add __*_finite alias.
49535 * sysdeps/i386/fpu/e_exp.S: Likewise.
49536 * sysdeps/i386/fpu/e_expf.S: Likewise.
49537 * sysdeps/i386/fpu/e_expl.c: Likewise.
49538 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49539 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49540 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49541 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49542 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49543 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49544 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49546 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49547 is sufficient, at least on modern CPUs.
49549 * ctype/ctype-info.c (__ctype_init): Define.
49550 * include/ctype.h (__ctype_init): Declare.
49551 (__ctype_b_loc): The variable is always initialized.
49552 (__ctype_toupper_loc): Likewise.
49553 (__ctype_tolower_loc): Likewise.
49554 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49555 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49557 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49559 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49561 * configure.in: Also look in $cxxmachine/include for C++ system
49564 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49566 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49567 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49568 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49569 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49571 (USE_AS_WMEMCMP): New macro.
49573 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49574 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49575 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49576 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49578 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49579 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49580 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49581 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49582 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49583 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49584 (USE_AS_WMEMCMP): New macro.
49585 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49586 * sysdeps/string/test-memcmp.c: Update.
49587 Fix simple_wmemcmp.
49589 * wcsmbs/wmemcmp.c: Update.
49590 (WMEMCMP): New macro.
49593 2011-10-12 Andreas Jaeger <aj@suse.de>
49596 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49598 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49600 * libio/iofwide.c (do_length): Avoid warning.
49602 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49604 2011-10-14 Ulrich Drepper <drepper@gmail.com>
49606 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49608 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49609 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49610 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49611 * sysdeps/i386/i686/fpu/e_log.S: New file.
49612 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49613 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49615 * ctype/ctype.h: Add support for inlined isXXX functions when
49616 compiling C++ code.
49618 2011-10-14 Andreas Schwab <schwab@redhat.com>
49620 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49622 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49624 2011-10-13 Roland McGrath <roland@hack.frob.com>
49627 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49629 2011-10-13 Andreas Schwab <schwab@redhat.com>
49631 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49632 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49635 * sysdeps/x86_64/memrchr.S: Check for zero size.
49637 * string/stratcliff.c: Add memrchr tests.
49639 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49642 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49643 rawmemchr-sse2 rawmemchr-sse2-bsf.
49644 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49645 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49646 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49647 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49648 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49649 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49650 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49651 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49652 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49653 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49654 * string/memrchr.c (MEMRCHR): New macro.
49656 2011-10-12 Ulrich Drepper <drepper@gmail.com>
49658 Add integration with gcc's -ffinite-math-only and optimize wrapper
49660 * Versions.def: Define GLIBC_2.15 version for libm.
49661 * math/Makefile (headers): Add bits/math-finite.h.
49662 * math/bits/math-finite.h: New file.
49663 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49664 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49665 * math/e_acoshl.c: Add __*_finite alias.
49666 * math/e_acosl.c: Likewise.
49667 * math/e_asinl.c: Likewise.
49668 * math/e_atan2l.c: Likewise.
49669 * math/e_atanhl.c: Likewise.
49670 * math/e_coshl.c: Likewise.
49671 * math/e_exp10.c: Likewise.
49672 * math/e_exp10f.c: Likewise.
49673 * math/e_exp10l.c: Likewise.
49674 * math/e_exp2l.c: Likewise.
49675 * math/e_fmodl.c: Likewise.
49676 * math/e_gammal_r.c: Likewise.
49677 * math/e_hypotl.c: Likewise.
49678 * math/e_j0l.c: Likewise.
49679 * math/e_j1l.c: Likewise.
49680 * math/e_jnl.c: Likewise.
49681 * math/e_lgammal_r.c: Likewise.
49682 * math/e_log10l.c: Likewise.
49683 * math/e_log2l.c: Likewise.
49684 * math/e_logl.c: Likewise.
49685 * math/e_powl.c: Likewise.
49686 * math/e_sinhl.c: Likewise.
49687 * math/e_sqrtl.c: Likewise.
49688 * math/e_scalb.c: Completely rewritten and optimized.
49689 * math/e_scalbf.c: Likewise.
49690 * math/e_scalbl.c: Likewise.
49691 * math/w_acos.c: Likewise.
49692 * math/w_acosf.c: Likewise.
49693 * math/w_acosl.c: Likewise.
49694 * math/w_acosh.c: Likewise.
49695 * math/w_acoshf.c: Likewise.
49696 * math/w_acoshl.c: Likewise.
49697 * math/w_asin.c: Likewise.
49698 * math/w_asinf.c: Likewise.
49699 * math/w_asinl.c: Likewise.
49700 * math/w_atan2.c: Likewise.
49701 * math/w_atan2f.c: Likewise.
49702 * math/w_atan2l.c: Likewise.
49703 * math/w_atanh.c: Likewise.
49704 * math/w_atanhf.c: Likewise.
49705 * math/w_atanhl.c: Likewise.
49706 * math/w_exp10.c: Likewise.
49707 * math/w_exp10f.c: Likewise.
49708 * math/w_exp10l.c: Likewise.
49709 * math/w_fmod.c: Likewise.
49710 * math/w_fmodf.c: Likewise.
49711 * math/w_fmodl.c: Likewise.
49712 * math/w_j0.c: Likewise.
49713 * math/w_j0f.c: Likewise.
49714 * math/w_j0l.c: Likewise.
49715 * math/w_j1.c: Likewise.
49716 * math/w_j1f.c: Likewise.
49717 * math/w_j1l.c: Likewise.
49718 * math/w_jn.c: Likewise.
49719 * math/w_jnf.c: Likewise.
49720 * math/w_log.c: Likewise.
49721 * math/w_logf.c: Likewise.
49722 * math/w_logl.c: Likewise.
49723 * math/w_log10.c: Likewise.
49724 * math/w_log10f.c: Likewise.
49725 * math/w_log10l.c: Likewise.
49726 * math/w_log2.c: Likewise.
49727 * math/w_log2f.c: Likewise.
49728 * math/w_log2l.c: Likewise.
49729 * math/w_pow.c: Likewise.
49730 * math/w_powf.c: Likewise.
49731 * math/w_powl.c: Likewise.
49732 * math/w_remainder.c: Likewise.
49733 * math/w_remainderf.c: Likewise.
49734 * math/w_remainderl.c: Likewise.
49735 * math/w_scalb.c: Likewise.
49736 * math/w_scalbf.c: Likewise.
49737 * math/w_scalbl.c: Likewise.
49738 * math/w_sqrt.c: Likewise.
49739 * math/w_sqrtf.c: Likewise.
49740 * math/w_sqrtl.c: Likewise.
49741 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49742 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49744 * math/math_private.h: Declare __kernel_standard_f.
49745 * math/w_cosh.c: Remove cruft and optimize a bit.
49746 * math/w_coshf.c: Likewise.
49747 * math/w_coshl.c: Likewise.
49748 * math/w_exp2.c: Likewise.
49749 * math/w_exp2f.c: Likewise.
49750 * math/w_exp2l.c: Likewise.
49751 * math/w_hypot.c: Likewise.
49752 * math/w_hypotf.c: Likewise.
49753 * math/w_hypotl.c: Likewise.
49754 * math/w_lgamma.c: Likewise.
49755 * math/w_lgamma_r.c: Likewise.
49756 * math/w_lgammaf.c: Likewise.
49757 * math/w_lgammaf_r.c: Likewise.
49758 * math/w_lgammal.c: Likewise.
49759 * math/w_lgammal_r.c: Likewise.
49760 * math/w_sinh.c: Likewise.
49761 * math/w_sinhf.c: Likewise.
49762 * math/w_sinhl.c: Likewise.
49763 * math/w_tgamma.c: Likewise.
49764 * math/w_tgammaf.c: Likewise.
49765 * math/w_tgammal.c: Likewise.
49766 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49767 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49768 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49769 Minor optimizations. Pretty printing. Remove cruft.
49770 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49771 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49772 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49773 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49774 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49775 * sysdeps/i386/fpu/e_asin.S: Likewise.
49776 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49777 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49778 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49779 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49780 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49781 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49782 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49783 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49784 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49785 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49786 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49787 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49788 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49789 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49790 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49791 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49792 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49793 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49794 * sysdeps/i386/fpu/e_log.S: Likewise.
49795 * sysdeps/i386/fpu/e_log10.S: Likewise.
49796 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49797 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49798 * sysdeps/i386/fpu/e_log2.S: Likewise.
49799 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49800 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49801 * sysdeps/i386/fpu/e_logf.S: Likewise.
49802 * sysdeps/i386/fpu/e_logl.S: Likewise.
49803 * sysdeps/i386/fpu/e_pow.S: Likewise.
49804 * sysdeps/i386/fpu/e_powf.S: Likewise.
49805 * sysdeps/i386/fpu/e_powl.S: Likewise.
49806 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49807 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49808 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49809 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49810 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49811 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49812 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49813 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49814 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49815 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49816 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49817 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49818 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49819 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49820 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49821 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49822 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49823 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49824 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49825 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49826 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49828 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49829 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49831 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49832 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49833 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49834 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49835 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49836 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49837 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49838 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49839 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49840 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49841 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49842 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49843 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49844 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49845 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49846 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49847 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49848 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49849 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49850 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49851 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49852 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49853 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49854 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49855 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49856 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49857 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49858 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49859 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49860 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49861 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49862 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49863 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49864 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49865 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49866 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49867 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49868 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49869 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49870 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49871 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49872 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49873 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49874 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49875 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49876 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49879 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49880 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49881 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49882 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49883 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49884 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49885 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49886 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49887 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49888 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49889 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49891 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49892 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49893 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49894 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49895 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49896 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49897 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49898 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49899 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49900 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49901 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49902 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49903 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49904 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49905 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49906 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49907 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49908 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49909 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49910 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49911 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49912 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49913 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49914 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49915 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49916 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49917 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49918 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49919 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49920 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49921 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49922 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49923 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49924 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49925 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49926 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49927 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49928 (__isnanf): Likewise.
49929 (__isinf_ns): Likewise.
49930 (__isinf_nsf): Likewise.
49931 (__finite): Likewise.
49932 (__finitef): Likewise.
49933 (__ieee754_sqrt): Define as macro.
49934 (__ieee754_sqrtf): Define as macro.
49935 (__ieee754_sqrtl): Define as macro.
49936 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49938 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49939 __FINITE_MATH_ONLY__ consistent.
49940 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49942 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49944 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49947 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49949 2011-10-09 Ulrich Drepper <drepper@gmail.com>
49951 * po/ja.po: Update from translation team.
49953 2011-10-08 Roland McGrath <roland@hack.frob.com>
49955 * locale/programs/locarchive.c (prepare_address_space): New function.
49956 (create_archive, enlarge_archive, open_archive): Use it.
49958 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49959 inside [SHARED], where it is used.
49961 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49963 * nss/getent.c (netgroup_keys): Remove unused variable.
49964 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49966 2011-10-08 Ulrich Drepper <drepper@gmail.com>
49968 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49969 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49970 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49971 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49972 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49973 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49974 * math/Makefile (libm-calls): Add s_isinf_ns.
49975 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49976 * math/multc3.c: Likewise.
49977 * math/s_casin.c: Likewise.
49978 * math/s_casinf.c: Likewise.
49979 * math/s_casinl.c: Likewise.
49980 * math/s_ccos.c: Likewise.
49981 * math/s_ccosf.c: Likewise.
49982 * math/s_ccosl.c: Likewise.
49983 * math/s_ctan.c: Likewise.
49984 * math/s_ctanf.c: Likewise.
49985 * math/s_ctanh.c: Likewise.
49986 * math/s_ctanhf.c: Likewise.
49987 * math/s_ctanhl.c: Likewise.
49988 * math/s_ctanl.c: Likewise.
49989 * math/w_fmod.c: Likewise.
49990 * math/w_fmodf.c: Likewise.
49991 * math/w_fmodl.c: Likewise.
49992 * math/w_remainder.c: Likewise.
49993 * math/w_remainderf.c: Likewise.
49994 * math/w_remainderl.c: Likewise.
49995 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49996 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49997 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49999 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50000 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50001 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50002 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50004 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50006 * stdio-common/printf_fphex.c: Likewise.
50007 * stdio-common/printf_size.c: Likewise.
50009 * math/e_exp10.c: Include math_private.h using <...> not "...".
50010 * math/e_exp10f.c: Likewise.
50011 * math/e_exp10l.c: Likewise.
50012 * math/e_exp2l.c: Likewise.
50013 * math/e_j0l.c: Likewise.
50014 * math/e_j1l.c: Likewise.
50015 * math/e_jnl.c: Likewise.
50016 * math/e_lgammal_r.c: Likewise.
50017 * math/e_rem_pio2l.c: Likewise.
50018 * math/e_scalb.c: Likewise.
50019 * math/e_scalbf.c: Likewise.
50020 * math/e_scalbl.c: Likewise.
50021 * math/k_cosl.c: Likewise.
50022 * math/k_sinl.c: Likewise.
50023 * math/k_tanl.c: Likewise.
50024 * math/s_cacoshf.c: Likewise.
50025 * math/s_catan.c: Likewise.
50026 * math/s_catanf.c: Likewise.
50027 * math/s_catanh.c: Likewise.
50028 * math/s_catanhf.c: Likewise.
50029 * math/s_catanhl.c: Likewise.
50030 * math/s_catanl.c: Likewise.
50031 * math/s_ccosh.c: Likewise.
50032 * math/s_ccoshf.c: Likewise.
50033 * math/s_ccoshl.c: Likewise.
50034 * math/s_cexp.c: Likewise.
50035 * math/s_cexpf.c: Likewise.
50036 * math/s_cexpl.c: Likewise.
50037 * math/s_clog.c: Likewise.
50038 * math/s_clog10.c: Likewise.
50039 * math/s_clog10f.c: Likewise.
50040 * math/s_clog10l.c: Likewise.
50041 * math/s_clogf.c: Likewise.
50042 * math/s_clogl.c: Likewise.
50043 * math/s_csin.c: Likewise.
50044 * math/s_csinf.c: Likewise.
50045 * math/s_csinh.c: Likewise.
50046 * math/s_csinhf.c: Likewise.
50047 * math/s_csinhl.c: Likewise.
50048 * math/s_csinl.c: Likewise.
50049 * math/s_csqrt.c: Likewise.
50050 * math/s_csqrtf.c: Likewise.
50051 * math/s_csqrtl.c: Likewise.
50052 * math/s_ctan.c: Likewise.
50053 * math/s_ctanf.c: Likewise.
50054 * math/s_ctanh.c: Likewise.
50055 * math/s_ctanhf.c: Likewise.
50056 * math/s_ctanhl.c: Likewise.
50057 * math/s_ctanl.c: Likewise.
50058 * math/s_ldexp.c: Likewise.
50059 * math/s_ldexpf.c: Likewise.
50060 * math/s_ldexpl.c: Likewise.
50061 * math/s_significand.c: Likewise.
50062 * math/s_significandf.c: Likewise.
50063 * math/s_significandl.c: Likewise.
50064 * math/w_acos.c: Likewise.
50065 * math/w_acosf.c: Likewise.
50066 * math/w_acosh.c: Likewise.
50067 * math/w_acoshf.c: Likewise.
50068 * math/w_acoshl.c: Likewise.
50069 * math/w_acosl.c: Likewise.
50070 * math/w_asin.c: Likewise.
50071 * math/w_asinf.c: Likewise.
50072 * math/w_asinl.c: Likewise.
50073 * math/w_atan2.c: Likewise.
50074 * math/w_atan2f.c: Likewise.
50075 * math/w_atan2l.c: Likewise.
50076 * math/w_atanh.c: Likewise.
50077 * math/w_atanhf.c: Likewise.
50078 * math/w_atanhl.c: Likewise.
50079 * math/w_cosh.c: Likewise.
50080 * math/w_coshf.c: Likewise.
50081 * math/w_coshl.c: Likewise.
50082 * math/w_dremf.c: Likewise.
50083 * math/w_exp10.c: Likewise.
50084 * math/w_exp10f.c: Likewise.
50085 * math/w_exp10l.c: Likewise.
50086 * math/w_exp2.c: Likewise.
50087 * math/w_exp2f.c: Likewise.
50088 * math/w_fmod.c: Likewise.
50089 * math/w_fmodf.c: Likewise.
50090 * math/w_fmodl.c: Likewise.
50091 * math/w_hypot.c: Likewise.
50092 * math/w_hypotf.c: Likewise.
50093 * math/w_hypotl.c: Likewise.
50094 * math/w_j0.c: Likewise.
50095 * math/w_j0f.c: Likewise.
50096 * math/w_j0l.c: Likewise.
50097 * math/w_j1.c: Likewise.
50098 * math/w_j1f.c: Likewise.
50099 * math/w_j1l.c: Likewise.
50100 * math/w_jn.c: Likewise.
50101 * math/w_jnf.c: Likewise.
50102 * math/w_jnl.c: Likewise.
50103 * math/w_lgamma.c: Likewise.
50104 * math/w_lgamma_r.c: Likewise.
50105 * math/w_lgammaf.c: Likewise.
50106 * math/w_lgammaf_r.c: Likewise.
50107 * math/w_lgammal.c: Likewise.
50108 * math/w_lgammal_r.c: Likewise.
50109 * math/w_log.c: Likewise.
50110 * math/w_log10.c: Likewise.
50111 * math/w_log10f.c: Likewise.
50112 * math/w_log10l.c: Likewise.
50113 * math/w_log2.c: Likewise.
50114 * math/w_log2f.c: Likewise.
50115 * math/w_log2l.c: Likewise.
50116 * math/w_logf.c: Likewise.
50117 * math/w_logl.c: Likewise.
50118 * math/w_pow.c: Likewise.
50119 * math/w_powf.c: Likewise.
50120 * math/w_powl.c: Likewise.
50121 * math/w_remainder.c: Likewise.
50122 * math/w_remainderf.c: Likewise.
50123 * math/w_remainderl.c: Likewise.
50124 * math/w_scalb.c: Likewise.
50125 * math/w_scalbf.c: Likewise.
50126 * math/w_scalbl.c: Likewise.
50127 * math/w_sinh.c: Likewise.
50128 * math/w_sinhf.c: Likewise.
50129 * math/w_sinhl.c: Likewise.
50130 * math/w_sqrt.c: Likewise.
50131 * math/w_sqrtf.c: Likewise.
50132 * math/w_sqrtl.c: Likewise.
50133 * math/w_tgamma.c: Likewise.
50134 * math/w_tgammaf.c: Likewise.
50135 * math/w_tgammal.c: Likewise.
50137 * po/ja.po: Update from translation team.
50139 2011-09-29 Andreas Jaeger <aj@suse.de>
50142 * sunrpc/netname.c (netname2host): Fix logic.
50146 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50148 * math/w_remainder.c (__remainder): Likewise.
50149 * math/w_remainderf.c (__remainderf): Likewise.
50150 * math/libm-test.inc (remainder_test): Add test cases.
50152 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50154 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50157 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50159 * string/test-memcmp.c: Avoid unncessary #defines.
50160 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50162 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50164 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50165 Use new sse2 version for core i3 - i7 as it's faster
50166 than sse42 version.
50167 (bit_Prefer_PMINUB_for_stringop): New.
50168 * sysdeps/x86_64/rawmemchr.S: Update.
50169 Replace with faster SSE2 version.
50170 * sysdeps/x86_64/memrchr.S: New file.
50171 * sysdeps/x86_64/memchr.S: Update.
50172 Replace with faster SSE2 version.
50174 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50176 * elf/dl-load.c (lose): Add cast to avoid warning.
50178 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50180 * po/ca.po: Update from translation team.
50182 * inet/getnetgrent_r.c: Hook up nscd.
50183 * nscd/Makefile (routines): Add nscd_netgroup.
50184 (nscd-modules): Add netgroupcache.
50185 (CFLAGS-netgroupcache.c): Define.
50186 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50187 (cache_search): Add const to second parameter.
50188 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50190 (dbs): Add netgrdb entry.
50191 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50192 (verify_persistent_db): Handle netgrdb.
50193 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50194 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50196 (netgroup_response_header): Define.
50197 (innetgroup_response_header): Define.
50198 (datahead): Add netgroup_response_header and innetgroup_response_header
50200 * nscd/nscd.conf: Add entries for netgroup cache.
50201 * nscd/nscd.h (dbtype): Add netgrdb.
50202 (_PATH_NSCD_NETGROUP_DB): Define.
50203 (netgroup_iov_disabled): Declare.
50204 (xmalloc, xcalloc, xrealloc): Move declarations here.
50205 (cache_search): Adjust prototype.
50206 Add netgroup-related prototypes.
50207 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50208 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50209 (__nscd_innetgr): Declare.
50210 * nscd/selinux.c (perms): Use access_vector_t as element type and
50211 add netgroup-related initializers.
50212 * nscd/netgroupcache.c: New file.
50213 * nscd/nscd_netgroup.c: New file.
50214 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50215 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50216 For four parameters use innetgr.
50217 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50218 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50219 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50220 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50222 * nscd/connections.c (register_traced_file): Don't register file
50223 for disabled databases.
50225 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50227 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50229 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50230 from tree and freeing node.
50232 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50234 * nss/nsswitch.c (__nss_database_lookup): Handle
50235 nss_parse_service_list out of memory case.
50237 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50239 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50240 out of memory case.
50242 2011-10-04 Andreas Schwab <schwab@redhat.com>
50244 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50245 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50247 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50248 elf_machine_rela, elf_machine_lazy_rel.
50249 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50250 (ELF_DYNAMIC_DO_REL): Likewise.
50251 (ELF_DYNAMIC_DO_RELA): Likewise.
50252 (ELF_DYNAMIC_RELOCATE): Likewise.
50253 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50254 to ELF_DYNAMIC_DO_REL.
50255 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50256 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50257 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50259 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50260 skip_ifunc, don't call ifunc function if non-zero.
50261 (elf_machine_rela): Likewise.
50262 (elf_machine_lazy_rel): Likewise.
50263 (elf_machine_lazy_rela): Likewise.
50264 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50265 (elf_machine_lazy_rel): Likewise.
50266 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50268 (elf_machine_lazy_rel): Likewise.
50269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50271 (elf_machine_lazy_rel): Likewise.
50272 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50273 (elf_machine_lazy_rel): Likewise.
50274 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50275 (elf_machine_lazy_rel): Likewise.
50276 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50277 (elf_machine_lazy_rel): Likewise.
50278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50279 (elf_machine_lazy_rel): Likewise.
50280 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50281 (elf_machine_lazy_rel): Likewise.
50282 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50283 (elf_machine_lazy_rel): Likewise.
50285 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50287 * nss/nss_files/files-init.c (_nss_files_init): Use static
50288 initialization for all the *_traced_file variables.
50290 2011-09-28 Andreas Schwab <schwab@redhat.com>
50292 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50294 2011-09-27 Roland McGrath <roland@hack.frob.com>
50297 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50299 2011-09-27 Andreas Schwab <schwab@redhat.com>
50301 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50302 Reread the line before reparsing it.
50304 2011-09-26 Andreas Schwab <schwab@redhat.com>
50306 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50308 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50309 Maxim Kuvyrkov <maxim@codesourcery.com>
50310 Joseph Myers <joseph@codesourcery.com>
50312 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50313 if needed for __stack_chk_guard.
50315 2011-09-19 Roland McGrath <roland@hack.frob.com>
50317 * sysdeps/posix/spawni.c (script_execute): Always define it.
50318 It will be optimized away if unused.
50319 (maybe_script_execute): New function.
50320 (__spawni): Call it.
50322 * Makerules: Don't include tls.make.
50323 (config-tls): Always set to thread.
50324 * tls.make.c: File removed.
50326 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50328 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50329 * config.make.in (CPPFLAGS-config): New substituted variable.
50331 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50333 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50336 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50337 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50339 2011-09-15 Roland McGrath <roland@hack.frob.com>
50341 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50342 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50344 (CALL_FAIL): Likewise.
50345 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50346 (CALL_FAIL): Macro removed.
50347 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50349 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50351 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50352 for __FINITE_MATH_ONLY__ == 1.
50354 2011-09-15 Andreas Schwab <schwab@redhat.com>
50356 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50357 __ieee754_sqrt instead of sqrt.
50358 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50359 __ieee754_sqrtf instead of sqrtf.
50360 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50361 __floorf instead of floorf.
50362 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50363 __floorf, __truncf instead of floorf, truncf.
50365 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50367 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50369 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50370 __extern_always_inline.
50371 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50374 2011-09-14 Andreas Schwab <schwab@redhat.com>
50376 * elf/rtld.c (dl_main): Also relocate in dependency order when
50377 doing symbol dependency testing.
50379 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50381 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50382 Always define `refsym'.
50384 2011-09-13 Andreas Schwab <schwab@redhat.com>
50386 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50387 (__FD_ELT): Renamed from __FDELT.
50388 * misc/bits/select2.h (__FD_ELT): Likewise.
50389 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50390 __FD_MASK instead of __FDELT, __FDMASK.
50391 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50393 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50396 * elf/Makefile (gen-ldd): Fix pattern.
50398 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50399 (init_tls): Likewise.
50401 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50405 2011-09-12 Andreas Schwab <schwab@redhat.com>
50407 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50408 `struct cmsghdr *' instead of `void *'.
50409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50412 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50414 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50416 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50417 ldd_rewrite_script.
50419 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50421 * configure.in: Remove --with-tls option.
50422 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50423 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50424 out in case it is missing.
50425 * sysdeps/ia64/elf/configure.in: Likewise.
50426 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50427 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50428 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50429 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50430 * sysdeps/sh/elf/configure.in: Likewise.
50431 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50432 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50433 * sysdeps/x86_64/elf/configure.in: Likewise.
50434 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50435 * sysdeps/mach/hurd/tls.h: Likewise.
50438 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50441 * configure.in: Fix use of AC_INIT.
50443 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50445 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50447 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50449 * malloc/hooks.c: Likewise.
50452 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50453 variables statically.
50454 (narenas): Initialize.
50455 (list_lock): Initialize.
50456 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50457 initializtion of main_arena and list_lock. Small cleanups.
50458 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50459 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50460 Add initializers to main_arena and mp_.
50461 (malloc_state): Remove pagesize member. Change all users to use
50464 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50465 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50466 is always initialized.
50468 * malloc/malloc.c: Removed unused configurations and dead code.
50469 * malloc/arena.c: Likewise.
50470 * malloc/hooks.c: Likewise.
50471 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50473 * include/tls.h: Removed. USE___THREAD must always be defined.
50474 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50475 * elf/dl-libc.c: Likewise.
50476 * elf/dl-tsd.c: Likewise.
50477 * include/errno.h: Likewise.
50478 * include/netdb.h: Likewise.
50479 * include/resolv.h: Likewise.
50480 * inet/herrno-loc.c: Likewise.
50481 * inet/herrno.c: Likewise.
50482 * malloc/arena.c: Likewise.
50483 * malloc/hooks.c: Likewise.
50484 * malloc/malloc.c: Likewise.
50485 * resolv/res-state.c: Likewise.
50486 * resolv/res_libc.c: Likewise.
50487 * sysdeps/i386/dl-machine.h: Likewise.
50488 * sysdeps/ia64/dl-machine.h: Likewise.
50489 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50490 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50491 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50492 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50493 * sysdeps/sh/dl-machine.h: Likewise.
50494 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50495 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50496 * sysdeps/unix/i386/sysdep.S: Likewise.
50497 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50498 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50499 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50501 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50503 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50507 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50508 * sysdeps/x86_64/dl-machine.h: Likewise.
50509 * tls.make.c: Likewise.
50511 * configure.in: Remove --with-__thread option. Make tests for
50512 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50513 tls_model attribute fail if no support is available. Remove
50515 * Makeconfig: Adjust for dropped configure option. All features are
50517 * Makerules: Likewise.
50518 * Versions.def: Likewise.
50519 * argp/argp-fmtstream.c: Likewise.
50520 * argp/argp-fmtstream.h: Likewise.
50521 * argp/argp-help.c: Likewise.
50522 * assert/assert.c: Likewise.
50523 * config.h.in: Likewise.
50524 * config.make.in: Likewise.
50525 * configure: Likewise.
50526 * configure.in: Likewise.
50527 * csu/Versions: Likewise.
50528 * csu/init.c: Likewise.
50529 * elf/tst-audit2.c: Likewise.
50530 * elf/tst-tls10.c: Likewise.
50531 * elf/tst-tls10.h: Likewise.
50532 * elf/tst-tls11.c: Likewise.
50533 * elf/tst-tls12.c: Likewise.
50534 * elf/tst-tls14.c: Likewise.
50535 * elf/tst-tlsmod11.c: Likewise.
50536 * elf/tst-tlsmod12.c: Likewise.
50537 * elf/tst-tlsmod13.c: Likewise.
50538 * elf/tst-tlsmod13a.c: Likewise.
50539 * elf/tst-tlsmod14a.c: Likewise.
50540 * elf/tst-tlsmod15b.c: Likewise.
50541 * elf/tst-tlsmod16a.c: Likewise.
50542 * elf/tst-tlsmod16b.c: Likewise.
50543 * elf/tst-tlsmod7.c: Likewise.
50544 * elf/tst-tlsmod8.c: Likewise.
50545 * elf/tst-tlsmod9.c: Likewise.
50546 * gmon/gmon.c: Likewise.
50547 * grp/fgetgrent_r.c: Likewise.
50548 * grp/putgrent.c: Likewise.
50549 * hurd/fopenport.c: Likewise.
50550 * include/libc-symbols.h: Likewise.
50551 * include/tls.h: Likewise.
50552 * intl/gettextP.h: Likewise.
50553 * intl/loadinfo.h: Likewise.
50554 * locale/global-locale.c: Likewise.
50555 * locale/localeinfo.h: Likewise.
50556 * mach/devstream.c: Likewise.
50557 * malloc/arena.c: Likewise.
50558 * malloc/set-freeres.c: Likewise.
50559 * misc/err.c: Likewise.
50560 * misc/getttyent.c: Likewise.
50561 * misc/mntent_r.c: Likewise.
50562 * posix/getopt.c: Likewise.
50563 * posix/wordexp.c: Likewise.
50564 * pwd/fgetpwent_r.c: Likewise.
50565 * resolv/Versions: Likewise.
50566 * resolv/res_hconf.c: Likewise.
50567 * shadow/fgetspent_r.c: Likewise.
50568 * shadow/putspent.c: Likewise.
50569 * stdio-common/printf_fphex.c: Likewise.
50570 * stdio-common/tmpfile.c: Likewise.
50571 * stdlib/abort.c: Likewise.
50572 * stdlib/fmtmsg.c: Likewise.
50573 * sunrpc/auth_unix.c: Likewise.
50574 * sunrpc/clnt_perr.c: Likewise.
50575 * sunrpc/clnt_tcp.c: Likewise.
50576 * sunrpc/clnt_udp.c: Likewise.
50577 * sunrpc/clnt_unix.c: Likewise.
50578 * sunrpc/openchild.c: Likewise.
50579 * sunrpc/svc_simple.c: Likewise.
50580 * sunrpc/svc_tcp.c: Likewise.
50581 * sunrpc/svc_udp.c: Likewise.
50582 * sunrpc/svc_unix.c: Likewise.
50583 * sunrpc/xdr.c: Likewise.
50584 * sunrpc/xdr_array.c: Likewise.
50585 * sunrpc/xdr_rec.c: Likewise.
50586 * sunrpc/xdr_ref.c: Likewise.
50587 * sunrpc/xdr_stdio.c: Likewise.
50589 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50591 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50593 2011-07-03 Andreas Jaeger <aj@suse.de>
50595 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50596 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50597 regenerate with gen-libm-tests.pl.
50599 2010-05-12 Petr Baudis <pasky@suse.cz>
50602 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50603 around j0() zero points by switching to j1().
50604 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50605 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50607 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50609 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50611 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50613 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50616 Patch in part by Pavel Roskin <proski@gnu.org>.
50619 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50621 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50622 Free memory block if necessary.
50625 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50626 be NULL. Don't lock in this case.
50628 2011-09-09 Roland McGrath <roland@hack.frob.com>
50630 * elf/elf.h (ELFOSABI_GNU): New macro.
50631 (ELFOSABI_LINUX): Define to that.
50633 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50635 * string/strncat.c (strncat): Undef the symbol in case it has been
50636 defined in bits/string.h.
50638 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50640 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50642 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50645 2011-08-17 Andreas Jaeger <aj@suse.de>
50647 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50649 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50650 Ian Lance Taylor <iant@google.com>
50652 * math/libm-test.inc (lround_test): New testcase.
50653 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50655 2011-09-08 Ulrich Drepper <drepper@gmail.com>
50657 * Makefile: Remove support for automatic cvs check-ins.
50658 * Makerules: Likewise.
50659 * config.make.in: Likewise.
50660 * configure.in: Likewise.
50661 * intl/Makefile: Likewise.
50662 * locale/Makefile: Likewise.
50663 * po/Makefile: Likewise.
50664 * posix/Makefile: Likewise.
50665 * sysdeps/gnu/Makefile: Likewise.
50666 * sysdeps/mach/hurd/Makefile: Likewise.
50667 * sysdeps/sparc/sparc32/Makefile: Likewise.
50670 * posix/Makefile (bug-regex32-ENV): Define.
50671 Patch by John Stanley <jpsinthemix@verizon.net>.
50673 * misc/Makefile (headers): Add bits/select2.h.
50674 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50675 * misc/bits/select2.h: New file.
50676 * include/bits/select2.h: New file.
50677 * debug/Makefile (routines): Add fdelt_chk.
50678 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50679 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50681 * debug/fdelt_chk.c: New file.
50683 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50684 * wcsmbs/test-wmemcmp.c: Likewise.
50685 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50686 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50688 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50690 * string/Makefile (strop-tests): Add memcmp.
50691 * string/test-wmemcmp.c: New file.
50692 * string/test-memcmp.c: Add wmemcmp support.
50694 2011-09-08 Roland McGrath <roland@hack.frob.com>
50697 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50700 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50701 garbage value in a __mach_port_mod_refs call in the cases of the
50702 task-self and thread-self ports.
50704 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50706 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50708 2011-09-08 Andreas Schwab <schwab@redhat.com>
50710 * elf/dl-load.c (lose): Check for non-null L.
50712 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50714 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50716 * elf/dl-libc.c (dlerror_run): Pass back error code from
50720 * elf/dl-load.c (lose): Free l_origin if it is valid.
50722 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50724 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50725 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50726 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50727 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50728 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50729 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50731 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50733 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50734 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50735 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50736 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50737 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50738 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50739 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50740 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50741 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50742 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50744 2011-08-15 Alan Modra <amodra@gmail.com>
50747 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50748 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50749 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50750 ppc_mcount to static-only-routines.
50751 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50753 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50754 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50756 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50758 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50759 for finite and infinity parameters.
50761 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50763 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50764 and add nop instructions for throughput optimization.
50765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50767 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50769 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50770 aligned copy for power7 with vector-scalar instructions.
50771 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50773 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50778 2011-09-07 Andreas Schwab <schwab@redhat.com>
50781 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50784 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50786 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50787 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50788 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50789 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50792 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50794 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50795 Forgot to demangle the pointer.
50797 * sysdeps/i386/sysdep.h: Define atom_text_section.
50798 * sysdeps/x86_64/sysdep.h: Likewise.
50799 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50800 section with atom_text_section.
50801 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50802 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50803 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50804 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50805 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50807 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50808 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50809 already be defined. Change to take two parameters and don't assign
50810 result to variable. Adjust all users.
50811 Define INTERNAL_GETTIME if not already defined.
50812 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50815 HAVE_CLOCK_GETTIME_VSYSCALL.
50816 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50818 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50819 gettimeofday vsyscall, just use time.
50821 2011-09-06 Andreas Schwab <schwab@redhat.com>
50823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50826 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50828 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50830 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50832 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50833 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50834 syscall if possible.
50836 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50838 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50839 e_ident. Don't pass to find_mapsXX.
50840 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50842 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50845 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50846 * sysdeps/x86_64/multiarch/strchr.S: Update.
50847 Check bit_slow_BSF bit.
50848 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50849 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50850 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50852 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50855 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50857 (tryshell): Define.
50858 (__spawni): Change last parameter to be flag. Test
50859 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50860 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50861 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50862 * posix/spawni.c: Likewise.
50863 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50864 * posix/spawnp.c: Likewise. Change normal version to use
50865 SPAWN_XFLAGS_USE_PATH.
50866 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50867 SPAWN_XFLAGS_TRY_SHELL.
50870 * posix/glob.h: Remove gcc 1.x support.
50873 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50875 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50877 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50878 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50880 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50881 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50882 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50883 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50884 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50885 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50887 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50889 * sysdeps/x86_64/wcscmp.S: New file.
50891 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50892 wcscmp-c wcscmp-sse2
50893 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50894 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50895 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50896 * wcsmbs/wcscmp.c: Allow renaming.
50898 2011-09-05 David S. Miller <davem@davemloft.net>
50900 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50901 stack slot, rather than the struct return pointer slot.
50902 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50903 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50905 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50907 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50909 * po/ja.po: Update from translation team.
50912 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50913 kernel in 64-bit binaries.
50915 2011-09-01 David S. Miller <davem@davemloft.net>
50917 * elf/elf.h (HWCAP_SPARC_*): Move to..
50918 * sysdeps/sparc/sysdep.h: this new file and add new values.
50919 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50920 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50921 _DL_HWCAP_COUNT to 24.
50922 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50924 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50925 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50926 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50927 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50928 instead of magic constants.
50929 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50931 2011-08-31 David S. Miller <davem@davemloft.net>
50933 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50935 Reimplement to do errno handling inline.
50936 (SYSCALL_ERROR_HANDLER): New macro.
50937 (__SYSCALL_STRING): Do not do errno handling in asm.
50938 (__CLONE_SYSCALL_STRING): Delete.
50939 (__INTERNAL_SYSCALL_STRING): Delete.
50940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50941 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50942 (PSEUDO): Reimplement to do errno handling inline.
50943 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
50949 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50951 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50952 (inline_syscall*): Add 'err' argument.
50953 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50954 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50955 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50956 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50958 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50959 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50961 2011-08-30 Andreas Schwab <schwab@redhat.com>
50963 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50965 2011-08-29 Jiri Olsa <jolsa@redhat.com>
50967 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50970 2011-08-24 David S. Miller <davem@davemloft.net>
50972 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50974 2011-08-24 Andreas Schwab <schwab@redhat.com>
50976 * elf/Makefile: Add rules to build and run unload8 test.
50977 * elf/unload8.c: New file.
50978 * elf/unload8mod1.c: New file.
50979 * elf/unload8mod1x.c: New file.
50980 * elf/unload8mod2.c: New file.
50981 * elf/unload8mod3.c: New file.
50983 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50986 2011-08-23 David S. Miller <davem@davemloft.net>
50988 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50989 subtract stack bias.
50990 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50991 %sp not %fp in calculations.
50992 (_JMPBUF_UNWINDS_ADJ): Likewise.
50994 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50995 (aio_suspend): Call it to force an exception region around the
50996 AIO_MISC_WAIT() invocation.
50998 2011-08-23 Andreas Schwab <schwab@redhat.com>
51000 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51003 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51005 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51007 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51008 and <dl-machine.h>.
51009 (Elf64_FuncDesc): Remove.
51011 2011-08-22 David S. Miller <davem@davemloft.net>
51013 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51014 sigaltstack check, add missing cfi directives.
51015 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51016 missing cfi directives, and sigaltstack handling.
51018 2011-08-16 Andreas Schwab <schwab@redhat.com>
51021 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51022 object is seen twice.
51023 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51025 * elf/Makefile (distribute): Add tst-initorder2.c.
51026 (tests): Add tst-initorder2.
51027 (modules-names): Add tst-initorder2a tst-initorder2b
51028 tst-initorder2c tst-initorder2d. Add rules to build them.
51029 ($(objpfx)tst-initorder2.out): New rule.
51030 * elf/tst-initorder2.c: New file.
51031 * elf/tst-initorder2.exp: New file.
51033 2011-08-22 Andreas Schwab <schwab@redhat.com>
51035 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51037 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51038 dependencies back to end of function.
51040 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51041 $(elfobjdir)/ld.so.
51043 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51045 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51046 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51047 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51048 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51049 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51050 of __vdso_gettimeofday.
51051 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51052 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51054 (_libc_vdso_platform_setup): Remove initialization of
51055 __vdso_gettimeofday and __vdso_time.
51057 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51059 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51060 and fgetc_unlocked.
51061 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51064 * elf/dl-open.c (add_to_global): Report additions to the global scope
51065 for LD_DEBUG=scopes.
51066 (dl_open_worker): Also print scope of newly loaded dependencies.
51067 (_dl_show_scope): Indicate if there is no scope.
51070 * stdio-common/Makefile (tests): Add bug24.
51071 * stdio-common/bug24.c: New file.
51073 2011-08-19 Andreas Jaeger <aj@suse.de>
51076 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51077 non-existant file when using close-on-exec mode.
51079 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51081 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51082 the very first instruction.
51084 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51085 the CFI state in the end.
51086 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51087 inclusion of dl-trampoline.h.
51088 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51090 2011-08-19 Andreas Schwab <schwab@redhat.com>
51092 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51093 expectations for long double.
51095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51096 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51098 2011-08-14 David S. Miller <davem@davemloft.net>
51100 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51101 artificual limit depends upon the system page size.
51103 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51105 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51106 * resolv/Makefile: Define CFLAGS-libresolv.
51108 2011-08-17 Andreas Schwab <schwab@redhat.com>
51110 * nss/makedb.c (compute_tables): Make variables used in nested
51113 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51115 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51116 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51117 if buffer was too small.
51119 * elf/pldd.c (main): Attach to all threads in the process.
51120 Rewrite /proc handling to use *at functions.
51122 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51124 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51125 specifies first scope to show.
51126 (dl_open_worker): Update callers. Move printing scope of new
51127 object to before the relocation.
51128 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51129 * sysdeps/generic/ldsodefs.h: Update declaration.
51131 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51132 string for the scope number.
51134 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51136 * nscd/servicescache.c (cache_addserv): Make sure written is always
51139 2011-08-14 Roland McGrath <roland@hack.frob.com>
51141 * sysdeps/i386/i486/bits/atomic.h
51142 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51143 statement expression, so as to suppress "set but not used" warning.
51144 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51146 * string/strncat.c (STRNCAT): Use prototype definition.
51148 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51149 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51151 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51152 (localedef-modules): Add localedef.
51153 (locale-modules): Add locale.
51155 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51156 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51157 to avoid a warning.
51159 2011-08-14 David S. Miller <davem@davemloft.net>
51161 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51162 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51164 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51166 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51167 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51168 * elf/rtld.c (dl_main): Set l_name of vDSO.
51169 Call _dl_show_scope when DL_DEBUG_SCOPES.
51170 (process_dl_debug): Recognize scopes flag and also set it for all.
51171 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51172 Declare _dl_show_scope.
51174 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51175 (do_dlopen): Pass caller_dlopen to dl_open.
51176 (__libc_dlopen_mode): Initialize caller_dlopen.
51178 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51179 of libc. Make tolower call locale-independent. Optimize a bit by
51180 using isdigit instead of isalnum.
51181 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51183 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51185 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51186 was a dependency or dynamically loaded.
51188 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51190 * intl/l10nflist.c: Allow architecture-specific pop function.
51191 * sysdeps/x86_64/l10nflist.c: New file.
51193 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51196 2011-08-10 Andreas Schwab <schwab@redhat.com>
51198 * include/dirent.h: Add libc_hidden_proto for scandirat and
51199 scandirat64. Don't declare __scandirat64.
51200 * dirent/scandirat.c: Add libc_hidden_def.
51201 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51202 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51204 2011-08-10 David S. Miller <davem@davemloft.net>
51206 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51208 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51209 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51210 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51212 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51214 * Versions.def [libc]: Add GLIBC_2.15.
51215 * dirent/Makefile (routines): Add scandirat and scandirat64.
51216 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51218 * dirent/dirent.h: Declare scandirat and scandirat64.
51219 * dirent/scandirat.c: New file.
51220 * dirent/scandirat64.c: New file.
51221 * sysdeps/wordsize-64/scandirat.c: New file.
51222 * sysdeps/wordsize-64/scandirat64.c: New file.
51223 * dirent/opendir.c: Define opendirat.
51224 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51226 * dirent/scandir64.c: Adjust for scandir.c change.
51227 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51228 __scandirat64, and __scandir_cancel_handler.
51229 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51230 additional parameter and use openat instead of open (outside of ld.so).
51231 Add new __opendir as wrapper around __opendirat.
51232 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51233 here without requiring old scandirat implementation.
51235 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51237 * dirent/scandir.c (cancel_handler): Renamed to
51238 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51239 defined. Adjust users.
51240 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51241 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51243 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51245 * string/test-string.h (IMPL): Use __STRING to expand name and then
51248 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51251 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51253 * string/Makefile: Update.
51254 (strop-tests): Append strncat.
51255 * string/test-wcscmp.c: New file.
51256 New comprehensive test for wcscmp.
51257 * string/test-strcmp.c: Update.
51258 (WIDE): New define.
51260 2011-07-22 Andreas Schwab <schwab@redhat.com>
51262 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51265 2011-07-26 Andreas Schwab <schwab@redhat.com>
51267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51268 encoding to ACE if AI_IDN.
51270 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51273 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51275 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51277 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51278 Fix overflow bug in strncat.
51279 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51281 * string/test-strncat.c: Update.
51282 Add new tests for checking overflow bugs.
51284 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51287 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51288 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51289 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51290 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51291 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51292 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51293 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51294 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51296 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51297 (USE_AS_STRCAT): Define.
51298 Add strcat and strncat support.
51299 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51301 2011-07-25 Andreas Schwab <schwab@redhat.com>
51303 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51304 __n bigger than INT_MAX+1.
51305 (__strncmp_g): Likewise.
51307 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51309 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51310 * libio/stido.h: Likewise.
51312 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51317 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51319 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51320 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51324 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51327 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51329 (_dl_x86_64_save_sse): Likewise.
51331 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51335 (_dl_x86_64_save_sse): Likewise.
51337 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51339 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51341 2011-07-21 Andreas Schwab <schwab@redhat.com>
51343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51345 (_dl_x86_64_save_sse): Use correct AVX check.
51347 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51349 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51350 bug in strncpy/strncat.
51351 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51353 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51355 * string/tester.c (test_strcat): Add tests for different alignments
51356 of source and destination.
51357 (test_strncat): Likewise.
51359 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51362 * posix/glob.c (glob): Check passed in values before using them in
51363 expressions to avoid some overflows.
51364 (glob_in_dir): Likewise.
51367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51368 check for AVX enablement so that we don't crash with old kernels and
51370 * elf/tst-audit4.c: Add same checks here.
51371 * elf/tst-audit6.c: Likewise.
51373 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51375 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51377 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51379 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51381 * po/cs.po: Update from translation team.
51382 * po/bg.po: Likewise.
51384 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51386 * misc/sys/cdefs.h: Add support for const attribute.
51387 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51388 to gnu_dev_{major,minor,makedev} functions.
51390 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51392 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51394 2011-07-20 Andreas Schwab <schwab@redhat.com>
51396 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51399 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51402 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51403 register in order to avoid conflicts with the soft frame pointer
51404 being held in r11 when necessary.
51405 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51406 (INTERNAL_VSYSCALL_NCS): Likewise.
51408 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51410 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51411 * elf/dl-fini.c (_dl_fini): Adjust caller.
51412 * elf/dl-close.c (_dl_close_worker): Likewise.
51413 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51415 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51417 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51418 "aux_cache->nlibs < 0".
51420 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51421 in the reload-count case.
51423 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51426 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51427 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51428 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51429 * sysdeps/x86_64/multiarch/strcat.S: New file.
51430 * sysdeps/x86_64/multiarch/strncat.S: New file.
51431 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51432 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51433 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51434 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51435 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51436 (USE_AS_STRCAT): Define.
51437 Add strcat and strncat support.
51438 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51439 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51440 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51441 * string/strncat.c: Update.
51442 (USE_AS_STRNCAT): Define.
51443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51444 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51446 * sysdeps/x86_64/multiarch/init-arch.h
51447 (bit_Prefer_PMINUB_for_stringop): New.
51448 (index_Prefer_PMINUB_for_stringop): Likewise.
51449 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51450 bit_Prefer_PMINUB_for_stringop.
51452 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51454 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51456 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51457 of casting of buffer.
51458 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51459 buffer32 and buffer64.
51460 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51461 writes instead of casting of buffer.
51462 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51464 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51467 2011-07-19 Andreas Schwab <schwab@redhat.com>
51469 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51471 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51473 * nscd/nscd.c (termination_handler): Don't do anything for a database
51474 if it has not yet been initialized.
51476 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51478 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51480 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51482 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51484 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51486 * po/nl.po: Update from translation team.
51487 * po/sv.po: Likewise.
51489 2011-07-16 Roland McGrath <roland@hack.frob.com>
51491 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51492 now disallowed by GCC.
51494 * configure.in (use-default-link): Default to yes if a test -shared
51495 link meets our qualifications.
51496 * configure: Regenerated.
51498 * config.make.in (output-format): New variable.
51499 * configure.in: Check for ld --print-output-format support.
51500 * configure: Regenerated.
51501 * Makerules ($(common-objpfx)format.lds)
51502 [$(output-format) != unknown]: Just use $(output-format),
51503 instead of the linker-script munging.
51505 2011-07-14 Roland McGrath <roland@hack.frob.com>
51507 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51508 of $(common-objpfx)shlib.lds.
51509 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51511 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51512 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51514 * configure.in (-z relro check): Adjust test code to add a large
51515 writable data section after it.
51516 * configure: Regenerated.
51518 2011-07-11 Roland McGrath <roland@hack.frob.com>
51520 * configure.in (-z relro check): Fix test code to make the variable
51522 * configure: Regenerated.
51524 2011-07-11 Ulrich Drepper <drepper@gmail.com>
51526 * nscd/nscd.h (struct traced_file): Define.
51527 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51528 elements. Add traced_files.
51529 (inotify_fd): Declare.
51530 (register_traced_file): Declare.
51531 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51532 (inotify_fd): Export.
51533 (resolv_conf_descr): Remove.
51534 (nscd_init): Move inotify descriptor creation to main.
51535 Don't register files for notification here.
51536 (register_traced_file): New function.
51537 (invalidate_cache): Don't use reset_res to determine whether to call
51538 res_init, go through the list of registered files.
51539 (main_loop_poll): The inotify descriptors are now stored in the
51540 structures for the traced files.
51541 (main_loop_epoll): Likewise
51542 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51543 to __nss_disable_nscd.
51544 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51545 for a database anymore. Check the records for all the registered
51547 * nss/Makefile (libnss_files-routines): Add files-init.
51548 (libnss_db-routines): Add db-init.
51549 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51550 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51551 * nss/nss_db/db-init.c: New file.
51552 * nss/nss_files/files-init.c: New file.
51553 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51554 __nss_lookup_function.
51555 (__nss_lookup_function): Call nss_load_library.
51556 (nss_load_all_libraries): New function.
51557 (__nss_disable_nscd): Take parameter with callback function for files
51558 to register. Set is_nscd. Load all the DSOs for the NSS modules
51559 used for the cached services.
51560 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51561 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51562 options for features to all the files in nscd.
51564 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51566 2011-07-10 Roland McGrath <roland@hack.frob.com>
51568 * csu/elf-init.c (__libc_csu_init): Comment typo.
51570 2011-07-09 Ulrich Drepper <drepper@gmail.com>
51572 * po/pl.po: Update from translation team.
51573 * po/ja.po: Likewise.
51574 * po/ru.po: Likewise.
51575 * po/ko.po: Likewise.
51576 * po/fr.po: Likewise.
51578 2011-07-09 Roland McGrath <roland@hack.frob.com>
51580 * configure.in (.ctors/.dtors header and trailer check):
51581 Use an empirical test on a built program.
51582 * configure: Regenerated.
51584 * configure.in (-z relro check): Use an empirical test on a built DSO.
51585 Detect, but do not require, on ia64.
51586 * configure: Regenerated.
51588 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51589 Update tests that use readelf to use $READELF instead.
51590 * configure: Regenerated.
51592 2011-07-08 Ulrich Drepper <drepper@gmail.com>
51594 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51595 if the result is not used.
51597 2011-07-05 Andreas Jaeger <aj@suse.de>
51600 * stdlib/tst-strtod.c: Add testcase.
51602 2011-07-07 Ulrich Drepper <drepper@gmail.com>
51604 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51605 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51606 The latter has a higher limit. Take additional parameter to pass to
51608 (__pathconf): Pass file to __statfs_link_max.
51609 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51611 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51615 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51616 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51618 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51619 (__statfs_filesize_max): Likewise.
51620 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51622 2011-07-05 Andreas Jaeger <aj@suse.de>
51624 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51626 2011-07-06 Marek Polacek <mpolacek@redhat.com>
51628 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51630 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51633 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51635 * Makefile (strop-tests): Add strncat.
51636 * string/test-strncat.c: New file.
51638 2011-06-30 Marek Polacek <mpolacek@redhat.com>
51640 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51642 2011-06-21 Andreas Jaeger <aj@suse.de>
51644 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51645 Copy rule from iconvdata/Makefile.
51647 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51650 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51651 but no long options are defined, just return 'W'.
51653 2011-06-22 Marek Polacek <mpolacek@redhat.com>
51656 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51658 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51660 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51662 (innetgr): Likewise.
51664 2011-07-05 Roland McGrath <roland@hack.frob.com>
51666 * config.make.in (install_root): Default to $(DESTDIR).
51668 2011-07-05 Ulrich Drepper <drepper@gmail.com>
51670 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51672 2011-07-02 Roland McGrath <roland@hack.frob.com>
51674 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51676 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51677 containing directory rather than embedding absolute directory names.
51679 * scripts/check-local-headers.sh: Rewritten using awk.
51680 Match by word, not by line. Print error messages for matches.
51681 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51683 * Makerules [shlib-lds-flags empty]:
51684 ($(common-objpfx)libc_pic.opts): New target.
51685 ($(common-objpfx)libc_pic.os.clean): New target.
51686 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51688 * config.make.in (OBJCOPY): New variable.
51689 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51690 * configure: Regenerated.
51692 * config.make.in (use-default-link): New variable.
51693 * configure.in (use_default_link): Grok --with-default-link to set it.
51694 * configure: Regenerated.
51695 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51696 (shlib-lds, shlib-lds-flags): Define to empty.
51698 * Makerules (shlib-lds): New variable.
51699 (shlib-lds-flags): New variable.
51700 (build-shlib, build-moduile, build-module-asneeded): Use it.
51701 ($(common-objpfx)libc.so): Use $(shlib-lds).
51702 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51703 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51705 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51706 DT_FLAGS/DT_FLAGS_1 with zero flags.
51708 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51709 linker script munging.
51711 2011-07-02 Ulrich Drepper <drepper@gmail.com>
51713 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51715 * crypt/sha512.c (sha512_process_block): Perform total addition using
51716 128-bit if possible.
51717 (__sha512_finish_ctx): Likewise.
51718 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51720 * crypt/sha256.c (SWAP64): Define.
51721 (sha256_process_block): Perform total addition using 64-bit if
51723 (__sha256_finish_ctx): Likewise.
51725 2011-07-01 Ulrich Drepper <drepper@gmail.com>
51727 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51728 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51729 * nscd/hstcache.c (cache_addhst): Likewise.
51730 * nscd/grpcache.c (cache_addgr): Likewise.
51731 * nscd/aicache.c (addhstaiX): Likewise
51732 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51734 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
51736 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51737 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51738 * nscd/hstcache.c (cache_addhst): Likewise.
51739 * nscd/grpcache.c (cache_addgr): Likewise.
51740 * nscd/aicache.c (addhstaiX): Likewise
51742 2011-07-01 Andreas Schwab <schwab@redhat.com>
51744 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51745 domain only when needed.
51747 2011-06-30 Andreas Schwab <schwab@redhat.com>
51749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51750 is always restored.
51752 2011-06-29 Ulrich Drepper <drepper@gmail.com>
51754 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51755 are re-adding the entry.
51756 * nscd/servicescache.c (cache_addserv): Likewise.
51758 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51760 * sysdeps/generic/dl-irel.h: fix protection against multiple
51762 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51764 2011-06-28 Ulrich Drepper <drepper@gmail.com>
51767 * malloc/memusage.sh: Fix quoting in message.
51768 * debug/xtrace.sh: Likewise.
51770 * configure.in: Remove support for --experimental-malloc option, make
51772 * config.make.in: Likewise.
51773 * malloc/Makefile: Likewise.
51775 2011-06-27 Andreas Schwab <schwab@redhat.com>
51777 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51778 two-byte characters.
51780 2011-06-27 Roland McGrath <roland@hack.frob.com>
51782 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51783 AC_CACHE_CHECK invocation.
51784 * configure: Regenerated.
51786 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51788 2011-06-27 Ulrich Drepper <drepper@gmail.com>
51791 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51792 bit from old_res_options.
51794 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51796 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51797 value type for setfct.
51799 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51801 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51802 __gettimeofday instead of gettimeofday.
51804 2011-06-26 Ulrich Drepper <drepper@gmail.com>
51806 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51808 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51810 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51812 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51815 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51818 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51819 strcpy-sse2-unaligned strncpy-sse2-unaligned
51820 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51821 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51822 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51823 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51824 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51825 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51826 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51827 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51828 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51829 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51830 (STRCPY): Support SSE2 and SSSE3 versions.
51832 2011-06-24 Ulrich Drepper <drepper@gmail.com>
51835 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51836 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51837 kernels which artificially limit size of requests.
51839 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51842 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51843 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51844 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51845 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51846 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51847 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51848 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51849 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51850 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51851 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51852 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51853 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51854 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51855 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51857 Enable unaligned load optimization for Intel Core i3, i5 and i7
51859 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51861 (index_Fast_Unaligned_Load): Define.
51862 (HAS_FAST_UNALIGNED_LOAD): Define.
51864 2011-06-23 Marek Polacek <mpolacek@redhat.com>
51866 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51868 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51871 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51872 until it is clear that the information is realy needed.
51873 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51875 2011-06-22 Andreas Schwab <schwab@redhat.com>
51877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51879 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51881 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51882 /sys/devices/system/cpu/online if it is usable.
51884 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51885 reading the information from the /proc filesystem to once a second.
51887 2011-06-21 Andreas Jaeger <aj@suse.de>
51889 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51890 NULL after inclusion of kernel headers.
51892 2011-06-21 Ulrich Drepper <drepper@gmail.com>
51894 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51895 calls to internal_setent.
51898 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51899 addresses using gethostbyname4_r ignore IPv4 addresses.
51901 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51902 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51904 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51906 2011-06-20 David S. Miller <davem@davemloft.net>
51908 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51910 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51912 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51913 (elf_irel): Use it.
51914 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51915 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51916 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51917 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51918 * sysdeps/x86_64/dl-irel.h: Likewise.
51920 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51921 * elf/dl-sym.c: Likewise.
51923 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51925 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51926 need to dereference resplen2.
51928 2011-06-14 Andreas Schwab <schwab@redhat.com>
51930 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51932 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51934 * Makeconfig: Define vardbdir and inst_vardbdir.
51935 * nss/Makefile: Add rules to install db-Makefile.
51937 * nss/nss_db/db-XXX.c: Cleanup.
51939 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51940 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51942 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51943 * nss/makedb.c: Implement -g option to specify that value strings
51944 are generated and should not be added to table iterated over for
51946 * nss/nss_db/db-initgroups.c: New file.
51948 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51951 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51952 (internal_getgrouplist): Adjust to name change.
51953 Update use_initgroups_entry if this is not the first call.
51954 * nss/databases.def: Add initgroups entry.
51956 * nss/makedb.c (compute_tables): Check result of multiple hash table
51957 sizes to minimize maximum chain length.
51959 2011-06-14 Ulrich Drepper <drepper@gmail.com>
51961 * Versions.def: Add entry for libnss_db.
51962 * shlib-versions: Likewise.
51963 * nss/Makefile: Add rules to build libnss_db.
51964 * nss/Versions: Add libnss_db information. Organize libnss_files
51966 * nss/db-Makefile: Add gshadow support. Change rules for the new
51967 makedb progra. Some minor improvements to generate smaller files.
51968 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51970 * nss/makedb.c: ...here.
51971 Improve database format to be smaller and require less memory at
51973 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51975 * nss/nss_db/db-netgrp.c: Likewise.
51976 * nss/nss_db/db-open.c: Likewise.
51977 * nss/nss_files/flies-XXX.x: Adjust comments.
51978 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51979 * nss/nss_files/files-grp.c: Likewise.
51980 * nss/nss_files/files-hosts.c: Likewise.
51981 * nss/nss_files/files-network.c: Likewise.
51982 * nss/nss_files/files-proto.c: Likewise.
51983 * nss/nss_files/files-pwd.c: Likewise.
51984 * nss/nss_files/files-rpc.c: Likewise.
51985 * nss/nss_files/files-service.c: Likewise.
51986 * nss/nss_files/files-sgrp.c: Likewise.
51987 * nss/nss_files/files-spwd.c: Likewise.
51988 * nss/nss_db/db-alias.c: Removed.
51989 * nss/nss_db/dummy-db.h: Removed.
51991 2011-06-02 Ulrich Drepper <drepper@gmail.com>
51993 * nss/makedb.c: Rewritten to not use database library.
51994 * nss/Makefile: Update to build new makedb program.
51996 2011-06-14 Andreas Jaeger <aj@suse.de>
51998 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51999 memset declaration.
52001 2011-06-10 Andreas Schwab <schwab@redhat.com>
52003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52006 2011-06-10 Roland McGrath <roland@hack.frob.com>
52008 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52009 * elf/Makefile ($(objpfx)ld.so): Likewise.
52011 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52012 Don't list ld.so twice in dependencies.
52014 * posix/bug-regex31.c: Include <stdlib.h>.
52016 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52018 * nis/nss_compat/compat-spwd.c
52019 (getspent_next_nss_netgr): Remove unused variable.
52020 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52022 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52023 nonmembers" output to use the right array.
52025 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52027 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52029 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52030 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52031 * catgets/gencat.c (read_input_file): Likewise.
52032 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52034 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52035 variable definition inside #if's controlling its use.
52037 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52039 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52041 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52043 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52046 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52048 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52049 * configure: Regenerated.
52051 * Makerules: Revert last change.
52052 * elf/Makefile: Likewise.
52054 2011-06-09 Roland McGrath <roland@hack.frob.com>
52056 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52057 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52058 (reloc-link): Likewise.
52060 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52062 * elf/Makefile: Add rules to build pldd.
52063 * elf/pldd.c: New file.
52064 * elf/pldd-xx.c: New file.
52066 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52068 * version.h: Update for 2.15 development version.
52070 2011-06-07 David S. Miller <davem@davemloft.net>
52072 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52074 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52075 elf_machine_lazy_rel): Likewise.
52076 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52077 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52078 elf_machine_lazy_rel): Likewise.
52079 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52080 dl_hwcap via passed in argument.
52081 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52084 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52086 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52088 2011-06-06 Roland McGrath <roland@hack.frob.com>
52091 * manual/fdl-1.1.texi: New file, verbatim from:
52092 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52093 * manual/lgpl-2.1.texi: New file, verbatim from:
52094 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52095 * manual/Makefile (licenses): New variable, list those new file names.
52097 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52099 * manual/fdl.texi: File removed.
52100 * manual/lesser.texi: File removed.
52101 * manual/libc.texinfo (Copying, Documentation License):
52102 Use new @include file names, put @appendix directive before @include.
52104 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52107 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52108 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52109 (mq_open): Add __NTH.
52111 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52114 Assume Intel Core i3/i5/i7 processor if AVX is available.
52116 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52121 2011-05-31 Andreas Schwab <schwab@redhat.com>
52123 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52124 memory. Use alloca_account. Fix memory leak when retrying.
52126 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52128 * version.h (RELEASE): Bump for 2.14 release.
52129 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52131 * config.make.in (RANLIB): Remove entry.
52133 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52135 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52136 (libc.pot): Work around missing support for .ksh extension in xgettext.
52139 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52140 if both request failed.
52141 (send_dg): In case of server errors clear resplen or *resplen2.
52144 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52145 when there are multiple maps.
52146 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52147 (_dl_fini): Remove test here.
52149 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52151 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52154 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52155 bit from old_res_options.
52156 (gaih_inet): Likewise.
52159 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52162 * resolv/res_init.c (res_setoptions): Make the code more compact.
52165 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52169 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52171 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52174 * malloc/malloc.h: Declare malloc hook variables as volatile.
52176 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52180 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52181 raise in the comment.
52182 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52183 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52184 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52186 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52189 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52190 grow the buffers more if it already has to be sufficient.
52191 (build_wcs_upper_buffer): Likewise.
52192 * posix/regexec.c (check_matching): Likewise.
52193 (clean_state_log_if_needed): Likewise.
52194 (extend_buffers): Don't enlarge buffers beyond size of the input
52196 Patches mostly by Emil Wojak <emil@wojak.eu>.
52197 * posix/bug-regex32.c: New file.
52198 * posix/Makefile (tests): Add bug-regex32.
52200 * locale/findlocale.c (_nl_find_locale): Return right away if
52201 _nl_explode_name failed.
52202 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52204 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52206 * debug/xtrace.sh: Unify messages.
52207 * malloc/memusage.sh: Likewise.
52210 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52211 time symbol from vDSO. Substitute with vsyscall if not available.
52212 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52215 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52216 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52217 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52218 Add sendmmsg and internal_sendmmsg.
52219 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52220 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52221 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52223 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52224 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52225 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52227 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52230 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52231 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52233 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52237 * iconvdata/Makefile (tests): Add bug-iconv9.
52238 * iconvdata/bug-iconv9.c: New file.
52240 2011-05-27 Andreas Schwab <schwab@redhat.com>
52243 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52245 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52247 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52248 (struct user_regs_struct): Change intcs field back to cs.
52250 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52252 * po/ja.po: Update from translation team.
52254 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52257 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52258 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52260 2011-05-20 Andreas Schwab <schwab@redhat.com>
52262 * stdlib/longlong.h: Update from GCC.
52264 2011-05-23 Andreas Schwab <schwab@redhat.com>
52266 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52268 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52269 Add parameter name.
52270 (__sysconf): Pass it down.
52272 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52275 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52277 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52278 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52279 add in in __libc_use_alloca calls. Adjust callers.
52280 (glob): Use malloc in some situations.
52282 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52283 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52286 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52288 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52289 and CLOCK_BOOTTIME_ALARM.
52292 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52295 * string/_strerror.c (__strerror_r): Print negative errors as signed
52299 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52300 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52301 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52303 * configure.in: Fix typo in redirection and correct removal of test
52304 files in two cases.
52307 * locale/setlocale.c (new_composite_name): Fix test to check for
52308 identical name of all categories.
52311 * libio/filedoalloc.c (local_isatty): New function.
52312 (_IO_file_doallocate): Use local_isatty.
52313 * stdio-common/perror.c (perror): In case a new stream is used
52314 forward the stream error.
52315 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52318 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52323 * include/alloca.h (extend_alloca_account): Define.
52326 * posix/regex.h: Fix comments with documentation of user-accessible
52327 fields after compilation and describe correct free'ing of pattern
52328 after re_compile_pattern.
52329 Patch by Reuben Thomas <rrt@sc3d.org>.
52331 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52333 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52334 and -mno-altivec to prevent the compiler from using Altivec and/or
52335 VSX instructions when the corresponding registers are not available.
52337 2011-05-19 Andreas Schwab <schwab@redhat.com>
52339 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52341 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52343 * libio/freopen.c (freopen): Use __dup2, not dup2.
52344 * libio/freopen64.c (freopen64): Likewise.
52346 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52349 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52350 * math/Makefile (tests): Add test-powl.
52351 (CFLAGS-test-powl.c): Define.
52352 * math/test-powl.c: New file.
52354 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52356 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52358 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52361 * iconvdata/gb18030.c: Update to GB18020-2005.
52363 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52365 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52366 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52367 Patch by Aharon Robbins <arnold@skeeve.com>.
52370 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52374 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52375 through underflows.
52378 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52379 point to strings before performing equality test for error_one_per_line
52383 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52386 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52387 (struct user_fpregs_struct): Avoid __uint*_t types.
52390 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52391 symbol info. Use it instead of calling _dl_addr locally.
52392 (lock_and_info): New function.
52393 (tr_freehook): Call lock_and_info and pass symbol info as additional
52394 parameter to tr_where.
52395 (tr_mallochook): Likewise.
52396 (tr_reallochook): Likewise.
52397 (tr_memalignhook): Likewise.
52399 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52400 used and couldn't be at all thread-safe.
52402 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52404 * libio/freopen.c (freopen): Don't close old file descriptor
52405 before the new one is opened. Instead dup the new file descriptor
52406 to the old one after the new stream is created.
52407 * libio/freopen64.c (freopen64): Likewise.
52408 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52409 * libio/fileops.c (_IO_new_file_close_it): Handle new
52410 _IO_FLAGS2_NOCLOSE flag.
52411 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52412 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52413 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52414 _IO_FLAGS2_NOCLOSE flag.
52415 * include/unistd.h: Add hidden_proto for dup3.
52416 Define __have_dup3.
52417 * io/dup3.c: Define hidden symbol.
52418 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52421 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52422 when an incomplete long option is used.
52423 * posix/tst-getopt_long1.c: New file.
52424 * posix/Makefile (tests): Add tst-getopt_long1.
52427 * scripts/config.guess: Update from autoconf-2.68.
52428 * scripts/config.sub: Likewise.
52431 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52433 (has_cpuclock): ...this. New function.
52434 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52435 macro here based on has_cpuclock code.
52438 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52439 First byte (not low byte) is now always NUL.
52440 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52443 Use non-cancelable interfaces.
52446 * locale/iso-639.def: Add entry for Sorani.
52449 * include/stdlib.h: Move include protection to the right place.
52450 Define abort_msg_s. Declare __abort_msg with it.
52451 * stdlib/abort.c (__abort_msg): Adjust type.
52452 * assert/assert.c (__assert_fail_base): New function. Majority
52453 of code from __assert_fail. Allocate memory for __abort_msg with
52455 (__assert_fail): Now call __assert_fail_base.
52456 * assert/assert-perr.c: Remove bulk of implementation. Use
52457 __assert_fail_base.
52458 * include/assert.hL Declare __assert_fail_base.
52459 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52461 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52463 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52467 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52468 until all modules are registered in the DTV.
52469 * elf/Makefile: Add rules to build and run tst-tls19.
52470 * elf/tst-tls19.c: New file.
52471 * elf/tst-tls19mod1.c: New file.
52472 * elf/tst-tls19mod2.c: New file.
52473 * elf/tst-tls19mod3.c: New file.
52474 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52477 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52481 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52482 two-byte sequence errors.
52483 * iconvdata/Makefile (tests): Add bug-iconv8.
52484 * iconvdata/bug-iconv8.c: New file.
52487 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52490 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52493 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52494 (dummy_getcfa): New function.
52495 (init): Get _Unwind_GetCFA address, use dummy if not found.
52496 (backtrace_helper): In recursion check, also check whether CFA changes.
52497 (__backtrace): Completely initialize arg.
52499 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52500 storing incomplete byte sequence in state object. Avoid testing for
52501 guaranteed too small input if we know there is enough data available.
52503 2011-05-11 Andreas Schwab <schwab@redhat.com>
52505 * Makeconfig (+link-pie): Indent.
52506 * Rules (binaries-pie): Define if $(have-fpie) and
52508 (binaries-shared): Also filter out $(binaries-pie).
52509 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52510 * nscd/Makefile (others-pie): Add nscd.
52511 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52512 ($(objpfx)nscd): Remove command override.
52513 * login/Makefile (others-pie): Add pt_chown.
52514 ($(objpfx)pt_chown): Remove command override.
52515 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52516 remove command overrides.
52518 2011-05-13 Ulrich Drepper <drepper@gmail.com>
52520 * libio/tst_putwc.c: Fix error messages.
52523 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52524 currently writing and seek to current position when not.
52525 * libio/Makefile (tests): Add bug-fclose1.
52526 * libio/bug-fclose1.c: New file.
52528 2011-05-12 Ulrich Drepper <drepper@gmail.com>
52531 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52532 don't set DF_1_NODELETE here.
52533 (do_lookup_x): When entering new entry test for copy relocation
52534 and if necessary set DF_1_NODELETE flag.
52535 * elf/tst-unique4.cc: New file.
52536 * elf/tst-unique4.h: New file.
52537 * elf/tst-unique4lib.cc: New file.
52538 * elf/Makefile: Add rules to build and run tst-unique4.
52539 Patch by Piotr Bury <pbury@goahead.com>.
52541 2011-05-11 Ulrich Drepper <drepper@gmail.com>
52544 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52547 * misc/mntent_r.c (addmntent): Flush the stream after the output
52550 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52551 (is_trusted_path_normalize): Skip initial colon. Append slash
52552 to empty buffer. Duplicate is_trusted_path code but allow
52553 constructed patch to be prefix.
52554 (is_dst): Allow $ORIGIN followed by /.
52555 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52556 Correct testing of result of is_trusted_path_normalize
52557 (decompose_rpath): Fix warning.
52559 2011-05-10 Ulrich Drepper <drepper@gmail.com>
52562 * grp/initgroups.c (internal_getgrouplist): When we found the service
52563 list through the initgroups entry in nsswitch.conf do not always
52564 continue on a successful lookup. Don't always use the
52565 __nss_group_database value if it is set.
52566 * nss/nsswitch.conf (initgroups): Change action for successful db
52567 lookup to continue for compatibility.
52569 2011-05-09 Ulrich Drepper <drepper@gmail.com>
52572 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52574 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52576 * iconvdata/tst-tables.sh: Likewise.
52577 * iconvdata/cp770.c: New file.
52578 * iconvdata/cp771.c: New file.
52579 * iconvdata/cp772.c: New file.
52580 * iconvdata/cp773.c: New file.
52581 * iconvdata/cp774.c: New file.
52582 * iconvdata/testdata/CP770: New file.
52583 * iconvdata/testdata/CP770..UTF8: New file.
52584 * iconvdata/testdata/CP771: New file.
52585 * iconvdata/testdata/CP771..UTF8: New file.
52586 * iconvdata/testdata/CP772: New file.
52587 * iconvdata/testdata/CP772..UTF8: New file.
52588 * iconvdata/testdata/CP773: New file.
52589 * iconvdata/testdata/CP773..UTF8: New file.
52590 * iconvdata/testdata/CP774: New file.
52591 * iconvdata/testdata/CP774..UTF8: New file.
52593 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52595 * iconvdata/gen-8bit-gap.sh: Likewise.
52596 * iconvdata/gen-8bit.sh: Likewise.
52598 * locale/iso-639.def: Add ary entry.
52601 * locale/C-translit.h.in: Add U20A1 transliteration.
52604 * locale/iso-639.def: Add wae entry.
52605 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52608 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52612 * locale/C-translit.h.in: Add entry for U20B9.
52613 Patch by pravin.d.s@gmail.com.
52615 2011-05-08 Ulrich Drepper <drepper@gmail.com>
52618 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52619 ENAMETOOLONG use generic getcwd.
52620 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52621 in rtld. Use *stat64.
52622 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52623 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52624 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52625 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52626 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52627 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52628 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52629 __fstatat64 macros.
52630 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52631 * dirent/rewinddir.c: Add libc_hidden_def.
52632 * sysdeps/mach/hurd/rewinddir.c: Likewise.
52633 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
52635 * include/dirent.h (__alloc_dir): Add flags parameter.
52636 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52637 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52639 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52640 from fdopendir if O_CLOEXEC is already set.
52642 2011-03-15 Alan Modra <amodra@gmail.com>
52644 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52645 l_tls_firstbyte_offset non-zero. Save padding offset in
52646 l_tls_firstbyte_offset for later use.
52647 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52648 freeing static tls block.
52650 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52652 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52653 where #ifdef was intended. The intent is to prevent ARG_MAX from
52654 being defined by the kernel headers.
52656 2011-05-07 Ulrich Drepper <drepper@gmail.com>
52659 * resolv/resolv.h: Define RES_NOTLDQUERY.
52660 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52661 no-tld-query and set RES_NOTLDQUERY.
52662 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52663 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52664 modern BIND to search name as TLD unless forbidden.
52666 2011-05-07 Petr Baudis <pasky@suse.cz>
52667 Ulrich Drepper <drepper@gmail.com>
52670 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52671 (is_trusted_path): ...to here.
52672 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52673 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52674 using is_trusted_path_normalize() in setuid scripts.
52676 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52678 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52679 __BEGIN/__END_DECLS.
52681 2011-05-06 Ulrich Drepper <drepper@gmail.com>
52683 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52684 NSS_STATUS_NOTFOUND if no record was found.
52686 2011-05-05 Andreas Schwab <schwab@redhat.com>
52688 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52689 (headers-not-in-tirpc): Remove rpc/netdb.h
52690 * resolv/netdb.h: Revert last change.
52692 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52694 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52695 circular dependency between libgcc.a and libc.a.
52697 2011-05-05 Andreas Schwab <schwab@redhat.com>
52699 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52700 * nis/Makefile: Don't install rpcsvc/*.
52701 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52702 instead of <rpc/types.h>.
52703 (MAXHOSTNAMELEN): Define.
52705 2011-05-03 Andreas Schwab <schwab@redhat.com>
52707 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52709 2011-04-28 Maciej Babinski <mbabinski@google.com>
52712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52713 gethostbyname4_r when IPv6 results are possible.
52715 2011-05-02 Ulrich Drepper <drepper@gmail.com>
52718 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52719 _PC_PIPE_BUF handling.
52721 2011-04-30 Bruno Haible <bruno@clisp.org>
52724 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52725 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52727 * inet/getnameinfo.c (getnameinfo): Likewise.
52729 2011-04-29 Ulrich Drepper <drepper@gmail.com>
52731 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52732 to groups setting in database lookup.
52733 * nss/nsswitch.conf: Add initgroups entry.
52735 2011-04-22 Ulrich Drepper <drepper@gmail.com>
52738 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52740 Patch by Eric Blake <eblake@redhat.com>.
52742 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52744 * sunrpc/Makefile (need-export-routines): Add svc_run.
52745 (routines): Remove svc_run.
52746 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52747 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52748 * sunrpc/svc_run.c (svc_run): Likewise.
52749 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52751 2011-04-21 Ulrich Drepper <drepper@gmail.com>
52753 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52754 problem in reallocation in last patch.
52756 2011-04-20 Ulrich Drepper <drepper@gmail.com>
52758 * sunrpc/Makefile: Move inclusion of Rules.
52760 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52762 * nss/nss_files/files-initgroups.c: New file.
52763 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52764 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52765 _nss_files_initgroups_dyn.
52767 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52769 * elf/elf.h (R_ARM_IRELATIVE): Define.
52771 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52773 * po/ru.po: Update from translation team.
52775 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52777 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52780 2011-02-06 Mike Frysinger <vapier@gentoo.org>
52783 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52784 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52785 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52786 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52789 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52791 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52793 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52794 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52795 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52797 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52800 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52802 * stdlib/bug-getcontext.c: New file.
52803 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52805 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52807 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52808 instructions into .machine "z9-109".
52809 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52810 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52812 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52814 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52815 between environment variables and auxiliary vector.
52817 2011-04-16 Ulrich Drepper <drepper@gmail.com>
52819 * Makefile: Add rules to build linkobj/libc.so.
52820 * include/libc-symbols.h: Define libc_hidden_nolink.
52821 * include/rpc/auth.h: Mark functions which are to be hidden.
52822 * include/rpc/auth_des.h: Likewise.
52823 * include/rpc/auth_unix.h: Likewise.
52824 * include/rpc/clnt.h: Likewise.
52825 * include/rpc/des_crypt.h: Likewise.
52826 * include/rpc/key_prot.h: Likewise.
52827 * include/rpc/pmap_clnt.h: Likewise.
52828 * include/rpc/pmap_prot.h: Likewise.
52829 * include/rpc/pmap_rmt.h: Likewise.
52830 * include/rpc/rpc_msg.h: Likewise.
52831 * include/rpc/svc.h: Likewise.
52832 * include/rpc/svc_auth.h: Likewise.
52833 * include/rpc/xdr.h: Likewise.
52834 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52835 * nss/Makefile: Likewise.
52836 * sunrpc/Makefile: Don't install headers. Build library with normal
52837 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52838 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52839 for the compat linking library. Remove use of INTDEF/INTUSE.
52840 * sunrpc/auth_none.c: Likewise.
52841 * sunrpc/auth_unix.c: Likewise.
52842 * sunrpc/authdes_prot.c: Likewise.
52843 * sunrpc/authuxprot.c: Likewise.
52844 * sunrpc/clnt_gen.c: Likewise.
52845 * sunrpc/clnt_perr.c: Likewise.
52846 * sunrpc/clnt_raw.c: Likewise.
52847 * sunrpc/clnt_simp.c: Likewise.
52848 * sunrpc/clnt_tcp.c: Likewise.
52849 * sunrpc/clnt_udp.c: Likewise.
52850 * sunrpc/clnt_unix.c: Likewise.
52851 * sunrpc/des_crypt.c: Likewise.
52852 * sunrpc/des_soft.c: Likewise.
52853 * sunrpc/get_myaddr.c: Likewise.
52854 * sunrpc/key_call.c: Likewise.
52855 * sunrpc/key_prot.c: Likewise.
52856 * sunrpc/netname.c: Likewise.
52857 * sunrpc/pm_getmaps.c: Likewise.
52858 * sunrpc/pm_getport.c: Likewise.
52859 * sunrpc/pmap_clnt.c: Likewise.
52860 * sunrpc/pmap_prot.c: Likewise.
52861 * sunrpc/pmap_prot2.c: Likewise.
52862 * sunrpc/pmap_rmt.c: Likewise.
52863 * sunrpc/publickey.c: Likewise.
52864 * sunrpc/rpc_cmsg.c: Likewise.
52865 * sunrpc/rpc_common.c: Likewise.
52866 * sunrpc/rpc_dtable.c: Likewise.
52867 * sunrpc/rpc_prot.c: Likewise.
52868 * sunrpc/rpc_thread.c: Likewise.
52869 * sunrpc/rtime.c: Likewise.
52870 * sunrpc/svc.c: Likewise.
52871 * sunrpc/svc_auth.c: Likewise.
52872 * sunrpc/svc_authux.c: Likewise.
52873 * sunrpc/svc_raw.c: Likewise.
52874 * sunrpc/svc_run.c: Likewise.
52875 * sunrpc/svc_simple.c: Likewise.
52876 * sunrpc/svc_tcp.c: Likewise.
52877 * sunrpc/svc_udp.c: Likewise.
52878 * sunrpc/svc_unix.c: Likewise.
52879 * sunrpc/svcauth_des.c: Likewise.
52880 * sunrpc/xcrypt.c: Likewise.
52881 * sunrpc/xdr.c: Likewise.
52882 * sunrpc/xdr_array.c: Likewise.
52883 * sunrpc/xdr_float.c: Likewise.
52884 * sunrpc/xdr_intXX_t.c: Likewise.
52885 * sunrpc/xdr_mem.c: Likewise.
52886 * sunrpc/xdr_rec.c: Likewise.
52887 * sunrpc/xdr_ref.c: Likewise.
52888 * sunrpc/xdr_sizeof.c: Likewise.
52889 * sunrpc/xdr_stdio.c: Likewise.
52891 2011-04-10 Ulrich Drepper <drepper@gmail.com>
52894 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52895 * sysdeps/ia64/dl-tls.h: Likewise.
52896 * sysdeps/powerpc/dl-tls.h: Likewise.
52897 * sysdeps/s390/dl-tls.h: Likewise.
52898 * sysdeps/sh/dl-tls.h: Likewise.
52899 * sysdeps/sparc/dl-tls.h: Likewise.
52900 * sysdeps/x86_64/dl-tls.h: Likewise.
52901 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52903 2011-03-14 Andreas Schwab <schwab@redhat.com>
52905 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52906 rpath element also skip the following colon.
52907 (expand_dynamic_string_token): Add is_path parameter and pass
52908 down to DL_DST_REQUIRED and _dl_dst_substitute.
52909 (decompose_rpath): Call expand_dynamic_string_token with
52910 non-zero is_path. Ignore empty rpaths.
52911 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52914 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52919 2011-04-09 Ulrich Drepper <drepper@gmail.com>
52922 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52923 Patch by Filipe David Manana <fdmanana@apache.org>.
52925 2011-04-07 Andreas Schwab <schwab@redhat.com>
52927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52928 Maintain aligned stack.
52929 (CHECK_RSP): Remove unused macro.
52931 2011-04-03 Ulrich Drepper <drepper@gmail.com>
52933 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52934 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52936 2011-04-02 Ulrich Drepper <drepper@gmail.com>
52938 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52940 * include/features.h: Mention __USE_XOPEN2K8 in comment.
52942 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52945 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52946 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52947 * sysdeps/x86_64/memmove.c: New file.
52948 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52949 (memcpy): Renamed to ...
52950 (__new_memcpy): This.
52951 (memcpy): Provide GLIBC_2_14 memcpy.
52952 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52953 (memcpy): Provide GLIBC_2_2_5 memcpy.
52955 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52958 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52960 2011-03-30 Andreas Schwab <schwab@redhat.com>
52962 * misc/syncfs.c: New file.
52963 * misc/Makefile (routines): Add syncfs.
52964 * posix/unistd.h: Declare syncfs.
52965 * sysdeps/unix/syscalls.list: Add syncfs.
52967 2011-04-01 Andreas Schwab <schwab@redhat.com>
52969 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52971 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52972 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52974 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52976 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52977 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52979 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52981 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52982 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52983 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52984 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52985 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52986 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52989 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52990 sync_file_range.c with -fexceptions.
52991 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52992 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52993 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52994 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52995 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52996 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52997 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52998 sync_file_range as cancellation point
52999 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53000 now a wrapper around __call_sync_file_range with cancellation handling.
53001 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53002 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53003 function name to __call_sync_file_range.
53004 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53005 Add call_sync_file_range.
53007 2011-04-01 Andreas Schwab <schwab@redhat.com>
53009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53012 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53014 * iconv/iconv.h: Fix typo in comment.
53015 * io/fcntl.h: Likewise.
53016 * libio/stdio.h: Likewise.
53017 * posix/spawn.h: Likewise.
53018 * posix/unistd.h: Likewise.
53019 * stdlib/stdlib.h: Likewise.
53020 * time/time.h: Likewise.
53021 * wcsmbs/wchar.h: Likewise.
53023 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53024 open_by_handle): Add.
53025 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53026 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53027 Augment a few comments.
53028 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53029 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53030 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53032 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53033 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53036 * io/fcntl.h (AT_EMPTY_PATH): Define.
53038 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53040 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53041 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53042 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53044 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53045 * Versions.def: Add GLIBC_2.14.
53046 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53049 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53051 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53053 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53055 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53058 * string/test-strncmp.c (do_page_test): New function.
53059 (check2): Likewise.
53060 (test_main): Call check2.
53061 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53063 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53066 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53067 Handle cache information in CPU leaf 4.
53068 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53070 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53073 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53074 character representation.
53075 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53077 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53079 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53080 END(__isnan) to END(__isnanf) to match function entry point/label
53081 EALIGN(__isnanf,...).
53083 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53085 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53087 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53090 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53091 copy from the symbol referenced in the relocation to initialize the
53093 Patch by Piotr Bury <pbury@goahead.com>.
53094 * elf/Makefile: Add rules to build and tst-unique3.
53095 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53096 * elf/tst-unique3.cc: New file.
53097 * elf/tst-unique3.h: New file.
53098 * elf/tst-unique3lib.cc: New file.
53099 * elf/tst-unique3lib2.cc: New file.
53101 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53103 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53105 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53106 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53109 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53111 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53112 to-be-loaded object along a path to loader is ld.so.
53114 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53115 Ulrich Drepper <drepper@gmail.com>
53117 * sysdeps/x86_64/memset.S: After aligning destination, code
53118 branches to different locations depending on the value of
53119 misalignment, when multiarch is enabled. Fix this.
53121 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53123 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53124 Set _x86_64_preferred_memory_instruction for AMD processsors.
53125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53126 Set bit_Prefer_SSE_for_memop for AMD processors.
53128 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53130 * libio/fmemopen.c (fmemopen): Optimize a bit.
53132 2011-03-03 Andreas Schwab <schwab@redhat.com>
53134 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53136 2011-03-03 Roland McGrath <roland@redhat.com>
53138 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53140 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53142 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53143 __bzero_ultra1 instead of __memset_ultra1.
53145 2011-02-23 Andreas Schwab <schwab@redhat.com>
53146 Ulrich Drepper <drepper@gmail.com>
53149 * include/link.h (struct link_map): Add l_orig_initfini.
53150 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53151 returning unsuccessfully.
53152 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53153 close of a file loaded at startup, restore the original l_initfini
53155 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53156 list, store the pointer.
53157 * elf/Makefile ($(objpfx)noload-mem): New rule.
53158 (noload-ENV): Define.
53159 (tests): Add $(objpfx)noload-mem.
53160 * elf/noload.c: Include <memcheck.h>.
53161 (main): Call mtrace. Close all opened handles.
53163 2011-02-17 Andreas Schwab <schwab@redhat.com>
53166 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53167 dependencies are missing.
53169 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53171 Fix __if_freereq crash: Unlike the generic version which uses free,
53173 * sysdeps/mach/hurd/ifreq.h: New file.
53175 2011-01-27 Petr Baudis <pasky@suse.cz>
53176 Ulrich Drepper <drepper@gmail.com>
53179 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53180 to extend_alloca().
53181 * stdio-common/bug23.c: New file.
53182 * stdio-common/Makefile (tests): Add bug23.
53184 2010-09-28 Andreas Schwab <schwab@redhat.com>
53185 Ulrich Drepper <drepper@gmail.com>
53188 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53189 before performing relro protection. At old place add assertion
53190 to make sure nothing changed.
53192 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53193 Glauber de Oliveira Costa <glommer@gmail.com>
53195 * elf/elf.h: Add new ARM TLS relocs.
53197 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53200 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53202 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53204 * sysdeps/wordsize-64/tst-writev.c: New file.
53206 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53208 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53209 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53210 insns in _dl_start to prevent a TOC reference before relocs are
53213 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53216 * Makeconfig: Remove RANLIB definition.
53217 * Makerules: Don't use RANLIB.
53218 * aclocal.m4: Remove ranlib test.
53219 * configure.in: No need to check for ranlib.
53220 * elf/rtld-Rules: Don't use RANLIB.
53222 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53224 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53226 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53227 inclusion protection macro.
53229 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53230 SIGRTMIN and SIGRTMAX and print information in that case only when
53231 SIGRTMIN is defined.
53233 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53235 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53236 arginfo fn returning -1.
53238 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53239 and thousands string is zero terminated.
53241 2011-02-03 Andreas Schwab <schwab@redhat.com>
53243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53244 sysdeps/unix/sysv/linux/bits/socket.h.
53246 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53248 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53249 (__CPU_COUNT): Remove old macros.
53250 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53251 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53252 (__CPU_ALLOC, __CPU_FREE): Add macros.
53253 (__sched_cpualloc, __sched_cpufree): Add declarations.
53255 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53257 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53258 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53259 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53260 (readdhstai): Return value of addhstaiX call.
53261 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53262 (addgrbyX): Return value returned by cache_addgr.
53263 (readdgrbyname): Return value returned by addgrbyX.
53264 (readdgrbygid): Likewise.
53265 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53266 (addpwbyX): Return value returned by cache_addpw.
53267 (readdpwbyname): Return value returned by addhstbyX.
53268 (readdpwbyuid): Likewise.
53269 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53270 (addservbyX): Return value returned by cache_addserv.
53271 (readdservbyname): Return value returned by addservbyX:
53272 (readdservbyport): Likewise.
53273 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53274 (addhstbyX): Return value returned by cache_addhst.
53275 (readdhstbyname): Return value returned by addhstbyX.
53276 (readdhstbyaddr): Likewise.
53277 (readdhstbynamev6): Likewise.
53278 (readdhstbyaddrv6): Likewise.
53279 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53280 (readdinitgroups): Return value returned by addinitgroupsX.
53281 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53282 (prune_cache): Keep track of timeout value of re-added entries.
53283 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53284 * nscd/nscd.h: Adjust prototypes of readd* functions.
53286 2011-02-04 Roland McGrath <roland@redhat.com>
53288 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53289 (nis_stats): Likewise.
53290 * nis/nis_modify.c (nis_modify): Likewise.
53291 * nis/nis_remove.c (nis_remove): Likewise.
53292 * nis/nis_add.c (nis_add): Likewise.
53294 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53296 * posix/fnmatch_loop.c: Add some consts.
53298 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53300 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53303 * config.make.in (config-cflags-novzeroupper): Define.
53304 * configure.in: Substitute libc_cv_cc_novzeroupper.
53305 * elf/Makefile (AVX-CFLAGS): Define.
53306 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53307 (CFLAGS-tst-auditmod4a.c): Likewise.
53308 (CFLAGS-tst-auditmod4b.c): Likewise.
53309 (CFLAGS-tst-auditmod6b.c): Likewise.
53310 (CFLAGS-tst-auditmod6c.c): Likewise.
53311 (CFLAGS-tst-auditmod7b.c): Likewise.
53312 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53314 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53316 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53317 function to the callback.
53318 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53320 2011-02-02 Andreas Schwab <schwab@redhat.com>
53322 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53325 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53328 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53330 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53332 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53335 * elf/Makefile: Add rules to build and run new test.
53336 * elf/tst-initorder.c: New file.
53337 * elf/tst-initorder.exp: New file.
53338 * elf/tst-initordera1.c: New file.
53339 * elf/tst-initordera2.c: New file.
53340 * elf/tst-initordera3.c: New file.
53341 * elf/tst-initordera4.c: New file.
53342 * elf/tst-initorderb1.c: New file.
53343 * elf/tst-initorderb2.c: New file.
53344 * elf/tst-order-a1.c: New file.
53345 * elf/tst-order-a2.c: New file.
53346 * elf/tst-order-a3.c: New file.
53347 * elf/tst-order-a4.c: New file.
53348 * elf/tst-order-b1.c: New file.
53349 * elf/tst-order-b2.c: New file.
53350 * elf/tst-order-main.c: New file.
53351 New test case by George Gensure <werkt0@gmail.com>.
53353 2010-10-01 Andreas Schwab <schwab@redhat.com>
53355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53356 decoding ACE if AI_CANONIDN.
53358 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53360 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53362 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53364 * version.h (RELEASE): Bump for 2.13 release.
53365 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53367 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53369 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53371 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53372 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53373 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53374 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53375 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53376 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53378 * posix/getconf.c: Update copyright year.
53379 * catgets/gencat.c: Likewise.
53380 * csu/version.c: Likewise.
53381 * debug/catchsegv.sh: Likewise.
53382 * debug/xtrace.sh: Likewise.
53383 * elf/ldconfig.c: Likewise.
53384 * elf/ldd.bash.in: Likewise.
53385 * elf/sprof.c (print_version): Likewise.
53386 * iconv/iconv_prog.c: Likewise.
53387 * iconv/iconvconfig.c: Likewise.
53388 * locale/programs/locale.c: Likewise.
53389 * locale/programs/localedef.c: Likewise.
53390 * malloc/memusage.sh: Likewise.
53391 * malloc/mtrace.pl: Likewise.
53392 * nscd/nscd.c (print_version): Likewise.
53393 * nss/getent.c: Likewise.
53395 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53396 PF_CAIF, and PF_ALG.
53397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53399 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53401 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53402 (modules-names): Use them.
53403 (ifunc-test-modules, ifunc-pie-tests): Define.
53404 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53405 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53406 (test-extras): Likewise.
53407 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53408 $(compile-command.c).
53409 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53410 (all-built-dso): Define.
53411 (check-textrel.out, check-execstack.out): Depend on it.
53413 * configure.in: Don't override --enable-multi-arch.
53415 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53418 * nscd/hstcache.c (tryagain): Define.
53419 (cache_addhst): Return tryagain not notfound for temporary errors.
53420 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53423 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53426 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53427 to make the syscall.
53428 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53431 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53432 and fall back to matching as normal character if the string ends before
53433 the matching ']' is found. This is what POSIX requires.
53434 * posix/testfnm.c: Adjust test result.
53435 * posix/globtest.sh: Adjust test result. Add new test.
53436 * posix/tst-fnmatch.input: Likewise.
53437 * posix/tst-fnmatch2.c: Add new test.
53439 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53441 * elf/Makefile (check-execstack): Revert last change. Depend on
53443 (check-execstack.h): New target.
53444 (generated): Add check-execstack.h.
53445 * elf/check-execstack.c: Include "check-execstack.h".
53446 (main): Revert last change.
53447 (handle_file): Return zero if GNU_STACK is absent and
53448 DEFAULT_STACK_PERMS doesn't include PF_X.
53450 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53452 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53453 in child fails because the descriptor is already closed.
53454 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53455 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53456 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53459 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53463 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53464 temporary buffer used to handle multi lookups locally.
53465 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53467 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53469 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53472 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53474 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53475 alignment for SSE2.
53477 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53480 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53481 characters. When rounding increased number of integer digits recompute
53483 * stdio-common/tst-grouping.c: New file.
53484 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53486 2011-01-09 Ulrich Drepper <drepper@gmail.com>
53488 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53489 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53491 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53493 * bits/select.h: Likewise.
53495 2011-01-08 Ulrich Drepper <drepper@gmail.com>
53497 * po/ja.po: Update from translation team.
53499 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
53502 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53503 implementation just like for lxstat, fxstatat, et al.
53505 2010-12-27 Jim Meyering <meyering@redhat.com>
53508 * posix/regexec.c (build_trtable): Return failure indication upon
53509 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53511 2010-12-25 Ulrich Drepper <drepper@gmail.com>
53514 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53515 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53516 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53517 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53520 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53523 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53524 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53526 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53528 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53529 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53530 script has SORT_BY_INIT_PRIORITY.
53531 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53532 NO_CTORS_DTORS_SECTIONS is defined.
53533 * elf/soinit.c: Likewise.
53534 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53535 NO_CTORS_DTORS_SECTIONS is defined.
53536 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53537 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53538 * sysdeps/sh/init-first.c: Likewise.
53539 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53541 2010-12-24 Ulrich Drepper <drepper@gmail.com>
53543 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53544 always use the slow path.
53546 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53548 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53549 similar rule which adds the sysdep directories to the header search in
53550 order to pick up the correct platform stackinfo.h.
53551 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53552 perform test if it is, otherwise return successfully without testing.
53553 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53554 DEFAULT_STACK_PERMS define in stackinfo.h.
53555 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53556 defined in stackinfo.h.
53557 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53558 DEFAULT_STACK_PERMS defined in stackinfo.h.
53559 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53560 * sysdeps/ia64/stackinfo.h: Likewise.
53561 * sysdeps/s390/stackinfo.h: Likewise.
53562 * sysdeps/sh/stackinfo.h: Likewise.
53563 * sysdeps/sparc/stackinfo.h: Likewise.
53564 * sysdeps/x86_64/stackinfo.h: Likewise.
53565 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53566 PF_X for powerpc64. Retain PF_X for powerpc32.
53568 2010-12-19 Ulrich Drepper <drepper@gmail.com>
53570 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53572 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53573 GETDENTS_64BIT_ALIGNED.
53575 2010-12-14 Ulrich Drepper <dreper@gmail.com>
53577 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53579 2010-12-10 Andreas Schwab <schwab@redhat.com>
53581 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53584 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53585 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53587 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53588 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53590 2010-12-09 Ulrich Drepper <drepper@gmail.com>
53593 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53596 2010-12-09 Jakub Jelinek <jakub@redhat.com>
53598 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53600 2010-12-03 Ulrich Drepper <drepper@gmail.com>
53602 * po/it.po: Update from translation team.
53604 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53609 2010-11-30 Ulrich Drepper <drepper@gmail.com>
53611 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53613 2010-11-24 Andreas Schwab <schwab@redhat.com>
53615 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53617 (gaih_getanswer_slice): Likewise.
53619 2010-10-20 Jakub Jelinek <jakub@redhat.com>
53621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53623 2010-05-31 Petr Baudis <pasky@suse.cz>
53626 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53627 silently even in the chroot mode.
53629 2010-11-22 Ulrich Drepper <drepper@gmail.com>
53631 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53632 last patch a bit. Pretty printing
53634 2010-05-31 Petr Baudis <pasky@suse.cz>
53637 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53638 initialization of skip_initgroups_dyn.
53640 2010-11-19 Ulrich Drepper <drepper@gmail.com>
53642 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53643 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53645 2010-11-16 Ulrich Drepper <drepper@gmail.com>
53647 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53649 2010-11-11 Andreas Schwab <schwab@redhat.com>
53651 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53652 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53653 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53654 ($(objpfx)tst-fnmatch-mem): New rule.
53655 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53656 * posix/tst-fnmatch.c (main): Call mtrace.
53658 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53661 Support Intel processor model 6 and model 0x2c.
53663 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
53665 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53668 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53671 * string/test-strncasecmp.c (check_result): New function.
53672 (do_one_test): Use it.
53673 (check1): New function.
53674 (test_main): Use it.
53675 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53676 Support strcasecmp and strncasecmp.
53678 2010-11-08 Ulrich Drepper <drepper@gmail.com>
53681 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53682 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53684 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53686 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53690 * sysdeps/x86_64/multiarch/bzero.S: New file.
53691 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53692 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53693 * sysdeps/x86_64/multiarch/memset.S: New file.
53694 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53696 Set bit_Prefer_SSE_for_memop for Intel processors.
53697 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53699 (index_Prefer_SSE_for_memop): Define.
53700 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53702 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
53704 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53705 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53707 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53710 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53711 (__x86_64_raw_data_cache_size_half): Likewise.
53712 (__x86_64_raw_shared_cache_size): Likewise.
53713 (__x86_64_raw_shared_cache_size_half): Likewise.
53715 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53716 (__x86_64_raw_data_cache_size_half): Likewise.
53717 (__x86_64_raw_shared_cache_size): Likewise.
53718 (__x86_64_raw_shared_cache_size_half): Likewise.
53719 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53720 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53721 and __x86_64_raw_shared_cache_size_half. Round
53722 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53723 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53724 to multiple of 256 bytes.
53726 2010-11-03 Ulrich Drepper <drepper@gmail.com>
53729 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53730 of inacessible symlinks. Verify result of symlink before returning it.
53731 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53732 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53734 2010-10-28 Erich Ritz <erichritz@gmail.com>
53736 * math/math.h (isinf): Fix typo in comment.
53738 2010-11-01 Ulrich Drepper <drepper@gmail.com>
53740 * po/da.po: Update from translation team.
53742 2010-10-26 Ulrich Drepper <drepper@gmail.com>
53744 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53745 is added to the list.
53747 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53748 Ulrich Drepper <drepper@gmail.com>
53750 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53751 the global list here. Move code to...
53752 (_dl_add_to_namespace_list): ...here. New function.
53753 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53754 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53755 * elf/dl-load.c (lose): Don't remove the element from the list.
53756 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53757 (_dl_map_object): Likewise.
53759 2010-10-25 Ulrich Drepper <drepper@gmail.com>
53762 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53763 into all bytes of SSE register.
53764 Patch by Richard Li <richardpku@gmail.com>.
53766 2010-10-24 Ulrich Drepper <drepper@gmail.com>
53769 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53772 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53774 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53775 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53776 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53777 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53782 2010-10-22 Andreas Schwab <schwab@redhat.com>
53784 * include/dlfcn.h (__RTLD_SECURE): Define.
53785 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53786 mode & __RTLD_SECURE instead.
53787 (open_path): Rename preloaded parameter to secure.
53788 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53789 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53790 * elf/dl-deps.c (openaux): Likewise.
53791 * elf/rtld.c (struct map_args): Remove is_preloaded.
53792 (map_doit): Don't use it.
53793 (dl_main): Likewise.
53794 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53795 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53797 2010-09-09 Andreas Schwab <schwab@redhat.com>
53799 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53800 (sysd-rules-targets): Remove duplicates.
53801 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53802 rtld-%.$o dependency.
53804 2010-10-18 Andreas Schwab <schwab@redhat.com>
53806 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53807 _dl_map_object do it.
53809 2010-10-19 Ulrich Drepper <drepper@gmail.com>
53811 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53812 fast fma builtins, define the macros in the C99 standard.
53813 (FP_FAST_FMAF): Likewise.
53814 (FP_FAST_FMAL): Likewise.
53815 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53817 * bits/mathdef.h: Update copyright year.
53818 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53820 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53822 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53823 builtins, define the macros in the C99 standard.
53824 (FP_FAST_FMAF): Likewise.
53825 (FP_FAST_FMAL): Likewise.
53826 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53828 (FP_FAST_FMAF): Likewise.
53830 2010-10-15 Jakub Jelinek <jakub@redhat.com>
53833 * math/libm-test.inc (fma_test): Some new testcases.
53834 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53835 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53836 y and infinite z. Do multiplication by C already in long double.
53837 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53839 y and infinite z. Do bitwise or of inexact bit into u.d.
53840 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53841 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53842 * sysdeps/i386/fpu/s_fma.S: Removed.
53843 * sysdeps/i386/fpu/s_fmal.S: Removed.
53845 2010-10-16 Jakub Jelinek <jakub@redhat.com>
53848 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53850 computation is not scheduled after fetestexcept. Fix value
53851 of minimum denormal long double.
53853 2010-10-14 Jakub Jelinek <jakub@redhat.com>
53856 * math/libm-test.inc (fma_test): Add some more tests.
53857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53860 2010-10-15 Andreas Schwab <schwab@redhat.com>
53862 * scripts/data/localplt-s390-linux-gnu.data: New file.
53863 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53865 2010-10-13 Jakub Jelinek <jakub@redhat.com>
53868 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53869 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53871 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53873 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53875 if one of x and y is very large and the other is subnormal.
53876 * sysdeps/s390/fpu/s_fmaf.c: New file.
53877 * sysdeps/s390/fpu/s_fma.c: New file.
53878 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53879 * sysdeps/powerpc/fpu/s_fma.S: New file.
53880 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53881 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53882 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53884 2010-10-12 Jakub Jelinek <jakub@redhat.com>
53887 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53889 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53890 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53891 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53892 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53893 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53894 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53895 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53897 2010-10-12 Ulrich Drepper <drepper@redhat.com>
53900 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53901 * posix/bug-regex31.input: Add test case.
53903 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53905 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53906 * posix/bug-regex31.input: New file.
53909 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53910 (parse_sub_exp): Fix last change, use postorder.
53912 * posix/bug-regex31.c: New file.
53913 * posix/Makefile: Add rules to build and run bug-regex31.
53915 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53918 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53921 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53922 to have entries in sys_siglist.
53925 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53928 2010-10-07 Jakub Jelinek <jakub@redhat.com>
53931 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53932 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53933 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53934 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53935 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53936 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53937 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53938 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53939 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53940 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53941 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53942 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53943 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53944 * math/ftestexcept.c (fetestexcept): Likewise.
53945 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53946 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53947 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53948 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53949 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53950 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53951 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53953 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53956 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53959 2010-10-06 Ulrich Drepper <drepper@gmail.com>
53961 * string/bug-strstr1.c: New file.
53962 * string/Makefile: Add rules to build and run bug-strstr1.
53964 2010-10-05 Eric Blake <eblake@redhat.com>
53967 * string/str-two-way.h (two_way_long_needle): Always clear memory
53968 when skipping input due to the shift table.
53970 2010-10-03 Ulrich Drepper <drepper@gmail.com>
53973 * malloc/mcheck.c: Handle large requests.
53976 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53977 for strncmp and strncasecmp.
53978 * string/stratcliff.c: Add tests for strcmp and strncmp.
53979 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53981 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53983 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53986 2010-09-30 Andreas Jaeger <aj@suse.de>
53988 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53989 (CGROUP_SUPER_MAGIC): Define.
53990 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53991 Handle btrfs and cgroup file systems.
53992 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53995 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
53997 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53998 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54000 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54003 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54004 trying to locate the ELF header.
54006 2010-09-27 Andreas Schwab <schwab@redhat.com>
54009 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54010 Mask out sign-bit copies when constructing f_fsid.
54012 2010-09-24 Petr Baudis <pasky@suse.cz>
54014 * debug/stack_chk_fail_local.c: Add missing licence exception.
54015 * debug/warning-nop.c: Likewise.
54017 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54019 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54020 implementing getdents64 using getdents syscall, set d_type if
54021 __ASSUME_GETDENTS32_D_TYPE.
54023 2010-09-16 Andreas Schwab <schwab@redhat.com>
54025 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54026 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54028 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54031 * posix/unistd.h: Undo change of feature selection for ftruncate from
54034 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54036 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54039 2010-09-20 Andreas Schwab <schwab@redhat.com>
54041 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54043 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54045 2010-09-14 Andreas Schwab <schwab@redhat.com>
54047 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54048 variables after CHECK_SP call.
54049 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54051 2010-09-13 Andreas Schwab <schwab@redhat.com>
54052 Ulrich Drepper <drepper@redhat.com>
54054 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54055 re-relocationg ld.so.
54056 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54057 _dl_init_paths call.
54058 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54061 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54063 * resolv/res_init.c (__res_vinit): Count the default server we added.
54065 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54066 Ulrich Drepper <drepper@redhat.com>
54069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54070 (____longjmp_chk): Use %ebx for saving value across system call.
54073 2010-09-06 Andreas Schwab <schwab@redhat.com>
54075 * manual/Makefile: Don't mix pattern rules with normal rules.
54077 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54079 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54081 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54082 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54083 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54084 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54085 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54088 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54091 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54092 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54094 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54096 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54097 * sysdeps/x86_64/addmul_1.S: Likewise.
54098 * sysdeps/x86_64/lshift.S: Likewise.
54099 * sysdeps/x86_64/mul_1.S: Likewise.
54100 * sysdeps/x86_64/rshift.S: Likewise.
54101 * sysdeps/x86_64/sub_n.S: Likewise.
54102 * sysdeps/x86_64/submul_1.S: Likewise.
54104 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54106 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54107 Define __sched_param instead of SCHED_* and sched_param when
54108 <bits/sched.h> is included with __need_schedparam defined.
54109 * bits/sched.h [__need_schedparam]
54110 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54111 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54112 (__defined_schedparam): Define to 1.
54113 (__sched_param): New structure, identical to sched_param.
54114 (__need_schedparam): Undefine.
54116 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54118 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54119 (epoll_create1): Declare.
54121 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54123 2010-08-31 Andreas Schwab <schwab@redhat.com>
54126 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54127 shifting retval into place.
54129 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54131 * nis/rpcsvc/nis.h: Update copyright notice.
54132 * nis/rpcsvc/nis.x: Likewise.
54133 * nis/rpcsvc/nis_callback.h: Likewise.
54134 * nis/rpcsvc/nis_callback.x: Likewise.
54135 * nis/rpcsvc/nis_object.x: Likewise.
54136 * nis/rpcsvc/nis_tags.h: Likewise.
54137 * nis/rpcsvc/yp.h: Likewise.
54138 * nis/rpcsvc/yp.x: Likewise.
54139 * nis/rpcsvc/ypupd.h: Likewise.
54140 * nis/yp_xdr.c: Likewise.
54141 * nis/ypupdate_xdr.c: Likewise.
54143 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54144 mainly the body of pmap_getport. Add parameters to specify timeouts.
54145 (pmap_getport): Use __libc_rpc_getport.
54146 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54147 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54148 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54150 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54155 2010-08-27 Roland McGrath <roland@redhat.com>
54157 * sysdeps/i386/i686/multiarch/Makefile
54158 (CFLAGS-varshift.c): New variable.
54160 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54162 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54163 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54165 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54167 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54169 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54171 * sysdeps/x86_64/strlen.S: Unroll the loop.
54172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54173 strlen-sse2 strlen-sse2-bsf.
54174 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54175 __strlen_no_bsf if bit_Slow_BSF is set.
54176 (__strlen_sse42): Removed.
54177 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54178 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54180 2010-08-25 Roland McGrath <roland@redhat.com>
54182 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54183 * sysdeps/x86_64/multiarch/varshift.c: New file.
54184 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54185 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54186 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54187 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54189 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54192 strlen-sse2 strlen-sse2-bsf.
54193 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54194 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54195 (__strlen_sse2): Removed.
54196 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54197 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54199 bit_Slow_BSF for Atom.
54200 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54201 (index_Slow_BSF): Define.
54202 (HAS_SLOW_BSF): Define.
54204 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54207 * resolv/res_init.c (__res_vinit): When no server address at all
54208 is given default to loopback.
54210 2010-08-24 Roland McGrath <roland@redhat.com>
54212 * configure.in: Remove config-name.h generation.
54213 * configure: Regenerated.
54214 * config-name.in: File removed.
54215 * scripts/config-uname.sh: New file.
54216 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54217 ($(objdir)config-name.h): New target.
54219 * sunrpc/rpc_parse.h: Avoid nested comment.
54221 2010-08-24 Richard Henderson <rth@redhat.com>
54222 Ulrich Drepper <drepper@redhat.com>
54223 H.J. Lu <hongjiu.lu@intel.com>
54225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54227 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54228 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54229 _mm_alignr_epi8 with _mm_loadu_si128.
54230 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54231 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54232 (__m128i_shift_right): Removed.
54233 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54234 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54235 * sysdeps/x86_64/multiarch/varshift.h: New file.
54236 * sysdeps/x86_64/multiarch/varshift.S: New file.
54238 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54240 * configure.in: Move assembler checks to before sysdep dir checking.
54242 2010-08-20 Petr Baudis <pasky@suse.cz>
54244 * LICENSES: Sync the sunrpc license.
54246 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54248 * sunrpc/auth_des.c: Update copyright notice once again.
54249 * sunrpc/auth_none.c: Likewise.
54250 * sunrpc/auth_unix.c: Likewise.
54251 * sunrpc/authdes_prot.c: Likewise.
54252 * sunrpc/authuxprot.c: Likewise.
54253 * sunrpc/bindrsvprt.c: Likewise.
54254 * sunrpc/clnt_gen.c: Likewise.
54255 * sunrpc/clnt_perr.c: Likewise.
54256 * sunrpc/clnt_raw.c: Likewise.
54257 * sunrpc/clnt_simp.c: Likewise.
54258 * sunrpc/clnt_tcp.c: Likewise.
54259 * sunrpc/clnt_udp.c: Likewise.
54260 * sunrpc/clnt_unix.c: Likewise.
54261 * sunrpc/des_crypt.c: Likewise.
54262 * sunrpc/des_soft.c: Likewise.
54263 * sunrpc/get_myaddr.c: Likewise.
54264 * sunrpc/getrpcport.c: Likewise.
54265 * sunrpc/key_call.c: Likewise.
54266 * sunrpc/key_prot.c: Likewise.
54267 * sunrpc/openchild.c: Likewise.
54268 * sunrpc/pm_getmaps.c: Likewise.
54269 * sunrpc/pm_getport.c: Likewise.
54270 * sunrpc/pmap_clnt.c: Likewise.
54271 * sunrpc/pmap_prot.c: Likewise.
54272 * sunrpc/pmap_prot2.c: Likewise.
54273 * sunrpc/pmap_rmt.c: Likewise.
54274 * sunrpc/rpc/auth.h: Likewise.
54275 * sunrpc/rpc/auth_unix.h: Likewise.
54276 * sunrpc/rpc/clnt.h: Likewise.
54277 * sunrpc/rpc/des_crypt.h: Likewise.
54278 * sunrpc/rpc/key_prot.h: Likewise.
54279 * sunrpc/rpc/netdb.h: Likewise.
54280 * sunrpc/rpc/pmap_clnt.h: Likewise.
54281 * sunrpc/rpc/pmap_prot.h: Likewise.
54282 * sunrpc/rpc/pmap_rmt.h: Likewise.
54283 * sunrpc/rpc/rpc.h: Likewise.
54284 * sunrpc/rpc/rpc_des.h: Likewise.
54285 * sunrpc/rpc/rpc_msg.h: Likewise.
54286 * sunrpc/rpc/svc.h: Likewise.
54287 * sunrpc/rpc/svc_auth.h: Likewise.
54288 * sunrpc/rpc/types.h: Likewise.
54289 * sunrpc/rpc/xdr.h: Likewise.
54290 * sunrpc/rpc_clntout.c: Likewise.
54291 * sunrpc/rpc_cmsg.c: Likewise.
54292 * sunrpc/rpc_common.c: Likewise.
54293 * sunrpc/rpc_cout.c: Likewise.
54294 * sunrpc/rpc_dtable.c: Likewise.
54295 * sunrpc/rpc_hout.c: Likewise.
54296 * sunrpc/rpc_main.c: Likewise.
54297 * sunrpc/rpc_parse.c: Likewise.
54298 * sunrpc/rpc_parse.h: Likewise.
54299 * sunrpc/rpc_prot.c: Likewise.
54300 * sunrpc/rpc_sample.c: Likewise.
54301 * sunrpc/rpc_scan.c: Likewise.
54302 * sunrpc/rpc_scan.h: Likewise.
54303 * sunrpc/rpc_svcout.c: Likewise.
54304 * sunrpc/rpc_tblout.c: Likewise.
54305 * sunrpc/rpc_util.c: Likewise.
54306 * sunrpc/rpc_util.h: Likewise.
54307 * sunrpc/rpcinfo.c: Likewise.
54308 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54309 * sunrpc/rpcsvc/key_prot.x: Likewise.
54310 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54311 * sunrpc/rpcsvc/mount.x: Likewise.
54312 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54313 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54314 * sunrpc/rpcsvc/rex.x: Likewise.
54315 * sunrpc/rpcsvc/rstat.x: Likewise.
54316 * sunrpc/rpcsvc/rusers.x: Likewise.
54317 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54318 * sunrpc/rpcsvc/spray.x: Likewise.
54319 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54320 * sunrpc/rtime.c: Likewise.
54321 * sunrpc/svc.c: Likewise.
54322 * sunrpc/svc_auth.c: Likewise.
54323 * sunrpc/svc_authux.c: Likewise.
54324 * sunrpc/svc_raw.c: Likewise.
54325 * sunrpc/svc_run.c: Likewise.
54326 * sunrpc/svc_simple.c: Likewise.
54327 * sunrpc/svc_tcp.c: Likewise.
54328 * sunrpc/svc_udp.c: Likewise.
54329 * sunrpc/svc_unix.c: Likewise.
54330 * sunrpc/svcauth_des.c: Likewise.
54331 * sunrpc/xcrypt.c: Likewise.
54332 * sunrpc/xdr.c: Likewise.
54333 * sunrpc/xdr_array.c: Likewise.
54334 * sunrpc/xdr_float.c: Likewise.
54335 * sunrpc/xdr_mem.c: Likewise.
54336 * sunrpc/xdr_rec.c: Likewise.
54337 * sunrpc/xdr_ref.c: Likewise.
54338 * sunrpc/xdr_sizeof.c: Likewise.
54339 * sunrpc/xdr_stdio.c: Likewise.
54341 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54344 2010-08-19 Andreas Schwab <schwab@redhat.com>
54346 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54348 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54350 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54351 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54352 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54353 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54354 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54355 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54356 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54357 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54358 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54359 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54360 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54361 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54362 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54363 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54365 2010-07-26 Anton Blanchard <anton@samba.org>
54367 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54368 * malloc/arena.c (heap_trim): Likewise.
54370 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54372 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54374 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54375 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54377 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54379 * sysdeps/i386/elf/Makefile: New file.
54381 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54383 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54384 from fanotify_init.
54385 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54386 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54388 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54390 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54392 * sysdeps/multiarch/strcmp.S: Likewise.
54394 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54396 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54397 strncase_l-nonascii.
54398 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54399 Add strncase_l-ssse3.
54400 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54401 * sysdeps/x86_64/strcmp.S: Likewise.
54402 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54403 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54404 * sysdeps/x86_64/strncase.S: New file.
54405 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54406 * sysdeps/x86_64/strncase_l.S: New file.
54407 * string/Makefile (strop-tests): Add strncasecmp.
54408 * string/test-strncasecmp.c: New file.
54410 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54413 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54414 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54416 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54418 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54420 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54422 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54423 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54424 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54426 2010-05-01 Alan Modra <amodra@gmail.com>
54428 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54429 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54430 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54431 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54432 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54433 tidying. Don't tail-call __sigjmp_save for static lib.
54434 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54436 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54437 (CALL_MCOUNT): Add eh info, and nop after bl.
54438 (TAIL_CALL_SYSCALL_ERROR): New macro.
54439 (PSEUDO_RET): Use it.
54440 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54441 Correct save location of integer regs and cr.
54442 (_dl_profile_resolve): Correct cr save location. Delete nops
54443 after bl when SHARED. Reduce cfi size a little by better
54444 placement of cfi directives.
54445 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54446 make a stack frame. Instead use parm save area as a temp.
54447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54448 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54450 Don't make a stack frame for parent, use parm save area.
54451 Increase child stack frame to 112 bytes. Don't save unused reg,
54452 and adjust reg usage. Set up cfi on error recovery and
54453 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54455 (__makecontext): Add dummy nop after jump to exit.
54456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54457 Use correct parm save area and cr save, reduce stack frame.
54458 Correct cfi for possible PSEUDO_RET frame setup.
54459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54460 Branch to local label emitted by PSEUDO_RET rather than
54463 2010-08-12 Andreas Schwab <schwab@redhat.com>
54466 * locale/programs/locale.c (print_assignment): New function.
54467 (show_locale_vars): Use it.
54469 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54471 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54473 (struct statfs64): Likewise.
54474 (_STATFS_F_FLAGS): Define.
54475 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54476 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54477 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54478 (ST_VALID): Define locally.
54479 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54480 __statvfs_getflags, use the provided value.
54481 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54482 __ASSUME_STATFS_F_FLAGS.
54484 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54486 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54487 Add sys/fanotify.h.
54488 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54489 fanotify_mask for GLIBC_2.13.
54490 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54491 fanotify_init and fanotify_mark.
54492 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54493 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54495 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54497 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54498 prlimit64 for GLIBC_2.13.
54499 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54501 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54504 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54505 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54506 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54507 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54509 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54512 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54513 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54515 * nss/Makefile: Add rules to build and run tst-nss-test1.
54516 * shlib-versions: Add entry for libnss_test1.
54517 * nss/nss_test1.c: New file.
54518 * nss/tst-nss-test1.c: New file.
54520 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54521 (__nss_configure_lookup): Set appropriate entry in
54522 __nss_configure_lookup to true.
54523 * nss/nsswitch.h: Define enum with indeces of databases in
54524 databases and __nss_database_custom arrays. Declare
54525 __nss_database_custom.
54526 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54527 to avoid using nscd when custom rules are installed.
54528 * nss/getXXbyYY_r.c: Likewise.
54529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54531 * nss/nss_files/files-parse.c: Whitespace fixes.
54533 2010-08-09 Ulrich Drepper <drepper@redhat.com>
54536 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54537 * posix/fnmatch_loop.c: Likewise.
54539 2010-07-17 Andi Kleen <ak@linux.intel.com>
54541 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54542 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54543 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54544 * Versions.def [GLIBC_2.13]: Add.
54546 2010-08-06 Ulrich Drepper <drepper@redhat.com>
54548 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54549 Also fail if tpwd after pwuid call is NULL.
54551 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54553 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54554 when converting to ms.
54556 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54558 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54559 EOPNOTSUPP errors with ENOTTY.
54560 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54561 EOPNOTSUPP errors with ENOTTY.
54563 2010-07-31 Ulrich Drepper <drepper@redhat.com>
54565 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54566 Add strcasecmp_l-ssse3.
54567 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54569 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54570 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54571 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54573 2010-07-30 Ulrich Drepper <drepper@redhat.com>
54575 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54577 * string/Makefile (strop-tests): Add strcasecmp.
54578 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54579 strcasecmp_l-nonascii.
54580 (gen-as-const-headers): Add locale-defines.sym.
54581 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54582 * sysdeps/x86_64/strcasecmp.S: New file.
54583 * sysdeps/x86_64/strcasecmp_l.S: New file.
54584 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54585 * sysdeps/x86_64/locale-defines.sym: New file.
54586 * string/test-strcasecmp.c: New file.
54588 * string/test-strcasestr.c: Test both ends of the range of characters.
54589 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54591 2010-07-29 Roland McGrath <roland@redhat.com>
54594 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54596 2010-07-27 Ulrich Drepper <drepper@redhat.com>
54598 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54601 2010-07-27 Andreas Schwab <schwab@redhat.com>
54603 * manual/memory.texi (Malloc Tunable Parameters): Document
54606 2010-07-26 Roland McGrath <roland@redhat.com>
54609 * configure.in (-fgnu89-inline check): Set and substitute
54610 gnu89_inline, not libc_cv_gnu89_inline.
54611 * configure: Regenerated.
54612 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54614 2010-07-26 Ulrich Drepper <drepper@redhat.com>
54616 * string/test-strnlen.c: New file.
54617 * string/Makefile (strop-tests): Add strnlen.
54618 * string/tester.c (test_strnlen): Add a few more test cases.
54619 * string/tst-strlen.c: Better error reporting.
54621 * sysdeps/x86_64/strnlen.S: New file.
54623 2010-07-24 Ulrich Drepper <drepper@redhat.com>
54625 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54626 lower-latency instructions.
54628 2010-07-23 Ulrich Drepper <drepper@redhat.com>
54630 * string/test-strcasestr.c: New file.
54631 * string/test-strstr.c: New file.
54632 * string/Makefile (strop-tests): Add strstr and strcasestr.
54633 * string/str-two-way.h: Don't undefine MAX.
54634 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54636 2010-07-21 Andreas Schwab <schwab@redhat.com>
54638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54639 strcasestr-nonascii.
54640 (CFLAGS-strcasestr-nonascii.c): Define.
54641 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54642 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54643 Remove unused attribute.
54645 2010-07-20 Roland McGrath <roland@redhat.com>
54647 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54648 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54649 ld.so.cache was broken. With it, there is no way to disable dsocaps
54650 like LD_HWCAP_MASK can disable hwcaps.
54652 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54654 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54656 2010-07-16 Ulrich Drepper <drepper@redhat.com>
54658 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54659 call in strcasestr.
54660 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54661 __strcasestr_sse42_nonascii.
54662 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54663 strcasestr-nonascii.c.
54664 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54666 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
54668 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54669 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54670 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54671 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54673 2010-07-09 Ulrich Drepper <drepper@redhat.com>
54675 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54678 2010-07-06 Andreas Schwab <schwab@redhat.com>
54681 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54684 2010-07-06 Ulrich Drepper <drepper@redhat.com>
54686 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54687 _PC_PIPE_BUF using F_GETPIPE_SZ.
54689 2010-07-05 Roland McGrath <roland@redhat.com>
54691 * manual/arith.texi (Rounding Functions): Fix rint description
54692 implicit in round description.
54694 2010-07-02 Ulrich Drepper <drepper@redhat.com>
54696 * elf/Makefile: Fix linking for a few tests to make recent linker
54699 2010-06-30 Andreas Schwab <schwab@redhat.com>
54701 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54702 $(common-objpfx)libc_nonshared.a.
54704 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
54706 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54707 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54708 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54709 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54710 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54711 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54712 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54713 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54728 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54729 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54730 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54731 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54732 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54733 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54734 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54735 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54736 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54737 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54738 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54739 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54755 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54757 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54758 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54759 * string/memmove.c (memmove): Renamed to ...
54760 (MEMMOVE): ...this. Default to memmove.
54761 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54762 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54765 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54766 mempcpy-ssse3-back memmove-ssse3-back.
54767 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54768 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54769 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54770 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54771 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54772 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54773 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54774 * sysdeps/x86_64/multiarch/memmove.c: New file.
54775 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54776 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54777 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54778 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54779 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54780 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54782 (index_Fast_Copy_Backward): Define.
54783 (HAS_ARCH_FEATURE): Define.
54784 (HAS_FAST_REP_STRING): Define.
54785 (HAS_FAST_COPY_BACKWARD): Define.
54787 2010-06-21 Andreas Schwab <schwab@redhat.com>
54789 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54790 Restore proper fallback handling.
54792 2010-06-19 Ulrich Drepper <drepper@redhat.com>
54795 * posix/group_member.c (__group_member): Correct checking loop.
54797 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54798 OOM in getpwuid_r correctly. Return error number when the caller
54799 should return, otherwise -1.
54800 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54801 call returning > 0 value.
54802 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54804 2010-06-07 Andreas Schwab <schwab@redhat.com>
54806 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54807 libc_nonshared.a from targets in modules-names.
54809 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54811 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54814 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
54816 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54817 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54821 2010-06-02 Andreas Schwab <schwab@redhat.com>
54823 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54825 2010-06-14 Ulrich Drepper <drepper@redhat.com>
54827 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54829 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54830 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54833 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54834 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54836 2010-06-14 Roland McGrath <roland@redhat.com>
54838 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54840 2010-06-07 Jakub Jelinek <jakub@redhat.com>
54842 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54843 __REDIRECT followed by __THROW.
54844 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54845 * posix/getopt.h (getopt): Likewise.
54847 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54849 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54850 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54851 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54853 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54854 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54856 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
54858 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54860 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54864 Properly check family and model.
54866 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54868 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54870 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
54872 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54874 2010-05-21 Ulrich Drepper <drepper@redhat.com>
54876 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54879 2010-05-19 Andreas Schwab <schwab@redhat.com>
54881 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54884 2010-05-21 Andreas Schwab <schwab@redhat.com>
54886 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54887 and internal_recvmmsg.
54888 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54889 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54890 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54891 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54893 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54894 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54895 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54897 2010-05-20 Andreas Schwab <schwab@redhat.com>
54899 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54901 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
54903 POWER7 optimizations.
54904 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54905 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54907 2010-05-19 Ulrich Drepper <drepper@redhat.com>
54909 * version.h: Update for 2.13 development version.
54911 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
54913 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54914 exceptions. Return 0.
54916 2010-05-07 Roland McGrath <roland@redhat.com>
54918 * elf/ldconfig.c (main): Add a const.
54920 2010-05-06 Ulrich Drepper <drepper@redhat.com>
54922 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54923 (args_options): Add no-idn option.
54924 (ahosts_keys_int): Add idn_flags to ai_flags.
54925 (parse_option): Handle 'i' option to clear idn_flags.
54927 * malloc/malloc.c (_int_free): Possible race in the most recently
54928 added check. Only act on the data if no current modification
54931 See ChangeLog.17 for earlier changes.