1 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4 to avoid using stl/str to align destination.
6 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
8 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10 2015-01-05 Joseph Myers <joseph@codesourcery.com>
13 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
14 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15 Define as weak alias not strong alias.
17 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
19 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
25 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26 for __vdso_* functions in declarations.
27 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
29 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30 INTERNAL_VSYSCALL): Use struct return types to check for error.
32 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
33 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34 function with cast from llround().
35 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
36 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39 2015-01-05 Joseph Myers <joseph@codesourcery.com>
42 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
43 Define as weak alias not strong alias.
46 * ctype/ctype-c99.c: New file. isblank implementation moved from
48 * ctype/ctype-extn.c: ... here.
49 (__isblank_l): Move to ...
50 * ctype/ctype-c99_l.c: ... here. New file.
51 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
52 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
54 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
55 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
56 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
57 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
58 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
61 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
62 (posix_fadvise64): Define as weak alias not strong alias.
63 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64 (posix_fallocate64): Likewise.
65 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
67 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
68 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
69 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
70 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
71 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
73 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
76 * NEWS: Mention bug fix.
77 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
78 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
79 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
80 (HOST_STACK_END_ADDR): Likewise.
82 2015-01-02 Joseph Myers <joseph@codesourcery.com>
85 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
86 * math/fegetround.c (fegetround): Rename to __fegetround and
87 define as weak alias of __fegetround. Use libm_hidden_weak.
88 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
89 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
90 * sysdeps/arm/fegetround.c (fegetround): Likewise.
91 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
92 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
93 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
94 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
95 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
96 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
97 Undefine after rather than before function definition; use
98 parentheses around function name in definition.
99 (__fegetround): Also undefine macro after function definition.
100 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
101 __fegetround and define as weak alias of __fegetround. Use
102 libm_hidden_weak. Do not undefine as macro.
103 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
105 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
106 __fegetround and define as weak alias of __fegetround. Use
108 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
109 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
110 * sysdeps/tile/math_private.h (__fegetround): New inline function.
111 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
112 __fegetround and define as weak alias of __fegetround. Use
114 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
115 __fegetround instead of fegetround.
118 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
119 Condition macro definition on [__USE_MISC].
122 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
123 (struct sigaction): Change type of sa_flags field to int.
126 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
127 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
130 * nptl/version.c (banner): Use single year in copyright notice.
132 * NEWS: Update copyright dates.
133 * catgets/gencat.c (print_version): Likewise.
134 * csu/version.c (banner): Likewise.
135 * debug/catchsegv.sh: Likewise.
136 * debug/pcprofiledump.c (print_version): Likewise.
137 * debug/xtrace.sh (do_version): Likewise.
138 * elf/ldconfig.c (print_version): Likewise.
139 * elf/ldd.bash.in: Likewise.
140 * elf/pldd.c (print_version): Likewise.
141 * elf/sotruss.sh: Likewise.
142 * elf/sprof.c (print_version): Likewise.
143 * iconv/iconv_prog.c (print_version): Likewise.
144 * iconv/iconvconfig.c (print_version): Likewise.
145 * locale/programs/locale.c (print_version): Likewise.
146 * locale/programs/localedef.c (print_version): Likewise.
147 * login/programs/pt_chown.c (print_version): Likewise.
148 * malloc/memusage.sh (do_version): Likewise.
149 * malloc/memusagestat.c (print_version): Likewise.
150 * malloc/mtrace.pl: Likewise.
151 * manual/libc.texinfo: Likewise.
152 * nptl/version.c (banner): Likewise.
153 * nscd/nscd.c (print_version): Likewise.
154 * nss/getent.c (print_version): Likewise.
155 * nss/makedb.c (print_version): Likewise.
156 * posix/getconf.c (main): Likewise.
157 * scripts/test-installation.pl: Likewise.
158 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
160 2015-01-02 Will Newton <will.newton@linaro.org>
162 * sysdeps/arm/armv7/configure: Removed.
163 * sysdeps/arm/armv7/configure.ac: Likewise.
165 2015-01-02 Joseph Myers <joseph@codesourcery.com>
167 * All files with FSF copyright notices: Update copyright dates
168 using scripts/update-copyrights.
169 * intl/plural.c: Regenerated.
170 * locale/programs/charmap-kw.h: Likewise.
171 * locale/programs/locfile-kw.h: Likewise.
173 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
175 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
177 2014-12-31 Joseph Myers <joseph@codesourcery.com>
180 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
181 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
182 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
183 and define as weak alias of __fegetenv. Use libm_hidden_weak.
184 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
185 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
186 define as weak alias of __fegetenv. Use libm_hidden_weak.
187 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
188 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
189 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
190 define as weak alias of __fegetenv. Use libm_hidden_weak.
191 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
192 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
193 define as weak alias of __fegetenv. Use libm_hidden_weak.
194 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
196 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
197 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
199 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
200 define as weak alias of __fegetenv. Use libm_hidden_weak.
201 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
202 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
203 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
204 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
205 and define as weak alias of __fegetenv. Use libm_hidden_weak.
206 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
207 __fegetenv instead of fegetenv.
208 (libc_feholdsetround_noex_ctx): Likewise.
210 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
212 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
213 (Elf_MIPS_ABIFlags_v0): New structure.
214 (EF_MIPS_FP64): Define.
215 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
216 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
217 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
218 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
219 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
220 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
221 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
222 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
223 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
224 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
225 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
226 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
227 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
228 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
229 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
230 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
231 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
232 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
233 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
234 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
235 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
236 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
238 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
240 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
241 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
242 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
243 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
244 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
245 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
246 * sysdeps/mips/tst-abi-interlink.c: Likewise.
247 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
248 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
249 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
250 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
251 record the current FP ABI extension.
252 (mips-mode-switch): Define to show if kernel headers support mode
254 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
255 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
256 supported SYSV ABI version to 3.
257 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
260 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
261 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
263 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
265 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
267 2014-12-31 Joseph Myers <joseph@codesourcery.com>
269 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
270 __fegetround and redefine to call __fegetround. Remove condition
271 on [!__NO_MATH_INLINES].
272 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
274 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
275 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
277 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
278 instead of <fenv_libc.h>.
279 (__llrintl): Call fegetround instead of __fegetround.
280 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
281 instead of <fenv_libc.h>.
282 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
283 (__lrintl): Call fegetround instead of __fegetround.
284 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
285 instead of <fenv_libc.h>.
286 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
287 (__rintl): Call fegetround instead of __fegetround.
289 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
291 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
294 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
297 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
298 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
299 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
301 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
303 * sysdeps/i386/tls-macros.h: Include <features.h>.
304 (TLS_LE): Use non-PIC version for GCC >= 5.0.
308 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
309 define for GCC >= 5.0.
311 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
313 * math/test-fenv.c (test_single_exception, set_single_exc,
314 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
315 feexcp_mask_test, feenable_test, fe_single_test): Add
316 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
317 case where they are not used.
318 * math/libm-test.inc: Likewise.
319 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
320 unused in the absence of FP rounding/exception support.
321 * stdio-common/tst-printf-round.c: Likewise.
322 * stdlib/tst-strtod-round.c: Likewise.
323 * stdlib/tst-strtod-underflow.c: Likewise.
325 2014-12-30 Joseph Myers <joseph@codesourcery.com>
328 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
329 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
330 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
331 __feraiseexcept and define as weak alias of __feraiseexcept. Use
333 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
334 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
335 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
337 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
338 __feraiseexcept and define as weak alias of __feraiseexcept. Use
340 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
342 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
343 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
344 __feraiseexcept and define as weak alias of __feraiseexcept. Use
346 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
348 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
349 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
350 (__feraiseexcept): Likewise.
351 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
352 __feraiseexcept and define as weak alias of __feraiseexcept. Use
354 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
355 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
357 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
358 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
360 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
362 (feraiseexcept): Define as weak not strong alias. Use
364 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
365 New inline function. Factored out of ...
366 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
367 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
368 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
370 * math/w_acos.c (__acos): Likewise.
371 * math/w_asin.c (__asin): Likewise.
372 * math/w_ilogb.c (__ilogb): Likewise.
373 * math/w_j0.c (y0): Likewise.
374 * math/w_j1.c (y1): Likewise.
375 * math/w_jn.c (yn): Likewise.
376 * math/w_log.c (__log): Likewise.
377 * math/w_log10.c (__log10): Likewise.
378 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
379 * sysdeps/aarch64/fpu/math_private.h
380 (libc_feupdateenv_test_aarch64): Likewise.
381 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
382 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
383 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
384 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
385 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
386 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
387 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
388 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
389 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
390 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
392 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
395 * io/test-utime.c (main): Replace %ld with %jd and cast to
397 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
398 * nptl/tst-mutex5.c: Include <stdint.h>.
399 (do_test): Replace %ld with %jd and cast to intmax_t.
400 * posix/tst-regex.c (run_test): Likewise.
401 (run_test_backwards): Likewise.
402 * rt/tst-clock.c: Include <stdint.h>.
403 (clock_test): Replace %ld with %jd and cast to intmax_t.
404 * rt/tst-cpuclock1.c: Include <stdint.h>.
405 (do_test): Replace %lu with %ju and cast to uintmax_t.
406 * rt/tst-cpuclock2.c: Include <stdint.h>.
407 (do_test): Replace %lu with %ju and cast to uintmax_t.
408 * rt/tst-mqueue1.c: Include <stdint.h>.
409 (check_attrs): Replace %ld with %jd and cast to intmax_t.
410 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
412 * rt/tst-mqueue4.c (do_test): Likewise.
413 * rt/tst-timer4.c: Include <stdint.h>.
414 (check_ts): Replace %ld with %jd and cast to intmax_t.
416 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
417 and cast to intmax_t.
418 * sysdeps/pthread/tst-timer.c (main): Likewise.
419 * time/clocktest.c (main): Likewise.
420 * time/tst-posixtz.c (do_test): Likewise.
421 * timezone/tst-timezone.c (main): Likewise.
423 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
424 H.J. Lu <hongjiu.lu@intel.com>
426 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
427 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
428 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
429 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
430 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
431 version if bit_Fast_Unaligned_Load is set.
432 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
433 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
434 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
435 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
436 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
437 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
439 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
440 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
441 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
443 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
444 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
445 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
446 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
448 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
450 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
451 instead of #if to avoid a Wundef warning.
452 * stdlib/tst-limits.c (do_test): Likewise.
454 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
455 parallel other exception macros.
456 (fegetenv): Convert from macro to extern inline so that it applies
457 retroactively to inline functions already seen by the compiler.
458 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
460 * posix/Makefile (before-compile): Use $(objpfx) for
461 posix-conf-vars-def.h.
463 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
465 * posix/getconf.c (main): Use size_t for type of I.
466 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
469 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
470 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
471 * posix/posix-envs.def: Likewise.
472 * sysdeps/posix/sysconf.c: Likewise.
473 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
474 (specs): Remove array.
475 * scripts/gen-posix-conf-vars.awk: Support generation of specs
478 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
479 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
480 (__sysconf): Use CONF_IS_* macros.
482 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
483 ($(objpfx)posix-conf-vars-def.h): New target.
484 * posix/posix-conf-vars.list: New file.
485 * posix/posix-conf-vars.h: New file.
486 * posix/confstr.c: Include posix-conf-vars.h.
487 (confstr): Use CONF_IS_* macros.
488 * posix/posix-envs.def: Include posix-conf-vars.h. Use
490 * scripts/gen-posix-conf-vars.awk: New file.
492 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
494 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
495 fegetround): Add no-op macros to avoid linknamespace issues.
497 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
498 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
500 * sysdeps/unix/sysv/linux/tile/sysdep.h
501 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
502 assembly-specific section to avoid a redefinition warning.
504 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
505 long before casting to pointer to avoid a cast warning.
507 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
509 * sysdeps/tile/tilegx/Implies: New file.
511 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
513 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
515 2014-12-23 Florian Weimer <fweimer@redhat.com>
517 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
519 2014-12-22 Joseph Myers <joseph@codesourcery.com>
521 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
523 * sysdeps/unix/sysv/linux/utimes.c: Do not include
525 (__utimes) [__NR_utimes]: Make code unconditional.
526 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
527 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
528 (__ASSUME_UTIMES): Do not undefine.
529 * sysdeps/unix/sysv/linux/tile/kernel-features.h
530 (__ASSUME_UTIMES): Likewise.
531 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
532 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
533 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
534 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
536 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
538 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
540 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
543 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
544 alias to weak alias for j0l, y0l.
545 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
546 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
549 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
552 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
554 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
555 to zero if not already defined.
557 2014-12-22 Joseph Myers <joseph@codesourcery.com>
560 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
561 (__kernel_standard_f): Remove. Moved to k_standardf.c.
562 (__kernel_standard_l): Remove. Moved to k_standardl.c with
563 (char *) casts added.
564 * sysdeps/ieee754/k_standardf.c: New file.
565 * sysdeps/ieee754/k_standardl.c: Likewise.
566 * math/Makefile (libm-support): Remove k_standard.
567 (libm-calls): Add k_standard.
569 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
571 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
572 Optimize to avoid an unnecessary FPCR read.
574 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
576 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
577 Optimize to reduce FPCR/FPSR accesses.
579 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
581 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
582 Call libc_fetestexcept_aarch64.
584 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
586 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
587 Call libc_fesetround_aarch64.
589 2014-12-22 Joseph Myers <joseph@codesourcery.com>
592 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
593 (__bind): Do not define as weak alias.
594 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
596 (__getsockname): Do not define as weak alias.
598 2014-12-22 Will Newton <will.newton@linaro.org>
600 * manual/install.texi: Document that we require bison 2.7
602 * INSTALL: Regenerate.
603 * configure.ac: Use AC_CHECK_PROG_VER instead of
604 AC_PATH_PROG when checking for bison and check for
605 version 2.7 or above.
606 * configure: Regenerate.
608 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
611 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
612 * sysdeps/tile/ffsll.c (ffsll): To here.
614 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
616 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
618 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
620 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
622 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
623 hidden ___tls_get_addr.
624 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
625 hidden __tls_get_addr.
626 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
627 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
630 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
632 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
635 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
637 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
638 from "call _dl_init@PLT".
639 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
641 2014-12-21 Anders Kaseorg <andersk@mit.edu>
643 * manual/search.texi: (Array Sort Function): Clarify stable sorting
646 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
648 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
650 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
653 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
656 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
658 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
660 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
661 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
662 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
663 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
664 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
666 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
668 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
669 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
670 (PTR_SUBU): Use subu for mips32r6/mips64r6.
671 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
672 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
674 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
676 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
678 * string/strncat.c (STRNCAT): Simplify implementation.
680 2014-12-19 David S. Miller <davem@davemloft.net>
682 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
683 access the quad as both a long double and as a series of 4 words.
685 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
686 link_map->l_info array access.
688 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
690 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
692 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
693 * math/atest-exp2.c (TIMEOUT): Likewise.
694 * math/atest-sincos.c (TIMEOUT): Likewise.
696 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
698 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
699 -Wno-error with -fno-builtin-lround.
701 2014-12-19 Torvald Riegel <triegel@redhat.com>
703 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
704 Contains futex constants and functions moved over from ...
705 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
706 <lowlevellock-futex.h>.
707 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
708 (lll_timedwait_tid): Add comments and parentheses around macro
711 2014-12-19 Torvald Riegel <triegel@redhat.com>
713 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
714 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
715 (__lll_private_flag): Remove.
716 (lll_futex_wait): Likewise.
717 (lll_futex_timed_wait): Likewise.
718 (lll_futex_wake): Likewise.
719 (lll_futex_requeue): Likewise.
720 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
721 (__lll_timedwait_tid): Spell out argument names.
722 (lll_timedwait_tid): Add comments and parentheses around macro
724 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
725 LLL_SHARED and LLL_PRIVATE usable from assembly code.
727 2014-12-19 Torvald Riegel <triegel@redhat.com>
729 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
730 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
731 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
732 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
733 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
734 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
735 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
736 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
737 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
738 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
739 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
740 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
741 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
742 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
743 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
744 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
745 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
746 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
747 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
749 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
751 * sysdeps/x86_64/x32/Makefile: New file.
753 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
755 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
756 1L with (mp_limb_t) 1.
758 2014-12-17 Roland McGrath <roland@hack.frob.com>
760 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
761 * nptl/libc_pthread_init.c: ... here.
762 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
763 * nptl/register-atfork.c: ... here.
765 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
766 Use pthread_sigmask rather than INTERNAL_SYSCALL.
767 Use assert_perror to check its return value.
768 (__gai_create_helper_thread): Likewise.
770 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
772 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
774 2014-12-17 Joseph Myers <joseph@codesourcery.com>
777 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
779 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
781 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
783 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
785 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
786 (profil_counter): Likewise.
787 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
788 (profil_counter): Likewise.
789 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
791 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
793 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
794 (profil_counter): Likewise.
795 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
797 [!__profil_counter] (profil_counter): Define as weak alias of
799 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
800 (profil_counter): Rename to __profil_counter.
801 [!__profil_counter] (profil_counter): Define as weak alias of
803 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
804 (profil_counter): Rename to __profil_counter.
805 [!__profil_counter] (profil_counter): Define as weak alias of
807 * sysdeps/posix/profil.c: Update comment referring to
809 (__profil): Use __profil_counter instead of profil_counter.
810 * sysdeps/posix/sprofil.c (profil_counter): Rename to
811 __profil_counter. Use __profil_counter_ushort and
812 __profil_counter_uint in definitions.
813 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
814 instead of profil_counter_uint and profil_counter_ushort.
817 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
818 define as weak alias of __inet_makeaddr.
819 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
820 as weak alias of __inet_addr.
821 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
822 as weak alias of __inet_pton. Use libc_hidden_weak.
823 * include/arpa/inet.h (__inet_pton): Declare. Use
825 (inet_makeaddr): Don't use libc_hidden_proto.
826 (__inet_makeaddr): Declare. Use libc_hidden_proto.
827 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
828 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
829 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
831 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
832 (test-xfail-POSIX/time.h/linknamespace): Likewise.
834 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
836 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
838 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
840 * stdio-common/bug-vfprintf-nargs.c (do_test):
841 Cast value to intptr_t to avoid format warning
842 for usage with PRIdPTR printing macro.
844 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
846 * libio/tst-widetext.c (do_test):
847 Use format type %td instead of %Zd for ptrdiff_t
848 in order to avoid format warning.
850 2014-12-17 Andreas Schwab <schwab@suse.de>
852 * nscd/mem.c (gc): Add size_t cast to match printf format.
854 2014-12-16 Roland McGrath <roland@hack.frob.com>
856 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
857 (init): Apply PTR_MANGLE to pointers before storing them.
858 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
861 2014-12-16 Joseph Myers <joseph@codesourcery.com>
864 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
865 define as weak alias of __memrchr.
866 (__memrchr): Do not define as strong alias of memrchr.
867 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
869 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
870 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
871 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
874 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
875 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
876 (if_indextoname): Rename to __if_indextoname and define as weak
877 alias of __if_indextoname. Use libc_hidden_weak.
878 (if_freenameindex): Rename to __if_freenameindex and define as
879 weak alias of __if_freenameindex.
880 (if_nameindex): Rename to __if_nameindex and define as weak alias
882 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
883 __if_nametoindex and define as weak alias of __if_nametoindex.
884 Use libc_hidden_weak.
885 (if_freenameindex): Rename to __if_freenameindex and define as
886 weak alias of __if_freenameindex.
887 (if_nameindex): Rename to __if_nameindex and define as weak alias
889 (if_indextoname): Rename to __if_indextoname and define as weak
890 alias of __if_indextoname. Use libc_hidden_weak.
891 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
892 __if_nametoindex and define as weak alias of __if_nametoindex.
893 Use libc_hidden_weak.
894 (if_freenameindex): Rename to __if_freenameindex and define as
895 weak alias of __if_freenameindex. Use libc_hidden_weak.
896 (if_nameindex_netlink): Use __if_freenameindex instead of
898 (if_nameindex): Rename to __if_nameindex and define as weak alias
899 of __if_nameindex. Use libc_hidden_weak.
900 (if_indextoname): Rename to __if_indextoname and define as weak
901 alias of __if_indextoname. Use libc_hidden_weak.
902 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
904 [!_ISOMAC] (__if_freenameindex): Likewise.
905 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
907 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
909 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
910 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
911 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
912 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
913 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
914 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
915 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
917 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
919 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
920 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
922 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
924 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
925 subscript above bounds'
927 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
930 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
932 * libio/tst-fopenloc.c: Use test-skeleton.c.
934 * stdlib/tst-bsearch.c: Use test-skeleton.c.
935 (entry): Rename to ITEM.
936 (do_test, comp): Adjust.
938 * stdio-common/tst-fseek.c: Use test-skeleton.c.
940 2014-12-16 Torvald Riegel <triegel@redhat.com>
942 * string/tester.c: Include <libc-internal.h>.
943 (test_memset): Ignore -Wmemset-transposed-args.
945 2014-12-16 Torvald Riegel <triegel@redhat.com>
947 * misc/tst-mntent2.c (do_test): Fix warning.
949 2014-12-16 Torvald Riegel <triegel@redhat.com>
951 * elf/tst-unique4lib.cc(a): Mark as used.
953 2014-12-16 Florian Weimer <fweimer@redhat.com>
956 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
959 2014-12-16 Allan McRae <allan@archlinux.org>
961 * stdio-common/Makefile (tests): Re-add bug26.
963 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
966 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
969 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
971 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
972 (__lll_lock_wait): Likewise.
973 (__lll_timedlock_wait): Likewise.
974 (__lll_timedwait_tid): Likewise.
975 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
976 (__lll_robust_timedlock_wait): Likewise.
977 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
978 (lll_cond_trylock): Likewise.
979 (__lll_lock): Likewise.
980 (__lll_robust_lock): Likewise.
981 (__lll_cond_lock): Likewise.
982 (lll_robust_cond_lock): Likewise.
983 (__lll_timedlock): Likewise.
984 (__lll_robust_timedlock): Likewise.
985 (__lll_unlock): Likewise.
986 (__lll_robust_unlock): Likewise.
987 (lll_wait_tid): Likewise.
988 (lll_timedwait_tid): Likewise.
990 2014-12-15 Torvald Riegel <triegel@redhat.com>
992 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
994 2014-12-15 Torvald Riegel <triegel@redhat.com>
996 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
998 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1000 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1001 * stdio-common/tst-sprintf.c: Likewise.
1003 2014-12-15 Torvald Riegel <triegel@redhat.com>
1005 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1007 2014-12-15 Jeff Law <law@redhat.com>
1010 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1011 on the heap. (CVE-2012-3406)
1012 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1013 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1014 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1016 2014-12-15 Will Newton <will.newton@linaro.org>
1018 * manual/install.texi: Bump required version of texinfo
1020 * INSTALL: Regenerated.
1021 * configure.ac: Check for makeinfo version 4.7 and above.
1022 * configure: Regenerated.
1024 2014-12-12 Roland McGrath <roland@hack.frob.com>
1026 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1027 PREFIX, string constant to insert between directory and name.
1028 * sysdeps/posix/shm_open.c: Update caller.
1029 * sysdeps/posix/shm_unlink.c: Likewise.
1030 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1031 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1032 (SEM_SHM_PREFIX): New macro.
1033 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1034 [$(have-thread-library) = no].
1035 * nptl/Makefile (libpthread-routines): Add shm-directory.
1036 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1037 * sysdeps/nptl/shm-directory.h: New file.
1038 * sysdeps/posix/shm-directory.c
1039 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1040 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1041 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1043 (__where_is_shmfs): Function removed.
1044 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1046 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1048 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1050 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1051 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1052 unconditional for use inside libpthread.
1053 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1055 2014-12-12 Roland McGrath <roland@hack.frob.com>
1057 * nptl/pthread_getaffinity.c: New file.
1058 * nptl/pthread_setaffinity.c: New file.
1059 * nptl/pthread_getname.c: New file.
1060 * nptl/pthread_setname.c: New file.
1062 * nptl/pthread_create.c (START_THREAD_DEFN)
1063 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1065 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1066 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1068 * resolv/res_send.c (send_vc): Disable warning resplen may
1069 be used uninitialized.
1071 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1074 (ATTR_NULL): New define checks ATTR against NULL.
1075 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1076 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1078 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1082 (mem2mem_check): Revert my previous change.
1083 (malloc_check_get_size): Revert my previous change.
1084 (mem2chunk_check): Revert my previous change.
1086 2014-12-11 Roland McGrath <roland@hack.frob.com>
1088 * sysdeps/posix/shm-directory.c: New file.
1089 * sysdeps/posix/shm-directory.h: New file.
1090 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1091 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1092 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1093 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1094 Transmute EPERM to EACCES.
1095 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1097 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1098 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1100 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1102 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1103 pointer and cast to uintptr_t.
1104 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1105 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1106 Add cast to avoid warning.
1107 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1109 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1111 * nptl/semaphore.h: Move to ...
1112 * sysdeps/pthread/semaphore.h: ... here.
1113 * Makefile (installed-headers): Change nptl/semaphore.h to
1114 sysdeps/pthread/semaphore.h.
1116 2014-12-11 Roland McGrath <roland@hack.frob.com>
1118 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1119 generated error format strings.
1121 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1122 -Wformat-extra-args warnings for scanf formats.
1123 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1124 test of zero-length format (duh).
1125 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1126 corner-case scanf format test.
1127 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1128 generated fprintf format string.
1129 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1130 corner-case sprintf format tests.
1131 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1132 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1133 -Wformat-extra-args warnings throughout.
1134 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1135 (CFLAGS-scanf4.c): Likewise.
1136 (CFLAGS-scanf7.c): Likewise.
1137 (CFLAGS-tst-sprintf.c): Likewise.
1138 (CFLAGS-tst-printf.c): Likewise.
1139 (CFLAGS-tst-printfsz.c): Likewise.
1141 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1143 * include/cpio.h: New file.
1144 * include/fmtmsg.h: Likewise.
1146 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1147 corresponding format argument to size_t.
1148 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1150 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1151 corresponding format argument to size_t.
1152 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1154 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1155 corresponding format argument to size_t.
1156 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1157 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1158 (CFLAGS-tst-mbswcs2.c): Likewise.
1159 (CFLAGS-tst-mbswcs3.c): Likewise.
1160 (CFLAGS-tst-mbswcs4.c): Likewise.
1161 (CFLAGS-tst-mbswcs5.c): Likewise.
1162 (CFLAGS-tst-trans.c): Likewise
1164 2014-12-11 Roland McGrath <roland@hack.frob.com>
1166 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1167 rather than assuming they won't contain any '%'s.
1169 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1171 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1172 inhibit_loop_to_libcall to avoid recursive calls.
1173 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1174 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1176 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1178 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1181 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1183 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1184 integer value instead of boolean.
1186 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1188 * malloc/malloc.c: Fix powerof2 check.
1190 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1192 * locale/programs/locfile.h (maybe_swap_uint32):
1193 Remove inline and add unused attribute.
1195 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1197 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1198 Truncating assembler expression to a .long expression.
1200 2014-12-11 Andreas Schwab <schwab@suse.de>
1202 * elf/rtld.c (struct map_args): Constify str member.
1203 (do_preload): Constify fname argument.
1205 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1207 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1208 constants definition.
1210 2014-12-11 Andreas Schwab <schwab@suse.de>
1213 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1214 FORCE_ELISION instead of DO_ELISION.
1215 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1217 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1220 * iconvdata/gconv-modules: Remove duplicate entry.
1222 2014-12-11 Will Newton <will.newton@linaro.org>
1224 Merge gettext 0.19.3 into intl/.
1226 This involves a number of cosmetic changes to comments
1227 and ANSI function definitions and prototypes throughout
1228 all the files. The gettext copyright header is used but
1229 with the date ranges taken from the glibc copy.
1231 * NEWS: Add gettext merge to 2.21.
1232 * intl/bindtextdom.c: Switch to gettext copyright.
1233 Use ANSI definitions and prototypes.
1234 Use gl_* locking primitives rather than __libc_* ones.
1235 Use __builtin_expect rather than __glibc_likely/unlikely.
1236 * intl/dcgettext.c: Switch to gettext copyright.
1237 Use ANSI definitions and prototypes.
1238 * intl/dcigettext.c: Switch to gettext copyright.
1239 Use ANSI definitions and prototypes.
1240 (INTDIV0_RAISES_SIGFPE): New define.
1241 Use gl_* locking primitives rather than __libc_* ones.
1242 Include eval-plural.h instead of plural-eval.c.
1243 Use __builtin_expect rather than __glibc_likely/unlikely.
1244 * intl/dcngettext.c: Switch to gettext copyright.
1245 Use ANSI definitions and prototypes.
1246 * intl/dgettext.c: Likewise.
1247 * intl/dngettext.c: Likewise.
1248 * intl/plural-eval.c: Renamed to...
1249 * intl/eval-plural.h: ...this.
1250 * intl/explodename.c: Switch to gettext copyright.
1251 Use ANSI definitions and prototypes.
1252 (_nl_explode_name): Use strchr instead of __rawmemchr.
1253 * intl/finddomain.c: Switch to gettext copyright.
1254 Use ANSI definitions and prototypes.
1255 Use gl_* locking primitives rather than __libc_* ones.
1256 (_nl_find_domain): Use malloc rather than alloca for
1257 allocation of temporary locale name.
1258 * intl/gettext.c: Switch to gettext copyright.
1259 Use ANSI definitions and prototypes.
1260 * intl/gettextP.h: Switch to gettext copyright.
1261 Use ANSI definitions and prototypes.
1262 Use gl_* locking primitives rather than __libc_* ones.
1263 * intl/gmo.h: Switch to gettext copyright.
1264 (struct sysdep_string): Move struct segment_pair outside of
1266 * intl/hash-string.c: Use ANSI definitions and prototypes.
1267 * intl/hash-string.h: Switch to gettext copyright.
1268 Use ANSI definitions and prototypes.
1269 * intl/l10nflist.c: Switch to gettext copyright.
1270 Use ANSI definitions and prototypes.
1271 (_nl_normalize_codeset): Avoid integer overflow.
1272 * intl/loadinfo.h: Switch to gettext copyright.
1273 Use ANSI definitions and prototypes.
1274 (LIBINTL_DLL_EXPORTED): New define.
1275 (PATH_SEPARATOR): New define.
1276 * intl/loadmsgcat.c: Switch to gettext copyright.
1277 * intl/localealias.c: Switch to gettext copyright.
1278 Use ANSI definitions and prototypes.
1279 (_nl_expand_alias): Use PATH_SEPARATOR.
1280 * intl/ngettext.c: Switch to gettext copyright.
1281 Use ANSI definitions and prototypes.
1282 * intl/plural-exp.c: Likewise.
1283 * intl/plural-exp.h: Switch to gettext copyright.
1284 Use ANSI definitions and prototypes.
1285 (struct expression): Move definition of enum operator outside
1286 of struct definition.
1287 * intl/plural.c: Regenerate.
1288 * intl/plural.y: Switch to gettext copyright.
1289 Use ANSI definitions and prototypes.
1291 * intl/textdomain.c: Switch to gettext copyright.
1292 Use ANSI definitions and prototypes.
1293 Use gl_* locking primitives rather than __libc_* ones.
1295 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1297 * debug/warning-nop.c: Add used atrribute.
1299 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1301 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1303 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1304 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1305 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1307 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1308 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1312 Undefine after defining function. Define as weak alias of
1313 __wcschr. Use libc_hidden_weak.
1314 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1315 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1316 (libc_hidden_def): Also define __GI___wcschr alias.
1317 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1318 __wcschr and define as weak alias of __wcschr.
1319 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1321 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1322 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1323 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1324 libc_hidden_weak. Do not use libc_hidden_def.
1325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1326 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1327 __GI___wcschr alias.
1328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1329 [IS_IN (libc)] (wcschr): Define as macro expanding to
1331 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1332 [IS_IN (libc)] (__wcschr_power6): Likewise.
1333 [IS_IN (libc)] (__wcschr_power7): Likewise.
1334 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1336 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1338 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1339 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1340 __wcschr and define as weak alias of __wcschr. Use
1341 libc_hidden_builtin_def.
1342 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1343 as weak alias of __wcschr. Use libc_hidden_weak.
1344 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1346 * time/era.c (_nl_init_era_entries): Likewise.
1347 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1349 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1350 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1352 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1354 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1355 format for long int variable.
1357 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1360 * manual/search.texi: (Array Sort Function): Remove claim how to make
1363 2014-12-10 Andreas Schwab <schwab@suse.de>
1366 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1367 user-controlled locks.
1369 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1371 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1374 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1376 * configure.ac (--disable-werror): New configure option.
1377 (enable_werror): New AC_SUBST.
1378 * configure: Regenerated.
1379 * config.make.in (enable-werror): New variable.
1380 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1382 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1383 * manual/install.texi (Configuring and compiling): Document
1385 * INSTALL: Regenerated.
1386 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1387 (CFLAGS-tst-chk2.c): Likewise.
1388 (CFLAGS-tst-chk3.c): Likewise.
1389 (CFLAGS-tst-chk4.cc): Likewise.
1390 (CFLAGS-tst-chk5.cc): Likewise.
1391 (CFLAGS-tst-chk6.cc): Likewise.
1392 (CFLAGS-tst-lfschk1.c): Likewise.
1393 (CFLAGS-tst-lfschk2.c): Likewise.
1394 (CFLAGS-tst-lfschk3.c): Likewise.
1395 (CFLAGS-tst-lfschk4.cc): Likewise.
1396 (CFLAGS-tst-lfschk5.cc): Likewise.
1397 (CFLAGS-tst-lfschk6.cc): Likewise.
1399 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1400 (main): Disable -Wdeprecated-declarations around calls to
1401 register_printf_function.
1403 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1404 (do_test): Disable -Wdiv-by-zero around some calls to
1405 fwrite_unlocked and fread_unlocked.
1407 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1408 (DIAG_POP_NEEDS_COMMENT): Likewise.
1409 (_DIAG_STR1): Likewise.
1410 (_DIAG_STR): Likewise.
1411 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1412 * stdio-common/bug21.c: Include <libc-internal.h>.
1413 (do_test): Disable -Wformat around call to sscanf.
1414 * stdio-common/scanf14.c: Include <libc-internal.h>.
1415 (main): Disable -Wformat around some calls to scanf functions.
1417 2014-12-09 Torvald Riegel <triegel@redhat.com>
1419 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1421 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1423 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1424 stack variable alignment.
1426 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1429 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1430 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1431 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1432 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1433 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1434 __getrlimit instead of getrlimit.
1435 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1436 __gettimeofday instead of gettimeofday.
1437 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1439 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1441 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1442 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1444 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1445 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1447 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1449 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1450 for wide-character tests.
1452 2014-12-04 Roland McGrath <roland@hack.frob.com>
1454 * io/openat64.c: #include <libc-internal.h>
1455 (__openat64): Prototypify. Use ignore_value on MODE.
1456 * io/openat.c: Likewise.
1457 * misc/reboot.c: #include <libc-internal.h>
1458 (reboot): Prototypify. Use ignore_value on HOWTO.
1459 * misc/ptrace.c: #include <libc-internal.h>
1460 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1462 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1464 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1465 XPG4, UNIX98 and XOPEN2K.
1466 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1468 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1470 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1472 * libio/fileops.c: Use ISO C style for function definitions.
1473 * libio/iofopen.c: Likewise.
1474 * libio/wfileops.c: Likewise.
1477 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1479 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1480 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1481 (fgets_func): Function pointer to fgets and fgetws.
1482 (do_ftell_test): Add test to verify ftell value after read
1484 (do_test): Set fgets_func.
1486 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1487 O_TRUNC flag for w and w+ modes.
1488 (do_rewind_test): Likewise.
1489 (do_ftell_test): Likewise.
1490 (do_write_test): Likewise.
1493 * libio/fileops.c (do_ftell): Seek only when there are
1495 * libio/wfileops.c (do_ftell_wide): Likewise.
1496 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1498 (do_one_test): Call it.
1500 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1502 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1503 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1504 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1506 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1507 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1508 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1510 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1512 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1514 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1517 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1518 as weak alias of __getifaddrs. Use libc_hidden_weak.
1519 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1520 __freeifaddrs. Use libc_hidden_weak.
1521 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1522 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1523 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1524 __freeifaddrs. Use libc_hidden_weak.
1525 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1526 __getifaddrs and define as weak alias of __getifaddrs. Use
1528 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1529 __freeifaddrs. Use libc_hidden_weak.
1530 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1532 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1533 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1535 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1538 * sysdeps/mips/start.S (__start): Use indirect jump to call
1541 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1543 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1545 * nptl/tst-mutex1.c: Include <stdbool.h>.
1546 [!ATTR] (ATTR_NULL): New macro.
1547 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1548 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1549 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1551 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1555 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1556 Change conditional to [__USE_MISC].
1559 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1561 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1563 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1565 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1567 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1568 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1569 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1570 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1571 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1572 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1573 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1574 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1575 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1577 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1579 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1582 Remove strpbrk objects.
1583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1584 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1585 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1586 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1587 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1588 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1590 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1591 Remove strcspn objects.
1592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1593 (__libc_ifunc_impl_list): Remove strcspn implementation.
1594 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1595 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1596 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1597 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1599 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1600 Remove strspn objetcs.
1601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1602 (__libc_ifunc_impl_list): Remove strspn implementation.
1603 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1604 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1605 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1606 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1608 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1612 (mem2mem_check): Add a terminator to the chain of checking blocks.
1613 (malloc_check_get_size): Use it here.
1614 (mem2chunk_check): Ditto.
1616 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1618 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1619 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1621 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1623 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1625 * nptl/nptl-init.c: Include libc-internal.h.
1626 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1628 * elf/ldconfig.c (search_dir): Expand comment.
1630 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1632 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1634 (linknamespace-symlist-stdlibs-tests): Likewise.
1635 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1636 instead of $(objpfx)symlist-stdlibs.
1637 (linknamespace-libs-isoc): New variable.
1638 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1639 (linknamespace-libs-ISO): New variable.
1640 (linknamespace-libs-ISO99): Likewise.
1641 (linknamespace-libs-ISO11): Likewise.
1642 (linknamespace-libs-XPG3): Likewise.
1643 (linknamespace-libs-XPG4): Likewise.
1644 (linknamespace-libs-POSIX): Likewise.
1645 (linknamespace-libs-UNIX98): Likewise.
1646 (linknamespace-libs-XOPEN2K): Likewise.
1647 (linknamespace-libs-POSIX2008): Likewise.
1648 (linknamespace-libs-XOPEN2K8): Likewise.
1649 ($(objpfx)symlist-stdlibs): Replace by
1650 $(linknamespace-symlist-stdlibs-tests). Use
1651 $(linknamespace-libs-$*) as set of libraries.
1652 ($(linknamespace-header-tests)): Update dependencies. Use
1653 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1654 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1655 * conform/linknamespace.pl: Remove comment about considering
1656 definitions of symbols from irrelevant libraries.
1658 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1661 * elf/dl-tls.c: Include <atomic.h>.
1662 (oom): Remove #ifdef SHARED/#endif.
1663 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1664 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1665 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1667 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1668 * nptl/Makefile (tests): Add tst-stack4.
1669 (modules-names): Add tst-stack4mod.
1670 ($(objpfx)tst-stack4): New.
1671 (tst-stack4mod.sos): Likewise.
1672 ($(objpfx)tst-stack4.out): Likewise.
1673 ($(tst-stack4mod.sos)): Likewise.
1675 * nptl/tst-stack4.c: New file.
1676 * nptl/tst-stack4mod.c: Likewise.
1678 2014-11-27 J. Brown <jb999@gmx.de>
1680 * sysdeps/x86/bits/string.h: Add recent CPUs.
1682 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1684 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1687 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1690 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1693 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1695 * nscd/connections.c: Include libc-internal.h because of macro
1698 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1700 * string/bits/string3.h (__warn_memset_zero_len): Don't
1701 declare for gcc newer than 5.0.
1702 (memset): Don't test for zero-length __LEN for gcc newer than
1705 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1707 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1708 size_t for %zu format.
1710 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1711 difference, not %ju.
1713 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1715 * include/libc-internal.h (ignore_value): New macro.
1716 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1719 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1722 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1723 pthread_cleanup_push to void *.
1725 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1730 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1731 instead of 1L << 52.
1733 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1734 * libio/bug-rewind2.c (do_test): Likewise.
1736 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1737 * debug/test-strcpy_chk-ifunc.c: Likewise.
1738 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1739 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1740 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1741 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1742 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1743 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1744 * Rules [$(multi-arch) = no] (tests): Do not filter out
1746 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1747 * debug/Makefile (tests-ifunc): Remove variable.
1748 (tests): Do not add $(tests-ifunc).
1749 * wcsmbs/Makefile (tests-ifunc): Remove variable.
1750 (tests): Do not add $(tests-ifunc).
1751 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1752 [TEST_IFUNC]: Remove conditionals.
1753 * string/test-string.h (TEST_IFUNC): Remove macro.
1754 [TEST_IFUNC]: Remove conditionals.
1756 * string/test-strchr.c [!WIDE] (L): New macro.
1757 [WIDE] (L): Likewise.
1758 (check1): Use CHAR instead of char. Use L on string and character
1761 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1763 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1765 * sysdeps/powerpc/bits/atomic.h
1766 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1767 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1768 (atomic_exchange_and_add_acq): Likewise.
1769 (atomic_exchange_and_add_rel): Likewise.
1770 * sysdeps/powerpc/powerpc32/bits/atomic.h
1771 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1772 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1773 * sysdeps/powerpc/powerpc64/bits/atomic.h
1774 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1775 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1777 2014-11-26 Torvald Riegel <triegel@redhat.com>
1779 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1780 Change synchronization of __sched_fifo_min_prio and
1781 __sched_fifo_max_prio.
1782 * nptl/pthread_mutexattr_getprioceiling.c
1783 (pthread_mutexattr_getprioceiling): Likewise.
1784 * nptl/pthread_mutexattr_setprioceiling.c
1785 (pthread_mutexattr_setprioceiling): Likewise.
1786 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1787 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1790 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1792 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1795 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1797 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1798 third argument const.
1800 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1802 fnmatch: work around GCC compiler warning bug with uninit var
1803 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1804 This works around a bug with x86-64 GCC 4.9.2 and earlier
1805 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1806 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1807 used uninitialized in this function [-Wmaybe-uninitialized]".
1809 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1811 * posix/bug-regex31.c (main): Return RES not 0.
1813 2014-11-25 Anton Blanchard <anton@samba.org>
1815 * sysdeps/powerpc/bits/atomic.h
1816 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1818 2014-11-24 Sterling Augustine <saugustine@google.com>
1820 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1822 2014-11-24 Ryan Cumming <etaoins@gmail.com>
1825 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1827 2014-11-24 Joseph Myers <joseph@codesourcery.com>
1830 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1831 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1833 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1834 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1836 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1838 * string/strncpy.c (strncpy): Improve performance by using memset.
1840 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1842 * string/strcpy.c (strcpy):
1843 Improve performance by using strlen and memcpy.
1845 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
1847 * string/strcoll_l.c (get_next_seq): __always_inline.
1848 * string/strcoll_l.c (do_compare): __always_inline.
1850 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1852 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1854 * include/mqueue.h: Likewise.
1855 * include/stdlib.h: Likewise.
1857 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1858 (get_null_defines): Adjust.
1859 * sunrpc/Makefile: Adjust comment.
1860 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1861 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1862 (CFLAGS-interp.c): Likewise.
1863 (CFLAGS-ldconfig.c): Likewise.
1864 (CPPFLAGS-.os): Likewise.
1865 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1866 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1867 * extra-modules.mk (extra-modules.mk): Likewise.
1868 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1869 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1870 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1871 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1872 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1873 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1874 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1875 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1876 * iconvdata/Makefile (CPPFLAGS): Likewise.
1877 (cpp-srcs-left): Add libof for all iconvdata routines.
1878 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1879 * include/assert.h: Likewise.
1880 * include/ctype.h: Likewise.
1881 * include/errno.h: Likewise.
1882 * include/libc-symbols.h: Likewise.
1883 * include/math.h: Likewise.
1884 * include/netdb.h: Likewise.
1885 * include/resolv.h: Likewise.
1886 * include/stdio.h: Likewise.
1887 * include/stdlib.h: Likewise.
1888 * include/string.h: Likewise.
1889 * include/sys/stat.h: Likewise.
1890 * include/wctype.h: Likewise.
1891 * intl/l10nflist.c: Likewise.
1892 * libidn/idn-stub.c: Likewise.
1893 * libio/libioP.h: Likewise.
1894 * nptl/libc_multiple_threads.c: Likewise.
1895 * nptl/pthreadP.h: Likewise.
1896 * posix/regex_internal.h: Likewise.
1897 * resolv/res_hconf.c: Likewise.
1898 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1899 * sysdeps/arm/memmove.S: Likewise.
1900 * sysdeps/arm/sysdep.h: Likewise.
1901 * sysdeps/generic/_itoa.h: Likewise.
1902 * sysdeps/generic/symbol-hacks.h: Likewise.
1903 * sysdeps/gnu/errlist.awk: Likewise.
1904 * sysdeps/gnu/errlist.c: Likewise.
1905 * sysdeps/i386/i586/memcpy.S: Likewise.
1906 * sysdeps/i386/i586/memset.S: Likewise.
1907 * sysdeps/i386/i686/memcpy.S: Likewise.
1908 * sysdeps/i386/i686/memmove.S: Likewise.
1909 * sysdeps/i386/i686/mempcpy.S: Likewise.
1910 * sysdeps/i386/i686/memset.S: Likewise.
1911 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1912 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1913 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1914 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1915 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1916 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1917 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1918 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1919 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1920 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1921 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1922 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1923 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1924 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1925 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1926 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1927 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1928 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1929 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1930 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1931 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1932 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1933 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1934 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1935 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1936 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1937 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1938 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1939 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1940 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1941 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1942 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1943 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1944 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1945 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1947 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1948 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1949 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1951 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1952 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1953 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1954 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1955 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1956 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1957 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1958 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1959 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1960 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1961 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1962 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1963 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1964 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1965 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1966 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1967 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1968 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1969 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1970 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1971 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1972 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1973 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1974 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1975 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1976 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1977 * sysdeps/posix/closedir.c: Likewise.
1978 * sysdeps/posix/opendir.c: Likewise.
1979 * sysdeps/posix/readdir.c: Likewise.
1980 * sysdeps/posix/rewinddir.c: Likewise.
1981 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1982 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1983 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1984 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1985 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1986 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1987 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1988 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1989 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1991 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1993 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1995 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1997 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1998 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1999 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2001 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2003 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2004 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2007 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2008 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2009 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2011 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2012 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2014 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2016 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2017 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2018 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2019 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2020 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2021 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2022 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2023 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2024 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2025 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2026 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2027 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2028 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2029 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2030 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2031 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2032 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2033 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2034 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2035 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2036 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2037 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2038 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2039 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2040 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2041 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2043 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2044 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2045 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2046 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2047 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2048 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2049 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2050 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2051 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2053 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2054 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2055 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2056 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2057 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2058 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2059 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2060 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2061 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2062 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2063 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2064 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2065 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2066 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2067 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2068 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2069 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2070 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2071 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2072 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2073 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2075 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2077 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2079 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2080 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2081 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2082 * sysdeps/unix/alpha/sysdep.S: Likewise.
2083 * sysdeps/unix/alpha/sysdep.h: Likewise.
2084 * sysdeps/unix/make-syscalls.sh: Likewise.
2085 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2086 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2087 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2088 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2089 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2090 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2091 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2092 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2093 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2094 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2095 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2096 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2097 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2098 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2099 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2100 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2101 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2102 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2103 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2104 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2105 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2106 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2107 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2108 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2109 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2110 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2111 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2114 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2115 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2117 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2119 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2120 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2121 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2123 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2124 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2125 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2126 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2127 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2128 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2129 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2135 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2136 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2137 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2138 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2139 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2140 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2141 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2143 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2144 * sysdeps/x86_64/memcpy.S: Likewise.
2145 * sysdeps/x86_64/memmove.c: Likewise.
2146 * sysdeps/x86_64/memset.S: Likewise.
2147 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2148 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2149 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2150 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2151 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2152 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2153 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2154 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2155 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2156 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2157 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2158 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2159 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2160 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2161 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2162 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2163 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2164 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2165 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2166 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2167 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2168 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2169 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2170 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2171 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2172 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2173 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2174 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2175 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2176 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2177 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2178 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2179 * sysdeps/x86_64/strcmp.S: Likewise.
2181 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2183 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2184 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2185 * elf/rtld-Rules: Likewise.
2186 * elf/setup-vdso.h: Likewise.
2187 * include/assert.h: Likewise.
2188 * include/bits/stdlib-float.h: Likewise.
2189 * include/errno.h: Likewise.
2190 * include/sys/stat.h: Likewise.
2191 * include/unistd.h: Likewise.
2192 * sysdeps/aarch64/setjmp.S: Likewise.
2193 * sysdeps/alpha/setjmp.S: Likewise.
2194 * sysdeps/arm/__longjmp.S: Likewise.
2195 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2196 * sysdeps/arm/setjmp.S: Likewise.
2197 * sysdeps/arm/sysdep.h: Likewise.
2198 * sysdeps/generic/_itoa.h: Likewise.
2199 * sysdeps/generic/dl-sysdep.h: Likewise.
2200 * sysdeps/generic/ldsodefs.h: Likewise.
2201 * sysdeps/i386/dl-tls.h: Likewise.
2202 * sysdeps/i386/setjmp.S: Likewise.
2203 * sysdeps/m68k/setjmp.c: Likewise.
2204 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2205 * sysdeps/mach/hurd/opendir.c: Likewise.
2206 * sysdeps/posix/getcwd.c: Likewise.
2207 * sysdeps/posix/opendir.c: Likewise.
2208 * sysdeps/posix/profil.c: Likewise.
2209 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2210 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2211 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2212 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2213 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2214 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2215 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2216 * sysdeps/s390/dl-tls.h: Likewise.
2217 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2218 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2219 * sysdeps/sh/sh3/setjmp.S: Likewise.
2220 * sysdeps/sh/sh4/setjmp.S: Likewise.
2221 * sysdeps/unix/alpha/sysdep.h: Likewise.
2222 * sysdeps/unix/arm/sysdep.S: Likewise.
2223 * sysdeps/unix/i386/sysdep.S: Likewise.
2224 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2225 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2226 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2227 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2228 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2229 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2230 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2231 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2232 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2233 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2234 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2235 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2236 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2239 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2240 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2241 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2242 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2243 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2244 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2245 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2246 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2247 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2248 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2249 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2251 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2252 * sysdeps/x86_64/setjmp.S: Likewise.
2254 * include/math.h: Use IS_IN instead of IS_IN_libm.
2255 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2267 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2271 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2272 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2275 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2276 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2277 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2278 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2279 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2280 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2281 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2282 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2283 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2284 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2285 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2286 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2287 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2298 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2299 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2300 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2301 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2302 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2303 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2309 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2310 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2311 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2312 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2313 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2314 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2315 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2316 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2317 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2318 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2319 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2320 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2321 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2322 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2324 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2326 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2327 * nptl/pthreadP.h: Likewise.
2328 * nptl_db/structs.def: Likewise.
2329 * sysdeps/arm/sysdep.h: Likewise.
2330 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2331 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2332 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2333 * sysdeps/unix/alpha/sysdep.h: Likewise.
2334 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2335 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2336 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2337 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2338 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2339 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2340 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2341 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2342 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2343 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2344 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2345 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2346 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2347 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2351 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2352 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2353 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2355 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2356 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2357 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2358 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2359 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2361 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2362 * nptl/pthreadP.h: Likewise.
2363 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2364 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2365 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2366 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2367 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2368 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2369 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2370 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2371 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2372 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2373 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2374 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2380 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2381 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2383 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2384 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2385 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2386 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2388 * dlfcn/dladdr.c: Use IS_IN.
2389 * dlfcn/dladdr1.c: Likewise.
2390 * dlfcn/dlclose.c: Likewise.
2391 * dlfcn/dlerror.c: Likewise.
2392 * dlfcn/dlinfo.c: Likewise.
2393 * dlfcn/dlmopen.c: Likewise.
2394 * dlfcn/dlopen.c: Likewise.
2395 * dlfcn/dlsym.c: Likewise.
2396 * dlfcn/dlvsym.c: Likewise.
2398 * include/ifaddrs.h: Use IS_IN.
2399 * inet/check_pf.c: Likewise.
2400 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2401 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2403 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2405 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2406 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2408 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2409 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2412 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2414 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2415 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2416 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2417 * include/libc-symbols.h (IS_IN_LIB): New macro.
2418 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2419 * include/netdb.h: Likewise.
2420 * include/stap-probe.h: Remove all uses of IN_LIB.
2422 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2423 instead of IN_MODULE.
2424 * include/libc-symbols.h (IN_MODULE): Define using
2426 (PASTE_NAME, PASTE_NAME1): New macros.
2427 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2429 (STAP_PROBE_ASM): Likewise.
2431 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2433 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2434 __mach_init in dlopened libc.
2436 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2438 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2439 * sysdeps/arm/preconfigure: Regenerate.
2441 2014-11-21 Roland McGrath <roland@hack.frob.com>
2443 * nptl/pthread_create.c (__pthread_create_2_1): Set
2444 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2445 when copying values from IATTR into PD.
2447 2014-11-21 Will Newton <will.newton@linaro.org>
2448 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2450 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2451 Refactor inline-asm. Also add comment.
2453 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2454 ElfW macro instead of hardcoded Elf64 types.
2455 (la_aarch64_gnu_pltenter): Likewise.
2456 * sysdeps/aarch64/dl-machine.h
2457 (elf_machine_runtime_setup): Use ElfW(Addr).
2459 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2460 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2461 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2462 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2463 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2464 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2465 (R_AARCH64_TLS_DTPMOD): This.
2466 (R_AARCH64_TLS_DTPREL64): Rename to ...
2467 (R_AARCH64_TLS_DTPREL): This.
2468 (R_AARCH64_TLS_TPREL64): Rename to ...
2469 (R_AARCH64_TLS_TPREL): This.
2470 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2471 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2472 R_AARCH64_TLS_TPREL64.
2473 (elf_machine_rela): Likewise.
2475 2014-11-21 Torvald Riegel <triegel@redhat.com>
2477 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2478 by setting it to 0. 64b atomics are not supported currently.
2480 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2483 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2484 search domain names.
2486 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2490 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2492 * posix/tst-getaddrinfo5.c: New.
2493 * posix/Makefile (tests): Add it.
2495 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2499 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2500 after parsing line but before break_if_match.
2501 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2502 if there is a protocol mismatch.
2504 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2506 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2507 because the potential race is on the user-supplied stream.
2509 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2511 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2512 string literal if not passed a buffer.
2513 * manual/job.texi (ctermid): Update reasoning, note deviation
2514 from posix, suggest mtasurace when not passed a buffer, for
2515 future non-preliminary safety notes.
2517 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2519 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2520 of not passing it a buffer.
2521 Reported by Peng Haitao.
2523 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2525 * manual/Makefile ($(objpfx)stamp-summary): Require
2526 check-safety.sh to pass.
2527 * manual/check-safety.sh: Wish for verification that every
2528 @deftypefn and @deftypefun is followed by a @safety remark.
2530 2014-11-20 Roland McGrath <roland@hack.frob.com>
2532 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2534 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2535 PTHREAD_CANCEL_ASYNCHRONOUS.
2536 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2539 * nptl/default-sched.h: New file.
2540 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2541 * nptl/pthread_create.c: Include it.
2542 (__pthread_create_2_1): Use collect_default_sched instead of making
2543 Linux syscalls here directly.
2545 2014-11-20 Torvald Riegel <triegel@redhat.com>
2547 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2548 __pthread_once): Use C11 atomics.
2550 2014-11-20 Torvald Riegel <triegel@redhat.com>
2552 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2554 2014-11-20 Torvald Riegel <triegel@redhat.com>
2556 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2557 atomic_thread_fence_acquire, atomic_thread_fence_release,
2558 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2559 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2560 atomic_compare_exchange_weak_relaxed,
2561 atomic_compare_exchange_weak_acquire,
2562 atomic_compare_exchange_weak_release,
2563 atomic_exchange_acquire, atomic_exchange_release,
2564 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2565 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2566 atomic_fetch_and_acquire,
2567 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2569 2014-11-20 Torvald Riegel <triegel@redhat.com>
2571 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2572 USE_ATOMIC_COMPILER_BUILTINS): Define.
2573 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2574 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2575 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2576 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2577 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2578 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2579 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2580 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2581 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2582 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2583 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2584 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2585 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2586 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2587 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2588 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2589 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2590 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2591 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2592 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2593 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2594 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2595 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2596 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2597 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2598 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2599 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2600 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2601 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2602 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2603 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2604 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2605 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2606 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2607 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2608 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2609 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2610 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2611 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2612 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2614 2014-11-19 Roland McGrath <roland@hack.frob.com>
2616 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2617 the sched_priority value here. It was already checked when the user
2618 called pthread_attr_setschedparam.
2620 * nptl/tst-bad-schedattr.c: New file.
2621 * nptl/Makefile (tests): Add it.
2623 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2624 Florian Weimer <fweimer@redhat.com>
2625 Joseph Myers <joseph@codesourcery.com>
2626 Adam Conrad <adconrad@0c3.net>
2627 Andreas Schwab <schwab@suse.de>
2628 Brooks <bmoses@google.com>
2631 * wordexp-test.c (__dso_handle): Add prototype.
2632 (__register_atfork): Likewise.
2633 (__app_register_atfork): New function.
2634 (registered_forks): New global.
2635 (register_fork): New function.
2636 (test_case): Add 3 new tests for WRDE_CMDSUB.
2637 (main): Call __app_register_atfork.
2638 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2639 fork count is non-zero fail the test.
2640 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2642 (parse_dollars): Remove check for WRDE_NOCMD.
2643 (parse_dquote): Likewise.
2645 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2647 * Makeconfig (built-modules): List non-library modules to be
2649 (module-cppflags): Include libc-modules.h for
2650 everything except shlib-versions.v.i.
2652 (before-compile): Add libc-modules.h.
2653 ($(common-objpfx)libc-modules.h,
2654 $(common-objpfx)libc-modules.stmp): New targets.
2655 (common-generated): Add libc-modules.h and libc-modules.stmp.
2656 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2657 * include/libc-symbols.h: Don't include libc-modules.h.
2658 * include/libc-modules.h: Remove file.
2659 * scripts/gen-libc-modules.awk: New script to generate
2661 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2662 Depend on libc-modules.stmp.
2664 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2666 * Makeconfig (in-module): Get value of libof set for the
2668 (CPPFLAGS): Use $(in-module).
2669 * Makerules: Don't suffix routine names for nonlib.
2670 * include/libc-modules.h: New file.
2671 * include/libc-symbols.h: Include libc-modules.h
2672 (IS_IN): New macro to replace IS_IN_* macros.
2673 * elf/Makefile: Set libof-* for each routine.
2674 * elf/rtld-Rules: Likewise.
2675 * extra-modules.mk: Likewise.
2676 * iconv/Makefile: Likewise.
2677 * iconvdata/Makefile: Likewise.
2678 * locale/Makefile: Likewise.
2679 * malloc/Makefile: Likewise.
2680 * nss/Makefile: Likewise.
2681 * sysdeps/gnu/Makefile: Likewise.
2682 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2683 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2684 * sysdeps/s390/s390-64/Makefile: Likewise.
2685 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2686 CPPFLAGS for nscd instead of nonlib.
2688 2014-11-18 Roland McGrath <roland@hack.frob.com>
2690 * nptl/createthread.c: New file.
2692 * nptl/createthread.c: Moved ...
2693 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2695 * nptl/createthread.c: Add proper top-line comment.
2696 (do_clone): Folded into ...
2697 (create_thread): ... here. Take new arguments STOPPED_START and
2698 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2699 increment __nptl_threads, do event-reporting logic, do
2700 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2701 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2702 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2703 just send SIGCANCEL.
2704 * nptl/pthread_create.c: Forward-declare create_thread before
2705 including createthread.c.
2706 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2707 declaration, and new macro START_THREAD_SELF to replace argument.
2708 Remove return statement.
2709 (report_thread_creation): New function.
2710 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2711 synchronization logic, and __nptl_nthreads increment here, around
2712 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2713 PD->parent_cancelhandling here, before create_thread. When
2714 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2715 __deallocate_stack, and ENOMEM translation here.
2717 2014-11-18 Joseph Myers <joseph@codesourcery.com>
2720 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2721 (mptwo): Rename to __mptwo.
2722 (__inv): Use __mptwo instead of mptwo.
2723 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2724 (mptwo): Rename to __mptwo.
2725 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2726 of mpone and __mptwo instead of mptwo.
2727 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2730 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2731 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2732 of mpone and __mptwo instead of mptwo.
2733 (__mpranred): Use __mpone instead of mpone.
2734 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2736 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2737 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2738 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2739 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2740 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2741 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2742 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2743 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2744 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2745 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2746 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2747 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2748 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2749 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2750 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2751 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2752 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2753 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2754 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2756 2014-11-18 Tom de Vries <tom@codesoucery.com>
2758 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2759 replace BSD Handler xref with BSD Signal Handling.
2761 2014-11-17 Richard Henderson <rth@redhat.com>
2763 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2764 (_FP_PACK_RAW_2): Remove.
2765 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2766 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2767 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2768 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2769 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2770 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2771 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2772 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2773 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2774 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2775 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2776 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2777 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2778 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2779 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2780 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2782 2014-11-14 Roland McGrath <roland@hack.frob.com>
2784 * signal/signal.h [__USE_MISC]
2785 (struct sigvec): Remove type.
2786 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2787 (sigvec): Remove declaration.
2788 * sysdeps/posix/sigvec.c: Moved ...
2789 * signal/sigvec.c: ... here, replacing old file.
2790 (struct sigvec): New type, copied from old signal.h definition.
2791 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2792 (__sigvec): Convert definition to prototype.
2793 (sigvec): Replace weak_alias with compat_symbol.
2794 * signal/Versions (libc: GLIBC_2.21): New version set.
2795 * include/signal.h: Remove __sigvec declaration.
2796 * sysdeps/unix/bsd/sigvec.c: Remove file.
2797 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2798 * manual/signal.texi (BSD Handler): Remove subsection.
2799 Move siginterrupt up to ...
2800 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2801 (Blocking in BSD): Fold subsection into its parent.
2802 * NEWS: Mention sigvec removal.
2804 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2806 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2807 (DLA_FMS): Make definition conditional only on [__FMA4__].
2808 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2811 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2812 Make definition conditional only on [PROF].
2813 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2815 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2816 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2818 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2820 * include/signal.h (__sigpause): Move declaration above call to
2822 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2824 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2825 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2827 2014-11-14 David S. Miller <davem@davemloft.net>
2829 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2830 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2832 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2834 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2835 * configure: Regenerated.
2836 * manual/install.texi (Tools for Compilation): Document a
2837 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2838 compiler verified to work.
2839 * INSTALL: Regenerated.
2841 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2842 redeclare with asm name.
2843 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2844 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2845 including <string.h>.
2846 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2847 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2848 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2849 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2850 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2851 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2852 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2854 2014-11-13 Joseph Myers <joseph@codesourcery.com>
2856 * stdlib/strtol.c (__strtol): Use prototype definition.
2859 * stdlib/strtol.c (SYM__): New macro.
2861 (__strtol): Likewise.
2862 (strtol): Rename to __strtol and define as weak alias of
2863 __strtol. Use libc_hidden_weak.
2865 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2867 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2868 Use numbered labels in inline assembly.
2870 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2872 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2873 Add setjmp LIBC_PROBE.
2874 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2876 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2877 Add longjmp, longjmp_target LIBC_PROBE.
2878 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2881 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2883 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2884 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2885 to get rid of unused variable warning.
2887 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2889 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2890 Check for unwind_backtrace == NULL only in SHARED case.
2891 (__backchain_backtrace): Compile only in SHARED case.
2892 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2894 (__backchain_backtrace): Declare as static.
2896 2014-11-12 Roland McGrath <roland@hack.frob.com>
2898 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2899 (__libc_multiple_threads_ptr): Variable moved ...
2900 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2902 2014-11-12 Joseph Myers <joseph@codesourcery.com>
2904 * conform/GlibcConform.pm: New file.
2905 * conform/conformtest.pl: Use GlibcConform module.
2906 * conform/linknamespace.pl: New file.
2907 * conform/list-header-symbols.pl: Likewise.
2908 * conform/Makefile (linknamespace-symlists-base): New variable.
2909 (linknamespace-symlists-tests): Likewise.
2910 (linknamespace-header-base): Likewise.
2911 (linknamespace-header-tests): Likewise.
2912 (tests-special): Add new tests.
2913 ($(linknamespace-symlists-tests)): New rule.
2914 (linknamespace-libs): New variable.
2915 ($(objpfx)symlist-stdlibs): New rule.
2916 ($(linknamespace-header-tests)): Likewise.
2917 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2918 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2919 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2920 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2921 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2922 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2923 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2924 (test-xfail-ISO/math.h/linknamespace): Likewise.
2925 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2926 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2927 (test-xfail-ISO/time.h/linknamespace): Likewise.
2928 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2929 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2930 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2931 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2932 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2933 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2934 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2935 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2936 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2937 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2938 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2939 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2940 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2941 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2942 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2943 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2944 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2945 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2946 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2947 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2948 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2949 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2950 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2951 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2952 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2953 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2954 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2955 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2956 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2957 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2958 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2959 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2960 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2961 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2962 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2963 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2964 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2965 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2966 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2967 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2968 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2969 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2970 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2971 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2972 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2973 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2974 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2975 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2976 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2977 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2978 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2979 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2980 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2981 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2982 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2983 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2984 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2985 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2986 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2987 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2988 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2989 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2990 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2991 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2992 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2993 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2994 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2995 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2996 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2997 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2998 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2999 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3000 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3001 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3002 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3003 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3004 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3005 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3006 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3007 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3008 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3009 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3010 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3011 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3012 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3013 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3014 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3015 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3016 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3017 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3018 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3019 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3020 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3021 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3022 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3023 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3024 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3025 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3026 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3027 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3028 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3029 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3030 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3031 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3032 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3033 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3034 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3035 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3036 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3037 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3038 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3039 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3040 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3041 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3042 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3043 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3044 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3045 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3046 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3047 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3048 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3049 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3050 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3051 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3052 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3053 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3054 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3055 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3056 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3057 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3058 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3059 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3060 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3061 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3062 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3063 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3064 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3065 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3066 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3067 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3068 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3069 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3070 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3071 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3072 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3073 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3074 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3075 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3076 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3077 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3080 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3084 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3085 (memmem): Rename to __memmem and define as weak alias of
3086 __memmem. Use libc_hidden_weak.
3087 (__memmem): Use libc_hidden_def.
3088 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3089 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3093 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3094 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3095 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3096 and define as weak alias of __fgets_unlocked. Use
3098 (__fgets_unlocked): Use libc_hidden_def.
3099 * include/stdio.h (__fgets_unlocked): Declare. Use
3101 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3102 __fgets_unlocked instead of fgets_unlocked.
3103 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3104 (GET_NPROCS_CONF_PARSER): Likewise.
3105 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3106 (GET_NPROCS_CONF_PARSER): Likewise.
3109 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3110 weak alias of __wmemset. Use libc_hidden_weak.
3111 (__wmemset): Use libc_hidden_def.
3112 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3113 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3117 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3118 with asm name __mempcpy.
3119 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3122 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3123 and define as weak alias of __rawmemchr.
3124 (__rawmemchr): Do not define as strong alias of rawmemchr.
3127 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3129 (qsort): Call __qsort_r instead of qsort_r.
3130 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3131 (__qsort_r): Declare. Call libc_hidden_proto.
3132 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3134 * nscd/gai.c (__qsort_r): Define to qsort_r.
3135 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3136 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3137 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3140 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3141 define as weak alias of __malloc_info.
3144 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3145 as weak alias of __rewinddir. Don't use libc_hidden_def.
3146 (__rewinddir): Use libc_hidden_def.
3147 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3148 as weak alias of __rewinddir. Don't use libc_hidden_def.
3149 (__rewinddir): Use libc_hidden_def.
3150 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3151 weak alias of __rewinddir. Don't use libc_hidden_def.
3152 (__rewinddir): Use libc_hidden_def.
3153 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3154 (__rewinddir): Use libc_hidden_proto.
3155 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3157 (__getcwd): Use __rewinddir instead of rewinddir.
3160 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3161 alias of __fileno. Use libc_hidden_weak.
3162 (__fileno): Use libc_hidden_def.
3163 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3164 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3166 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3168 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3169 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3171 (fread_unlocked): Don't use libc_hidden_ver.
3172 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3173 and define as weak alias of __fread_unlocked. Don't use
3175 (__fread_unlocked): Use libc_hidden_def.
3176 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3177 (ftello): Don't use libc_hidden_proto.
3178 (__ftello): Declare. Use libc_hidden_proto.
3179 (fread_unlocked): Don't use libc_hidden_proto.
3180 (__fread_unlocked): Declare. Use libc_hidden_proto.
3181 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3182 and __ftello instead of fileno, fread_unlocked and ftello.
3184 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3186 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3188 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3190 (_dl_start_user): Likewise.
3191 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3193 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3194 Siddhesh Poyarekar <siddhesh@redhat.com>
3196 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3197 Move argv and envp down instead of moving argc up.
3198 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3200 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3203 * test-skeleton.c (main): Return successful if one of
3204 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3205 * string/tst-strcoll-overflow.c: Define expected status.
3207 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3210 * locale/iso-639.def: Define Bhili and Tulu language codes.
3212 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3214 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3216 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3219 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3221 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3223 * configure.ac: Updated check of minimal required version to
3225 * manual/install.texi (Tools for Compilation): Updated version
3227 * configure: Regenerated.
3228 * INSTALL: Likewise.
3230 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3232 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3235 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3237 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3238 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3239 (__waitpid): Don't define as alias. Use libc_hidden_def not
3241 (waitpid): Define as alias of __waitpid.
3242 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3244 (__waitpid): Don't define as alias. Use libc_hidden_def not
3246 (waitpid): Define as alias of __waitpid.
3247 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3248 __libc_waitpid alias.
3249 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3250 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3252 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3253 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3254 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3256 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3258 (__waitpid): Don't define as alias. Use libc_hidden_def not
3260 (waitpid): Define as alias of __waitpid.
3262 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3264 * manual/llio.texi: Add comment that write safety has been
3267 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3268 (localplt-build-dso): Add elf/ld.so.
3269 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3270 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3273 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3278 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3279 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3280 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3281 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3282 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3283 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3284 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3285 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3286 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3287 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3288 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3290 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3293 * include/libc-symbols.h (INTUSE): Remove macro.
3295 (INTVARDEF): Likewise.
3296 (_INTVARDEF): Likewise.
3297 (INTDEF2): Likewise.
3298 (INTVARDEF2): Likewise.
3299 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3300 rtld_hidden_def instead of INTVARDEF.
3301 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3302 (_dl_starting_up_internal): Remove declaration.
3303 (_dl_starting_up): Use rtld_hidden_proto.
3304 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3306 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3307 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3309 * elf/dl-writev.h (_dl_writev): Likewise.
3310 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3311 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3312 _dl_starting_up_internal.
3314 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3316 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3319 2014-11-05 Will Newton <will.newton@linaro.org>
3321 * benchtests/Makefile: (bench-malloc): Add malloc thread
3322 scalability benchmark.
3323 * benchtests/bench-malloc-threads.c: New file.
3325 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3327 * sysdeps/aarch64/strchrnul.S: New file.
3329 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3331 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3333 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3335 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3337 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3339 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3341 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3344 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3346 * catgets/test-gencat.c: Use test-skeleton.c.
3347 * catgets/tst-catgets.c: Likewise.
3348 * csu/tst-empty.c: Likewise.
3349 * elf/tst-audit2.c: Likewise.
3350 * elf/tst-global1.c: Likewise.
3351 * elf/tst-pathopt.c: Likewise.
3352 * elf/tst-piemod1.c: Likewise.
3353 * elf/tst-tls10.c: Likewise.
3354 * elf/tst-tls11.c: Likewise.
3355 * elf/tst-tls12.c: Likewise.
3356 * gnulib/tst-gcc.c: Likewise.
3357 * iconvdata/tst-e2big.c: Likewise.
3358 * iconvdata/tst-loading.c: Likewise.
3359 * iconv/tst-iconv1.c: Likewise.
3360 * iconv/tst-iconv2.c: Likewise.
3361 * inet/test-inet6_opt.c: Likewise.
3362 * inet/tst-gethnm.c: Likewise.
3363 * inet/tst-network.c: Likewise.
3364 * inet/tst-ntoa.c: Likewise.
3365 * intl/tst-codeset.c: Likewise.
3366 * intl/tst-gettext2.c: Likewise.
3367 * intl/tst-gettext3.c: Likewise.
3368 * intl/tst-ngettext.c: Likewise.
3369 * intl/tst-translit.c: Likewise.
3370 * io/test-stat.c: Likewise.
3371 * libio/test-fmemopen.c: Likewise.
3372 * libio/tst-freopen.c: Likewise.
3373 * libio/tst-sscanf.c: Likewise.
3374 * libio/tst-ungetwc1.c: Likewise.
3375 * libio/tst-ungetwc2.c: Likewise.
3376 * libio/tst-widetext.c: Likewise.
3377 * localedata/tst-ctype.c: Likewise.
3378 * localedata/tst-digits.c: Likewise.
3379 * localedata/tst-leaks.c: Likewise.
3380 * localedata/tst-mbswcs1.c: Likewise.
3381 * localedata/tst-mbswcs2.c: Likewise.
3382 * localedata/tst-mbswcs3.c: Likewise.
3383 * localedata/tst-mbswcs4.c: Likewise.
3384 * localedata/tst-mbswcs5.c: Likewise.
3385 * localedata/tst-setlocale.c: Likewise.
3386 * localedata/tst-trans.c: Likewise.
3387 * localedata/tst-wctype.c: Likewise.
3388 * localedata/tst-xlocale1.c: Likewise.
3389 * login/tst-grantpt.c: Likewise.
3390 * malloc/tst-calloc.c: Likewise.
3391 * malloc/tst-malloc.c: Likewise.
3392 * malloc/tst-mallocstate.c: Likewise.
3393 * malloc/tst-mcheck.c: Likewise.
3394 * malloc/tst-mtrace.c: Likewise.
3395 * malloc/tst-obstack.c: Likewise.
3396 * math/atest-exp2.c: Likewise.
3397 * math/atest-exp.c: Likewise.
3398 * math/atest-sincos.c: Likewise.
3399 * math/test-matherr.c: Likewise.
3400 * math/test-misc.c: Likewise.
3401 * math/test-powl.c: Likewise.
3402 * math/tst-definitions.c: Likewise.
3403 * misc/tst-dirname.c: Likewise.
3404 * misc/tst-efgcvt.c: Likewise.
3405 * misc/tst-fdset.c: Likewise.
3406 * misc/tst-hsearch.c: Likewise.
3407 * misc/tst-mntent2.c: Likewise.
3408 * nptl/tst-sem7.c: Likewise.
3409 * nptl/tst-sem8.c: Likewise.
3410 * nptl/tst-sem9.c: Likewise.
3411 * nss/test-netdb.c: Likewise.
3412 * posix/tst-fnmatch.c: Likewise.
3413 * posix/tst-getlogin.c: Likewise.
3414 * posix/tst-gnuglob.c: Likewise.
3415 * posix/tst-mmap.c: Likewise.
3416 * pwd/tst-getpw.c: Likewise.
3417 * resolv/tst-inet_ntop.c: Likewise.
3418 * rt/tst-timer.c: Likewise.
3419 * stdio-common/test-fseek.c: Likewise.
3420 * stdio-common/test-popen.c: Likewise.
3421 * stdio-common/test-vfprintf.c: Likewise.
3422 * stdio-common/tst-cookie.c: Likewise.
3423 * stdio-common/tst-fileno.c: Likewise.
3424 * stdio-common/tst-gets.c: Likewise.
3425 * stdio-common/tst-obprintf.c: Likewise.
3426 * stdio-common/tst-perror.c: Likewise.
3427 * stdio-common/tst-sprintf2.c: Likewise.
3428 * stdio-common/tst-sprintf3.c: Likewise.
3429 * stdio-common/tst-sprintf.c: Likewise.
3430 * stdio-common/tst-swprintf.c: Likewise.
3431 * stdio-common/tst-tmpnam.c: Likewise.
3432 * stdio-common/tst-unbputc.c: Likewise.
3433 * stdio-common/tst-wc-printf.c: Likewise.
3434 * stdlib/tst-environ.c: Likewise.
3435 * stdlib/tst-fmtmsg.c: Likewise.
3436 * stdlib/tst-limits.c: Likewise.
3437 * stdlib/tst-rand48-2.c: Likewise.
3438 * stdlib/tst-rand48.c: Likewise.
3439 * stdlib/tst-random2.c: Likewise.
3440 * stdlib/tst-random.c: Likewise.
3441 * stdlib/tst-strtol.c: Likewise.
3442 * stdlib/tst-strtoll.c: Likewise.
3443 * stdlib/tst-tls-atexit.c: Likewise.
3444 * stdlib/tst-xpg-basename.c: Likewise.
3445 * string/test-ffs.c: Likewise.
3446 * string/tst-bswap.c: Likewise.
3447 * string/tst-inlcall.c: Likewise.
3448 * string/tst-strtok.c: Likewise.
3449 * string/tst-strxfrm.c: Likewise.
3450 * sysdeps/x86_64/tst-audit10.c: Likewise.
3451 * sysdeps/x86_64/tst-audit3.c: Likewise.
3452 * sysdeps/x86_64/tst-audit4.c: Likewise.
3453 * sysdeps/x86_64/tst-audit5.c: Likewise.
3454 * time/tst-ftime_l.c: Likewise.
3455 * time/tst-getdate.c: Likewise.
3456 * time/tst-mktime3.c: Likewise.
3457 * time/tst-mktime.c: Likewise.
3458 * time/tst-posixtz.c: Likewise.
3459 * time/tst-strptime2.c: Likewise.
3460 * time/tst-strptime3.c: Likewise.
3461 * wcsmbs/tst-btowc.c: Likewise.
3462 * wcsmbs/tst-mbrtowc.c: Likewise.
3463 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3464 * wcsmbs/tst-wchar-h.c: Likewise.
3465 * wcsmbs/tst-wcpncpy.c: Likewise.
3466 * wcsmbs/tst-wcrtomb.c: Likewise.
3467 * wcsmbs/tst-wcsnlen.c: Likewise.
3468 * wcsmbs/tst-wcstof.c: Likewise.
3470 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3473 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3475 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3477 (_dl_mcount): Use rtld_hidden_proto.
3478 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3480 * elf/rtld.c (_rtld_global_ro): Likewise.
3483 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3484 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3485 of _dl_init_internal.
3486 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3487 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3488 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3489 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3490 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3491 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3492 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3493 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3494 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3495 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3496 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3497 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3498 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3499 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3500 * sysdeps/tile/dl-start.S (_start): Likewise.
3501 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3502 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3505 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3506 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3507 (rtld_progname): Make macro definition unconditional.
3508 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3510 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3511 (dl_main): Likewise.
3512 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3513 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3514 instead of _dl_argv_internal.
3515 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3516 __GI__dl_argv instead of INTUSE(_dl_argv).
3517 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3518 __GI__dl_argv instead of _dl_argv_internal.
3520 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3521 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3523 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3524 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3526 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3527 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3529 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3530 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3532 2014-11-04 Andreas Schwab <schwab@suse.de>
3534 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3536 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3538 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3539 mtvsrd instruction in binary form.
3541 2014-11-03 Andreas Schwab <schwab@suse.de>
3544 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3545 for less than MB_LEN_MAX use a local buffer of that size.
3546 * libio/tst-fputws.c: New file.
3547 * libio/Makefile (tests): Add tst-fputws.
3549 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3551 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3552 the size of the fpu_fr.fpu_dregs[] array.
3554 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3556 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3557 (__nanosleep): Do not define as alias.
3558 (nanosleep): Define as alias of __nanosleep.
3559 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3560 __libc_nanosleep name.
3562 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3564 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3565 install.texi in comment.
3567 2014-10-31 Torvald Riegel <triegel@redhat.com>
3569 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3570 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3571 ... add here and use lwsync or sync ...
3572 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3573 ... and add here using lwsync.
3575 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3577 * elf/dl-machine-reject-phdr.h: New file.
3578 * elf/dl-load.c: #include that.
3579 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3580 if that returned true.
3582 2014-10-31 Roland McGrath <roland@hack.frob.com>
3585 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3586 gen-as-const-headers chunk. Add a big scare comment after the last
3587 safe place to touch before-compile.
3589 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3591 * manual/install.texi (Tools for Compilation): Update autoconf
3592 version requirements.
3593 * INSTALL: Regenerated.
3595 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3596 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3597 (__libc_pselect): Likewise.
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3605 2014-10-31 Torvald Riegel <triegel@redhat.com>
3607 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3608 correct barrier instruction.
3609 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3611 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3614 2014-10-30 Roland McGrath <roland@hack.frob.com>
3616 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3617 after defining inlines. Instead, just use parens to defeat macro
3618 expansion of __isctype in its declaration.
3620 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3622 * include/sys/uio.h (__libc_readv): Remove declaration.
3623 (__libc_writev): Likewise.
3624 * misc/readv.c (__libc_readv): Rename to __readv.
3625 (__readv): Do not define as alias.
3626 (readv): Define as alias of __readv.
3627 * misc/writev.c (__libc_writev): Rename to __writev.
3628 (__writev): Do not define as alias.
3629 (writev): Define as alias of __writev.
3630 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3631 (__readv): Do not define as alias.
3632 (readv): Define unconditionally as alias of __readv.
3633 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3634 (__writev): Do not define as alias.
3635 (writev): Define unconditionally as alias of __writev.
3636 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3638 (writev): Do not define __libc_writev name.
3640 2014-10-30 Roland McGrath <roland@hack.frob.com>
3642 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3643 (convert_charseq): New function, broken out of ...
3644 (use_from_charmap): ... here. Call it.
3645 (use_to_charmap): Use convert_charseq and free instead of duplicating
3646 its code with a variable-length stack struct.
3648 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3650 * include/fcntl.h (__libc_creat): Remove declaration.
3651 * io/creat.c (__libc_creat): Rename to creat.
3652 (creat): Do not define as alias.
3653 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3654 of creat instead of __libc_creat.
3655 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3657 (creat): Do not define as alias.
3658 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3660 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3665 2014-10-29 Carlos O'Donell <carlos@redhat.com>
3667 * manual/llio.texi: Add comments discussing why write() may be
3668 considered MT-unsafe on Linux.
3670 2014-10-28 Carlos O'Donell <carlos@redhat.com>
3672 * dl-load.c (local_strdup): Remove.
3673 (expand_dynamic_string_token): Use __strdup.
3674 (decompose_rpath): Likewise.
3675 (_dl_map_object): Likewise.
3677 2014-10-28 Joseph Myers <joseph@codesourcery.com>
3680 * sysdeps/generic/unwind-dw2-fde.c
3681 (__register_frame_info_bases_internal): Do not declare.
3682 (__register_frame_info_table_bases_internal): Likewise.
3683 (__deregister_frame_info_bases_internal): Likewise.
3684 (__register_frame_info_bases): Declare and use hidden_proto before
3685 definition. Use hidden_def instead of INTDEF.
3686 (__register_frame_info_table_bases): Likewise.
3687 (__deregister_frame_info_bases): Likewise.
3688 (__register_frame_info): Do not use INTUSE.
3689 (__register_frame): Likewise.
3690 (__register_frame_info_table): Likewise.
3691 (__register_frame_table): Likewise.
3692 (__deregister_frame_info): Likewise.
3693 (__deregister_frame): Likewise.
3695 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3697 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3698 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3700 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3702 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3705 2014-10-27 Joseph Myers <joseph@codesourcery.com>
3708 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3709 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3710 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3711 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3712 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3713 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3714 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3715 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3716 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3717 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3718 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3719 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3720 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3722 (setfsuid): Likewise.
3723 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3724 (setfsuid): Likewise.
3725 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3726 (setfsuid): Likewise.
3727 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3729 (setfsuid): Likewise.
3730 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3731 (setfsuid): Likewise.
3732 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3734 (setfsuid): Likewise.
3736 2014-10-27 Andreas Schwab <schwab@suse.de>
3739 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3740 check for Slow_SSE4_2 feature bit.
3741 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3742 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3743 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3744 Likewise. Fix check for Fast_Unaligned_Load feature bit.
3746 2014-10-24 Roland McGrath <roland@hack.frob.com>
3748 * configure.ac: Validate compiler version with a empirical test of
3749 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3751 * configure: Regenerated.
3753 * inet/htons.c (htons): Prototypify.
3754 * inet/htonl.c (htonl): Likewise.
3756 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3758 * string/strncat.c (strncat): Improve performance by using strlen.
3760 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3762 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3764 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3766 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3767 Call libc_fetestexcept_aarch64.
3769 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3771 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3772 Call libc_feholdexcept_aarch64.
3774 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3776 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3777 Call get_rounding_mode.
3779 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3781 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3784 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3786 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3789 2014-10-24 Joseph Myers <joseph@codesourcery.com>
3792 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3793 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3794 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3795 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3796 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3797 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3798 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3799 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3800 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3801 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3802 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3803 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3804 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3805 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3806 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3807 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3808 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3809 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3810 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3811 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3812 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3813 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3814 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3815 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3816 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3817 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3818 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3819 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3820 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3821 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3822 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3823 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3824 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3825 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3826 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3827 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3828 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3829 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3830 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3831 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3832 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3834 (geteuid): Likewise.
3837 (getresgid): Likewise.
3838 (getresuid): Likewise.
3839 (getgroups): Likewise.
3840 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3841 (geteuid): Likewise.
3844 (getresgid): Likewise.
3845 (getresuid): Likewise.
3846 (getgroups): Likewise.
3847 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3848 (geteuid): Likewise.
3851 (getresgid): Likewise.
3852 (getresuid): Likewise.
3853 (getgroups): Likewise.
3854 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3856 (geteuid): Likewise.
3859 (getresgid): Likewise.
3860 (getresuid): Likewise.
3861 (getgroups): Likewise.
3862 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3863 (geteuid): Likewise.
3866 (getresgid): Likewise.
3867 (getresuid): Likewise.
3868 (getgroups): Likewise.
3869 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3871 (geteuid): Likewise.
3874 (getgroups): Likewise.
3877 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3878 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3879 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3880 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3881 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3882 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3883 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3884 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3885 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3887 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3888 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3889 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3891 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3894 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3898 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3901 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3906 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3908 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3911 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3913 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3916 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3918 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3919 Remove unused include.
3921 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3923 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3924 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3925 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3926 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3928 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3929 Helge Deller <deller@gmx.de>
3932 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3933 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3934 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3936 2014-10-23 Joseph Myers <joseph@codesourcery.com>
3939 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3940 Remove macro definition.
3941 (__ashrdi3_v_glibc20): Likewise.
3942 (__lshrdi3_v_glibc20): Likewise.
3943 (__cmpdi2_v_glibc20): Likewise.
3944 (__ucmpdi2_v_glibc20): Likewise.
3945 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3946 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3947 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3948 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3949 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3950 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3952 2014-10-22 Roland McGrath <roland@hack.frob.com>
3954 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3955 old GNU extension [0] syntax.
3956 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3957 alloca rather than an array member with variable length.
3958 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3959 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3960 (parse_opt): ... here. Likewise use alloca there.
3961 Validate the -i argument before checking for rootness.
3962 (send_shutdown): New function, broken out of ...
3963 (parse_opt): ... here.
3965 2014-10-22 Roland McGrath <roland@hack.frob.com>
3967 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3968 macro to get at the _rt_local_ro field.
3969 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3970 ([PIC] case) or _dl_hwcap ([!PIC] case).
3971 * sysdeps/arm/setjmp.S: Likewise.
3973 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3974 * sysdeps/arm/configure.ac: New check to define it.
3975 * sysdeps/arm/configure: Regenerated.
3976 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3977 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3978 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3979 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3980 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3981 Use move/movt pair instead of a load.
3982 (LDST_GLOBAL): Macro removed.
3983 (LDR_GLOBAL): New macro replaces it.
3984 (LDR_HIDDEN): New macro.
3985 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3986 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3988 * setjmp/tst-setjmp-static.c: New file.
3989 * setjmp/Makefile (tests): Add it.
3990 (tests-static): New variable.
3992 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3995 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3997 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4000 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4002 2014-10-21 Roland McGrath <roland@hack.frob.com>
4004 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4006 2014-10-20 Roland McGrath <roland@hack.frob.com>
4008 * io/fts.c (dirent_not_directory): New function.
4009 (fts_build): Call it.
4011 2014-10-20 Roland McGrath <roland@hack.frob.com>
4013 * nptl/version.c (__nptl_main): Use normal __write rather than
4015 (banner): Update copyright years.
4017 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4019 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4020 * nptl/pthread_cond_timedwait.c: Likewise.
4021 * nptl/pthread_mutex_timedlock.c: Likewise.
4022 * nptl/sem_timedwait.c: Likewise.
4024 * sysdeps/nptl/bits/libc-lock.h
4025 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4026 (__libc_lock_init_recursive): Return void, not 0.
4027 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4028 (__libc_rwlock_init): Likewise.
4029 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4031 2014-10-20 Torvald Riegel <triegel@redhat.com>
4034 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4035 (__pthread_once_slow): ... here.
4036 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4037 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4039 2014-10-20 Torvald Riegel <triegel@redhat.com>
4042 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4043 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4044 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4045 * nptl/pthread_once.c (__pthread_once): Likewise.
4048 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4051 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4053 (writev): Use __libc_writev as strong name.
4054 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4055 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4057 2014-10-17 Roland McGrath <roland@hack.frob.com>
4059 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4061 * sysdeps/i386/nptl/tls.h
4062 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4063 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4065 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4066 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4067 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4068 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4069 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4070 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4072 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4073 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4075 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4077 (__pthread_mutex_init): ... here. Call it.
4078 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4079 Conditionalize PI cases on [__NR_futex].
4080 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4081 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4082 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4084 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4085 conditional on [SIGSETXID].
4086 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4087 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4088 is defined. Likewise for SIGSETXID.
4089 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4090 Conditionalize definitions on [SIGSETXID].
4091 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4092 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4093 unblocking on [SIGCANCEL].
4095 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4096 [__NR_set_robust_list].
4098 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4100 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4101 (do_compare): Likewise.
4103 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4106 * string/strcoll_l.c: Don't include stdio.h.
4107 (coll_seq): Remove members idxarr and rulearr.
4108 (get_next_seq_cached): Remove function.
4109 (get_next_seq): Likewise.
4110 (get_next_seq_nocache): Rename to get_next_seq.
4111 (do_compare): Remove function.
4112 (do_compare_nocache): Rename to do_compare.
4113 (STRCOLL): Remove weight and rules cache.
4115 2014-10-16 Roland McGrath <roland@hack.frob.com>
4117 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4118 * sysdeps/arm/sfp-machine.h: ... to here.
4119 * sysdeps/arm/Implies: Remove arm/soft-fp.
4121 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4123 * conform/data/sys/utsname.h-data (*_t): Allow.
4124 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4125 [POSIX] (WEXITED): Do not expect constant.
4126 [POSIX] (WSTOPPED): Likewise.
4127 [POSIX] (WNOHANG): Likewise.
4128 [POSIX] (WNOWAIT): Likewise.
4129 [POSIX] (siginfo_t): Do not expect type or elements.
4130 [POSIX] (pid_t): Do not expect type.
4131 [POSIX] (signal.h): Do not allow header.
4132 [POSIX] (sys/resource.h): Likewise.
4133 [POSIX] (si_*): Do not allow pattern.
4134 [POSIX] (W*): Likewise.
4135 [POSIX] (P_*): Likewise.
4136 [POSIX] (BUS_*): Likewise.
4137 [POSIX] (CLD_*): Likewise.
4138 [POSIX] (FPE_*): Likewise.
4139 [POSIX] (ILL_*): Likewise.
4140 [POSIX] (POLL_*): Likewise.
4141 [POSIX] (SEGV_*): Likewise.
4142 [POSIX] (SI_*): Likewise.
4143 [POSIX] (TRAP_*): Likewise.
4144 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4147 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4150 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4151 infinite loop when __recvmsg returns 0.
4153 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4155 * CANCEL-FCT-WAIVE: Remove file.
4156 * CANCEL-FILE-WAIVE: Likewise.
4159 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4160 instead of INTVARDEF.
4161 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4162 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4163 rtld_hidden_data_def instead of INTVARDEF.
4164 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4165 * elf/dl-deps.c (expand_dst): Likewise.
4166 * elf/dl-load.c (_dl_dst_count): Likewise.
4167 (_dl_dst_substitute): Likewise.
4168 (decompose_rpath): Likewise.
4169 (_dl_init_paths): Likewise.
4170 (open_path): Likewise.
4171 (_dl_map_object): Likewise.
4172 * elf/rtld.c (dl_main): Likewise.
4173 (process_dl_audit): Likewise.
4174 (process_envvars): Likewise.
4175 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4177 (__libc_enable_secure): Use rtld_hidden_proto.
4179 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4182 (add_path): New function broken out of _dl_rtld_di_serinfo.
4183 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4185 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4187 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4188 parentheses around macro arguments.
4189 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4190 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4191 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4192 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4193 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4194 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4195 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4196 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4197 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4198 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4199 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4200 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4201 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4202 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4203 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4204 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4205 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4206 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4207 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4208 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4209 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4210 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4211 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4212 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4213 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4214 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4215 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4216 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4217 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4218 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4219 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4220 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4221 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4222 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4223 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4224 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4226 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4227 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4228 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4229 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4230 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4231 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4232 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4233 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4234 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4235 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4236 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4237 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4238 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4239 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4240 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4241 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4242 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4243 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4244 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4245 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4246 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4247 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4248 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4249 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4250 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4251 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4252 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4253 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4254 (_FP_FRAC_SRS_1): Likewise.
4255 (_FP_FRAC_CLZ_1): Likewise.
4256 (_FP_MUL_MEAT_1_imm): Likewise.
4257 (_FP_MUL_MEAT_1_wide): Likewise.
4258 (_FP_MUL_MEAT_1_hard): Likewise.
4259 (_FP_SQRT_MEAT_1): Likewise.
4260 (_FP_FRAC_ASSEMBLE_1): Likewise.
4261 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4262 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4263 (__FP_CLZ_2): Likewise.
4264 (_FP_MUL_MEAT_2_wide): Likewise.
4265 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4266 (_FP_MUL_MEAT_2_gmp): Likewise.
4267 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4268 (_FP_SQRT_MEAT_2): Likewise.
4269 (_FP_FRAC_ASSEMBLE_2): Likewise.
4270 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4271 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4272 (_FP_FRAC_CLZ_4): Likewise.
4273 (_FP_MUL_MEAT_4_wide): Likewise.
4274 (_FP_MUL_MEAT_4_gmp): Likewise.
4275 (_FP_SQRT_MEAT_4): Likewise.
4276 (_FP_FRAC_ASSEMBLE_4): Likewise.
4277 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4278 * soft-fp/op-common.h (_FP_CMP): Likewise.
4279 (_FP_CMP_EQ): Likewise.
4280 (_FP_CMP_UNORD): Likewise.
4281 (_FP_TO_INT): Likewise.
4282 (_FP_FROM_INT): Likewise.
4283 [!__FP_CLZ] (__FP_CLZ): Likewise.
4284 (_FP_DIV_HELP_imm): Likewise.
4285 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4287 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4288 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4289 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4290 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4291 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4292 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4293 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4294 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4295 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4296 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4297 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4298 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4299 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4300 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4301 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4302 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4303 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4304 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4305 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4306 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4307 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4308 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4309 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4310 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4311 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4312 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4313 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4314 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4315 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4316 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4317 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4318 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4319 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4320 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4321 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4322 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4323 (FP_UNPACK_RAW_SP): Likewise.
4324 (FP_PACK_RAW_S): Likewise.
4325 (FP_PACK_RAW_SP): Likewise.
4326 (FP_UNPACK_S): Likewise.
4327 (FP_UNPACK_SP): Likewise.
4328 (FP_UNPACK_SEMIRAW_S): Likewise.
4329 (FP_UNPACK_SEMIRAW_SP): Likewise.
4330 (FP_PACK_S): Likewise.
4331 (FP_PACK_SP): Likewise.
4332 (FP_PACK_SEMIRAW_S): Likewise.
4333 (FP_PACK_SEMIRAW_SP): Likewise.
4334 (_FP_SQRT_MEAT_S): Likewise.
4335 (FP_CMP_S): Likewise.
4336 (FP_CMP_EQ_S): Likewise.
4337 (FP_CMP_UNORD_S): Likewise.
4338 (FP_TO_INT_S): Likewise.
4339 (FP_FROM_INT_S): Likewise.
4341 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4343 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4344 (FP_EX_INVALID_IMZ): Likewise.
4345 (FP_EX_INVALID_IMZ_FMA): Likewise.
4346 (FP_EX_INVALID_ISI): Likewise.
4347 (FP_EX_INVALID_ZDZ): Likewise.
4348 (FP_EX_INVALID_IDI): Likewise.
4349 (FP_EX_INVALID_SQRT): Likewise.
4350 (FP_EX_INVALID_CVI): Likewise.
4351 (FP_EX_INVALID_VC): Likewise.
4352 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4353 "invalid" exceptions.
4354 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4355 (_FP_ADD_INTERNAL): Likewise.
4356 (_FP_MUL): Likewise.
4357 (_FP_FMA): Likewise.
4358 (_FP_DIV): Likewise.
4359 (_FP_CMP_CHECK_NAN): Likewise.
4360 (_FP_SQRT): Likewise.
4361 (_FP_TO_INT): Likewise.
4362 (FP_EXTEND): Likewise.
4364 2014-10-09 Allan McRae <allan@archlinux.org>
4366 * po/fr.po: Update French translation from translation project.
4368 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4371 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4373 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4374 (__cxa_atexit): Use libc_hidden_proto.
4375 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4378 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4380 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4381 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4382 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4383 [!_ISOMAC] (__iswctype_internal): Likewise.
4384 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4385 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4387 (fcntl): Remove __fcntl_internal alias.
4388 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4389 __connect_internal alias.
4390 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4393 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4394 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4396 (_FP_CHECK_FLUSH_ZERO): New macro.
4397 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4398 (_FP_CMP): Likewise.
4399 (_FP_CMP_EQ): Likewise.
4400 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4402 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4403 (FP_TRUNC): Likewise.
4405 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4406 treated as invalid conversion, not as normal exponent.
4408 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4409 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4410 (_FP_CMP_EQ): Likewise.
4411 (_FP_CMP_UNORD): Likewise.
4412 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4413 (FP_CMP_EQ_D): Likewise.
4414 (FP_CMP_UNORD_D): Likewise.
4415 * soft-fp/extended.h (FP_CMP_E): Likewise.
4416 (FP_CMP_EQ_E): Likewise.
4417 (FP_CMP_UNORD_E): Likewise.
4418 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4419 (FP_CMP_EQ_Q): Likewise.
4420 (FP_CMP_UNORD_Q): Likewise.
4421 * soft-fp/single.h (FP_CMP_S): Likewise.
4422 (FP_CMP_EQ_S): Likewise.
4423 (FP_CMP_UNORD_S): Likewise.
4424 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4425 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4426 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4427 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4428 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4429 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4430 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4431 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4432 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4433 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4434 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4435 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4436 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4438 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4440 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4441 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4443 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4445 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4446 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4447 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4448 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4450 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4452 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4453 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4455 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4457 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4458 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4459 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4460 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4463 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4464 a subnormal result, set the underflow exception if trapping on
4465 underflow is enabled.
4466 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4467 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4468 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4470 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4471 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4472 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4473 * soft-fp/extendxftf2.c (__extendxftf2): Use
4474 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4476 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4477 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4478 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4479 FP_HANDLE_EXCEPTIONS.
4480 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4481 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4482 FP_HANDLE_EXCEPTIONS.
4483 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4484 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4485 FP_HANDLE_EXCEPTIONS.
4486 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4487 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4488 FP_HANDLE_EXCEPTIONS.
4490 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4493 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4494 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4496 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4497 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4499 (__adjtimex): Define using libc_hidden_ver.
4500 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4502 (ntp_gettime): Call __adjtimex directly.
4503 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4505 (ntp_gettimex): Call __adjtimex directly.
4506 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4507 __adjtimex_internal alias.
4509 2014-10-08 Roland McGrath <roland@hack.frob.com>
4512 * nscd/nscd.c (more_help): Rewrite list of tables collection
4513 using xstrdup and asprintf.
4515 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4517 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4518 Roland McGrath <roland@hack.frob.com>
4520 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4521 (do_lookup_unique): ... local function 'enter' here; update callers.
4523 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4525 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4526 compat_symbol calls on [SHARED].
4527 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4528 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4530 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4531 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4532 (oldsetrlimit): Remove.
4533 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4535 (lchown): New syscall entry.
4536 (oldsetrlimit): Remove.
4537 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4538 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4539 (oldsetrlimit): Remove.
4540 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4543 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4544 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4545 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4546 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4547 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4548 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4550 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4555 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4557 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4558 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4559 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4560 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4561 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4563 (__old_sem_post): Likewise.
4565 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4567 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4568 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4569 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4570 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4571 Use INLINE_VSYSCALL macro.
4572 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4573 __vdso_clock_gettime.
4574 * sysdeps/unix/sysv/linux/tile/init-first.c
4575 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4576 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4577 __vdso_clock_gettime.
4579 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4580 to set up frame more cleanly.
4582 * sysdeps/tile/memcmp.c: New file.
4584 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4586 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4587 * sysdeps/tile/tilegx/strcasestr.c: New file.
4588 * sysdeps/tile/tilegx/strnlen.c: New file.
4589 * sysdeps/tile/tilegx/strstr.c: New file.
4591 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4593 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4595 * nptl/tst-setuid3.c: Write errors to stdout.
4597 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4600 (preload): New functions broken out of _dl_map_object_deps.
4601 (_dl_map_object_deps): Remove a nested function. Update call sites.
4603 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4606 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4607 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4609 2014-10-01 Steve Ellcey <sellcey@mips.com>
4611 * sysdeps/mips/strcmp.S: New.
4613 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4616 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4618 (mkdirat): Likewise.
4619 (readlinkat): Likewise.
4620 (renameat): Likewise.
4621 (symlinkat): Likewise.
4622 (unlinkat): Likewise.
4623 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4624 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4625 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4626 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4627 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4628 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4629 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4631 2014-09-30 Will Newton <will.newton@linaro.org>
4633 * math/math.h: Define long double math functions if
4634 _LIBC_TEST is defined.
4635 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4637 * localedata/Makefile: Move assignment to tests-special
4638 into an ifdef testing run-built-tests.
4639 * timezone/Makefile: Likewise.
4641 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4643 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4644 with $(BASH) not $(SHELL).
4646 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4647 Matthew LeGendre <legendre1@llnl.gov>
4650 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4653 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4655 * stdio-common/printf_fp.c
4656 (hack_digit): New function, broken out of ...
4657 (__printf_fp): ... local function here. Update call sites.
4658 hack_digit now takes an additional parameter that is a pointer
4659 to a struct of the referenced locals. Those locals moved inside
4660 the struct and references updated.
4662 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4664 * aclocal.m4: Require autoconf 2.69.
4665 * configure: Regenerated.
4666 * sysdeps/aarch64/configure: Likewise.
4667 * sysdeps/alpha/configure: Likewise.
4668 * sysdeps/arm/armv7/configure: Likewise.
4669 * sysdeps/arm/configure: Likewise.
4670 * sysdeps/ia64/configure: Likewise.
4671 * sysdeps/mach/configure: Likewise.
4672 * sysdeps/mips/configure: Likewise.
4673 * sysdeps/s390/configure: Likewise.
4674 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4677 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4679 * sysdeps/ia64/configure.ac: Likewise.
4681 2014-09-26 Joseph Myers <joseph@codesourcery.com>
4683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4684 specify symbol version for ld.so. Do not include entry for
4686 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4687 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4688 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4691 * Makeconfig [$(build-shared) = yes]
4692 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4694 [$(build-shared) = yes && $(soversions.mk-done) = t]
4695 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4696 [$(build-shared) = yes && $(soversions.mk-done) = t]
4697 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4699 [$(build-shared) = yes && $(soversions.mk-done) = t]
4700 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4702 [$(build-shared) = yes && $(soversions.mk-done) = t]
4703 (common-generated): Don't append gnu/lib-names.h and
4704 gnu/lib-names.stmp here.
4705 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4706 (lib-names-h-abi): New variable.
4707 [$(build-shared) = yes && $(soversions.mk-done) = t]
4708 (lib-names-stmp-abi): Likewise.
4709 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4710 abi-variants] (before-compile): Append
4711 $(common-objpfx)$(lib-names-h-abi).
4712 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4713 abi-variants] (common-generated): Append gnu/lib-names.h.
4714 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4715 abi-variants] (install-others-nosubdir): Depend on
4716 $(inst_includedir)/$(lib-names-h-abi).
4717 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4718 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4719 [$(build-shared) = yes && $(soversions.mk-done) = t]
4720 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4721 [$(build-shared) = yes && $(soversions.mk-done) = t]
4722 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4723 [$(build-shared) = yes && $(soversions.mk-done) = t]
4724 (common-generated): Append $(lib-names-h-abi) and
4725 $(lib-names-stmp-abi).
4726 * scripts/lib-names.awk: Do not handle multi being set.
4727 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4729 (abi-lp64_be-ld-soname): Likewise.
4730 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4732 (abi-hard-ld-soname): Likewise.
4733 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4734 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4736 (abi-o32_hard-ld-soname): Likewise.
4737 (abi-o32_soft_2008-ld-soname): Likewise.
4738 (abi-o32_hard_2008-ld-soname): Likewise.
4739 (abi-n32_soft-ld-soname): Likewise.
4740 (abi-n32_hard-ld-soname): Likewise.
4741 (abi-n32_soft_2008-ld-soname): Likewise.
4742 (abi-n32_hard_2008-ld-soname): Likewise.
4743 (abi-n64_soft-ld-soname): Likewise.
4744 (abi-n64_hard-ld-soname): Likewise.
4745 (abi-n64_soft_2008-ld-soname): Likewise.
4746 (abi-n64_hard_2008-ld-soname): Likewise.
4747 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4749 (abi-64-v2-ld-soname): Likewise.
4750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4752 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4754 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4756 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4758 (abi-64-ld-soname): Likewise.
4759 (abi-x32-ld-soname): Likewise.
4760 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4762 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4764 2014-09-23 Joseph Myers <joseph@codesourcery.com>
4767 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4768 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4769 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4770 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4771 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4772 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4773 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4774 syscall entry for GLIBC_2.2 symbol version.
4775 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4778 (setrlimit): Likewise.
4779 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4782 2014-09-23 Will Newton <will.newton@linaro.org>
4784 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4785 _LINUX_ARM_SYSDEP_H include guard too.
4786 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4789 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4791 * sysdeps/unix/sysv/linux/eventfd.c:
4792 Make first argument unsigned.
4793 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4794 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4796 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
4798 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4799 * socket/sys/socket.h: Likewise
4800 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4802 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4804 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4806 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
4808 * time/tst-ftime.c: New test.
4809 * time/Makefile (tests): Add tst-ftime.
4811 2014-09-17 Joseph Myers <joseph@codesourcery.com>
4813 * soft-fp/extended.h: Fix comment formatting.
4814 * soft-fp/op-1.h: Likewise.
4815 * soft-fp/op-2.h: Likewise.
4816 * soft-fp/op-4.h: Likewise.
4817 * soft-fp/op-8.h: Likewise.
4818 * soft-fp/op-common.h: Likewise.
4819 * soft-fp/soft-fp.h: Likewise.
4821 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4823 2014-09-16 Joseph Myers <joseph@codesourcery.com>
4826 * Makeconfig (soversions-default-setname): Remove variable.
4827 ($(common-objpfx)soversions.i): Don't pass default_setname to
4829 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4830 oldest_abi to abi-versions.awk.
4831 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4832 * config.make.in (oldest-abi): Remove variable.
4833 * configure.ac (--enable-oldest-abi): Remove configure option.
4834 * configure: Regenerated.
4835 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4837 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4838 * scripts/soversions.awk: Do not handle default_setname variable.
4839 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4841 * sysdeps/mach/hurd/configure: Regenerated.
4842 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4844 * sysdeps/unix/sysv/linux/configure: Regenerated.
4846 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4848 * elf/Makefile (CFLAGS-interp.c): Remove.
4849 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4851 * elf/interp.c: Include generated runtime-linker.h
4853 * Makerules (lib%.so): Don't include $(+interp) in
4855 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4856 * dlfcn/eval.c: Remove file.
4858 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4862 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4866 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4868 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4869 Jakub Jelinek <jakub@redhat.com>
4872 * libio/stdio.h: Check definition of __fortify_function
4873 instead of __extern_always_inline to include bits/stdio2.h.
4874 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4875 check if __extern_always_inline is defined.
4876 [__USE_MISC || __USE_XOPEN]: Likewise.
4877 [__USE_ISOC99] Likewise.
4878 * misc/sys/cdefs.h (__fortify_function): Define only if
4879 __extern_always_inline is defined.
4880 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4881 __extern_always_inline and __extern_inline only for g++-4.3
4882 and newer or a compatible gcc.
4884 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4887 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4888 last change to handle zero prefix length.
4890 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4892 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4895 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4898 2014-09-13 Allan McRae <allan@archlinux.org>
4900 * po/ru.po: Update Russian translation from translation project.
4902 2014-09-12 Roland McGrath <roland@hack.frob.com>
4904 * locale/programs/locale.c (show_locale_vars): Inline local function
4905 into its sole call site. Clean up some style nits.
4906 (print_item): New function, broken out of ...
4907 (show_info): ... local function here. Clean up style nits.
4909 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4911 (set_class_defaults): ... local function set_default here.
4912 Define set_default as a macro locally to pass constant parameters.
4913 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4914 rather than a shared local.
4916 * stdlib/rpmatch.c (try): New function, broken out of ...
4917 (rpmatch): ... local function here. Also, prototypify definition.
4919 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4921 * scripts/soversions.awk: Do not handle configuration names.
4922 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4923 vendor and os variables to soversions.awk.
4924 * configure.ac: Do not modify gnu-* host_os.
4925 * configure: Regenerated
4926 * shlib-versions: Remove first column with configuration names.
4927 * nptl/shlib-versions: Likewise.
4928 * nptl_db/shlib-versions: Likewise.
4929 * sysdeps/hppa/shlib-versions: Likewise.
4930 * sysdeps/m68k/shlib-versions: Likewise.
4931 * sysdeps/mach/hurd/shlib-versions: Likewise.
4932 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4933 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4934 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4935 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4936 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4937 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4938 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4939 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4942 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4943 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4944 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4945 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4946 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4947 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4948 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4949 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4952 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4955 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4957 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4959 * shlib-versions: Remove OS-specific entries. Moved to files in
4961 * sysdeps/mach/hurd/shlib-versions: New file.
4962 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4964 * nptl/shlib-versions: Remove architecture-specific entries.
4965 Moved to files in sysdeps.
4966 * shlib-versions: Likewise.
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4969 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4970 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4971 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4972 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4974 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4975 (UDP_NO_CHECK6_RX): Likewise.
4977 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4979 * sysdeps/posix/sysconf.c (__sysconf): Spell
4980 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4982 2014-08-12 Florian Weimer <fweimer@redhat.com>
4984 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4986 * iconv/Versions (__gconv_transliterate): Export for use from
4988 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4989 (struct __gconv_trans_data, __gconv_trans_fct,
4990 __gconv_trans_context_fct, __gconv_trans_query_fct,
4991 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4993 (struct __gconv_step_data): Remove __trans member.
4994 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4995 longer hidden. Remove unused trans_data argument.
4996 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4997 (__gconv_translit_find): Remove declaration.
4998 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5000 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5001 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5002 trans_data argument. Add hidden definition.
5003 (__gconv_translit_find): Remove.
5004 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5005 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5006 * iconv/skeleton.c: Remove transliteration initialization.
5007 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5008 __gconv_step_data initialization.
5009 * libio/iofwide.c (__libio_translit_): Remove.
5010 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5011 * wcsmbs/btowc.c (__btowc): Likewise.
5012 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5013 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5014 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5015 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5016 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5017 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5018 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5019 * wcsmbs/wctob.c (wctob): Likewise.
5021 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5024 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5025 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5027 * sysdeps/x86/Makefile: Adjust.
5029 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5030 Roland McGrath <roland@hack.frob.com>
5032 * locale/weight.h: Add include guard.
5033 (findidx): Make static rather than auto; take new parameters
5034 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5035 * locale/weightwc.h: Likewise.
5036 * posix/fnmatch_loop.c
5037 (FCT): Change type of EXTRA from int32_t to wint_t.
5038 Don't include either header inside the function.
5039 Call FINDIDX rather than findidx, and pass new arguments.
5040 #undef FINDIDX at the end of the file.
5041 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5042 FINDIDX before including fnmatch_loop.c for the non-wide version.
5043 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5044 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5045 for the wide version.
5046 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5047 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5048 Pass new arguments to findidx.
5049 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5050 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5051 Don't #include it inside the function. Pass new arguments to findidx.
5052 * posix/regex_internal.h
5053 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5054 (re_string_elem_size_at): Don't #include it inside the function.
5055 Pass new arguments to findidx.
5056 * string/strcoll_l.c: #include WEIGHT_H at top level.
5057 (get_next_seq): Don't #include it inside the function.
5058 Pass new arguments to findidx.
5059 (get_next_seq_nocache): Likewise.
5060 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5061 (STRXFRM): Don't #include it inside the function.
5062 Pass new arguments to findidx.
5064 2014-09-11 Florian Weimer <fweimer@redhat.com>
5067 * malloc/malloc.c (unlink): Turn asserts into a call to
5070 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5073 * libio/wfileops (do_ftell_wide): Free OUT.
5075 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5077 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5079 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5082 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5083 group if the current group is empty.
5085 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5087 * benchtests/bench-memset.c (test_main): Add more test from size
5088 from 32 to 512 bytes.
5089 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5090 Add POWER8 memset object.
5091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5092 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5093 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5095 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5097 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5098 multiarch POWER8 memset optimization.
5099 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5100 POWER8 memset optimization.
5102 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5103 Remove bzero multiarch objects.
5104 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5105 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5106 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5107 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5109 [__bzero]: Redefine to specific name.
5110 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5111 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5112 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5114 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5115 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5117 2014-09-10 Florian Weimer <fweimer@redhat.com>
5119 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5120 warnings into errors.
5122 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5123 __cxa_thread_atexit_impl prototype.
5125 2014-09-09 Steve Ellcey <sellcey@mips.com>
5127 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5128 Fix capitalization of error message.
5130 2014-09-09 Steve Ellcey <sellcey@mips.com>
5132 * sysdeps/mips/preconfigure: Modify ABI tests.
5134 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5136 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5138 2014-09-07 Roland McGrath <roland@hack.frob.com>
5139 Carlos O'Donell <carlos@systemhalted.org>
5141 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5142 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5143 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5144 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5145 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5146 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5147 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5148 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5149 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5150 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5151 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5152 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5153 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5154 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5155 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5156 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5157 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5158 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5159 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5160 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5161 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5162 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5163 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5164 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5165 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5166 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5167 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5168 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5169 Deconditionalize the code that was previously under [RESET_PID].
5170 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5171 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5172 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5173 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5176 2014-09-08 Allan McRae <allan@archlinux.org>
5178 * version.h (RELEASE): Set to "development".
5179 (VERSION): Set to "2.20.90"
5181 2014-09-07 Allan McRae <allan@archlinux.org
5183 * version.h (RELEASE): Set to "stable".
5184 (VERSION): Set to "2.20"
5185 * include/features.h (__GLIBC_MINOR__): Set to 20.
5187 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5190 * po/ko.po: Update Korean translation from translation project.
5192 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5195 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5196 macro for handling signed relocations.
5198 2014-09-03 Florian Weimer <fweimer@redhat.com>
5201 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5202 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5204 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5205 * iconvdata/ibm935.c (BODY): Likewise.
5206 * iconvdata/ibm937.c (BODY): Likewise.
5207 * iconvdata/ibm939.c (BODY): Likewise.
5208 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5210 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5212 * iconvdata/run-iconv-test.sh: New test loop for checking for
5215 2014-09-02 Khem Raj <raj.khem@gmail.com>
5217 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5220 2014-09-01 Allan McRae <allan@archlinux.org>
5222 * po/eo.po: Update Esperanto translation from translation project.
5224 * po/ca.po: Update Catalan translation from translation project.
5226 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5228 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5231 2014-08-27 Mark Wielaard <mjw@redhat.com>
5234 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5235 to call set_thread_area instead of hand written asm.
5236 (__NR_set_thread_area): Removed define.
5237 (TLS_FLAG_WRITABLE): Likewise.
5238 (__ASSUME_SET_THREAD_AREA): Remove check.
5239 (TLS_EBX_ARG): Remove define.
5240 (TLS_LOAD_EBX): Likewise.
5242 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5244 Simplify atomicity of socket creation in bind.
5246 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5247 looking up the name after linking the file.
5249 2014-08-27 Allan McRae <allan@archlinux.org>
5251 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5253 2014-08-26 Florian Weimer <fweimer@redhat.com>
5256 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5257 trans_compare, open_translit, __gconv_translit_find):
5258 Remove module loading code.
5260 2014-08-26 Allan McRae <allan@archlinux.org>
5262 * po/vi.po: Update Vietnamese translation from translation project.
5264 * po/uk.po: Update Ukrainian translation from translation project.
5266 * po/fr.po: Update French translation from translation project.
5268 * po/ru.po: Update Russian translation from translation project.
5270 * po/pl.po: Update Polish translation from translation project.
5272 * po/cs.po: Update Czech translation from translation project.
5274 * po/de.po: Update German translation from translation project.
5276 * po/bg.po: Update Bulgarian translation from translation project.
5278 * po/sv.po: Update Sweedish translation from translation project.
5280 * po/nl.po: Update Dutch translation from translation project.
5282 * po/es.po: Update Spanish translation from translation project.
5284 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5286 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5288 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5289 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5290 (CPPFLAGS-iconvconfig): Likewise.
5291 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5293 * include/libc-symbols.h: Remove unnecessary check for
5295 * nptl/pthreadP.h: Likewise.
5296 * sysdeps/aarch64/setjmp.S: Likewise.
5297 * sysdeps/alpha/setjmp.S: Likewise.
5298 * sysdeps/arm/sysdep.h: Likewise.
5299 * sysdeps/i386/setjmp.S: Likewise.
5300 * sysdeps/m68k/setjmp.c: Likewise.
5301 * sysdeps/posix/getcwd.c: Likewise.
5302 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5303 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5304 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5305 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5306 * sysdeps/sh/sh3/setjmp.S: Likewise.
5307 * sysdeps/sh/sh4/setjmp.S: Likewise.
5308 * sysdeps/unix/alpha/sysdep.h: Likewise.
5309 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5310 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5311 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5312 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5315 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5317 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5320 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5322 * sysdeps/x86_64/setjmp.S: Likewise.
5324 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5327 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5329 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5330 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5332 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5334 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5337 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5338 and __x86_64__ when disabling x87 inline functions.
5340 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5343 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5344 asm statement with __cpuid_count.
5346 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5348 * configure.ac: Change __ehdr_start code to dereference the struct.
5349 Run readelf on the output to look for relocations.
5350 * configure: Regenerated.
5352 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5355 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5357 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5359 2014-08-12 Roland McGrath <roland@hack.frob.com>
5361 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5363 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5366 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5367 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5369 2014-08-12 Sean Anderson <seanga2@gmail.com>
5371 * malloc/malloc.c: Fix typo in comment.
5373 2014-08-09 Allan McRae <allan@archlinux.org>
5375 * Regenerate libc.po.
5377 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5379 * intl/tst-gettext2.sh: Check every lang file for creation.
5381 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5383 * sysdeps/aarch64/fpu/math_private.h
5384 (libc_feholdsetround_noex_aarch64_ctx): New function.
5386 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5388 * sysdeps/arm/armv6/strcpy.S (strcpy):
5389 Fix performance issue in misaligned cases.
5391 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5393 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5394 Move definition from termios.h.
5395 (struct termio): Likewise.
5396 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5397 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5398 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5399 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5401 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5402 Move definition to ioctl-types.h
5403 (struct termio): Likewise.
5404 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5405 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5406 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5407 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5410 2014-08-05 Richard Henderson <rth@redhat.com>
5412 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5414 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5416 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5417 Use __feraiseexcept.
5418 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5419 Protect libm symbols with IS_IN_libm.
5421 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5423 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5425 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5427 2014-08-04 Will Newton <will.newton@linaro.org>
5429 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5432 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5434 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5435 variants for each function.
5437 2014-08-04 Roland McGrath <roland@hack.frob.com>
5439 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5441 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5442 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5444 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5445 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5446 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5447 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5448 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5449 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5450 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5451 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5452 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5453 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5454 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5455 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5456 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5457 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5458 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5459 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5460 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5462 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5463 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5464 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5466 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5468 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5469 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5470 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5471 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5472 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5473 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5474 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5475 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5476 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5478 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5479 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5480 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5481 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5482 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5483 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5484 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5485 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5486 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5487 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5488 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5489 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5490 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5491 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5492 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5493 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5494 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5495 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5496 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5498 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5499 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5501 2014-08-04 Roland McGrath <roland@hack.frob.com>
5503 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5504 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5505 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5506 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5507 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5508 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5510 2014-08-04 Roland McGrath <roland@hack.frob.com>
5512 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5513 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5514 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5515 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5517 2014-08-04 Roland McGrath <roland@hack.frob.com>
5519 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5520 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5521 (__libc_vfork): Define function under this name.
5522 (__vfork): Define as an alias.
5523 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5524 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5526 2014-08-04 Roland McGrath <roland@hack.frob.com>
5528 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5529 that was previously under [RESET_PID].
5530 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5532 2014-08-04 Andreas Schwab <schwab@suse.de>
5534 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5536 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5538 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5541 2014-08-01 Roland McGrath <roland@hack.frob.com>
5543 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5545 2014-08-01 Richard Henderon <rth@redhat.com>
5547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5548 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5549 typo in exact zero test.
5550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5551 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5552 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5554 2014-08-01 Roland McGrath <roland@hack.frob.com>
5556 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5557 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5558 * sysdeps/arm/sysdep.h: ... here.
5559 [!__ASSEMBLER__]: Include <stdint.h>.
5561 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5563 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5564 (HAVE_WCTYPE_H): Likewise.
5565 (HAVE_ISWCTYPE): Likewise.
5566 (ENABLE_NLS): Likewise.
5567 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5568 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5570 * posix/regex_internal.c: Check if DEBUG is defined and is
5573 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5574 (HAVE_MBSRTOWCS): Likewise.
5575 * posix/fnmatch.c: Include string.h unconditionally.
5577 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5579 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5582 2014-07-31 Roland McGrath <roland@hack.frob.com>
5584 * sysdeps/generic/safe-fatal.h: New file.
5585 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5586 * nptl/forward.c: Include it.
5587 (__pthread_unwind): Use __safe_fatal as default action, rather
5588 than a bogus use of INTERNAL_SYSCALL that could never work.
5590 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5591 * configure.ac (libc_cv_builtin_trap): New test.
5592 * configure: Regenerated.
5593 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5594 (ABORT_INSTRUCTION): Define using __builtin_trap.
5596 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5597 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5598 * sysdeps/nptl/nptl-signals.h: New file.
5599 * nptl/pthreadP.h: Include <nptl-signals.h>.
5601 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5603 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5604 (ONE_DIRECTION): Define.
5605 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5606 (ONE_DIRECTION): Define.
5607 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5608 (ONE_DIRECTION): Define.
5610 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5612 * sysdeps/s390/Makefile: Delete file.
5613 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5614 * sysdeps/s390/__longjmp.c: Delete file.
5615 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5616 Remove fields __flags and __reserved.
5617 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5619 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5620 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5621 * sysdeps/s390/rtld-setjmp.S: Likewise.
5622 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5623 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5624 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5625 * sysdeps/s390/s390-32/setjmp.S: ... here.
5627 (__sigsetjmp): Remove setting __flags field.
5628 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5629 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5630 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5631 * sysdeps/s390/s390-64/setjmp.S: ... here.
5633 (__sigsetjmp): Remove setting __flags field.
5634 * sysdeps/s390/setjmp.S: Delete file.
5635 * sysdeps/s390/sigjmp.c: Likewise.
5636 * sysdeps/s390/v1-longjmp.c: Likewise.
5637 * sysdeps/s390/v1-setjmp.h: Likewise.
5638 * sysdeps/s390/v1-sigjmp.c: Likewise.
5639 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5640 Remove v1-longjmp_chk.
5641 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5642 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5643 Include debug/longjmp_chk.c and add versioning.
5644 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5645 Include nptl/pt-longjmp.c and add versioning.
5646 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5647 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5648 Include __longjmp.c.
5649 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5651 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5652 (__getcontext): Remove setting __flags field.
5654 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5655 Don't restore upper high grps.
5656 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5658 (__swapcontext): Remove setting uc_flags field.
5659 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5661 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5662 Include __longjmp.c.
5663 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5665 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5666 (__getcontext): Remove setting __flags field.
5668 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5669 (__swapcontext): Remove setting uc_flags field.
5670 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5671 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5672 Remove fields uc_high_gprs and __reserved.
5673 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5674 New file with reverted content.
5675 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5676 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5678 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5681 2014-07-31 Andreas Schwab <schwab@suse.de>
5683 * config.h.in (HAVE_IFUNC): Define to 0.
5684 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5687 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5690 memmove-avx-unaligned, memcpy-avx-unaligned and
5691 mempcpy-avx-unaligned.
5692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5693 Add tests for AVX memcpy functions.
5694 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5695 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5697 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5698 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5700 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5701 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5703 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5704 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5705 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5707 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5710 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5713 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
5716 * manual/llio.texi: Add section about open file description locks.
5717 * manual/examples/ofdlocks.c: Example of open file description
5719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5720 F_OFD_SETLK, and F_OFD_SETLKW.
5722 2014-07-23 Allan McRae <allan@archlinux.org>
5724 * po/es.po: Update Spanish translation from translation project.
5726 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5728 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5730 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5733 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5734 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5735 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5737 2014-07-17 Joseph Myers <joseph@codesourcery.com>
5740 * math/fesetenv.c (__fesetenv)
5741 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5742 * math/feupdateenv.c (__feupdateenv)
5743 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5745 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5746 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5747 (__ASSUME_SOCKETCALL): Do not define.
5749 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5750 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5751 (__ASSUME_SOCKETCALL): Do not define.
5752 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5753 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5754 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5755 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5756 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5757 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5758 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5759 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5761 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5762 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5763 (__ASSUME_SOCKETCALL): Do not define.
5764 (__ASSUME_IPC64): Define unconditionally.
5765 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5766 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5767 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5768 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5769 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5770 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5771 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5774 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5775 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5776 (__ASSUME_SOCKETCALL): Do not define.
5777 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5778 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5779 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5780 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5781 (__ASSUME_REQUEUE_PI): Define unconditionally.
5782 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5783 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5784 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5785 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5786 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5787 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5789 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5790 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5791 (__ASSUME_SOCKETCALL): Do not define.
5792 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5793 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5794 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5795 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5796 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5797 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5799 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5800 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5801 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5802 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5803 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5804 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5805 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5806 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5807 (__ASSUME_GETCPU_SYSCALL): Likewise.
5809 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5810 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5811 cases for individual architectures.
5812 * sysdeps/gnu/configure: Regenerated.
5813 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5814 LIBC_SLIBDIR_RTLDDIR.
5815 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5816 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5817 LIBC_SLIBDIR_RTLDDIR.
5818 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5820 LIBC_SLIBDIR_RTLDDIR.
5821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5823 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5824 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5826 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5827 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5829 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5830 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5831 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5832 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5834 * sysdeps/aarch64/shlib-versions: Move to ...
5835 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5836 * sysdeps/alpha/shlib-versions: Move to ...
5837 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5838 * sysdeps/arm/shlib-versions: Move to ...
5839 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5840 * sysdeps/hppa/shlib-versions: Move all contents except for
5841 libgcc_s entry to ...
5842 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5844 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5845 * sysdeps/ia64/shlib-versions: Move to ...
5846 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5848 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5849 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5850 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5851 * sysdeps/microblaze/shlib-versions: Move to ...
5852 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5853 * sysdeps/mips/shlib-versions: Move to ...
5854 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5856 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5857 * sysdeps/tile/shlib-versions: Move to ...
5858 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5859 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5861 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5862 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5864 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5866 2014-07-17 Will Newton <will.newton@linaro.org>
5868 * sysdeps/arm/bits/atomic.h
5869 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5870 (__arch_compare_and_exchange_bool_16_int): Likewise.
5871 (__arch_compare_and_exchange_bool_64_int): Likewise.
5873 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5874 into an #else block.
5876 2014-07-16 Roland McGrath <roland@hack.frob.com>
5878 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5879 just Linux configurations. Test empirically that the compiler sets
5880 __ARM_EABI__, rather than using the tuple to decide.
5881 * sysdeps/arm/preconfigure: Regenerated.
5882 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5883 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5884 contents appended ...
5885 * sysdeps/arm/configure.ac: ... here.
5886 * sysdeps/arm/configure: Regenerated.
5888 2014-07-15 Roland McGrath <roland@hack.frob.com>
5890 * nptl/pthread_kill.c: New file.
5891 * nptl/pthread_sigmask.c: New file.
5892 * nptl/pthread_sigqueue.c: New file.
5894 * sysdeps/nptl/lowlevellock.h: New file.
5895 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5896 * sysdeps/nptl/lowlevellock-futex.h: New file.
5898 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5899 Remove dead declarations.
5901 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5903 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5904 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5906 * sysdeps/x86_64/configure.ac: Likewise.
5907 * sysdeps/i386/configure: Regenerated.
5908 * sysdeps/x86_64/configure: Likewise.
5909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5910 memset-avx2 only if config-cflags-avx2 is yes.
5911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5912 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5914 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5915 only if HAVE_AVX2_SUPPORT is defined.
5916 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5918 2014-07-14 Alan Modra <amodra@gmail.com>
5921 * elf/elf.h (DT_PPC64_NUM): Correct value.
5922 * NEWS: Add to fixed bug list.
5924 2014-07-13 Jim Meyering <meyering@fb.com>
5927 regex: don't deref NULL upon heap allocation failure
5928 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5929 failure in one more place.
5930 To trigger the segfault, configure grep -with-included-regex,
5931 build it, and run these commands:
5932 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5934 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5936 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5938 2014-07-11 Richard Henderson <rth@redhat.com>
5940 * sysdeps/aarch64/libm-test-ulps: Update.
5942 2014-07-10 Florian Weimer <fweimer@redhat.com>
5945 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5946 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5947 (__nptl_setxid): Initialize error member. Call
5948 __nptl_setxid_error.
5949 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5950 * nptl/descr.h (struct xid_command): Add error member.
5951 * nptl/tst-setuid3.c: New file.
5952 * nptl/Makefile (tests): Add it.
5954 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5956 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5958 (__lll_trylock): Use __lll_base_trylock.
5959 (__lll_cond_trylock): Likewise.
5961 2014-07-10 Roland McGrath <roland@hack.frob.com>
5963 * nptl/pthread_create.c (start_thread): Use atomic_or and
5964 lll_futex_wake directly rather than lll_robust_dead.
5965 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5966 (lll_robust_dead): Macro removed.
5967 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5968 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5969 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5970 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5971 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5972 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5973 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5974 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5975 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5976 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5977 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5978 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5979 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5980 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5981 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5983 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5984 Use atomic_compare_and_exchange_val_acq directly rather than
5986 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5987 (__lll_robust_trylock, lll_robust_trylock): Removed.
5988 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5989 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5990 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5991 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5992 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5993 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5994 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5995 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5996 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5997 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5998 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5999 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6000 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6001 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6003 2014-07-02 Florian Weimer <fweimer@redhat.com>
6005 * manual/locale.texi (Locale Names): New section documenting
6006 locale name syntax. Adjust menu and node chaining accordingly.
6007 (Choosing Locale): Reference Locale Names, Locale Categories.
6008 Mention setting LC_ALL=C. Reflect that name syntax is now
6010 (Locale Categories): New section title. Reference Locale Names.
6011 LC_ALL is an environment variable, but not a category.
6012 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6013 description, now in Locale Name. Reference that section. Locale
6014 name syntax is now documented.
6016 2014-07-02 Florian Weimer <fweimer@redhat.com>
6019 * locale/findlocale.c (name_present, valid_locale_name): New
6021 (_nl_find_locale): Use the loc_name variable to store name
6022 candidates. Call name_present and valid_locale_name to check and
6023 validate locale names. Return an error if the locale is invalid.
6025 2014-07-02 Florian Weimer <fweimer@redhat.com>
6027 * locale/setlocale.c (setlocale): Use strdup for allocating
6028 composite name copy.
6030 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6032 Sync up with gnulib.
6033 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6034 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6035 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6036 and _GL_ARG_NONNULL.
6037 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6038 [!_LIBC]: Include code for Windows and Cygwin.
6039 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6040 Include prototype for int strerror_r.
6041 [!_LIBC] (is_open): New function.
6042 (flush_stdout): New function.
6043 (print_errno_message): Use it.
6045 (error_at_line): Likewise.
6046 (error_tail) Add function attribute macros. Use
6049 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6051 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6053 * io/ftw.c: Include sys/param.h unconditionally.
6055 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6058 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6060 (freecache): New function to free CACHE on exit.
6062 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6065 2014-07-09 David S. Miller <davem@davemloft.net>
6067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6069 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6070 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6071 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6072 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6073 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6074 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6075 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6076 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6077 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6078 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6079 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6080 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6081 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6083 2014-07-09 Andreas Schwab <schwab@suse.de>
6085 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6087 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6088 (do_test): Likewise.
6090 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6092 2014-07-09 Will Newton <will.newton@linaro.org>
6094 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6095 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6096 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6097 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6098 * sysdeps/hppa/start.S (_start): Likewise.
6100 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6102 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6104 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6107 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6109 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6110 after checking that it is non-NULL.
6112 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6114 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6116 * sysdeps/powerpc/memmove.c: Remove file.
6117 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6118 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6119 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6120 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6121 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6122 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6123 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6124 string memmove instead of removed powerpc one.
6126 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6127 [weak_alias]: Fix compiler warning due trailing data.
6128 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6129 [weak_alias]: Likewise.
6130 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6131 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6134 (__libc_ifunc_impl_list): Add memmove functions.
6136 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6138 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6140 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6142 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6144 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6146 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6148 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6150 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6152 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6154 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6156 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6158 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6160 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6162 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6164 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6166 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6168 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6170 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6173 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6175 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6176 to avoid alignment traps in non-cacheable memory.
6177 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6181 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6182 file: multiarch power7 memmove.
6183 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6184 multiarch default memmove.
6185 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6186 multiarch memove for powerpc32/power4.
6188 * string/bcopy.c: Use full path to include memmove.c.
6189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6191 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6192 bcopy for powerpc64.
6193 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6194 bcopy for powerpc64.
6195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6196 and memmove implementations.
6197 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6198 optimized multiarch memmove for POWER7/powerpc64.
6199 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6200 default multiarch memmove for powerpc64.
6201 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6202 multiarch for powerpc64.
6203 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6204 for POWER7/powerpc64.
6205 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6206 memmove for POWER7/powerpc64.
6208 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6211 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6212 __ELF_NATIVE_CLASS equal to 64.
6214 2014-07-07 Roland McGrath <roland@hack.frob.com>
6216 * sysdeps/nptl/lowlevellock.h: File removed.
6218 * NEWS: NPTL is no longer an add-on!
6219 * nptl/internaltypes.h: Moved ...
6220 * sysdeps/nptl/internaltypes.h: ... here.
6221 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6222 * sysdeps/nptl/fork.c: Likewise.
6223 * sysdeps/nptl/gai_misc.h: Likewise.
6224 * sysdeps/nptl/librt-cancellation.c: Likewise.
6225 * sysdeps/nptl/jmp-unwind.c: Likewise.
6226 * sysdeps/nptl/setxid.h: Likewise.
6227 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6228 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6229 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6230 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6231 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6232 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6233 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6234 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6235 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6236 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6237 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6238 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6239 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6240 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6241 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6242 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6243 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6244 * nptl/Makeconfig: Moved ...
6245 * sysdeps/nptl/Makeconfig: ... here.
6246 * nptl/configure: File removed.
6247 * nptl/ANNOUNCE: File removed.
6248 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6249 * sysdeps/unix/sysv/linux/configure: Regenerated.
6251 * nptl/Makefile (routines): Add libc_pthread_init,
6252 libc_multiple_threads, register-atfork and unregister-atfork.
6253 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6254 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6255 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6256 pthread-pi-defines.sym, structsem.sym.
6257 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6258 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6259 [$(subdir) = nptl] (tests): Add tst-setgetname.
6260 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6261 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6262 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6263 [!LIBC_SIGACTION]: Remove aliases.
6264 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6265 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6266 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6267 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6268 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6269 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6271 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6272 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6273 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6274 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6275 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6276 __libc_allocate_rtsig_private.
6277 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6278 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6279 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6280 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6281 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6282 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6283 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6284 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6285 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6286 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6287 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6288 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6289 * nptl/internaltypes.h: ... here.
6290 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6291 * sysdeps/nptl/jmp-unwind.c: ... here.
6292 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6293 * nptl/libc-lowlevellock.c: ... here.
6294 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6295 * nptl/libc_multiple_threads.c: ... here.
6296 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6297 * nptl/libc_pthread_init.c: ... here.
6298 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6299 * nptl/lowlevelbarrier.sym: ... here.
6300 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6301 * nptl/lowlevelcond.sym: ... here.
6302 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6303 * nptl/lowlevellock.c: ... here.
6304 * nptl/lowlevellock.h: Moved ...
6305 * sysdeps/nptl/lowlevellock.h: ... here.
6306 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6307 * nptl/lowlevelrobustlock.c: ... here.
6308 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6309 * nptl/lowlevelrobustlock.sym: ... here.
6310 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6311 * nptl/lowlevelrwlock.sym: ... here.
6312 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6313 * nptl/pt-fork.c: ... here.
6314 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6315 * nptl/pthread-pi-defines.sym: ... here.
6316 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6317 * nptl/pthread_attr_getaffinity.c: ... here.
6318 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6319 * nptl/pthread_attr_setaffinity.c: ... here.
6320 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6321 * nptl/pthread_mutex_cond_lock.c: ... here.
6322 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6324 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6325 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6326 * nptl/pthread_once.c: ... here, replacing old file.
6327 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6328 * nptl/pthread_yield.c: ... here.
6329 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6330 * nptl/register-atfork.c: ... here.
6331 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6332 * nptl/sem_post.c: ... here.
6333 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6334 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6335 * nptl/sem_timedwait.c: ... here.
6336 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6337 * nptl/sem_trywait.c: ... here.
6338 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6339 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6340 * nptl/sem_wait.c: ... here.
6341 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6342 * nptl/structsem.sym: ... here.
6343 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6344 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6345 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6346 * nptl/unregister-atfork.c: ... here.
6347 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6348 * nptl/unwindbuf.sym: ... here.
6349 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6350 * sysdeps/nptl/fork.c: ... here.
6351 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6352 * sysdeps/nptl/fork.h: ... here.
6353 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6354 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6355 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6356 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6357 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6358 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6359 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6360 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6361 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6362 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6363 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6364 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6365 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6366 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6367 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6368 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6369 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6370 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6371 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6372 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6373 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6374 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6375 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6376 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6377 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6378 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6379 * sysdeps/unix/sysv/linux/raise.c: ... here.
6380 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6381 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6382 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6383 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6384 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6385 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6386 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6387 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6388 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6389 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6390 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6391 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6392 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6393 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6394 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6396 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6398 * sysdeps/generic/memcopy.h: Add comment for
6399 MEMCPY_OK_FOR_FWD_MEMMOVE.
6401 2014-07-04 Will Newton <will.newton@linaro.org>
6403 * string/memchr.c: Merge from gnulib.
6404 [_LIBC]: Remove conditionals.
6405 (__ptr_t): Remove define.
6406 (LONG_MAX_32_BITS): Likewise.
6407 (LONG_MAX): Likewise.
6408 (MEMCHR): Use ANSI prototype and optimize algorithm.
6410 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6412 2014-07-03 Roland McGrath <roland@hack.frob.com>
6414 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6415 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6417 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6418 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6419 in a bare environment with no <stdlib.h> installed.
6420 * sysdeps/nptl/configure: Regenerated.
6422 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6424 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6425 AC_EGREP_CPP for kernel header checks, so they only succeed if
6426 including <linux/version.h> actually works right.
6427 * sysdeps/unix/sysv/linux/configure: Regenerated.
6429 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6430 value so it's not diagnosed as unused.
6432 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6433 thing) with "ifeq ($(subdir),rt)".
6435 2014-07-03 Richard Henderson <rth@redhat.com>
6437 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6438 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6439 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6441 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6442 (math_force_eval): New.
6444 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6445 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6447 * sysdeps/alpha/fpu/s_round.c: Remove file.
6448 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6450 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6451 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6452 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6453 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6454 (_dl_start, print_statistics): Likewise.
6455 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6456 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6458 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6459 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6460 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6461 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6462 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6463 (HP_SMALL_TIMING_AVAIL): Define.
6464 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6465 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6466 (HP_SMALL_TIMING_AVAIL): Define.
6467 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6468 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6470 * sysdeps/aarch64/hp-timing.h: New file.
6472 * sysdeps/generic/hp-timing.h: Remove dead comment.
6473 * sysdeps/generic/hp-timing-common.h: New file.
6474 * sysdeps/alpha/hp-timing.h: Include it.
6475 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6476 * sysdeps/i386/i686/hp-timing.h: Likewise.
6477 * sysdeps/ia64/hp-timing.h: Likewise.
6478 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6479 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6480 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6481 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6482 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6483 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6486 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6487 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6488 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6489 * elf/rtld.c (_dl_start_final): Likewise.
6490 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6491 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6492 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6493 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6494 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6495 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6496 (HP_TIMING_DIFF_INIT): Remove.
6497 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6498 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6499 (HP_TIMING_DIFF_INIT): Remove.
6500 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6501 * sysdeps/i386/i686/hp-timing.c: Remove file.
6502 * sysdeps/x86_64/hp-timing.c: Remove file.
6503 * sysdeps/ia64/hp-timing.c: Remove file.
6504 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6505 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6506 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6507 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6509 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6510 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6511 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6512 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6513 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6514 (HP_TIMING_ACCUM): Remove.
6515 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6516 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6517 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6519 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6520 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6521 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6522 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6523 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6524 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6525 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6526 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6528 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6530 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6532 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6534 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6536 Sync up with gettext.
6537 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6538 [_MSC_VER]: Include malloc.h
6539 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6540 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6541 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6542 TEMP_FAILURE_RETRY. Cast return of alloca.
6543 [!_LIBC] Call gl_rwlock_init.
6544 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6546 2014-07-02 Roland McGrath <roland@hack.frob.com>
6548 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6549 before checking its value.
6551 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6553 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6555 * debug/memcpy_chk.c: Don't include pagecopy.h.
6556 * debug/mempcpy_chk.c: Likewise.
6557 * string/memcpy.c: Likewise.
6558 * string/memmove.c: Likewise.
6559 * sysdeps/powerpc/memmove.c: Likewise.
6560 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6561 definition of PAGE_COPY_FWD_MAYBE here...
6562 * sysdeps/generic/pagecopy.h: ... from here.
6563 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6565 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6566 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6568 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6572 (__libc_ifunc_impl_list): Likewise.
6573 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6574 multiarch strcat for PPC64.
6575 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6576 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6578 2014-07-02 Roland McGrath <roland@hack.frob.com>
6580 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6582 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6584 * intl/loadmsgcat.c: Remove declaration of
6585 get_sysdep_segment_value.
6586 (get_sysdep_segment_value): Use ISO C style.
6587 (_nl_load_domain): Use ISO C style. Get rid of redundant
6588 semicolon. Fix typo and formatting in comment.
6589 (_nl_unload_domain): Use ISO C style.
6591 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6593 2014-07-02 Will Newton <will.newton@linaro.org>
6595 * malloc/obstack.c: Merge from gnulib master.
6596 [HAVE_CONFIG_H]: Remove conditional code.
6597 [!_LIBC]: Include config.h.
6598 [!ELIDE_CODE]: Don't include inttypes.h, include
6599 stdint.h unconditionally.
6600 (print_and_abort): Mark as _Noreturn.
6601 (_obstack_allocated_p): Mark as __attribute_pure__.
6602 (obstack_free): Rename to __obstack_free.
6603 [!__attribute__]: Remove conditional code.
6604 * malloc/obstack.h: Merge from gnulib master.
6605 [__cplusplus]: Move conditional down.
6606 [!__attribute_pure__]: Define __attribute_pure__ here
6607 if it is not already defined.
6608 (_obstack_memory_used): Mark as __attribute_pure__.
6609 [!__obstack_free]: Define as obstack_free.
6610 [__GNUC__]: Remove check for ancient NeXT gcc.
6612 2014-07-02 Will Newton <will.newton@linaro.org>
6613 Paul Eggert <eggert@cs.ucla.edu>
6615 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6617 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6619 * resolv/gethnamaddr.c: Add comment warning that the file is
6622 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6624 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6627 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6628 entry for aio_cancel and aio_cancel64.
6629 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6630 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6631 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6632 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6633 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6634 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6635 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6636 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6637 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6638 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6639 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6640 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6641 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6643 2014-07-01 Roland McGrath <roland@hack.frob.com>
6645 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6646 * nptl/pthread_mutex_lock.c: Likewise.
6647 * nptl/pthread_mutex_timedlock.c: Likewise.
6648 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6650 2014-07-01 Richard henderson <rth@redhat.com>
6652 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6653 (__isnan, __isnanl): Remove.
6654 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6656 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6658 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6660 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6662 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6664 * resolv/nss_dns/dns-host.c (getanswer_r)
6665 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6667 2014-07-01 Joseph Myers <joseph@codesourcery.com>
6669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6670 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6672 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6673 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6675 2014-07-01 Roland McGrath <roland@hack.frob.com>
6677 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6678 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6680 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6681 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6683 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6684 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6686 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6687 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6689 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6690 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6691 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6692 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6694 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6695 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6696 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6697 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6698 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6700 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6702 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6703 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6704 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6705 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6706 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6707 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6708 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6709 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6710 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6711 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6712 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6713 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6714 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6715 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6716 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6717 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6718 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6719 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6720 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6721 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6723 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6724 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6725 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6726 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6727 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6728 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6729 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6730 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6732 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6734 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6735 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6736 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6739 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6743 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6745 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6746 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6748 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6750 * sysdeps/arm/libm-test-ulps: Regenerated.
6752 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6753 Roland McGrath <roland@hack.frob.com>
6755 * test-skeleton.c (signal_handler): Kill the whole process group
6756 before killing the child individually.
6757 (main): Report any failure on `setpgid'.
6759 2014-06-30 Roland McGrath <roland@hack.frob.com>
6761 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6762 from _TLS_H to _ARM_NPTL_TLS_H.
6763 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6764 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6766 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6769 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6770 (__expm1l): Return argument unchanged when small but not
6773 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6775 (_FP_UNPACK_RAW_1_P): Likewise.
6776 (_FP_PACK_RAW_1): Likewise.
6777 (_FP_PACK_RAW_1_P): Likewise.
6778 (_FP_MUL_MEAT_1_wide): Likewise.
6779 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6780 (_FP_MUL_MEAT_1_hard): Likewise.
6781 (_FP_DIV_MEAT_1_imm): Likewise.
6782 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6783 (_FP_DIV_MEAT_1_udiv): Likewise.
6784 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6785 (_FP_UNPACK_RAW_2): Likewise.
6786 (_FP_UNPACK_RAW_2_P): Likewise.
6787 (_FP_PACK_RAW_2): Likewise.
6788 (_FP_PACK_RAW_2_P): Likewise.
6789 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6790 (_FP_MUL_MEAT_2_wide): Likewise.
6791 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6792 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6793 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6794 (_FP_MUL_MEAT_2_gmp): Likewise.
6795 (_FP_DIV_MEAT_2_udiv): Likewise.
6796 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6797 (_FP_FRAC_SRL_4): Likewise.
6798 (_FP_FRAC_SRST_4): Likewise.
6799 (_FP_FRAC_SRS_4): Likewise.
6800 (_FP_UNPACK_RAW_4): Likewise.
6801 (_FP_UNPACK_RAW_4_P): Likewise.
6802 (_FP_PACK_RAW_4): Likewise.
6803 (_FP_PACK_RAW_4_P): Likewise.
6804 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6805 (_FP_MUL_MEAT_4_wide): Likewise.
6806 (_FP_MUL_MEAT_4_gmp): Likewise.
6807 (umul_ppppmnnn): Likewise.
6808 (_FP_DIV_MEAT_4_udiv): Likewise.
6809 (__FP_FRAC_ADD_4): Likewise.
6810 (__FP_FRAC_SUB_3): Likewise.
6811 (__FP_FRAC_SUB_4): Likewise.
6812 (__FP_FRAC_DEC_3): Likewise.
6813 (__FP_FRAC_DEC_4): Likewise.
6814 (__FP_FRAC_ADDI_4): Likewise.
6815 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6816 (_FP_FRAC_SRL_8): Likewise.
6817 (_FP_FRAC_SRS_8): Likewise.
6819 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6821 (FP_UNPACK_RAW_EP): Likewise.
6822 (FP_PACK_RAW_E): Likewise.
6823 (FP_PACK_RAW_EP): Likewise.
6824 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6825 (_FP_ISSIGNAN): Likewise.
6826 (_FP_ADD_INTERNAL): Likewise.
6827 (_FP_FMA): Likewise.
6828 (_FP_CMP): Likewise.
6829 (_FP_SQRT): Likewise.
6830 (_FP_TO_INT): Likewise.
6831 (_FP_FROM_INT): Likewise.
6832 (FP_EXTEND): Likewise.
6833 (_FP_DIV_MEAT_N_loop): Likewise.
6835 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6837 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6840 2014-06-29 Joseph Myers <joseph@codesourcery.com>
6843 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6844 result with correct sign in case of exponents that produce
6845 overflow except for X very close to 1.
6847 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6849 mktime: merge #if/#ifdef usage from glibc
6850 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6851 as that works with both Glibc's and Gnulib's style.
6852 See thread starting at Siddhesh Poyarekar's bug report at:
6853 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6855 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6857 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6858 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6859 * sysdeps/tile/tilegx/memmove.c: Remove file.
6861 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6863 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6864 abi-name definition.
6865 * scripts/soversions.awk: Do not handle or generate ABI lines.
6866 * shlib-versions: Remove ABI entries.
6867 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6868 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6870 2014-06-27 Roland McGrath <roland@hack.frob.com>
6872 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6873 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6874 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6875 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6876 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6877 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6878 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6880 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6882 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6883 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6884 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6885 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6887 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6888 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6889 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6890 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6891 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6893 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6894 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6896 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6898 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6900 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6903 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6904 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6906 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6908 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6909 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6911 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6913 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6915 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6917 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6920 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6922 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6923 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6925 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6926 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6928 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6929 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6930 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6931 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6933 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6935 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6936 Identical file removed.
6937 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6939 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6940 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6941 Identical file removed.
6942 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6943 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6944 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6946 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6947 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6948 Identical file removed.
6949 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6950 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6951 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6952 Identical file removed.
6953 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6954 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6955 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6956 Identical file removed.
6957 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6958 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6959 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6960 Identical file removed.
6961 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6963 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6964 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6965 Identical file removed.
6966 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6968 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6969 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6970 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6972 Identical file removed.
6973 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6975 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6977 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6978 Identical file removed.
6979 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6981 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6982 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6983 Identical file removed.
6984 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6986 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6987 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6988 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6989 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6990 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6991 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6993 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6994 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6995 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6997 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6998 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6999 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7000 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7001 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7003 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7006 * nscd/nscd.c (monitor_child): Return exit status of child
7007 instead of return value from wait syscall.
7009 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7011 * configure.ac (libc_commonpagesize): Remove variable.
7012 (libc_relro_required): Likewise.
7013 (libc_cv_z_relro): Remove configure test.
7014 * configure: Regenerated.
7015 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7017 (libc_relro_required): Likewise.
7018 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7019 (libc_relro_required): Likewise.
7020 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7021 (libc_relro_required): Likewise.
7022 * sysdeps/arm/preconfigure: Regenerated.
7023 * sysdeps/ia64/preconfigure: Remove file.
7024 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7026 (libc_relro_required): Likewise.
7030 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7031 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7032 recompute overflowing results in original rounding mode.
7033 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7034 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7035 recompute overflowing results in original rounding mode.
7036 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7037 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7038 recompute overflowing results in original rounding mode.
7039 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7040 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7041 recompute overflowing results in original rounding mode.
7042 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7043 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7044 recompute overflowing results in original rounding mode.
7045 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7046 (libc_feholdsetround_ctx): New macro.
7047 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7048 * sysdeps/i386/fpu/libm-test-ulps: Update.
7049 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7051 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7053 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7054 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7055 corresponding .cpsetup call.
7057 2014-06-26 Roland McGrath <roland@hack.frob.com>
7059 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7060 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7061 * sysdeps/arm/Makefile [$(subdir) = csu]
7062 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7063 (static-only-routines): Add aeabi_read_tp here.
7064 (shared-only-routines): Add libc-aeabi_read_tp here.
7065 (CFLAGS-libc-start.c): Add -fexceptions here.
7066 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7067 (sysdep_routines, static-only-routines, shared-only-routines):
7068 Don't add to these here.
7069 (CFLAGS-libc-start.c): Likewise.
7071 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7072 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7073 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7074 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7075 * sysdeps/arm/Makefile [$(subdir) = rt]
7076 (librt-sysdep_routines, librt-shared-only-routines):
7077 Append rt-aeabi_unwind_cpp_pr1 here.
7078 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7079 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7080 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7081 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7082 Append nptl-aeabi_unwind_cpp_pr1 here.
7083 (tests): Filter out tst-cleanupx4 here.
7084 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7085 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7086 Don't do those here.
7088 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7090 * scripts/list-sources.sh: Do not handle ports specially.
7092 2014-06-26 Roland McGrath <roland@hack.frob.com>
7094 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7095 * sysdeps/arm/feupdateenv.c: Likewise.
7097 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7099 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7101 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7102 trailing whitespace removed.
7103 * scripts/config.guess: Update to version 2014-03-23.
7104 * scripts/config.sub: Update to version 2014-05-01
7105 * scripts/install-sh: Update to version 2013-12-25.23.
7106 * scripts/move-if-change: Update from gnulib.
7108 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7110 * debug/memmove_chk.c: Remove pagecopy.h include.
7112 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7114 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7115 identical to gnulib mktime.
7117 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7119 * configure.ac: Do not test for machine being rs6000. Do not test
7121 * configure: Regenerated.
7123 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7125 * configure: Regenerated.
7126 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7127 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7128 Remove configure test.
7129 * sysdeps/arm/configure: Regenerated.
7130 * sysdeps/nptl/configure.ac: Do not check
7131 libc_cv_asm_cfi_directives.
7132 * sysdeps/nptl/configure: Regenerated.
7133 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7134 * sysdeps/x86_64/nptl/configure: Remove generated file.
7135 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7137 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7139 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7141 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7142 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7143 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7146 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7147 instead of whether it is defined.
7148 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7149 * sysdeps/hppa/dl-machine.h: Likewise.
7150 * sysdeps/ia64/dl-machine.h: Likewise.
7151 * sysdeps/m68k/dl-machine.h: Likewise.
7152 * sysdeps/microblaze/dl-machine.h: Likewise.
7153 * sysdeps/mips/dl-machine.: Likewise.
7154 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7155 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7156 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7157 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7158 * sysdeps/sh/dl-machine.h: Likewise.
7159 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7160 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7161 * sysdeps/tile/dl-machine.h: Likewise.
7162 * sysdeps/x86_64/dl-machine.h: Likewise.
7164 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7166 (verify_persistent_db): Likewise.
7168 2014-06-26 Roland McGrath <roland@hack.frob.com>
7170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7171 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7173 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7176 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7179 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7181 Identical file removed.
7182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7183 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7185 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7187 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7189 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7191 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7194 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7196 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7198 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7201 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7203 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7205 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7207 Identical file removed.
7208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7209 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7211 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7214 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7217 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7219 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7221 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7223 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7225 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7228 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7231 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7236 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7238 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7240 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7242 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7243 * sysdeps/unix/sysv/linux/s390/Versions
7244 (libpthread: GLIBC_2.19): New version set.
7245 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7246 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7247 (librt: GLIBC_2.3.3): New version set.
7248 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7249 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7250 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7251 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7252 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7253 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7254 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7255 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7256 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7257 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7258 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7259 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7260 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7261 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7262 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7264 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7265 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7266 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7267 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7268 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7269 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7270 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7271 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7272 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7273 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7274 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7275 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7276 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7277 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7278 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7279 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7280 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7281 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7283 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7284 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7286 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7288 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7289 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7290 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7291 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7292 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7294 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7295 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7296 (__libc_vfork): Define the function under this name.
7297 [!NOT_IN_libc] (__vfork): Make this an alias.
7298 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7299 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7300 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7301 (__libc_vfork): Define the function under this name.
7302 [!NOT_IN_libc] (__vfork): Make this an alias.
7303 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7304 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7305 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7307 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7308 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7310 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7311 code that was previously under [RESET_PID].
7312 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7313 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7316 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7317 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7318 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7319 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7320 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7321 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7322 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7323 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7324 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7325 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7326 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7328 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7329 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7330 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7331 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7332 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7333 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7334 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7335 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7336 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7337 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7338 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7339 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7340 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7341 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7342 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7343 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7344 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7345 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7346 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7347 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7348 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7349 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7350 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7351 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7352 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7353 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7354 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7355 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7356 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7358 2014-06-25 Roland McGrath <roland@hack.frob.com>
7360 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7361 that was previously under [RESET_PID].
7362 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7364 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7366 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7367 not undefine and redefine.
7368 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7369 [O_CLOEXEC]: Make code unconditional.
7370 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7371 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7372 <kernel-features.h>.
7373 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7374 conditional variable definition.
7375 (shm_open) [O_CLOEXEC]: Make code unconditional.
7376 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7379 * configure.ac (USE_REGPARMS): Don't define here.
7380 * configure: Regenerated.
7381 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7382 * sysdeps/i386/configure: Regenerated.
7384 * nptl/createthread.c: Don't include kernel-features.h.
7385 * nptl/pthread_cancel.c: Likewise.
7386 * nptl/pthread_condattr_setclock.c: Likewise.
7387 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7388 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7389 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7390 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7391 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7392 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7393 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7394 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7395 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7396 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7397 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7398 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7399 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7400 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7401 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7402 * nscd/gai.c: Likewise.
7403 * nss/nss_db/db-open.c: Likewise.
7404 * sysdeps/generic/ldsodefs.h: Likewise.
7405 * sysdeps/sh/nptl/tls.h: Likewise.
7406 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7407 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7408 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7409 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7410 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7411 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7412 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7413 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7414 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7415 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7416 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7417 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7418 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7419 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7420 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7421 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7422 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7423 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7424 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7425 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7426 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7427 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7428 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7429 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7430 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7431 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7432 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7433 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7434 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7435 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7436 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7437 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7438 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7439 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7440 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7441 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7442 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7443 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7444 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7445 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7446 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7447 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7448 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7449 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7450 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7451 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7452 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7453 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7454 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7455 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7456 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7457 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7458 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7459 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7460 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7461 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7462 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7463 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7486 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7487 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7488 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7489 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7490 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7491 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7492 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7493 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7494 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7495 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7496 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7497 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7498 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7499 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7500 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7501 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7502 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7503 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7504 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7505 * sysdeps/unix/sysv/linux/system.c: Likewise.
7506 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7507 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7508 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7509 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7510 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7511 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7512 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7514 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7515 * configure: Regenerated.
7516 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7518 * configure.ac (base_machine): Do not set specially for particular
7520 * configure: Regenerated.
7521 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7522 settings from configure.ac.
7523 * sysdeps/i386/preconfigure: New file.
7524 * sysdeps/s390/preconfigure: Likewise.
7525 * sysdeps/sh/preconfigure: Likewise.
7526 * sysdeps/sparc/preconfigure: Likewise.
7528 2014-06-25 Roland McGrath <roland@hack.frob.com>
7530 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7531 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7532 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7533 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7534 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7535 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7536 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7537 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7538 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7539 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7540 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7541 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7542 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7543 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7544 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7545 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7546 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7547 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7548 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7550 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7551 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7552 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7553 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7554 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7555 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7556 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7557 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7558 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7559 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7560 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7561 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7562 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7563 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7564 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7565 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7566 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7567 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7568 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7569 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7570 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7571 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7572 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7573 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7574 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7575 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7576 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7577 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7578 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7579 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7580 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7581 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7582 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7583 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7584 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7585 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7586 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7587 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7590 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7592 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7595 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7598 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7600 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7603 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7605 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7607 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7609 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7612 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7615 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7617 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7620 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7622 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7624 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7626 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7628 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7631 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7634 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7636 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7639 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7641 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7643 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7645 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7648 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7651 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7653 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7656 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7658 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7660 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7662 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7664 * timezone/checktab.awk: Update from tzcode 2014e.
7665 * timezone/private.h: Likewise.
7666 * timezone/tzfile.h: Likewise.
7667 * timezone/zdump.c: Likewise.
7668 * timezone/zic.c: Likewise.
7670 * sysdeps/unix/sysv/linux/kernel-features.h
7671 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7672 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7673 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7674 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7675 Remove conditional code.
7677 2014-06-25 Will Newton <will.newton@linaro.org>
7679 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7680 (_dl_arm_cap_flags): Add HWCAP2 values.
7681 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7682 (_DL_HWCAP_COUNT): Increase to 37.
7683 (_DL_HWCAP_LAST): New define.
7684 (_DL_HWCAP2_LAST): New define.
7685 (_dl_procinfo): Add support for printing
7687 (_dl_string_hwcap): Use _dl_hwcap_string.
7689 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7693 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7695 * README: Do not mention ports directory.
7697 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7699 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7700 <kernel-features.h>.
7701 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7702 conditional variable definition.
7703 (__futimes): Update comment.
7704 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7705 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7708 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7709 arguments close to 0.
7710 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7712 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7714 * math/auto-libm-test-in: Add more tests of exp10.
7715 * math/auto-libm-test-out: Regenerated.
7716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7718 * sysdeps/unix/sysv/linux/kernel-features.h
7719 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7720 * sysdeps/unix/sysv/linux/readv.c: Do not include
7721 <kernel-features.h>.
7722 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7723 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7724 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7726 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7728 * sysdeps/unix/sysv/linux/writev.c: Do not include
7729 <kernel-features.h>.
7730 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7731 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7732 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7734 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7737 2014-06-25 Will Newton <will.newton@linaro.org>
7739 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7740 comment changes throughout the file. Remove checks
7741 for HAVE_*_H definitions that are not required.
7742 (__gen_tempname): Call abort if an unknown kind value is
7745 2014-06-25 Andreas Schwab <schwab@suse.de>
7748 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7749 scalbln, scalblnf, scalblnl in libc.
7751 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7754 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7755 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7756 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7758 2014-06-24 Roland McGrath <roland@hack.frob.com>
7760 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7761 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7762 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7763 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7765 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7766 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7768 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7769 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7770 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7771 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7772 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7773 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7774 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7775 * sysdeps/x86/bits/semaphore.h: ... here.
7776 * sysdeps/x86/nptl/elide.h: Moved ...
7777 * sysdeps/x86/elide.h: ... here.
7778 * sysdeps/x86_64/nptl/Implies: File removed.
7779 * sysdeps/i386/nptl/Implies: File removed.
7781 2014-06-24 Joseph Myers <joseph@codesourcery.com>
7784 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7785 return the argument for normal arguments with exponent below -64.
7786 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7788 * math/auto-libm-test-in: Add another test of expm1.
7789 * math/auto-libm-test-out: Regenerated.
7792 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7793 calling __erfcl for arguments at least 16.
7794 * math/auto-libm-test-in: Add more tests of erf.
7795 * math/auto-libm-test-out: Regenerated.
7797 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7798 individual architectures.
7799 * sysdeps/unix/sysv/linux/configure: Regenerated.
7800 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7801 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7802 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7803 (ldd_rewrite_script): Define variable.
7804 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7809 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7810 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7811 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7812 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7813 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7814 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7815 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7816 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7818 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7821 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7822 Rename member __data.d to __data.__elision_data.
7824 2014-06-24 Wilco <wdijkstr@arm.com>
7826 * NEWS: Add 16918 to fixed bug list.
7828 2014-06-24 Wilco <wdijkstr@arm.com>
7830 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7832 2014-06-24 Wilco <wdijkstr@arm.com>
7834 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7835 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7836 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7837 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7838 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7839 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7840 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7843 2014-06-24 Wilco <wdijkstr@arm.com>
7845 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7847 2014-06-24 Wilco <wdijkstr@arm.com>
7849 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7850 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7851 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7852 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7854 2014-06-24 Wilco <wdijkstr@arm.com>
7857 * sysdeps/arm/feupdateenv.c (feupdateenv):
7858 Rewrite to reduce FPSCR accesses and fix return value.
7860 2014-06-24 Wilco <wdijkstr@arm.com>
7862 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7863 Optimize to avoid unnecessary FPSCR writes.
7864 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7865 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7866 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7867 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7869 2014-06-24 Wilco <wdijkstr@arm.com>
7871 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7872 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7873 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7874 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7875 Call libc_fetestexcept_vfp.
7876 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7877 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7878 __SOFTFP__ ifdef so that they can be built for softfp.
7880 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7882 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7883 argument type signed char.
7885 * Makerules (check-abi): Dump diff of symlist if the test
7888 2014-06-23 Roland McGrath <roland@hack.frob.com>
7890 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7893 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7894 Remove unused variable ST.
7896 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7900 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7901 small arguments before calling __expm1.
7902 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7903 small arguments before calling __expm1f.
7904 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7905 small arguments before calling __expm1l.
7906 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7908 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7909 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7910 spurious underflow for some cosh tests.
7911 * math/auto-libm-test-out: Regenerated.
7912 * sysdeps/i386/fpu/libm-test-ulps: Update.
7915 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7916 (__ieee754_y1): Set errno if return value overflows.
7917 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7918 (__ieee754_y1f): Set errno if return value overflows.
7919 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7920 (__ieee754_y1l): Set errno if return value overflows.
7921 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7922 (__ieee754_y1l): Set errno if return value overflows.
7923 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7924 * math/auto-libm-test-out: Regenerated.
7926 * math/gen-auto-libm-tests.c: Document use of
7927 ignore-zero-inf-sign.
7928 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7929 (input_flags): Add ignore-zero-inf-sign.
7930 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7931 * math/gen-libm-test.pl (generate_testfile): Handle
7932 ignore-zero-inf-sign.
7933 * math/auto-libm-test-in: Mark some cpow tests with
7934 ignore-zero-inf-sign and some with xfail-rounding.
7935 * math/auto-libm-test-out: Regenerated.
7936 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7937 * sysdeps/i386/fpu/libm-test-ulps: Update.
7938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7941 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7942 overflowing or underflowing operations take place with sign of
7944 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7945 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7946 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7947 (__ieee754_pow): Recompute overflowing and underflowing results in
7948 original rounding mode.
7949 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7950 (__powl_helper): Allow negative argument X and scale negated value
7951 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7952 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7953 overflowing or underflowing operations take place with sign of
7955 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7957 * math/auto-libm-test-in: Add more tests of pow.
7958 * math/auto-libm-test-out: Regenerated.
7959 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7960 (pow_tonearest_test_data): Remove.
7961 (pow_test_tonearest): Likewise.
7962 (pow_towardzero_test_data): Likewise.
7963 (pow_test_towardzero): Likewise.
7964 (pow_downward_test_data): Likewise.
7965 (pow_test_downward): Likewise.
7966 (pow_upward_test_data): Likewise.
7967 (pow_test_upward): Likewise.
7968 (main): Don't call removed functions.
7969 * sysdeps/i386/fpu/libm-test-ulps: Update.
7970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7972 2014-06-23 Roland McGrath <roland@hack.frob.com>
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8148 2014-06-23 Will Newton <will.newton@linaro.org>
8149 Wilco <wdijkstr@arm.com>
8151 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8152 implementation. Include get-rounding-mode.h.
8153 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8154 [!libc_feholdsetround_noex_ctx]: Define
8155 libc_feholdsetround_noex_ctx.
8156 [!libc_feholdsetround_noexf_ctx]: Define
8157 libc_feholdsetround_noexf_ctx.
8158 [!libc_feholdsetround_noexl_ctx]: Define
8159 libc_feholdsetround_noexl_ctx.
8160 (libc_feholdsetround_ctx): New function.
8161 (libc_feresetround_ctx): New function.
8162 (libc_feholdsetround_noex_ctx): New function.
8163 (libc_feresetround_noex_ctx): New function.
8165 2014-06-23 Roland McGrath <roland@hack.frob.com>
8167 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8168 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8169 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8170 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8171 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8172 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8174 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8175 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8176 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8177 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8178 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8179 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8181 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8182 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8183 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8184 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8186 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8188 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8189 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8190 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8191 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8192 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8194 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8195 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8196 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8197 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8198 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8200 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8201 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8203 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8204 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8206 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8208 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8209 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8211 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8212 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8213 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8214 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8215 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8216 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8217 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8218 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8219 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8220 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8222 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8224 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8225 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8226 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8227 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8228 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8229 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8230 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8231 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8232 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8233 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8234 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8235 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8236 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8238 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8239 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8240 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8241 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8242 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8243 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8245 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8246 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8247 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8248 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8249 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8251 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8252 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8253 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8254 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8255 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8256 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8257 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8258 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8260 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8261 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8262 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8263 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8264 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8265 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8266 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8267 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8268 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8269 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8270 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8271 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8272 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8273 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8274 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8276 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8277 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8278 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8280 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8283 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8284 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8285 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8286 (IPV6_PMTUDISC_INTERFACE): Likewise.
8287 (IPV6_PMTUDISC_OMIT): Likewise.
8289 2014-06-23 Andreas Schwab <schwab@suse.de>
8291 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8292 Remove unused errout label.
8294 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8296 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8297 macro: hardware supports Vector Crypto instructions.
8299 2014-06-23 Will Newton <will.newton@linaro.org>
8301 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8302 rather than __builtin_expect.
8304 * elf/dl-lookup.c (undefined_msg): Remove variable.
8305 (_dl_lookup_symbol_x): Replace undefined_msg with string
8308 * elf/dl-lookup.c (do_lookup_unique): New function.
8309 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8310 to a separate function.
8312 2014-06-23 Andreas Schwab <schwab@suse.de>
8315 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8316 before reading the next line.
8318 2014-06-23 Will Newton <will.newton@linaro.org>
8320 * test-skeleton.c (signal_handler): Use printf and %m
8321 rather than perror. Use printf rather than fprintf to
8322 stderr. Use puts rather than fputs to stderr.
8325 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8327 * nscd/nscd.c (thread_info_t): Remove typedef.
8328 (thread_info): Remove variable.
8330 2014-06-21 Allan McRae <allan@archlinux.org>
8332 * NEWS: Mention CVE-2014-4043.
8334 2014-06-20 Roland McGrath <roland@hack.frob.com>
8336 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8337 * nptl/smp.h: ... here.
8339 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8341 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8342 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8343 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8344 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8346 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8347 * nptl/stack-aliasing.h: New file.
8348 * sysdeps/i386/i686/stack-aliasing.h: New file.
8349 * sysdeps/i386/i686/nptl/Makefile: File removed.
8350 * sysdeps/x86_64/stack-aliasing.h: New file.
8351 * sysdeps/x86_64/nptl/Makefile
8352 (CFLAGS-pthread_create.c): Variable removed.
8354 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8355 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8357 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8358 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8361 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8363 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8364 (__ASSUME_SIGFRAME_V2): Remove macro.
8365 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8366 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8367 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8368 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8369 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8370 Declare as function. Remove conditional macro definitions.
8371 (__default_rt_sa_restorer): Likewise.
8372 (__default_sa_restorer_v1): Remove declaration.
8373 (__default_sa_restorer_v2): Likewise.
8374 (__default_rt_sa_restorer_v1): Likewise.
8375 (__default_rt_sa_restorer_v2): Likewise.
8376 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8377 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8378 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8380 2014-06-20 Roland McGrath <roland@hack.frob.com>
8382 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8383 (libpthread-routines): Add sysdep.
8384 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8385 * sysdeps/unix/sysv/linux/sparc/Versions
8386 (libpthread: GLIBC_2.3.3): New version set.
8387 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8388 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8389 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8391 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8392 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8394 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8395 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8396 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8397 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8398 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8399 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8400 * sysdeps/sparc/nptl/sem_init.c: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8402 * sysdeps/sparc/nptl/sem_post.c: ... here.
8403 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8404 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8405 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8406 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8407 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8408 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8409 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8410 (libpthread-routines): Add cpu_relax.
8411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8413 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8414 (librt: GLIBC_2.3.3): New version set.
8415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8416 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8417 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8418 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8421 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8424 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8426 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8428 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8430 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8432 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8435 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8439 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8443 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8447 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8451 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8455 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8458 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8460 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8464 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8466 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8469 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8471 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8473 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8475 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8477 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8478 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8479 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8480 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8481 * nscd/nscd.c: Likewise.
8482 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8483 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8484 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8485 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8487 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8488 <kernel-features.h>.
8489 (init_mq_netlink): Remove conditional have_sock_cloexec
8490 definitions. Remove code conditional on have_sock_cloexec < 0.
8491 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8492 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8493 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8494 <kernel-features.h>.
8495 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8496 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8498 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8501 Add tests for memset_chk and memset.
8503 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8506 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8509 * elf/tst-dl-iter-static.c: New file.
8510 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8512 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8515 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8517 * sysdeps/unix/sysv/linux/kernel-features.h
8518 (__ASSUME_F_GETOWN_EX): Remove macro.
8519 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8520 <kernel-features.h>.
8521 (miss_F_GETOWN_EX): Remove variable or macro.
8522 (do_fcntl): Do not check miss_F_GETOWN_EX.
8523 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8528 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8529 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8531 * sysdeps/unix/sysv/linux/kernel-features.h
8532 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8533 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8534 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8535 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8537 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8540 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8541 Fix calculation of the symbol's value.
8542 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8543 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8544 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8545 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8546 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8547 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8548 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8549 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8550 (modules-names): Add `tst-armtlsdescmod',
8551 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8552 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8553 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8554 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8555 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8556 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8557 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8558 ($(objpfx)tst-armtlsdescloc): New dependency.
8559 ($(objpfx)tst-armtlsdescextnow): Likewise.
8560 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8561 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8563 * sysdeps/arm/configure: Regenerate.
8565 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8567 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8568 (__atfct_seterrno_2): Likewise.
8569 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8570 <kernel-features.h>.
8571 (__ASSUME_ATFCTS): Do not undefine and redefine.
8572 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8573 (__have_atfcts): Remove conditional definition.
8574 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8575 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8576 unreachable if [__ASSUME_ATFCTS].
8577 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8578 not undefine and redefine.
8579 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8580 <kernel-features.h>.
8581 (faccessat) [__NR_faccessat]: Make code unconditional.
8582 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8583 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8584 <kernel-features.h>.
8585 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8586 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8587 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8588 <kernel-features.h>.
8589 (fchownat) [__NR_fchownat]: Make code unconditional.
8590 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8591 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8592 <kernel-features.h>.
8593 (futimesat) [__NR_futimesat]: Make code unconditional.
8594 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8595 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8596 <kernel-features.h>.
8597 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8598 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8599 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8600 <kernel-features.h>.
8601 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8602 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8603 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8604 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8605 <kernel-features.h>.
8606 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8607 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8608 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8609 <kernel-features.h>.
8610 (linkat) [__NR_linkat]: Make code unconditional.
8611 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8612 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8613 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8614 <kernel-features.h>.
8615 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8616 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8617 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8618 <kernel-features.h>.
8619 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8620 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8621 * sysdeps/unix/sysv/linux/openat.c: Do not include
8622 <kernel-features.h>.
8623 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8624 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8625 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8626 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8627 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8628 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8629 <kernel-features.h>.
8630 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8631 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8632 result of INLINE_SYSCALL directly, not via int variable.
8633 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8634 <kernel-features.h>.
8635 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8636 (renameat) [__NR_renameat]: Make code unconditional.
8637 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8638 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8639 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8640 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8641 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8642 (__ASSUME_ATFCTS): Do not undefine and redefine.
8643 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8644 <kernel-features.h>.
8645 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8646 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8647 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8648 <kernel-features.h>.
8649 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8650 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8651 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8652 (__ASSUME_ATFCTS): Do not undefine and redefine.
8653 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8654 <kernel-features.h>.
8655 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8656 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8657 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8658 <kernel-features.h>.
8659 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8660 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8662 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8664 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8666 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8669 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8670 constructed tree before returning error.
8671 * posix/bug-regexp36.c: Expand test case.
8673 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8676 * math/libm-test.inc (scalbln_test_date):
8677 Add errno expectations.
8678 * math/w_scalblnf.c: New File.
8679 Add wrapper which checks for setting errno to ERANGE.
8680 Add weak_alias for corresponding scalbln function.
8681 * math/w_scalbln.c: Likewise.
8682 * math/w_scalblnl.c: Likewise.
8683 * math/Makefile (libm-calls): Add w_scalbln.
8684 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8685 Remove weak_alias for corresponding scalbln function.
8686 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8688 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8690 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8691 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8692 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8693 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8694 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8695 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8696 Remove long_double_symbol for scalblnl function in libm, libc.
8697 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8698 Add wrapper which checks for setting errno to ERANGE.
8699 Add long_double_symbol for scalblnl function in libm, libc.
8700 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8701 Remove long_double_symbol for scalblnl in libm.
8702 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8703 Add wrapper which checks for setting errno to ERANGE.
8704 Add long_double_symbol for scalblnl function in libm.
8705 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8706 Do not use wrapper because of own implementation.
8708 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8710 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8711 3 bytes for __pad1 for x32.
8712 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8714 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8715 H.J. Lu <hongjiu.lu@intel.com>
8717 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8718 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8719 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8720 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8721 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8723 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8726 * posix/regcomp.c (parse_expression): Deallocate partially
8727 constructed tree before returning error.
8728 * posix/Makefile.c (tests): Add bug-regex36.
8729 (generated): Add bug-regex36.mtrace.
8730 (tests-special): Add $(objpfx)bug-regex36-mem.out
8731 (bug-regex36-ENV): New variable.
8732 ($(objpfx)bug-regex36-mem.out): New rule.
8733 * posix/bug-regex36.c: New file.
8735 2014-06-19 Will Newton <will.newton@linaro.org>
8737 * malloc/malloc.c (systrim): If extra is zero then return
8740 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8742 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8744 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
8746 * sysdeps/aarch64/strchr.S: New file.
8748 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8751 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8752 from arguments -2 or below.
8753 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8754 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8756 2014-06-18 Andreas Schwab <schwab@suse.de>
8759 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8760 of a bracket expr not to run off the end of the string.
8761 * posix/Makefile (tests): Add tst-fnmatch3.
8762 * posix/tst-fnmatch3.c: New file.
8764 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8766 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8767 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8768 [$(cross-compiling) = no]: Likewise.
8769 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8770 [$(cross-compiling) = no]: Likewise.
8772 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8775 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8776 double, adjusted for any remainder from the high double.
8777 * math/libm-test.inc (nearbyint): Add tests.
8780 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8782 * nptl/sysdeps/powerpc/Makefile: Moved ...
8783 * sysdeps/powerpc/nptl/Makefile: ... here.
8784 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8785 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8786 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8787 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8788 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8789 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8790 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8791 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8792 * nptl/sysdeps/powerpc/tls.h: Moved ...
8793 * sysdeps/powerpc/nptl/tls.h: ... here.
8795 2014-06-16 Joseph Myers <joseph@codesourcery.com>
8798 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8799 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8800 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8801 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8802 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8803 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8804 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8805 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8806 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8808 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8810 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8812 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8814 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8817 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8820 2014-06-16 Florian Weimer <fweimer@redhat.com>
8823 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8824 non-executed part of the test.
8826 2014-06-16 Andreas Schwab <schwab@suse.de>
8828 * string/bits/string2.h (strdup, strndup): Update feature guard.
8830 2014-06-14 David S. Miller <davem@davemloft.net>
8832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8834 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8836 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8837 that was previously under [RESET_PID].
8838 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8840 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8841 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8842 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8843 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8844 (__libc_vfork): New strong alias.
8845 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8847 2014-06-14 Andi Kleen <ak@linux.intel.com>
8849 * sysdeps/generic/elide.h: New file.
8851 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8853 * Makefile (installed-headers): Adjust path of pthread.h header.
8855 2014-06-13 Roland McGrath <roland@hack.frob.com>
8857 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8858 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8859 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8860 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8862 * nptl/sysdeps/s390/Makefile: Moved ...
8863 * sysdeps/s390/nptl/Makefile: ... here.
8864 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8865 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8866 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8867 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8868 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8869 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8870 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8871 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8872 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8873 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8874 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8875 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8876 * nptl/sysdeps/s390/tls.h: Moved ...
8877 * sysdeps/s390/nptl/tls.h: ... here.
8879 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8880 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8882 2014-06-13 David S. Miller <davem@davemloft.net>
8884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8887 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8891 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8892 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8893 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8894 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8895 Remove RESET_PID cpp guards.
8896 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8897 Remove RESET_PID cpp guards.
8898 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8900 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8902 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8905 2014-06-13 Andi Kleen <ak@linux.intel.com>
8907 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8908 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8909 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8910 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8911 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8912 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8913 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8914 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8915 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8916 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8917 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8918 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8919 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8920 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8921 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8922 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8923 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8924 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8925 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8926 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8928 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8929 (pthread_rwlock_rdlock): Add elision.
8930 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8931 (pthread_rwlock_wrlock): Add elision.
8932 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8933 (pthread_rwlock_trywrlock): Add elision.
8934 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8935 (pthread_rwlock_tryrdlock): Add elision.
8936 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8937 (pthread_rwlock_tryrdlock): Add elision unlock.
8938 * nptl/sysdeps/pthread/pthread.h:
8939 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8940 (PTHREAD_RWLOCK_INITIALIZER,
8941 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8942 Handle new elision field.
8943 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8944 * sysdeps/arm/nptl/bits/pthreadtypes.h
8945 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8946 * sysdeps/sh/nptl/bits/pthreadtypes.h
8947 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8948 * sysdeps/tile/nptl/bits/pthreadtypes.h
8949 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8950 * sysdeps/a/nptl/bits/pthreadtypes.h
8951 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8952 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8953 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8954 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8955 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8956 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8958 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8959 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8960 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8961 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8962 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8963 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8964 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8965 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8966 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8967 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8968 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8969 (elision_init): Set try_xbegin to zero when no RTM.
8970 * sysdeps/x86/nptl/bits/pthreadtypes.h
8971 (pthread_rwlock_t): Change __pad1 to __rwelision.
8972 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8974 2014-06-13 Andi Kleen <ak@linux.intel.com>
8976 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8977 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8978 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8979 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8981 2014-06-13 Meador Inge <meadori@codesourcery.com>
8984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8985 that the cached result has been set before returning it.
8987 2014-06-12 Roland McGrath <roland@hack.frob.com>
8989 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8990 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8991 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8992 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8993 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8994 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8996 * nptl/sysdeps/sparc/Makefile: Moved ...
8997 * sysdeps/sparc/nptl/Makefile: ... here.
8998 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8999 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9000 * nptl/sysdeps/sparc/tls.h: Moved ...
9001 * sysdeps/sparc/nptl/tls.h: ... here.
9002 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9003 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9004 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9005 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9006 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9007 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9008 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9009 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9010 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9011 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9012 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9013 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9014 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9015 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9016 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9017 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9018 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9019 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9021 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9022 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9024 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9025 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9027 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9028 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9031 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9033 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9034 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9036 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9037 (struct list_links): Type removed.
9038 (struct thread_node, struct timer_node): Replace struct list_links
9039 with struct list_head.
9040 (list_unlink_ip): Likewise.
9041 * sysdeps/pthread/timer_routines.c
9042 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9043 (list_append, list_insbefore): Likewise.
9044 (list_init): Function removed.
9045 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9046 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9047 * sysdeps/pthread/Makefile: ... here, new file.
9049 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9050 * sysdeps/nptl/Implies: ... here.
9051 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9052 * nptl/sysdeps/pthread/list.h: Moved ...
9053 * include/list.h: ... here.
9054 * nptl/sysdeps/pthread/createthread.c: Moved ...
9055 * nptl/createthread.c: ... here.
9056 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9057 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9058 * nptl/pt-longjmp.c: ... here.
9059 * nptl/sysdeps/pthread/Makefile: Moved ...
9060 * sysdeps/nptl/Makefile: ... here.
9061 * nptl/sysdeps/pthread/Subdirs: Moved ...
9062 * sysdeps/nptl/Subdirs: ... here.
9063 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9064 * sysdeps/nptl/aio_misc.h: ... here.
9065 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9066 * sysdeps/nptl/bits/libc-lock.h: ... here.
9067 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9068 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9069 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9070 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9071 * nptl/sysdeps/pthread/configure: Moved ...
9072 * sysdeps/nptl/configure: ... here.
9073 * nptl/sysdeps/pthread/configure.ac: Moved ...
9074 * sysdeps/nptl/configure.ac: ... here.
9075 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9076 * sysdeps/nptl/gai_misc.h: ... here.
9077 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9078 * sysdeps/nptl/librt-cancellation.c: ... here.
9079 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9080 * sysdeps/nptl/malloc-machine.h: ... here.
9081 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9082 * sysdeps/nptl/pthread-functions.h: ... here.
9083 * nptl/sysdeps/pthread/pthread.h: Moved ...
9084 * sysdeps/nptl/pthread.h: ... here.
9085 * nptl/sysdeps/pthread/setxid.h: Moved ...
9086 * sysdeps/nptl/setxid.h: ... here.
9087 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9088 * sysdeps/nptl/sigfillset.c: ... here.
9089 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9090 * sysdeps/nptl/tcb-offsets.h: ... here.
9091 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9092 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9093 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9094 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9095 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9096 * sysdeps/pthread/allocalim.h: ... here.
9097 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9098 * sysdeps/pthread/bits/sigthread.h: ... here.
9099 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9100 * sysdeps/pthread/flockfile.c: ... here.
9101 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9102 * sysdeps/pthread/ftrylockfile.c: ... here.
9103 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9104 * sysdeps/pthread/funlockfile.c: ... here.
9105 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9106 * sysdeps/pthread/posix-timer.h: ... here.
9107 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9108 * sysdeps/pthread/timer_create.c: ... here.
9109 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9110 * sysdeps/pthread/timer_delete.c: ... here.
9111 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9112 * sysdeps/pthread/timer_getoverr.c: ... here.
9113 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9114 * sysdeps/pthread/timer_gettime.c: ... here.
9115 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9116 * sysdeps/pthread/timer_routines.c: ... here.
9117 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9118 * sysdeps/pthread/timer_settime.c: ... here.
9119 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9120 * sysdeps/pthread/tst-timer.c: ... here.
9121 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9122 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9124 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9125 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9127 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9128 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9129 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9130 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9131 Update #include target.
9132 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9133 * sysdeps/i386/i686/nptl/Makefile: ... here.
9134 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9135 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9136 Update #include target.
9137 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9138 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9139 * nptl/sysdeps/i386/Makefile: Moved ...
9140 * sysdeps/i386/nptl/Makefile: ... here.
9141 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9142 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9143 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9144 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9145 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9146 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9147 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9148 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9149 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9150 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9151 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9152 * nptl/sysdeps/i386/tls.h: Moved ...
9153 * sysdeps/i386/nptl/tls.h: ... here.
9155 * sysdeps/sh/Makefile [$(subdir) = csu]
9156 (gen-as-const-headers): Add tcb-offsets.sym.
9157 * nptl/sysdeps/sh/Makefile: File removed.
9158 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9159 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9160 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9161 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9162 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9163 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9164 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9165 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9166 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9167 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9168 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9169 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9170 * nptl/sysdeps/sh/tls.h: Moved ...
9171 * sysdeps/sh/nptl/tls.h: ... here.
9172 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9173 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9174 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9175 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9176 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9177 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9178 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9179 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9180 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9181 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9182 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9183 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9184 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9185 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9186 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9187 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9188 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9189 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9190 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9191 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9192 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9193 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9194 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9195 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9196 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9198 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9199 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9201 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9202 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9203 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9204 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9205 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9206 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9207 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9208 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9209 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9210 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9211 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9212 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9213 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9214 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9215 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9216 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9217 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9218 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9219 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9221 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9223 * posix/spawn_faction_addopen.c: Include string.h.
9225 2014-06-11 Roland McGrath <roland@hack.frob.com>
9227 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9228 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9229 * nptl/sysdeps/x86_64/Makefile: Moved ...
9230 * sysdeps/x86_64/nptl/Makefile: ... here.
9231 * nptl/sysdeps/x86_64/configure: Moved ...
9232 * sysdeps/x86_64/nptl/configure: ... here.
9233 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9234 * sysdeps/x86_64/nptl/configure.ac: ... here.
9235 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9236 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9237 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9238 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9239 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9240 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9241 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9242 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9243 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9244 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9245 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9246 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9247 * nptl/sysdeps/x86_64/tls.h: Moved ...
9248 * sysdeps/x86_64/nptl/tls.h: ... here.
9249 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9250 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9251 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9252 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9254 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9256 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9260 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9262 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9264 [POSIX] (off_t): Likewise.
9265 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9266 [POSIX] (S_ISBLK): Require macro.
9267 [POSIX] (S_ISCHR): Likewise.
9268 [POSIX] (S_ISDIR): Likewise.
9269 [POSIX] (S_ISFIFO): Likewise.
9270 [POSIX] (S_ISREG): Likewise.
9271 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9273 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9275 [POSIX] (time_t): Likewise.
9276 [POSIX] (timer_t): Likewise.
9278 2014-06-11 Florian Weimer <fweimer@redhat.com>
9281 * posix/spawn_int.h (struct __spawn_action): Make the path string
9282 non-const to support deallocation.
9283 * posix/spawn_faction_addopen.c
9284 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9285 * posix/spawn_faction_destroy.c
9286 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9287 path in all spawn_do_open actions.
9288 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9289 posix_spawn_file_actions_addopen.
9291 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9293 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9294 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9295 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9296 conditional code always true.
9297 (__libc_vfork): New alias.
9299 2014-06-11 Roland McGrath <roland@hack.frob.com>
9301 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9302 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9304 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9306 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9307 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9309 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9310 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9312 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9313 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9315 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9317 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9318 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9319 multiarch strcmp for PPC64.
9320 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9321 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9323 multiarch optimizations.
9324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9325 (__libc_ifunc_impl_list): Likewise.
9327 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9329 * benchtests/scripts/validate_benchout.py: New script.
9330 * benchtests/Makefile (bench-func): Call it.
9331 * benchtests/scripts/benchout.schema.json: New file.
9333 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9335 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9336 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9337 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9338 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9339 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9340 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9341 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9342 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9343 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9344 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9345 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9346 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9347 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9348 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9349 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9350 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9454 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9455 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9456 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9457 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9458 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9460 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9462 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9463 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9464 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9465 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9466 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9467 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9468 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9469 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9470 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9471 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9472 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9473 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9474 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9476 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9477 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9479 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9480 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9481 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9482 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9484 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9485 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9486 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9487 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9488 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9489 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9490 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9492 2014-06-10 Wilco <wdijkstr@arm.com>
9494 * math/test-fenv-return.c: New file.
9495 * math/Makefile: Add new test test-fenv-return.
9497 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9500 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9502 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9503 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9504 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9505 0.0L for an argument of 1.0L.
9506 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9508 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9509 value when x - 1 is zero.
9510 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9511 * sysdeps/i386/fpu/libm-test-ulps: Update.
9512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9514 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9517 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9519 2014-06-09 Roland McGrath <roland@hack.frob.com>
9521 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9522 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9524 2014-06-09 Roland McGrath <roland@hack.frob.com>
9526 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9527 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9529 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9530 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9532 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9533 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9535 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9536 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9538 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9539 if not already defined.
9540 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9541 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9542 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9543 (TLS_INIT_TP): Use it.
9544 (TLS_DEFINE_INIT_TP): New macro.
9545 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9547 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9549 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9551 [POSIX] (IXANY): Likewise.
9552 [POSIX] (OLCUC): Likewise.
9553 [POSIX || POSIX2008] (CBAUD): Do not allow.
9554 [POSIX || POSIX2008] (DEFECHO): Likewise.
9555 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9556 [POSIX || POSIX2008] (ECHOKE): Likewise.
9557 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9558 [POSIX || POSIX2008] (EXTA): Likewise.
9559 [POSIX || POSIX2008] (EXTB): Likewise.
9560 [POSIX || POSIX2008] (FLUSHO): Likewise.
9561 [POSIX || POSIX2008] (LOBLK): Likewise.
9562 [POSIX || POSIX2008] (PENDIN): Likewise.
9563 [POSIX || POSIX2008] (SWTCH): Likewise.
9564 [POSIX || POSIX2008] (VDISCARD): Likewise.
9565 [POSIX || POSIX2008] (VDSUSP): Likewise.
9566 [POSIX || POSIX2008] (VLNEXT): Likewise.
9567 [POSIX || POSIX2008] (VREPRINT): Likewise.
9568 [POSIX || POSIX2008] (VSTATUS): Likewise.
9569 [POSIX || POSIX2008] (VWERASE): Likewise.
9570 (B*): Change to B[0123456789]*.
9571 * conform/data/time.h-data [POSIX || UNIX98]
9572 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9573 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9574 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9575 [POSIX] (tm_*): Do not allow.
9577 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9579 * Makefile (install): Don't set LANGUAGE.
9580 * Makefile.in (install): Likewise.
9581 * assert/Makefile (test-assert-ENV): Remove variable.
9582 (test-assert-perr-ENV): Likewise.
9583 * elf/Makefile (neededtest4-ENV): Likewise.
9584 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9585 [$(cross-compiling) = no]: Don't set LANGUAGE.
9586 * io/ftwtest-sh (LANG): Remove variable.
9587 * libio/Makefile (tst-widetext-ENV): Likewise.
9588 * manual/install.texi (Running make install): Don't refer to
9589 environment settings for make install.
9590 * INSTALL: Regenerated.
9591 * nptl/tst-tls6.sh: Don't set LANG.
9592 * posix/globtest.sh (LANG): Remove variable.
9593 * string/Makefile (tester-ENV): Likewise.
9594 (inl-tester-ENV): Likewise.
9595 (noinl-tester-ENV): Likewise.
9596 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9597 [$(cross-compiling) = no]: Don't set LANGUAGE.
9598 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9599 without explicit environment settings.
9601 2014-06-06 Roland McGrath <roland@hack.frob.com>
9603 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9604 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9605 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9606 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9608 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9610 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9611 other files in the crypt directory.
9612 * crypt/crypt.c: Remove duplicate includes.
9613 * crypt/crypt-entry.c: Likewise.
9614 * crypt/crypt_util.c: Likewise.
9616 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9618 * Makeconfig (run-program-env): New variable.
9619 (run-program-prefix-before-env): Likewise.
9620 (run-program-prefix-after-env): Likewise.
9621 (run-program-prefix): Define in terms of new variables.
9622 (built-program-cmd-before-env): New variable.
9623 (built-program-cmd-after-env): Likewise.
9624 (built-program-cmd): Define in terms of new variables.
9625 (test-program-prefix-before-env): New variable.
9626 (test-program-prefix-after-env): Likewise.
9627 (test-program-prefix): Define in terms of new variables.
9628 (test-program-cmd-before-env): New variable.
9629 (test-program-cmd-after-env): Likewise.
9630 (test-program-cmd): Define in terms of new variables.
9631 * Rules (make-test-out): Use $(run-program-env).
9632 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9633 (help): Do not mention environment variables. Mention
9634 --timeoutfactor option.
9635 (timeoutfactor): New variable.
9636 (blacklist_exports): Remove function.
9637 (exports): Remove variable.
9638 (command): Do not include ${exports}.
9639 * manual/install.texi (Configuring and compiling): Do not mention
9640 test wrappers preserving environment variables. Mention that last
9641 assignment to a variable must take precedence.
9642 * INSTALL: Regenerated.
9643 * benchtests/Makefile (run-bench): Use $(run-program-env).
9644 * catgets/Makefile ($(objpfx)test1.cat): Use
9645 $(built-program-cmd-before-env), $(run-program-env) and
9646 $(built-program-cmd-after-env).
9647 ($(objpfx)test2.cat): Do not specify environment variables
9649 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9650 $(run-program-env) and $(built-program-cmd-after-env).
9651 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9652 $(run-program-env) and $(test-program-cmd-after-env).
9653 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9655 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9656 run_program_env and test_program_cmd_after_env arguments.
9657 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9658 * elf/tst-pathopt.sh: Use run_program_env argument.
9659 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9660 $(test-wrapper-env) and $(run-program-env).
9661 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9662 run_program_env arguments.
9663 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9664 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9665 $(test-program-prefix-before-env), $(run-program-env) and
9666 $(test-program-prefix-after-env).
9667 ($(objpfx)tst-gettext2.out): Likewise.
9668 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9669 run_program_env and test_program_prefix_after_env arguments.
9670 * intl/tst-gettext2.sh: Likewise.
9671 * intl/tst-gettext4.sh: Do not set environment variables
9673 * intl/tst-gettext6.sh: Likewise.
9674 * intl/tst-translit.sh: Likewise.
9675 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9676 $(test-program-prefix-before-env), $(run-program-env) and
9677 $(test-program-prefix-after-env).
9678 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9679 run_program_env and test_program_prefix_after_env arguments.
9680 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9681 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9682 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9683 explicitly with each use of ${test_wrapper_env}.
9684 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9685 $(test-program-prefix-before-env), $(run-program-env) and
9686 $(test-program-prefix-after-env).
9687 * posix/tst-getconf.sh: Do not set environment variables
9689 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9690 run_program_env and test_program_prefix_after_env arguments.
9691 * stdio-common/tst-printf.sh: Do not set environment variables
9693 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9694 $(test-program-prefix-before-env), $(run-program-env) and
9695 $(test-program-prefix-after-env).
9696 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9697 run_program_env and test_program_prefix_after_env arguments.
9698 Split $test calls into $test_pre and $test.
9699 * timezone/Makefile (build-testdata): Use
9700 $(built-program-cmd-before-env), $(run-program-env) and
9701 $(built-program-cmd-after-env).
9703 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9705 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9706 strlen for non SHARED builds.
9708 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9710 * nptl/allocatestack.c (check_list): Inlined function...
9711 (__reclaim_stacks): ... here.
9713 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9716 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9719 2014-06-05 Joseph Myers <joseph@codesourcery.com>
9721 * Rules (make-test-out): Include
9722 LOCPATH=$(common-objpfx)localedata in default environment.
9723 * debug/Makefile (tst-chk1-ENV): Remove variable.
9724 (tst-chk2-ENV): Likewise.
9725 (tst-chk3-ENV): Likewise.
9726 (tst-chk4-ENV): Likewise.
9727 (tst-chk5-ENV): Likewise.
9728 (tst-chk6-ENV): Likewise.
9729 (tst-lfschk1-ENV): Likewise.
9730 (tst-lfschk2-ENV): Likewise.
9731 (tst-lfschk3-ENV): Likewise.
9732 (tst-lfschk4-ENV): Likewise.
9733 (tst-lfschk5-ENV): Likewise.
9734 (tst-lfschk6-ENV): Likewise.
9735 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9736 (tst-iconv7-ENV): Likewise.
9737 * intl/Makefile (LOCPATH-ENV): Likewise.
9738 (tst-codeset-ENV): Likewise.
9739 (tst-gettext3-ENV): Likewise.
9740 (tst-gettext5-ENV): Likewise.
9741 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9742 (tst-fopenloc-ENV): Likewise.
9743 (tst-fgetws-ENV): Remove variable.
9744 (tst-ungetwc1-ENV): Likewise.
9745 (tst-ungetwc2-ENV): Likewise.
9746 (bug-ungetwc2-ENV): Likewise.
9747 (tst-swscanf-ENV): Likewise.
9748 (bug-ftell-ENV): Likewise.
9749 (tst-fgetwc-ENV): Likewise.
9750 (tst-fseek-ENV): Likewise.
9751 (tst-ftell-partial-wide-ENV): Likewise.
9752 (tst-ftell-active-handler-ENV): Likewise.
9753 (tst-ftell-append-ENV): Likewise.
9754 * posix/Makefile (tst-fnmatch-ENV): Likewise.
9755 (tst-regexloc-ENV): Likewise.
9756 (bug-regex1-ENV): Likewise.
9757 (tst-regex-ENV): Likewise.
9758 (tst-regex2-ENV): Likewise.
9759 (bug-regex5-ENV): Likewise.
9760 (bug-regex6-ENV): Likewise.
9761 (bug-regex17-ENV): Likewise.
9762 (bug-regex18-ENV): Likewise.
9763 (bug-regex19-ENV): Likewise.
9764 (bug-regex20-ENV): Likewise.
9765 (bug-regex22-ENV): Likewise.
9766 (bug-regex23-ENV): Likewise.
9767 (bug-regex25-ENV): Likewise.
9768 (bug-regex26-ENV): Likewise.
9769 (bug-regex30-ENV): Likewise.
9770 (bug-regex32-ENV): Likewise.
9771 (bug-regex33-ENV): Likewise.
9772 (bug-regex34-ENV): Likewise.
9773 (bug-regex35-ENV): Likewise.
9774 (tst-rxspencer-ENV): Likewise.
9775 (tst-rxspencer-no-utf8-ENV): Likewise.
9776 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9777 (tst-sscanf-ENV): Likewise.
9778 (tst-swprintf-ENV): Likewise.
9779 (tst-swscanf-ENV): Likewise.
9780 (test-vfprintf-ENV): Likewise.
9781 (scanf13-ENV): Likewise.
9782 (bug14-ENV): Likewise.
9783 (tst-grouping-ENV): Likewise.
9784 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9785 (tst-strtod3-ENV): Likewise.
9786 (tst-strtod4-ENV): Likewise.
9787 (tst-strtod5-ENV): Likewise.
9788 (testmb2-ENV): Likewise./
9789 * string/Makefile (tst-strxfrm-ENV): Likewise.
9790 (tst-strxfrm2-ENV): Likewise.
9791 (bug-strcoll1-ENV): Likewise.
9792 (test-strcasecmp-ENV): Likewise.
9793 (test-strncasecmp-ENV): Likewise.
9794 * time/Makefile (tst-strptime-ENV): Likewise.
9795 (tst-ftime_l-ENV): Likewise.
9796 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9797 (tst-mbrtowc-ENV): Likewise.
9798 (tst-wcrtomb-ENV): Likewise.
9799 (tst-mbrtowc2-ENV): Likewise.
9800 (tst-c16c32-1-ENV): Likewise.
9801 (tst-mbsnrtowcs-ENV): Likewise.
9803 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9805 * manual/resource.texi (How to get information about the memory
9806 subsystem?): Fix typo.
9807 Reported by Peon de la Parra Ivan <peon@keba.com>
9809 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9812 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9813 (pthread_spin_lock): Branch out of spin loop to proper location.
9814 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9815 (pthread_spin_lock): Likewise.
9817 * nptl/tst-spin4.c: New test.
9818 * nptl/Makefile (tests): Add tst-spin4.
9820 2014-06-03 Andreas Schwab <schwab@suse.de>
9823 * resolv/res_send.c (send_dg): Reload file descriptor after
9826 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9828 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9830 2014-06-03 Richard Henderson <rth@redhat.com>
9832 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9833 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9834 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9835 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9836 in the SAVE_PID block.
9837 (__libc_vfork): New alias.
9838 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9840 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9841 child in registers, not on the stack. Remove RESET_PID conditionals.
9842 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9844 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9846 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9848 2014-06-03 Wilco <wdijkstr@arm.com>
9850 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9851 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9852 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9853 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9854 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9857 2014-06-03 Wilco <wdijkstr@arm.com>
9859 * sysdeps/aarch64/fpu/math_private.h
9860 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9861 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9862 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9863 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9866 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9868 * crypt/crypt-private.h: Include ufc-crypt.h.
9869 (__b64_from_24bit): Declare extern.
9870 * crypt/crypt_util.c(__b64_from_24bit): New function.
9871 (b64t): New static const variable.
9872 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9873 (b64t): Remove variable.
9874 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9875 * crypt/sha256-crypt.c: Include crypt-private.h.
9876 (b64t): Remove variable.
9877 (__sha256_crypt_r): Remove b64_from_24bit and replace
9878 with __b64_from_24bit.
9879 * crypt/sha512-crypt.c: Likewise.
9881 2014-06-02 Roland McGrath <roland@hack.frob.com>
9883 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9884 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9885 Label the code __libc_vfork rather than __vfork.
9886 [!NOT_IN_libc] (vfork): Define as weak alias.
9887 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9888 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9889 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9891 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9893 * malloc/malloc.c (malloc_info): Fix format specifier for
9896 2014-06-02 Wilco <wdijkstr@arm.com>
9898 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9901 2014-06-02 Wilco <wdijkstr@arm.com>
9904 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9905 Rewrite to reduce FPCR/FPSR accesses.
9907 2014-06-01 David S. Miller <davem@davemloft.net>
9909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9911 2014-05-31 David S. Miller <davem@davemloft.net>
9913 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9914 to occur in round to nearest mode when |x| >= 2.0
9916 2014-05-30 Richard Henderson <rth@twiddle.net>
9918 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9919 (PSEUDO_RET_NOERRNO): Remove.
9920 (ret): Don't redefine.
9921 (ret_NOERRNO): Define in terms of ret.
9922 (ret_ERRVAL): Likewise.
9924 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9925 use of PSEUDO_RET; perform the error check directly.
9927 2014-05-30 Marko Myllynen <myllynen@redhat.com>
9929 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9932 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9934 * malloc/malloc (malloc_info): Fix formatting.
9936 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9937 Roland McGrath <roland@hack.frob.com>
9939 * malloc/malloc (malloc_info): Also print mmapped statistics.
9941 2014-05-30 Roland McGrath <roland@hack.frob.com>
9943 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9944 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9946 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
9948 * malloc/malloc.c (malloc_info): Inline mi_arena.
9950 2014-05-29 Richard Henderson <rth@twiddle.net>
9952 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9953 Remove comma before expanding ASM_ARGS_##nr.
9954 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9955 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9957 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9958 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9959 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9960 (ASM_ARGS_1): Add leading comma.
9962 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9963 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9964 to __errno_location.
9965 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9966 Remove the expected plt for __errno_location.
9968 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9969 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9972 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9973 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9974 it and break it down.
9975 (DOCARGS_0, DOCARGS_1): Do nothing.
9976 (DOCARGS_2): Update to store into the new stack frame.
9977 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9978 (UNDOCARGS_1): Update to restore from the new stack frame.
9979 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9980 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9982 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9983 (SINGLE_THREAD_P): New parameter for result regno.
9984 (PSEUDO): Update to match; use cbz instead of beq.
9986 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9987 Use ENTRY to define the _nocancel entry point. Share the syscall
9988 and syscall error check paths with the cancel path.
9991 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9992 whitespace; tabs before and after asm mnemonics.
9994 2014-05-29 Eric Wong <normalperson@yhbt.net>
9997 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9998 Call fstat64 or stat64 internally, depending on arguments passed.
9999 Replace stat buffer argument with file descriptor argument.
10000 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10001 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10002 Pass fd to __internal_statvfs instead of calling fstat64.
10003 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10004 Pass fd to __internal_statvfs64 instead of calling fstat64.
10005 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10006 Pass -1 to __internal_statvfs instead of calling stat64.
10007 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10008 Pass -1 to __internal_statvfs64 instead of calling stat64.
10010 2014-05-28 Roland McGrath <roland@hack.frob.com>
10012 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10013 that was previously under [RESET_PID].
10014 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10016 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10017 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10019 2014-05-27 Roland McGrath <roland@hack.frob.com>
10021 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10023 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10024 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10026 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10028 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10030 2014-05-27 Andreas Schwab <schwab@suse.de>
10032 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10034 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10035 * elf/rtld.c (init_tls, dl_main): Likewise.
10036 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10037 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10038 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10039 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10040 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10041 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10042 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10043 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10044 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10045 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10046 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10047 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10048 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10049 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10050 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10051 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10052 * sysdeps/generic/tls.h: Update description.
10054 2014-05-27 Will Newton <will.newton@linaro.org>
10057 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10058 and restore r2 rather than just restoring.
10060 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10063 * libio/tst-ftell-append.c: New test case.
10064 * libio/Makefile (tests): Add test case.
10065 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10067 * libio/wfileops.c (do_ftell_wide): Likewise.
10069 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10073 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10077 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10078 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10079 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10080 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10081 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10082 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10083 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10089 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10090 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10091 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10092 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10093 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10095 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10096 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10098 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10100 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10102 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10103 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10104 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10107 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10108 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10109 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10111 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10114 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10117 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10120 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10127 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10132 conditional [RESET_PID].
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10141 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10142 (__libc_vfork): New strong alias.
10143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10150 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10151 (__libc_vfork): New strong alias.
10152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10157 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10159 * malloc/malloc.c (mi_arena): New function.
10160 (malloc_info): Remove nested function mi_arena. Call non-nosted
10163 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10165 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10167 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10168 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10169 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10170 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10171 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10172 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10173 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10175 2014-05-26 Andreas Schwab <schwab@suse.de>
10178 * locale/programs/repertoire.c (repertoire_read): Add slash
10179 between I18NPATH element and file name.
10180 * locale/programs/locfile.c (locfile_read): Likewise.
10182 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10184 * nptl/pthread_mutexattr_settype.c
10185 (__pthread_mutexattr_settype):
10186 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10188 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10190 * nptl/tst-mutex5 (do_test):
10191 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10193 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10195 * benchtests/README: Document 'init' directive.
10196 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10198 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10199 (parse_file): Recognize 'init' directive.
10201 2014-05-26 Kyle McMartin <kyle@redhat.com>
10204 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10205 alignment of struct pthread.
10207 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10210 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10211 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10212 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10213 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10215 2014-05-25 Richard Henderson <rth@twiddle.net>
10217 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10218 (SINGLE_THREAD_P_PIC): Remove.
10219 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10220 (SINGLE_THREAD_P_PIC): Remove.
10222 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10223 branch to syscall error ...
10224 (PSEUDO): ... here.
10225 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10226 from __local_syscall_error to .Lsyscall_error.
10227 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10228 (SYSCALL_ERROR): Update label name.
10230 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10231 Do not use DOARGS/UNDOARGS.
10232 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10233 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10234 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10235 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10236 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10238 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10241 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10242 define if !NOT_IN_libc.
10243 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10244 define with non-default symbol versions.
10246 2014-05-23 Richard Henderson <rth@twiddle.net>
10248 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10249 (vfork, __vfork): Define via compat_symbol.
10251 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10252 [!HAVE_IFUNC] (vfork_compat): Remove.
10253 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10255 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10258 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10259 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10262 2014-05-23 Richard Henderson <rth@twiddle.net>
10264 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10265 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10266 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10267 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10269 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10270 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10271 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10272 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10273 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10274 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10275 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10276 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10277 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10278 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10279 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10280 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10281 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10282 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10283 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10284 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10285 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10286 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10287 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10288 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10289 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10290 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10291 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10292 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10293 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10294 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10295 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10296 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10297 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10298 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10299 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10300 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10301 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10302 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10303 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10304 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10305 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10306 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10307 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10308 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10309 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10310 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10311 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10312 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10313 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10314 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10315 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10316 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10317 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10318 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10319 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10320 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10321 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10322 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10323 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10324 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10326 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10327 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10328 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10329 before exiting on error.
10330 (__libc_vfork): New strong alias.
10331 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10332 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10334 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10335 that was previously under [RESET_PID].
10336 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10338 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10340 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10343 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10344 value when x - 1 is zero.
10345 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10346 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10347 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10348 0.0L for an argument of 1.0L.
10349 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10351 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10352 value when x - 1 is zero.
10353 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10354 * sysdeps/i386/fpu/libm-test-ulps: Update.
10355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10357 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10359 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10360 alphasort and versionsort.
10362 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10364 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10366 [copysignf]: Likewise.
10368 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10370 * crypt/md5-crypt.c: Fix formatting.
10372 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10374 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10375 (b64_from_24bit): New function.
10377 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10379 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10380 libc_hidden_builtin_def to ifunc.
10381 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10382 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10384 2014-05-21 Roland McGrath <roland@hack.frob.com>
10386 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10387 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10389 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10391 * nscd/Depend (linuxthreads): Remove.
10393 * resolv/Depend (linuxthreads): Remove.
10394 * rt/Depend (linuxthreads): Remove.
10396 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10397 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10398 $(common-objpfx)elf/.
10399 (link-libc-before-gnulib): Likewise.
10400 (elfobjdir): Remove variable.
10401 * Makefile (install): Use $(elf-objpfx) instead of
10402 $(common-objpfx)elf/.
10403 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10405 (link-libc-deps): Likewise.
10406 ($(common-objpfx)libc.so): Likewise.
10407 ($(common-objpfx)linkobj/libc.so): Likewise.
10408 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10409 instead of $(common-objpfx)elf/.
10410 (symbolic-link-list): Likewise.
10411 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10412 [$(cross-compiling) = no]: Likewise.
10413 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10415 (static-gnulib-arch): Likewise.
10416 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10417 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10418 $(common-objpfx)elf/.
10420 2014-05-21 Richard Henderson <rth@redhat.com>
10422 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10423 (SINGLE_THREAD_P): Use the correct width load. Fold
10424 into the ldr offset.
10426 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10427 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10429 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10431 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10432 (libgcc_s_resume): Use __attribute_used__.
10433 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10436 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10438 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10439 optimization when used with float constants.
10441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10443 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10446 * locale/nl_langinfo_l.c: Make direct reference to every
10447 _nl_current_CATEGORY symbol.
10448 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10449 (tests-static): Add tst-langinfo-static.
10450 (tests-special): Add tst-langinfo-static.out.
10451 ($(objpfx)tst-langinfo.out): Redirect output.
10452 ($(objpfx)tst-langinfo-static.out): New.
10453 * localedata/tst-langinfo.sh: Send output to stdout.
10454 * localedata/tst-langinfo-static.c: New file.
10457 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10458 when the shift amount is modulo the limb size.
10460 2014-05-20 Richard Henderson <rth@redhat.com>
10463 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10464 Change type of sa_flags from unsigned int to int.
10467 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10469 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10471 2014-05-20 Will Newton <will.newton@linaro.org>
10473 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10474 Test the return value of the system call in the nocancel case.
10476 2014-05-20 Will Newton <will.newton@linaro.org>
10477 Yvan Roux <yvan.roux@linaro.org>
10479 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10480 #include of asm/ptrace.h.
10481 (PTRACE_GET_THREAD_AREA): Remove #undef.
10482 (PTRACE_GETHBPREGS): Likewise.
10483 (PTRACE_SETHBPREGS): Likewise.
10484 (struct user_regs_struct): New structure.
10485 (struct user_fpsimd_struct): New structure.
10486 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10487 #include of asm/ptrace.h and second #include of sys/user.h.
10488 (PTRACE_GET_THREAD_AREA): Remove #undef.
10489 (PTRACE_GETHBPREGS): Likewise.
10490 (PTRACE_SETHBPREGS): Likewise.
10491 (ELF_NGREG): Use new struct user_regs_struct.
10492 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10494 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10496 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10497 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10499 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10502 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10503 membar to avoid block loads/stores to overlap previous stores.
10505 2014-05-17 Richard Henderson <rth@redhat.com>
10507 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10508 Create the __##syscall_name##_nocancel entry point.
10509 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10510 Remove; let the sysdep-cancel.h code create it.
10512 2014-05-17 David S. Miller <davem@davemloft.net>
10514 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10515 Protect with __USE_GNU.
10516 (TIOCSET_TEMPT): Likewise.
10517 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10518 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10519 these are already provided in bits/ioctl-types.h
10521 2014-05-16 Roland McGrath <roland@hack.frob.com>
10523 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10524 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10526 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10527 Use wait4 regardless of [__NR_waitpid].
10529 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10532 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10533 (_FP_NANSIGN_Q): Set the quiet bit.
10535 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10537 * benchtests/Makefile
10538 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10539 not $(common-objpfx)math/libm.so.
10540 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10541 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10542 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10543 $(common-objpfx)dlfcn/libdl.so.
10544 ($(objpfx)tst-audit8): Depend on $(libm), not
10545 $(common-objpfx)math/libm.so.
10546 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10547 not $(common-objpfx)dlfcn/libdl.so.
10549 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10550 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10551 [$(build-shared) = yes].
10552 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10553 $(common-objpfx)nptl/libpthread.so.
10554 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10555 $(common-objpfx)math/libm.so$(libm.so-version) or
10556 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10557 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10558 $(common-objpfx)dlfcn/libdl.so.
10559 * setjmp/Makefile (link-libm): Remove variable.
10560 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10561 * stdio-common/Makefile (link-libm): Remove variable.
10562 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10563 * stdlib/Makefile (link-libm): Remove variable.
10564 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10565 ($(objpfx)tst-strtod-round): Likewise.
10566 ($(objpfx)tst-tininess): Likewise.
10567 ($(objpfx)tst-strtod-underflow): Likewise.
10568 ($(objpfx)tst-strtod6): Likewise.
10569 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10570 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10571 $(common-objpfx)dlfcn/libdl.so.
10573 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10575 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10576 BSD terminal modes definitions.
10578 2014-05-16 Roland McGrath <roland@hack.frob.com>
10580 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10581 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10583 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10584 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10585 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10586 Don't do #include_next.
10587 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10588 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10589 Don't do #include_next.
10590 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10591 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10592 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10593 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10595 2014-05-16 Allan McRae <allan@archlinux.org>
10597 * po/sv.po: Update Swedish translation from translation project.
10599 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10602 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10605 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10606 errno if the TIOCGPTN ioctl fails with an error different than
10608 * login/tst-ptsname.c: New file.
10609 * login/Makefile (tests): Add tst-ptsname.
10612 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10615 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10619 herrno to return EAI_AGAIN.
10621 2014-05-14 Roland McGrath <roland@hack.frob.com>
10623 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10624 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10625 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10626 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10627 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10628 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10629 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10630 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10632 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10633 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10634 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10635 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10636 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10637 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10638 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10639 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10640 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10641 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10642 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10643 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10644 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10645 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10646 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10648 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10649 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10650 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10651 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10652 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10654 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10656 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10659 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10661 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10663 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10665 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10667 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10669 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10671 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10673 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10675 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10677 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10679 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10681 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10683 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10685 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10688 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10690 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10692 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10694 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10696 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10698 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10700 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10702 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10704 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10706 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10709 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10711 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10713 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10714 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10715 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10716 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10717 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10718 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10719 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10720 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10721 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10722 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10723 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10724 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10725 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10726 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10727 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10728 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10729 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10730 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10731 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10732 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10733 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10734 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10735 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10736 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10737 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10738 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10739 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10740 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10741 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10742 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10743 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10745 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10746 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10748 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10749 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10750 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10751 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10752 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10753 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10755 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10756 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10758 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10759 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10761 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10762 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10764 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10765 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10766 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10767 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10769 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10770 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10771 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10772 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10773 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10774 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10775 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10776 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10778 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10779 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10781 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10783 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10784 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10785 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10786 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10787 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10789 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10793 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10794 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10795 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10796 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10797 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10798 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10800 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10801 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10803 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10804 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10806 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10807 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10809 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10811 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10814 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10815 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10816 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10817 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10818 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10819 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10820 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10821 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10823 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10824 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10826 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10828 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10829 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10830 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10831 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10832 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10834 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10838 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10839 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10840 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10841 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10842 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10843 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10844 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10845 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10846 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10847 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10849 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10850 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10852 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10853 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10855 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10856 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10858 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10859 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10860 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10861 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10862 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10863 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10865 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10866 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10867 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10868 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10869 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10870 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10871 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10872 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10874 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10875 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10877 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10879 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10880 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10881 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10882 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10883 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10885 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10889 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10890 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10891 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10892 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10893 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10894 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10895 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10896 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10897 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10898 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10899 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10901 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10902 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10904 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10905 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10907 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10908 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10909 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10910 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10911 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10912 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10913 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10914 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10915 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10916 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10917 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10918 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10919 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10920 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10921 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10922 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10923 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10924 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10926 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10927 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10928 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10929 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10931 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10932 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10933 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10935 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10937 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10938 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10940 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10941 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10943 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10944 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10945 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10946 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10949 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10950 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10951 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10952 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10953 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10954 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10955 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10956 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10957 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10958 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10959 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10961 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10962 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10963 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10964 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10965 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10967 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10968 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10969 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10970 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10971 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10972 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10973 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10974 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10975 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10976 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10978 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10979 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10981 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10982 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10983 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10984 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10985 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10986 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10987 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10988 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10989 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10990 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10991 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10992 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10993 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10994 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10995 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10997 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10999 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11001 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11003 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11017 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11019 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11020 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11021 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11022 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11023 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11024 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11025 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11026 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11027 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11028 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11029 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11031 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11032 that was previously under [RESET_PID].
11033 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11034 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11035 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11037 * sysdeps/i386/nptl/Implies: New file.
11038 * sysdeps/x86_64/nptl/Implies: New file.
11039 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11040 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11041 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11042 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11044 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11045 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11046 (__libc_vfork): New strong alias.
11047 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11048 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11050 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11051 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11052 (__libc_vfork): New strong alias.
11053 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11054 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11056 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11057 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11058 (__libc_vfork): New strong alias.
11059 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11060 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11061 * nptl/pt-vfork.c: New file.
11062 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11063 (libpthread: GLIBC_2.20): New version set (empty).
11065 2014-05-14 Will Newton <will.newton@linaro.org>
11067 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11070 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11073 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11074 arguments with exponent 65 or above.
11075 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11076 arguments 0x1p113L or above.
11077 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11078 to arguments 0x1p107L or above.
11079 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11080 positive arguments with exponent 65 or above.
11081 * math/auto-libm-test-in: Add more tests of log1p.
11082 * math/auto-libm-test-out: Regenerated.
11085 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11086 non-finite arguments is +0.
11087 * math/s_cacosf.c (__cacosf): Likewise.
11088 * math/s_cacosl.c (__cacosl): Likewise.
11089 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11090 * sysdeps/i386/fpu/libm-test-ulps: Update.
11091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11094 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11096 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11097 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11098 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11099 for explicit high bit of mantissa when testing for argument equal
11101 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11102 * sysdeps/i386/fpu/libm-test-ulps: Update.
11103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11106 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11107 (__erf): Scale by 16 instead of 8 in potentially underflowing
11108 case. Ensure exception if result actually underflows.
11109 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11110 (__erff): Scale by 16 instead of 8 in potentially underflowing
11111 case. Ensure exception if result actually underflows.
11112 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11113 (efx8): Remove variable.
11114 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11115 case. Ensure exception if result actually underflows.
11116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11117 (efx8): Remove variable.
11118 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11119 case. Ensure exception if result actually underflows.
11120 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11121 (efx8): Remove variable.
11122 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11123 case. Ensure exception if result actually underflows.
11124 * math/auto-libm-test-in: Add more tests of erf.
11125 * math/auto-libm-test-out: Regenerated.
11127 2014-05-14 Andreas Schwab <schwab@suse.de>
11129 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11130 Remove code conditionalized on USE___THREAD.
11132 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11133 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11136 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11138 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11139 Define unconditionally.
11140 (__ASSUME_O_CLOEXEC): Likewise.
11141 (__ASSUME_SOCK_CLOEXEC): Likewise.
11142 (__ASSUME_IN_NONBLOCK): Likewise.
11143 (__ASSUME_PIPE2): Likewise.
11144 (__ASSUME_EVENTFD2): Likewise.
11145 (__ASSUME_SIGNALFD4): Likewise.
11146 (__ASSUME_DUP3): Likewise.
11147 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11148 (__ASSUME_DUP3): Do not define.
11149 (__ASSUME_EVENTFD2): Likewise.
11150 (__ASSUME_IN_NONBLOCK): Likewise.
11151 (__ASSUME_O_CLOEXEC): Likewise.
11152 (__ASSUME_PIPE2): Likewise.
11153 (__ASSUME_SIGNALFD4): Likewise.
11154 (__ASSUME_SOCK_CLOEXEC): Likewise.
11155 (__ASSUME_UTIMES): Undefine.
11156 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11157 (__ASSUME_UTIMES): Do not define.
11158 (__ASSUME_O_CLOEXEC): Likewise.
11159 (__ASSUME_SOCK_CLOEXEC): Likewise.
11160 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11161 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11163 (__ASSUME_PIPE2): Likewise.
11164 (__ASSUME_EVENTFD2): Likewise.
11165 (__ASSUME_SIGNALFD4): Likewise.
11166 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11167 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11169 (__ASSUME_EVENTFD2): Likewise.
11170 (__ASSUME_SIGNALFD4): Likewise.
11171 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11172 (__ASSUME_32BITUIDS): Likewise.
11173 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11174 (__ASSUME_IPC64): Likewise.
11175 (__ASSUME_ST_INO_64_BIT): Likewise.
11176 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11177 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11178 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11179 (__ASSUME_UTIMES): Do not define.
11180 (__ASSUME_PSELECT): Likewise.
11181 (__ASSUME_PPOLL): Likewise.
11182 (__ASSUME_O_CLOEXEC): Likewise.
11183 (__ASSUME_SOCK_CLOEXEC): Likewise.
11184 (__ASSUME_IN_NONBLOCK): Likewise.
11185 (__ASSUME_PIPE2): Likewise.
11186 (__ASSUME_EVENTFD2): Likewise.
11187 (__ASSUME_SIGNALFD4): Likewise.
11188 (__ASSUME_DUP3): Likewise.
11189 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11190 (__ASSUME_UTIMES): Likewise.
11191 (__ASSUME_O_CLOEXEC): Likewise.
11192 (__ASSUME_SOCK_CLOEXEC): Likewise.
11193 (__ASSUME_IN_NONBLOCK): Likewise.
11194 (__ASSUME_PIPE2): Likewise.
11195 (__ASSUME_EVENTFD2): Likewise.
11196 (__ASSUME_SIGNALFD4): Likewise.
11197 (__ASSUME_DUP3): Likewise.
11198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11199 (__ASSUME_UTIMES): Likewise.
11200 (__ASSUME_O_CLOEXEC): Likewise.
11201 (__ASSUME_SOCK_CLOEXEC): Likewise.
11202 (__ASSUME_IN_NONBLOCK): Likewise.
11203 (__ASSUME_PIPE2): Likewise.
11204 (__ASSUME_EVENTFD2): Likewise.
11205 (__ASSUME_SIGNALFD4): Likewise.
11206 (__ASSUME_DUP3): Likewise.
11207 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11209 (__ASSUME_UTIMES): Likewise.
11210 (__ASSUME_EVENTFD2): Likewise.
11211 (__ASSUME_SIGNALFD4): Likewise.
11212 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11213 (__ASSUME_O_CLOEXEC): Likewise.
11214 (__ASSUME_SOCK_CLOEXEC): Likewise.
11215 (__ASSUME_IN_NONBLOCK): Likewise.
11216 (__ASSUME_PIPE2): Likewise.
11217 (__ASSUME_EVENTFD2): Likewise.
11218 (__ASSUME_SIGNALFD4): Likewise.
11219 (__ASSUME_DUP3): Likewise.
11220 (__ASSUME_UTIMES): Undefine.
11222 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11223 feclearexcept. Remove symbol versioning code.
11224 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11225 symbol versioning code.
11226 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11227 symbol versioning code.
11228 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11229 feupdateenv. Remove symbol versioning code.
11230 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11231 fegetexceptflag. Remove symbol versioning code.
11232 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11233 fesetexceptflag. Remove symbol versioning code.
11234 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11235 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11236 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11237 (__posix_fadvise64_l32): Remove prototype.
11238 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11241 2014-05-13 Roland McGrath <roland@hack.frob.com>
11243 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11244 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11245 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11246 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11248 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11250 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11251 current working directory
11253 2014-05-13 Roland McGrath <roland@hack.frob.com>
11255 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11256 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11257 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11258 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11259 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11260 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11261 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11262 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11263 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11264 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11265 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11266 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11267 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11268 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11269 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11270 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11271 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11272 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11273 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11274 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11275 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11276 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11277 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11278 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11279 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11280 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11281 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11282 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11283 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11284 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11285 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11286 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11287 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11288 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11289 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11290 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11291 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11292 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11293 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11294 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11295 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11296 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11298 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11299 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11301 * sysdeps/unix/sysv/linux/arm/Makefile
11302 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11303 Add rt-aeabi_unwind_cpp_pr1.
11304 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11305 Add nptl-aeabi_unwind_cpp_pr1.
11306 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11307 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11308 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11309 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11310 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11311 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11313 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11314 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11315 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11316 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11318 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11319 Deconditionalize the code that was previously under [RESET_PID].
11320 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11322 * sysdeps/generic/exit-thread.h: New file.
11323 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11324 * include/unistd.h (__exit_thread): Remove declaration.
11325 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11326 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11327 * csu/libc-start.c: Include <exit-thread.h>.
11328 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11329 * nptl/pthread_create.c: Include <exit-thread.h>.
11330 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11331 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11332 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11333 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11334 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11335 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11336 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11337 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11338 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11339 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11340 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11341 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11342 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11343 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11344 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11345 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11346 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11348 2014-05-13 Andreas Schwab <schwab@suse.de>
11350 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11352 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11354 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11355 (__ASSUME_UTIMES): Do not condition on kernel version.
11356 (__ASSUME_PSELECT): Define unconditionally.
11357 (__ASSUME_PPOLL): Likewise.
11358 (__ASSUME_ATFCTS): Likewise.
11359 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11360 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11361 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11362 (__ASSUME_UTIMENSAT): Define unconditionally.
11363 (__ASSUME_PRIVATE_FUTEX): Likewise.
11364 (__ASSUME_FALLOCATE): Likewise.
11365 (__ASSUME_O_CLOEXEC): Likewise.
11366 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11367 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11368 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11369 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11370 (__ASSUME_IN_NONBLOCK): Likewise.
11371 (__ASSUME_PIPE2): Likewise.
11372 (__ASSUME_EVENTFD2): Likewise.
11373 (__ASSUME_SIGNALFD4): Likewise.
11374 (__ASSUME_DUP3): Likewise.
11375 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11376 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11377 (__ASSUME_AT_RANDOM): Likewise.
11378 (__ASSUME_PREADV): Likewise.
11379 (__ASSUME_PWRITEV): Likewise.
11380 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11381 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11382 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11383 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11384 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11385 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11386 (__ASSUME_O_CLOEXEC): Define unconditionally.
11387 (__ASSUME_PSELECT): Do not undefine conditionally.
11388 (__ASSUME_PPOLL): Likewise.
11389 (__ASSUME_ATFCTS): Likewise.
11390 (__ASSUME_SET_ROBUST_LIST): Likewise.
11391 (__ASSUME_UTIMENSAT): Likewise.
11392 (__ASSUME_FDATASYNC): Define unconditionally.
11393 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11394 (__ASSUME_SIGFRAME_V2): Likewise.
11395 )__ASSUME_EVENTFD2): Likewise.
11396 (__ASSUME_SIGNALFD4): Likewise.
11397 (__ASSUME_PSELECT): Do not undefine conditionally.
11398 (__ASSUME_PPOLL): Likewise.
11399 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11400 (__ASSUME_PSELECT): Define unconditionally.
11401 (__ASSUME_PPOLL): Likewise.
11402 (__ASSUME_O_CLOEXEC): Likewise.
11403 (__ASSUME_SOCK_CLOEXEC): Likewise.
11404 (__ASSUME_IN_NONBLOCK): Likewise.
11405 (__ASSUME_PIPE2): Likewise.
11406 (__ASSUME_EVENTFD2): Likewise.
11407 (__ASSUME_SIGNALFD4): Likewise.
11408 (__ASSUME_DUP3): Likewise.
11409 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11410 (__ASSUME_O_CLOEXEC): Likewise.
11411 (__ASSUME_SOCK_CLOEXEC): Likewise.
11412 (__ASSUME_IN_NONBLOCK): Likewise.
11413 (__ASSUME_PIPE2): Likewise.
11414 (__ASSUME_EVENTFD2): Likewise.
11415 (__ASSUME_SIGNALFD4): Likewise.
11416 (__ASSUME_DUP3): Likewise.
11417 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11418 (__ASSUME_EVENTFD2): Likewise.
11419 (__ASSUME_SIGNALFD4): Likewise.
11420 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11422 2014-05-12 Andreas Schwab <schwab@suse.de>
11425 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11426 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11427 than maximum RPC packet size.
11428 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11429 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11430 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11431 (_nss_nis_getservbyport_r): Likewise.
11433 2014-05-12 Will Newton <will.newton@linaro.org>
11435 * malloc/Makefile (tests): Add tst-mallopt.
11436 * malloc/tst-mallopt.c: New file.
11438 2014-05-09 Roland McGrath <roland@hack.frob.com>
11440 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11441 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11443 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11445 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11446 (tst-tlsmod6.so): Likewise.
11448 2014-05-09 Roland McGrath <roland@hack.frob.com>
11450 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11452 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11455 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11456 and <dl-procinfo.h>.
11457 (__fegetenv): Save SSE state in envp->__eip if supported.
11458 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11459 envp->__eip if supported.
11460 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11461 and <dl-procinfo.h>.
11462 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11463 __data_offset and __data_selector in environment to 0. Set SSE
11464 state if supported.
11465 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11467 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11469 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11471 2014-05-09 Will Newton <will.newton@linaro.org>
11473 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11474 and libc_relro_required for ARM.
11475 * sysdeps/arm/preconfigure: Regenerate.
11477 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11478 Stefan Liebler <stli@linux.vnet.ibm.com>
11480 * config.make.in (enable-lock-elision): New Makefile variable.
11481 * configure.ac: Likewise.
11482 * configure: Regenerate.
11483 * sysdeps/s390/configure.ac:
11484 Add check for gcc transactions support.
11485 * sysdeps/s390/configure: Regenerate.
11486 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11487 Build elision files if enabled.
11488 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11489 Add lock elision support for s390.
11490 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11491 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11492 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11493 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11494 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11495 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11496 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11498 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11500 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11502 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11504 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11505 (__lll_timedlock_elision, __lll_lock_elision)
11506 (__lll_unlock_elision, __lll_trylock_elision)
11507 (lll_timedlock_elision, lll_lock_elision)
11508 (lll_unlock_elision, lll_trylock_elision): Add.
11509 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11510 (pthread_mutex_t): Add lock elision support for s390.
11512 2014-05-14 Wilco <wdijkstr@arm.com>
11514 * sysdeps/arm/fclrexcpt.c: Cleanup.
11515 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11516 * sysdeps/arm/feenablxcpt.c: Cleanup.
11517 * sysdeps/arm/fegetenv.c: Cleanup.
11518 * sysdeps/arm/fegetexcept.c: Cleanup.
11519 * sysdeps/arm/fegetround.c: Cleanup.
11520 * sysdeps/arm/feholdexcpt.c: Cleanup.
11521 * sysdeps/arm/fesetenv.c: Cleanup.
11522 * sysdeps/arm/fesetround.c: Cleanup.
11523 * sysdeps/arm/feupdateenv.c: Cleanup.
11524 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11525 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11526 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11527 * sysdeps/arm/ftestexcept.c: Cleanup.
11528 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11529 * sysdeps/arm/setfpucw.c: Cleanup.
11531 2014-05-09 Will Newton <will.newton@linaro.org>
11533 * sysdeps/arm/armv7/strcmp.S: New file.
11534 * NEWS: Mention addition of ARMv7 optimized strcmp.
11536 2014-05-08 Roland McGrath <roland@hack.frob.com>
11538 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11539 look for %.ac rather than %.in.
11541 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11542 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11543 * sysdeps/mach/hurd/configure: Regenerated.
11544 * sysdeps/unix/sysv/linux/configure: Regenerated.
11546 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11548 2014-05-07 Steve Ellcey <sellcey@mips.com>
11551 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11555 2014-05-07 Andreas Schwab <schwab@suse.de>
11557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11558 when skipping over non-matching result from nscd.
11560 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11563 * nptl/sockperf.c (client): Check socket return value.
11566 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11567 nscd security class.
11569 2014-05-06 Roland McGrath <roland@hack.frob.com>
11571 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11572 * sysdeps/arm/unwind.h: ... here.
11574 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11577 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11580 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11582 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11583 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11584 multiarch strncpy for PPC64.
11585 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11586 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11588 multiarch optimizations.
11589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11590 (__libc_ifunc_impl_list): Likewise.
11591 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11592 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11593 multiarch stpncpy for PPC64.
11594 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11595 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11597 2014-05-06 Andreas Schwab <schwab@suse.de>
11600 * gmon/mcount.c (_MCOUNT_DECL): Use
11601 atomic_compare_and_exchange_bool_acq instead of
11602 catomic_compare_and_exchange_bool_acq.
11604 2014-05-05 Roland McGrath <roland@hack.frob.com>
11606 * elf/Makefile (others, install-bin): Remove pldd.
11607 (pldd-modules): Variable removed.
11608 ($(objpfx)pldd): Target removed.
11609 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11610 (others, install-bin): Append pldd here.
11611 ($(objpfx)pldd): New target.
11613 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11614 to 0, so the first #if test emitted later doesn't see it undefined.
11615 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11616 * sysdeps/gnu/errlist.c: Regenerated.
11618 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11620 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11621 [libc_hidden_builtin_def]: Define to empty value.
11622 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11623 [libc_hidden_builtin_def]: Likewise.
11624 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11625 [libc_hidden_builtin_def]: Likewise.
11626 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11627 [libc_hidden_builtin_def]: Likewise.
11628 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11629 __redirect_memcpy and define ifunc as default hidden symbol.
11630 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11631 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11633 2014-05-04 Adam Conrad <adconrad@0c3.net>
11635 * locale/iso-4217.def: Reintroduce XDR currency.
11637 2014-05-04 Allan McRae <allan@archlinux.org>
11639 * po/eo.po: Update Esperanto translation from translation project.
11641 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11643 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11644 and FEATURE_INDEX_MAX to 1.
11645 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11647 2014-05-01 Steve Ellcey <sellcey@mips.com>
11649 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11650 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11651 * iconvdata/big5.c (ONE_DIRECTION): Define.
11652 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11653 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11654 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11655 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11656 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11657 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11658 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11659 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11660 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11661 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11662 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11663 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11664 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11665 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11666 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11667 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11668 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11669 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11670 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11671 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11672 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11673 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11674 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11675 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11676 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11677 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11678 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11679 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11680 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11681 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11682 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11683 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11684 * iconvdata/johab.c (ONE_DIRECTION): Define.
11685 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11686 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11687 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11688 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11689 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11690 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11691 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11692 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11693 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11694 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11696 2014-05-01 Roland McGrath <roland@hack.frob.com>
11698 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11699 (_IO_JUMPS_OFFSET): Define to 0.
11701 * nptl/sysdeps/pthread/bits/libc-lock.h
11702 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11703 (__libc_lock_define_initialized_recursive): Always define using
11704 initializer. Modern compilers treat uninitialized (implicit zero) and
11705 explicit zero initializers the same (i.e. put the datum in bss).
11707 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11709 * nscd/nscd-client.h: Include <string.h>.
11711 2014-05-01 David S. Miller <davem@davemloft.net>
11714 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11715 multiple zero bytes exist at the end of a string.
11716 Reported by Aurelien Jarno <aurelien@aurel32.net>
11718 * string/test-strcmp.c (check): Add explicit test for situations where
11719 there are multiple zero bytes after the first.
11721 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11724 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11725 when compiling wprintf.
11726 * stdio-common/tstdiomisc.c (t3): New function.
11729 2014-05-01 Steve Ellcey <sellcey@mips.com>
11731 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11732 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11733 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11734 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11736 2014-05-01 Steve Ellcey <sellcey@mips.com>
11738 * stdlib/longlong.h: Updated from GCC.
11740 2014-05-01 Will Newton <will.newton@linaro.org>
11741 Bernard Ogden <bernie.ogden@linaro.org>
11743 * NEWS: Update fixed bug list.
11746 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11748 2014-04-30 David S. Miller <davem@davemloft.net>
11750 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11751 (libc_feholdexcept_setround_sparc_ctx): New function.
11752 (libc_fesetenv_sparc_ctx): Likewise.
11753 (libc_feupdateenv_sparc_ctx): Likewise.
11754 (libc_feholdsetround_sparc_ctx): Likewise.
11755 (libc_feholdexcept_setround_ctx): Define.
11756 (libc_feholdexcept_setroundf_ctx): Likewise.
11757 (libc_feholdexcept_setroundl_ctx): Likewise.
11758 (libc_fesetenv_ctx): Likewise.
11759 (libc_fesetenvf_ctx): Likewise.
11760 (libc_fesetenvl_ctx): Likewise.
11761 (libc_feupdateenv_ctx): Likewise.
11762 (libc_feupdateenvf_ctx): Likewise.
11763 (libc_feupdateenvl_ctx): Likewise.
11764 (libc_feresetround_ctx): Likewise.
11765 (libc_feresetroundf_ctx): Likewise.
11766 (libc_feresetroundl_ctx): Likewise.
11767 (libc_feholdsetround_ctx): Likewise.
11768 (libc_feholdsetroundf_ctx): Likewise.
11769 (libc_feholdsetroundl_ctx): Likewise.
11771 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11772 with __USE_GNU instead of XOPEN cpp guards.
11774 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11777 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11778 with XOPEN cpp guards.
11780 2014-04-30 Julian Brown <julian@codesourcery.com>
11783 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11786 2014-04-30 Joseph Myers <joseph@codesourcery.com>
11789 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11791 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11792 * sysdeps/unix/sysv/linux/configure: Regenerated.
11793 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11794 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11795 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11796 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11797 * README: Update reference to required Linux kernel version.
11798 * manual/install.texi (Linux): Update reference to required Linux
11799 kernel headers version.
11800 * INSTALL: Regenerated.
11802 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11804 [POSIX] (limits.h): Likewise.
11805 [POSIX] (math.h): Likewise.
11806 [POSIX] (sys/wait.h): Likewise.
11807 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11809 [POSIX] (stddef.h): Do not allow header inclusion.
11811 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11813 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11815 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11817 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11818 Return immediately after lll_futex_wake.
11820 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11823 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11825 (datahead_init_pos): Call datahead_init_common early.
11826 (datahead_init_neg): Likewise.
11828 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11829 datahead_init_neg): New functions.
11830 * nscd/aicache.c (addhstaiX): Use them.
11831 * nscd/grpcache.c (cache_addgr): Likewise.
11832 * nscd/hstcache.c (cache_addhst): Likewise.
11833 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11834 * nscd/netgroupcache.c (do_notfound): Likewise.
11835 (addgetnetgrentX): Likewise.
11836 (addinnetgrX): Likewise.
11837 * nscd/pwdcache.c (cache_addpw): Likewise.
11838 * nscd/servicescache.c (cache_addserv): Likewise.
11840 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11841 Atsushi Onoe <atsushi@onoe.org>
11846 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11847 one response is valid.
11848 * resolv/res_send.c (send_dg): Check for validity of other
11849 response if the current response is a referral.
11851 2014-04-29 Steve Ellcey <sellcey@mips.com>
11853 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11855 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11858 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11859 Always divide by positive zero when computing -Inf result.
11860 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11861 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11863 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11865 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11866 FPSCR if value do not change.
11867 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11868 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11869 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11870 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11871 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11872 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11875 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11877 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11878 * sysdeps/unix/sysv/linux/hppa: Move directory from
11879 ports/systeps/unix/sysv/linux/hppa.
11880 * README: Update listing for hppa-*-linux-gnu.
11882 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
11885 * manual/stdio.texi (Hook functions): Fix types of stream hook
11888 * socket/sys/socket.h: Fix typo in comment.
11890 2014-04-28 Wilco <wdijkstr@arm.com>
11892 * sysdeps/arm/fenv_private.h: New file.
11893 * sysdeps/arm/math_private.h: New file.
11894 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11896 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11898 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11900 (La_x86_64_retval): Likewise.
11902 2014-04-24 Ian Bolton <ian.bolton@arm.com>
11904 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11905 fpsr if value didn't change.
11906 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11907 to fpcr if value didn't change.
11908 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11909 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11910 fpsr or fpcr if value didn't change.
11911 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11912 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11913 fpcr if value didn't change.
11914 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11915 to fpsr if value didn't change.
11917 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11919 * nptl/tst-sem3.c: Use test-skeleton.c
11920 (main): Rename to do_test. Use return instead of
11922 * nptl/tst-sem4.c: Use test-skeleton.c
11923 (main): Rename to do_test.
11925 2014-04-22 David S. Miller <davem@davemloft.net>
11927 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11928 (struct sigaction): New struct member __glibc_reserved0, change
11929 type of sa_flags to int.
11931 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11933 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11934 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11936 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11938 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11939 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11941 2014-04-22 Will Newton <will.newton@linaro.org>
11942 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11944 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11945 (__longjmp): Add longjmp and longjmp_target SystemTap
11947 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11948 (__sigsetjmp): Add setjmp SystemTap probe.
11950 2014-04-17 Carlos O'Donell <carlos@redhat.com>
11952 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11953 match manual order.
11955 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11957 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11959 * sysdeps/powerpc/fpu/fenv_private.h
11960 (libc_feholdexcept_setroundl_ctx): Define to
11961 libc_feholdexcept_setround_ppc_ctx.
11962 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11963 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11964 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11965 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11967 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11969 * sysdeps/aarch64/math-tests.h: New file.
11971 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11973 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11976 Check and set bit_AVX2_Usable.
11977 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11979 (bit_AVX2): Likewise.
11980 (index_AVX2_Usable): Likewise.
11981 (CPUID_AVX2): Likewise.
11982 (HAS_AVX2): Likewise.
11984 2014-04-17 Will Newton <will.newton@linaro.org>
11986 * manual/setjmp.texi (System V contexts): Add note that
11987 calling setcontext on a context created by a call to a
11988 signal handler is undefined. Update text to note that
11989 setcontext from a signal handler is possible but not
11993 * stdlib/tst-setcontext.c: Include signal.h.
11994 (main): Check that the signal stack before and
11995 after swapcontext is the same.
11997 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11998 Re-implement to restore registers in user code and avoid
11999 rt_sigreturn system call.
12001 2014-04-17 Wilco <wdijkstr@arm.com>
12003 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12004 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12005 * math/test-fenv.c: Skip exception trap tests on targets which only
12006 support non-stop mode.
12008 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12009 Wilco Dijkstra <wilco.dijkstra@arm.com>
12011 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12012 (libc_feholdsetround_aarch64_ctx)
12013 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12014 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12015 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12016 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12017 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12018 (libc_feresetround_noexl_ctx): Define.
12020 2014-04-16 Richard Henderson <rth@redhat.com>
12022 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12024 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12027 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12028 const from the non-libc, non-ldso copy.
12030 * sysdeps/alpha/libm-test-ulps: Regenerate.
12032 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12033 Wilco Dijkstra <wilco.dijkstra@arm.com>
12035 * sysdeps/aarch64/fpu/math_private.h: New file.
12037 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12039 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12041 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12044 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12045 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12047 Intel MPX bound registers before _dl_profile_fixup.
12048 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12049 registers after _dl_profile_fixup. Save and restore bound
12050 registers bnd0/bnd1 when calling _dl_call_pltexit.
12051 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12052 (LR_BND_OFFSET): Likewise.
12053 (LRV_BND0_OFFSET): Likewise.
12054 (LRV_BND1_OFFSET): Likewise.
12056 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12058 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12060 * sysdeps/mach/hurd/i386/tls.h: ... here.
12061 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12062 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12065 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12067 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12069 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12071 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12073 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12076 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12077 * sysdeps/s390/configure: Regenerate.
12080 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12081 Set round-to-nearest internally to reduce error accumulation.
12083 2014-04-16 Alan Modra <amodra@gmail.com>
12087 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12088 * math/libm-test.inc (frexp_test_data): Add tests.
12089 * NEWS: Update fixed bug list.
12091 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12093 * benchtests/Makefile: Depend on libraries in build directory.
12094 (bench-math): Separate out math tests.
12095 (bench-pthread): Separate out pthread tests.
12096 (bench): Include math and pthread tests.
12098 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12101 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12102 _dl_debug_initialize.
12104 * configure.ac: Remove SELinux header check.
12105 * configure: Regenerate.
12106 * nscd/selinux.c (perms): Array of const char* to permission names.
12107 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12108 default policy. Call string_to_security_class and string_to_av_perm to
12109 translate strings. Enforce default policy and call avs_has_perm with
12110 results of translated strings.
12112 2014-04-13 David S. Miller <davem@davemloft.net>
12114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12116 2014-04-12 Allan McRae <allan@archlinux.org>
12119 * manual/string.texi (Collation Functions): Fix qsort argument
12121 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12123 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12125 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12126 Make the test a no-op if there are no exceptions defined.
12128 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12130 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12131 enable-hardcoded-path-in-tests
12133 2014-04-11 Will Newton <will.newton@linaro.org>
12135 * benchtests/Makefile (extra-objs): Add json-lib.o.
12136 (bench-func): Tidy up JSON output.
12137 * benchtests/bench-skeleton.c: Include json-lib.h.
12138 (main): Use JSON library functions to do output of
12140 * benchtests/bench-timing-type.c (main): Output the
12141 timing type simply, leaving formatting to the user.
12142 * benchtests/json-lib.c: New file.
12143 * benchtests/json-lib.h: Likewise.
12145 2014-04-11 Torvald Riegel <triegel@redhat.com>
12148 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12149 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12150 memory barriers. Add comments.
12151 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12152 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12153 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12154 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12155 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12156 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12158 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12160 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12161 * sysdeps/s390/s390-64/configure.ac: ... this ...
12162 * sysdeps/s390/configure.ac: ... to here.
12163 * sysdeps/s390/s390-32/configure: Delete file.
12164 * sysdeps/s390/s390-64/configure: Delete file.
12165 * sysdeps/s390/configure: Regenerate.
12167 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12169 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12171 2014-04-11 Will Newton <will.newton@linaro.org>
12173 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12174 to zero if it is not defined elsewhere. (mtrim): Test
12175 the value of MALLOC_DEBUG with #if rather than #ifdef.
12177 2014-04-10 Torvald Riegel <triegel@redhat.com>
12179 * benchtests/pthread_once-inputs: New file.
12180 * benchtests/pthread_once-source.c: New file.
12181 * benchtests/README: Update documentation.
12183 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12184 H.J. Lu <hongjiu.lu@intel.com>
12187 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12188 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12189 * sysdeps/x86_64/configure: Regenerated.
12190 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12192 (REGISTER_SAVE_RAX): Likewise.
12193 (REGISTER_SAVE_RCX): Likewise.
12194 (REGISTER_SAVE_RDX): Likewise.
12195 (REGISTER_SAVE_RSI): Likewise.
12196 (REGISTER_SAVE_RDI): Likewise.
12197 (REGISTER_SAVE_R8): Likewise.
12198 (REGISTER_SAVE_R9): Likewise.
12199 (REGISTER_SAVE_BND0): Likewise.
12200 (REGISTER_SAVE_BND1): Likewise.
12201 (REGISTER_SAVE_BND2): Likewise.
12202 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12203 bound registers when calling _dl_fixup.
12205 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12207 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12208 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12210 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12211 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12212 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12213 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12214 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12215 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12216 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12218 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12221 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12222 pathconf(_PC_NAME_MAX).
12224 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12226 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12227 Remove macro usage.
12228 (__PTHREAD_SPINS): Move definition to ...
12229 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12230 (__PTHREAD_SPINS): ... here.
12231 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12232 (__PTHREAD_SPIN): Likewise.
12233 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12234 (__PTHREAD_SPIN): Likewise.
12235 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12236 (__PTHREAD_SPIN): Likewise.
12237 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12238 (__PTHREAD_SPIN): Likewise.
12239 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12240 (__PTHREAD_SPIN): Likewise.
12241 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12242 (__PTHREAD_SPIN): Likewise.
12243 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12244 (__PTHREAD_SPIN): Likewise.
12245 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12246 (__PTHREAD_SPIN): Likewise.
12247 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12248 (__PTHREAD_SPIN): Likewise.
12249 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12250 (__PTHREAD_SPIN): Likewise.
12251 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12252 (__PTHREAD_SPIN): Likewise.
12253 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12254 (__PTHREAD_SPIN): Likewise.
12256 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12257 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12258 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12259 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12261 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12262 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12263 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12264 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12265 correct imply path.
12266 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12267 strlen symbol for non multi-arch builds.
12268 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12269 missing hidden_def and weak_alias.
12271 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12273 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12275 2014-04-07 Will Newton <will.newton@linaro.org>
12277 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12278 and contents. [!_LIBC] Remove #ifndef and contents.
12279 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12280 * string/memccpy.c (__memccpy): Use ANSI prototype.
12281 * string/memfrob.c (memfrob): Likewise.
12282 * string/strcoll.c (STRCOLL): Likewise.
12283 * string/strlen.c (strlen): Likewise.
12284 * string/strtok.c (STRTOK): Likewise.
12285 * string/strcat.c: Remove unused #include of memcopy.h.
12286 (strcat): Use ANSI prototype.
12287 * string/strchr.c: Remove unused #include of memcopy.h.
12288 (strchr): Use ANSI prototype.
12289 * string/strcmp.c: Remove unused #include of memcopy.h.
12290 (strcmp): Use ANSI prototype.
12291 * string/strcpy.c: Remove unused #include of memcopy.h.
12292 (strcpy): Use ANSI prototype.
12294 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12296 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12297 * config.make.in (config-extra-cppflags): Set it from
12298 libc_extra_cppflags.
12299 * configure.ac (libc_extra_cflags): Make it accumulate over
12300 configure fragments.
12301 (libc_extra_cppflags): New flag.
12302 * configure. Regenerate.
12303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12304 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12305 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12309 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12310 result for FE_DOWNWARD rounding mode.
12311 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12315 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12317 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12318 in function argument name.
12320 2014-04-03 David Svoboda <svoboda@cert.org>
12323 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12326 2014-04-03 Roland McGrath <roland@hack.frob.com>
12328 * elf/dl-unmap-segments.h: New file.
12329 * sysdeps/generic/ldsodefs.h
12330 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12331 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12332 * elf/dl-fptr.c: Likewise.
12333 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12334 * sysdeps/aarch64/tlsdesc.c: Likewise.
12335 * sysdeps/arm/tlsdesc.c: Likewise.
12336 * sysdeps/i386/tlsdesc.c: Likewise.
12337 * sysdeps/tile/dl-runtime.c: Likewise.
12338 * sysdeps/x86_64/tlsdesc.c: Likewise.
12339 * elf/dl-load.h: New file.
12340 * elf/dl-load.c: Include it.
12341 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12342 Macros moved to dl-load.h.
12343 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12344 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12345 Use _dl_unmap_segments in place of __munmap.
12346 Break out segment-mapping loop into ...
12347 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12349 2014-04-03 Will Newton <will.newton@linaro.org>
12351 * elf/dl-lookup.c (do_lookup_x): Remove comment
12352 referring to nested function and move variable
12353 declarations down to before first use.
12355 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12359 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12361 * math/s_catanf.c (__catanf): Likewise.
12362 * math/s_catanh.c (__catanh): Likewise.
12363 * math/s_catanhf.c (__catanhf): Likewise.
12364 * math/s_catanhl.c (__catanhl): Likewise.
12365 * math/s_catanl.c (__catanl): Likewise.
12366 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12367 by positive zero when computing -Inf result.
12368 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12369 (catanh_test): Likewise.
12370 * sysdeps/i386/fpu/libm-test-ulps: Update.
12371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12374 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12375 instead of using underflowing value in computing result.
12376 * math/s_clog10.c (__clog10): Likewise.
12377 * math/s_clog10f.c (__clog10f): Likewise.
12378 * math/s_clog10l.c (__clog10l): Likewise.
12379 * math/s_clogf.c (__clogf): Likewise.
12380 * math/s_clogl.c (__clogl): Likewise.
12381 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12382 (clog10_test): Likewise.
12383 * sysdeps/i386/fpu/libm-test-ulps: Update.
12384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12386 2014-04-02 Alan Modra <amodra@gmail.com>
12389 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12390 output when value is near a power of two. Use int64_t for lx and
12391 remove casts. Use decimal rather than hex exponent constants.
12392 Don't use long double multiplication when double will suffice.
12393 * math/libm-test.inc (nextafter_test_data): Add tests.
12394 * NEWS: Add 16739 and 16786 to bug list.
12396 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12398 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12400 2014-04-01 Will Newton <will.newton@linaro.org>
12402 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12403 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12405 2014-04-01 Florian Weimer <fweimer@redhat.com>
12408 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12409 * nptl/tst-setuid2.c: New file.
12410 * nptl/Makefile (xtests): Add tst-setuid2.
12412 2014-04-01 Alan Modra <amodra@gmail.com>
12415 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12417 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12421 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12422 set errno as appropriate.
12423 * math/w_scalbf.c (__scalbf): Likewise.
12424 * math/w_scalbl.c (__scalbl): Likewise.
12425 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12426 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12427 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12428 Add more NaN tests.
12431 * math/w_atan2.c: Include <errno.h>.
12432 (__atan2): Set errno for result underflowing to zero.
12433 * math/w_atan2f.c: Include <errno.h>.
12434 (__atan2f): Set errno for result underflowing to zero.
12435 * math/w_atan2l.c: Include <errno.h>.
12436 (__atan2l): Set errno for result underflowing to zero.
12437 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12439 * math/auto-libm-test-out: Regenerated.
12441 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12443 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12444 Encode instruction correctly in little endian.
12445 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12447 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12449 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12451 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12454 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12457 * sysdeps/unix/sysv/linux/kernel-features.h
12458 [__sparc__ && !__arch64__ && !__sparc_v9__]
12459 (__ASSUME_SET_ROBUST_LIST): Do not define.
12460 [__sparc__ && !__arch64__ && !__sparc_v9__]
12461 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12462 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12464 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12465 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12466 (__ASSUME_REQUEUE_PI): Likewise.
12467 (__ASSUME_SET_ROBUST_LIST): Likewise.
12468 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12469 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12471 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12472 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12474 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12476 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12478 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12479 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12481 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12482 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12486 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12487 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12488 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12490 2014-03-31 Will Newton <will.newton@linaro.org>
12492 * benchtests/Makefile (bench): Add ffs and ffsll to list
12494 * benchtests/ffs-inputs: New file.
12495 * benchtests/ffsll-inputs: Likewise.
12497 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12500 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12501 too large before casting to int.
12502 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12503 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12504 * math/libm-test.inc (scalb_test_data): Add more tests.
12506 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12508 * benchtests/Makefile (DETAILED_OPT): New make option.
12509 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12511 * benchtests/bench-skeleton.c: Include stdbool.h.
12512 (main): Store and print timings per input.
12513 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12514 member to each argument value.
12515 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12516 (_print_arg_data): Initialize per-input timing to 0.
12518 * benchtests/Makefile (timing-type): New binary.
12519 (bench-clean): Also remove bench-timing-type.
12520 (bench): New target for timing-type.
12521 (bench-func): Print output in JSON format.
12522 * benchtests/bench-skeleton.c (main): Print output in JSON
12524 * benchtests/bench-timing-type.c: New file.
12525 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12526 (TIMING_PRINT_STATS): Remove.
12527 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12530 * benchtests/bench-modf.c: Remove.
12531 * benchtests/modf-inputs: New inputs file.
12533 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12536 * math/s_clog10.c (M_PI_LOG10E): New macro.
12537 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12538 imaginary parts are 0.
12539 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12540 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12541 imaginary parts are 0.
12542 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12543 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12544 imaginary parts are 0.
12545 * math/libm-test.inc (clog10_test_data): Update expected results
12546 for when real and imaginary parts are 0.
12548 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12550 * elf/dl-load.c: Finish conversion of __builtin_expect into
12551 __glibc_{un}likely.
12553 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12556 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12557 1+x for argument with exponent below -67.
12558 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12560 * math/auto-libm-test-in: Add more tests of exp.
12561 * math/auto-libm-test-out: Regenerated.
12563 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12566 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12567 (nscd_getnetgrent): Use it.
12570 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12573 2014-03-27 Andi Kleen <ak@linux.intel.com>
12575 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12576 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12577 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12578 (lll_robust_unlock): Remove out of line section. Use cfi
12580 (LLL_STUB_UNWIND_INFO*): Remove.
12581 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12582 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12583 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12584 (lll_robust_unlock): Remove out of line section. Use cfi
12586 (LLL_STUB_UNWIND_INFO*): Remove.
12588 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12591 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12594 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12596 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12598 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12601 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12603 * math/test-fenv-preserve.c: New file.
12604 * math/Makefile (tests): Add test-fenv-preserve.
12606 2014-03-26 Will Newton <will.newton@linaro.org>
12608 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12610 2014-03-25 Roland McGrath <roland@hack.frob.com>
12612 * scripts/versionlist.awk: Partition the version sets and emit all
12613 GLIBC_* (sorted) before all others (sorted).
12615 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12617 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12618 GLIBC_2.2.5 version.
12620 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12622 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12625 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12630 2014-03-25 Andreas Schwab <schwab@suse.de>
12632 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12633 label to be used after in6ailist is initialized.
12635 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12637 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12638 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12640 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12644 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12646 (fp_formats): Update initializers.
12647 (init_fp_formats): Initialize new field.
12648 (output_for_one_input_case): Allow underflow for results up to
12650 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12651 * math/auto-libm-test-in: Don't mark some underflows from asin and
12653 * math/auto-libm-test-out: Regenerated.
12654 * sysdeps/i386/fpu/libm-test-ulps: Update.
12655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12657 2014-03-25 Andreas Schwab <schwab@suse.de>
12659 * libio/Makefile (tst-ftell-partial-wide-ENV)
12660 (tst-ftell-active-handler-ENV): Define.
12662 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12664 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12666 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12668 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12670 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12672 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12673 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12674 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12676 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12679 * elf/dl-load.c (open_verify): Add mode parameter.
12680 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12681 (open_path): Change from boolean 'secure' to complete flag 'mode'
12682 (_dl_map_object): Adjust.
12683 * elf/Makefile (tests): Add tst-dlopen-aout.
12684 * elf/tst-dlopen-aout.c: New test.
12686 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12689 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12690 (struct stat): Rename member pad0 to __glibc_reserved0.
12693 * sysdeps/s390/s390-32/bits/wordsize.h
12694 (__WORDSIZE32_SIZE_ULONG): New define.
12695 * sysdeps/s390/s390-64/bits/wordsize.h
12696 (__WORDSIZE32_SIZE_ULONG): Likewise.
12697 * sysdeps/generic/stdint.h (SIZE_MAX):
12698 Define as UL if __WORDSIZE32_SIZE_ULONG.
12701 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12702 (__glibc_reserved0): New variable.
12703 (sa_flags): Change type to int.
12705 * posix/Makefile (before-compile): Use += before-compile instead
12708 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12709 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12711 2014-03-20 Andreas Schwab <schwab@suse.de>
12714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12715 non-matching result from nscd.
12717 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12719 * scripts/bench.py: Moved to ...
12720 * benchtests/scripts/bench.py: ... here.
12721 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12723 2014-03-24 Andreas Schwab <schwab@suse.de>
12726 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12727 alloca_account and account alloca use for struct in6ailist.
12729 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12732 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12733 rounding mode to recompute results that overflow to infinity or
12735 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12737 * math/auto-libm-test-out: Regenerated.
12738 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12739 (ccosh_test): Likewise.
12740 (csin_test_data): Use plus_oflow.
12741 (csin_test): Use ALL_RM_TEST.
12742 (csinh_test_data): Use plus_oflow.
12743 (csinh_test): Use ALL_RM_TEST.
12744 * sysdeps/i386/fpu/libm-test-ulps: Update.
12745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12747 2014-03-21 Joseph Myers <joseph@codesourcery.com>
12749 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12750 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12751 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12754 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12755 when x - 1 is zero.
12756 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12757 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12758 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12759 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12761 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12762 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12764 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12765 * sysdeps/i386/fpu/libm-test-ulps: Update.
12766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12768 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12770 * scripts/bench.pl: Remove file.
12771 * scripts/bench.py: New benchmark script.
12772 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12773 * benchtests/README: Mention python dependency.
12774 * scripts/pylintrc: New file.
12775 * scripts/pylint: New file.
12777 * bits/mathdef.h: Use #ifdef instead of #if.
12778 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12779 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12780 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12781 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12782 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12783 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12785 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12786 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12788 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12790 and strpbrk-ppc64 objects.
12791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12792 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12793 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12794 multiarch strpbrk for POWER7.
12795 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12796 multiarch strpbrk for PPC64.
12797 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12799 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12800 strpbrk for POWER7.
12802 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12804 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12805 (atan_test): Likewise.
12806 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12807 (atanh_test): Use ALL_RM_TEST.
12808 (atan2_test_data): Likewise.
12809 (cabs_test): Likewise.
12810 (cacosh_test): Likewise.
12811 (carg_test): Likewise.
12812 (casin_test): Likewise.
12813 (casinh_test): Likewise.
12814 (cbrt_test): Likewise.
12815 (csqrt_test): Likewise.
12816 (erf_test): Likewise.
12817 (erfc_test): Likewise.
12818 (pow10_test): Likewise.
12819 (exp2_test): Likewise.
12820 (hypot_test): Likewise.
12821 (j0_test): Likewise.
12822 (j1_test): Likewise.
12823 (lgamma_test): Likewise.
12824 (gamma_test): Likewise.
12825 (sincos_test): Likewise.
12826 (tanh_test): Likewise.
12827 (y0_test): Likewise.
12828 (y1_test): Likewise.
12829 * sysdeps/i386/fpu/libm-test-ulps: Update.
12830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12832 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12834 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12836 and strcspn-ppc64 objects.
12837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12838 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12839 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12840 multiarch strcspn for POWER7.
12841 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12842 multiarch strcspn for PPC64.
12843 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12845 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12846 strcspn for POWER7.
12848 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12850 * math/gen-libm-test.pl (generate_testfile): Expect only function
12851 name as argument to AUTO_TESTS_* and pass results for all rounding
12852 modes to parse_args.
12853 (parse_auto_input): Separate inputs of automatic tests from
12854 outputs before storing in %auto_tests.
12855 * math/libm-test.inc (acos_test_data): Update call to
12857 (acos_test): Use ALL_RM_TEST.
12858 (acos_tonearest_test_data): Remove.
12859 (acos_test_tonearest): Likewise.
12860 (acos_towardzero_test_data): Likewise.
12861 (acos_test_towardzero): Likewise.
12862 (acos_downward_test_data): Likewise.
12863 (acos_test_downward): Likewise.
12864 (acos_upward_test_data): Likewise.
12865 (acos_test_upward): Likewise.
12866 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12867 (asin_test_data): Likewise.
12868 (asin_test): Use ALL_RM_TEST.
12869 (asin_tonearest_test_data): Remove.
12870 (asin_test_tonearest): Likewise.
12871 (asin_towardzero_test_data): Likewise.
12872 (asin_test_towardzero): Likewise.
12873 (asin_downward_test_data): Likewise.
12874 (asin_test_downward): Likewise.
12875 (asin_upward_test_data): Likewise.
12876 (asin_test_upward): Likewise.
12877 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12878 (atan_test_data): Likewise.
12879 (atanh_test_data): Likewise.
12880 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12881 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12882 (carg_test_data): Likewise.
12883 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12884 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12885 (ccosh_test_data): Likewise.
12886 (cexp_test_data): Likewise.
12887 (clog_test_data): Likewise.
12888 (clog10_test_data): Likewise.
12889 (cos_test_data): Update call to AUTO_TESTS_f_f.
12890 (cos_test): Use ALL_RM_TEST.
12891 (cos_tonearest_test_data): Remove.
12892 (cos_test_tonearest): Likewise.
12893 (cos_towardzero_test_data): Likewise.
12894 (cos_test_towardzero): Likewise.
12895 (cos_downward_test_data): Likewise.
12896 (cos_test_downward): Likewise.
12897 (cos_upward_test_data): Likewise.
12898 (cos_test_upward): Likewise.
12899 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12900 (cosh_test): Use ALL_RM_TEST.
12901 (cosh_tonearest_test_data): Remove.
12902 (cosh_test_tonearest): Likewise.
12903 (cosh_towardzero_test_data): Likewise.
12904 (cosh_test_towardzero): Likewise.
12905 (cosh_downward_test_data): Likewise.
12906 (cosh_test_downward): Likewise.
12907 (cosh_upward_test_data): Likewise.
12908 (cosh_test_upward): Likewise.
12909 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12910 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12911 (ctan_test_data): Likewise.
12912 (ctan_test): Use ALL_RM_TEST.
12913 (ctan_tonearest_test_data): Remove.
12914 (ctan_test_tonearest): Likewise.
12915 (ctan_towardzero_test_data): Likewise.
12916 (ctan_test_towardzero): Likewise.
12917 (ctan_downward_test_data): Likewise.
12918 (ctan_test_downward): Likewise.
12919 (ctan_upward_test_data): Likewise.
12920 (ctan_test_upward): Likewise.
12921 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12922 (ctanh_test): Use ALL_RM_TEST.
12923 (ctanh_tonearest_test_data): Remove.
12924 (ctanh_test_tonearest): Likewise.
12925 (ctanh_towardzero_test_data): Likewise.
12926 (ctanh_test_towardzero): Likewise.
12927 (ctanh_downward_test_data): Likewise.
12928 (ctanh_test_downward): Likewise.
12929 (ctanh_upward_test_data): Likewise.
12930 (ctanh_test_upward): Likewise.
12931 (erf_test_data): Update call to AUTO_TESTS_f_f.
12932 (erfc_test_data): Likewise.
12933 (exp_test_data): Likewise.
12934 (exp_test): Use ALL_RM_TEST.
12935 (exp_tonearest_test_data): Remove.
12936 (exp_test_tonearest): Likewise.
12937 (exp_towardzero_test_data): Likewise.
12938 (exp_test_towardzero): Likewise.
12939 (exp_downward_test_data): Likewise.
12940 (exp_test_downward): Likewise.
12941 (exp_upward_test_data): Likewise.
12942 (exp_test_upward): Likewise.
12943 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12944 (exp10_test): Use ALL_RM_TEST.
12945 (exp10_tonearest_test_data): Remove.
12946 (exp10_test_tonearest): Likewise.
12947 (exp10_towardzero_test_data): Likewise.
12948 (exp10_test_towardzero): Likewise.
12949 (exp10_downward_test_data): Likewise.
12950 (exp10_test_downward): Likewise.
12951 (exp10_upward_test_data): Likewise.
12952 (exp10_test_upward): Likewise.
12953 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12954 (expm1_test_data): Likewise.
12955 (expm1_test): Use ALL_RM_TEST.
12956 (expm1_tonearest_test_data): Remove.
12957 (expm1_test_tonearest): Likewise.
12958 (expm1_towardzero_test_data): Likewise.
12959 (expm1_test_towardzero): Likewise.
12960 (expm1_downward_test_data): Likewise.
12961 (expm1_test_downward): Likewise.
12962 (expm1_upward_test_data): Likewise.
12963 (expm1_test_upward): Likewise.
12964 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12965 (fma_test): Use ALL_RM_TEST.
12966 (fma_towardzero_test_data): Remove.
12967 (fma_test_towardzero): Likewise.
12968 (fma_downward_test_data): Likewise.
12969 (fma_test_downward): Likewise.
12970 (fma_upward_test_data): Likewise.
12971 (fma_test_upward): Likewise.
12972 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12973 (j0_test_data): Update call to AUTO_TESTS_f_f.
12974 (j1_test_data): Likewise.
12975 (jn_test_data): Update call to AUTO_TESTS_if_f.
12976 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12977 (log_test_data): Update call to AUTO_TESTS_f_f.
12978 (log10_test_data): Likewise.
12979 (log1p_test_data): Likewise.
12980 (log2_test_data): Likewise.
12981 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12982 (pow_tonearest_test_data): Likewise.
12983 (sin_test_data): Update call to AUTO_TESTS_f_f.
12984 (sin_test): Use ALL_RM_TEST.
12985 (sin_tonearest_test_data): Remove.
12986 (sin_test_tonearest): Likewise.
12987 (sin_towardzero_test_data): Likewise.
12988 (sin_test_towardzero): Likewise.
12989 (sin_downward_test_data): Likewise.
12990 (sin_test_downward): Likewise.
12991 (sin_upward_test_data): Likewise.
12992 (sin_test_upward): Likewise.
12993 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12994 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12995 (sinh_test): Use ALL_RM_TEST.
12996 (sinh_tonearest_test_data): Remove.
12997 (sinh_test_tonearest): Likewise.
12998 (sinh_towardzero_test_data): Likewise.
12999 (sinh_test_towardzero): Likewise.
13000 (sinh_downward_test_data): Likewise.
13001 (sinh_test_downward): Likewise.
13002 (sinh_upward_test_data): Likewise.
13003 (sinh_test_upward): Likewise.
13004 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13005 (sqrt_test): Use ALL_RM_TEST.
13006 (sqrt_tonearest_test_data): Remove.
13007 (sqrt_test_tonearest): Likewise.
13008 (sqrt_towardzero_test_data): Likewise.
13009 (sqrt_test_towardzero): Likewise.
13010 (sqrt_downward_test_data): Likewise.
13011 (sqrt_test_downward): Likewise.
13012 (sqrt_upward_test_data): Likewise.
13013 (sqrt_test_upward): Likewise.
13014 (tan_test_data): Update call to AUTO_TESTS_f_f.
13015 (tan_test): Use ALL_RM_TEST.
13016 (tan_tonearest_test_data): Remove.
13017 (tan_test_tonearest): Likewise.
13018 (tan_towardzero_test_data): Likewise.
13019 (tan_test_towardzero): Likewise.
13020 (tan_downward_test_data): Likewise.
13021 (tan_test_downward): Likewise.
13022 (tan_upward_test_data): Likewise.
13023 (tan_test_upward): Likewise.
13024 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13025 (tgamma_test_data): Likewise.
13026 (y0_test_data): Likewise.
13027 (y1_test_data): Likewise.
13028 (yn_test_data): Update call to AUTO_TESTS_if_f.
13029 (main): Do not call removed functions.
13031 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13033 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13034 (ldexp_test_data): Remove.
13035 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13037 (scalb_test): Use ALL_RM_TEST.
13039 2014-03-19 Andreas Schwab <schwab@suse.de>
13041 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13043 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13046 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13047 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13048 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13049 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13050 (__ASSUME_PREADV): Undefine.
13051 (__ASSUME_PWRITEV): Likewise.
13053 2014-03-18 Roland McGrath <roland@hack.frob.com>
13055 * bits/mman-linux.h: Add comment about non-Linux use.
13056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13057 bits/mman-linux.h resting place.
13059 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13060 * bits/mman-linux.h: ... here.
13062 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13064 * conform/conformtest.pl: Add standard definition when calling C
13065 preprocessor on data files.
13066 (checknamespace): Remove unused variable.
13068 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13070 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13071 minus_oflow, plus_uflow and minus_uflow in expected results.
13072 * math/libm-test.inc (scalbn_test_data): Add more tests of
13073 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13075 (scalbn_test): Use ALL_RM_TEST.
13076 (scalbln_test_data): Add more tests of negative arguments. Use
13077 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13078 (scalbln_test): Use ALL_RM_TEST.
13080 2014-03-18 Roland McGrath <roland@hack.frob.com>
13082 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13084 2014-03-18 Will Newton <will.newton@linaro.org>
13086 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13087 inaccurate comment.
13089 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13091 * Makerules [!subdir] (check-abi): Exit with error status if a
13094 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13096 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13097 for rint. Include results for all rounding modes.
13098 (nearbyint_test): Use ALL_RM_TEST.
13099 (rint_test_data): Include all tests used for nearbyint.
13101 2014-03-17 Will Newton <will.newton@linaro.org>
13103 * nptl/sysdeps/pthread/pthread.h: Revert previous
13106 * sysdeps/generic/ldsodefs.h: Revert previous
13109 * libio/genops.c: Revert previous change.
13110 * libio/libioP.h: Likewise.
13111 * stdio-common/vfprintf.c: Likewise.
13113 * sysdeps/generic/math_private.h: Revert previous
13116 * sysdeps/generic/math_private.h: Check whether
13117 HAVE_RM_CTX is defined with #ifdef rather
13120 * argp/argp-fmtstream.h: Check whether
13121 __STRICT_ANSI__ is defined with #ifdef rather
13123 * argp/argp.h: Likewise.
13125 * libio/genops.c: Check whether
13126 _IO_JUMPS_OFFSET is defined with #ifdef rather
13128 * libio/libioP.h: Likewise.
13129 * stdio-common/vfprintf.c: Likewise.
13131 * sysdeps/generic/ldsodefs.h: Check whether
13132 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13135 * nptl/sysdeps/pthread/pthread.h: Check
13136 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13139 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13141 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13143 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13147 * libio/fileops.c (_IO_file_open): Seek to end of file but
13148 don't cache the offset.
13149 (get_file_offset): Remove function.
13150 (do_ftell): Use cached offset when available.
13151 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13152 don't cache the offset.
13153 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13155 (do_one_test): Call it.
13156 (do_ftell_test): Fix up expected old offset for a+ mode.
13157 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13160 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13161 up test status with function return status.
13162 (do_write_test): Likewise.
13163 (do_append_test): Likewise.
13165 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13166 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13169 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13171 * math/gen-libm-test.pl (parse_args): Handle results specified for
13172 each rounding mode separately.
13173 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13174 tests and results from lrint_tonearest_test_data,
13175 lrint_towardzero_test_data, lrint_downward_test_data and
13176 lrint_upward_test_data.
13177 (lrint_test): Use ALL_RM_TEST.
13178 (lrint_tonearest_test_data): Remove.
13179 (lrint_test_tonearest): Likewise.
13180 (lrint_towardzero_test_data): Likewise.
13181 (lrint_test_towardzero): Likewise.
13182 (lrint_downward_test_data): Likewise.
13183 (lrint_test_downward): Likewise.
13184 (lrint_upward_test_data): Likewise.
13185 (lrint_test_upward): Likewise.
13186 (llrint_test_data): Merge in per-rounding-mode tests and results
13187 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13188 llrint_downward_test_data and llrint_upward_test_data.
13189 (llrint_test): Use ALL_RM_TEST.
13190 (llrint_tonearest_test_data): Remove.
13191 (llrint_test_tonearest): Likewise.
13192 (llrint_towardzero_test_data): Likewise.
13193 (llrint_test_towardzero): Likewise.
13194 (llrint_downward_test_data): Likewise.
13195 (llrint_test_downward): Likewise.
13196 (llrint_upward_test_data): Likewise.
13197 (llrint_test_upward): Likewise.
13198 (rint_test_data): Merge in per-rounding-mode tests and results
13199 from rint_tonearest_test_data, rint_towardzero_test_data,
13200 rint_downward_test_data and rint_upward_test_data. Add
13201 per-rounding-mode results for tests not in those arrays.
13202 (rint_test): Use ALL_RM_TEST.
13203 (rint_tonearest_test_data): Remove.
13204 (rint_test_tonearest): Likewise.
13205 (rint_towardzero_test_data): Likewise.
13206 (rint_test_towardzero): Likewise.
13207 (rint_downward_test_data): Likewise.
13208 (rint_test_downward): Likewise.
13209 (rint_upward_test_data): Likewise.
13210 (rint_test_upward): Likewise.
13211 (main): Don't call removed functions.
13213 2014-03-14 Roland McGrath <roland@hack.frob.com>
13215 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13216 "Compiled on ..." crapola. It is anti-useful.
13218 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13220 * scripts/evaluate-test.sh: Handle fourth argument to determine
13221 whether test run should stop on failure.
13222 * Makeconfig (stop-on-test-failure): New variable.
13223 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13224 $(stop-on-test-failure).
13225 * Makefile (tests): Give a summary of results from testing and
13226 exit with failure status if they include an ERROR or FAIL.
13227 (xtests): Likewise.
13228 * manual/install.texi (Configuring and compiling): Mention
13229 stop-on-test-failure=y.
13230 * INSTALL: Regenerated.
13232 2014-03-14 Roland McGrath <roland@hack.frob.com>
13234 * scripts/versionlist.awk: New file.
13235 * Makerules [$(build-shared) = yes]
13236 (postclean-generated): Add Versions.def, not Versions.def.v and
13238 ($(common-objpfx)Versions.def.v.i): Target removed.
13239 ($(common-objpfx)Versions.def): New target.
13240 ($(common-objpfx)Versions.all): Depend on that rather that
13241 $(common-objpfx)Versions.def.v.
13242 * Versions.def: File removed.
13244 * Makeconfig (+gccwarn): Add -Wundef.
13245 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13246 a dl-sysdep.h breaking its contract.
13247 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13248 * include/stackinfo.h: New file.
13249 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13250 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13251 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13252 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13253 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13254 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13255 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13256 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13257 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13258 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13259 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13260 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13261 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13262 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13263 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13265 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13268 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13270 * math/libm-test.inc (round_test_data): Add more tests.
13273 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13275 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13278 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13280 * math/libm-test.inc (ceil_test_data): Add more tests.
13282 * math/libm-test.inc (trunc_test_data): Add more tests related to
13285 2014-03-14 Roland McGrath <roland@hack.frob.com>
13287 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13288 with #if rather than #ifdef.
13289 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13291 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13293 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13294 first. Disable AVX-512 GCC support if assembler doesn't support
13296 * sysdeps/x86_64/configure: Regenerated.
13298 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13300 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13301 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13302 (__old_pthread_attr_setstack): Likewise.
13303 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13304 [!_STACK_GROWS_DOWN]: Likewise.
13306 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13308 * config.make.in (have-bash2): Delete.
13309 * configure.ac (libc_cv_have_bash2): Delete.
13310 * configure: Regenerate.
13311 * elf/Makefile (common-ldd-rewrite): Rename to ...
13312 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13313 (sh-ldd-rewrite): Delete.
13314 (bash-ldd-rewrite): Delete.
13315 (have-bash2): Delete checks.
13316 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13319 * config.make.in (have-ksh): Delete.
13321 * configure.ac (libc_cv_have_ksh): Delete.
13322 * configure: Regenerate.
13324 * elf/Makefile: Delete $(have-ksh) check.
13325 ($(objpfx)sotruss): Change KSH to BASH.
13326 * elf/sotruss.ksh: Rename to ...
13327 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13328 function style to match POSIX. Drop ksh vim mode setting.
13330 * manual/time.texi (Specifying the Time Zone with TZ): Change
13331 Tuesday to Thursday.
13333 * debug/tst-longjmp_chk2.c: Update header comment.
13334 (stackoverflow_handler): Add comment. Call assert on pass value.
13336 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13339 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13340 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13341 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13342 (La_x86_64_vector): Add zmm.
13343 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13344 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13345 ($(objpfx)tst-audit10): New target.
13346 ($(objpfx)tst-audit10.out): Likewise.
13347 (tst-audit10-ENV): New.
13348 (AVX512-CFLAGS): Likewise.
13349 (CFLAGS-tst-audit10.c): Likewise.
13350 (CFLAGS-tst-auditmod10a.c): Likewise.
13351 (CFLAGS-tst-auditmod10b.c): Likewise.
13352 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13353 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13354 * sysdeps/x86_64/configure: Regenerated.
13355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13356 AVX-512 zmm register support.
13357 (_dl_x86_64_save_sse): Likewise.
13358 (_dl_x86_64_restore_sse): Likewise.
13359 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13360 size vector registers.
13361 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13362 (ZMM_SIZE): Likewise.
13363 * sysdeps/x86_64/tst-audit10.c: New file.
13364 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13365 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13367 2014-03-13 Roland McGrath <roland@hack.frob.com>
13369 * configure.ac (HAVE_EHDR_START): New check.
13370 * configure: Regenerated.
13371 * config.h.in (HAVE_EHDR_START): New #undef.
13372 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13373 assuming the lowest-addressed segment maps the start of the file.
13375 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13377 * INSTALL: Regenerated.
13379 2014-03-13 Will Newton <will.newton@linaro.org>
13381 * manual/setjmp.texi (System V contexts): Improve
13382 clarity and grammar of documentation.
13384 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13387 * elf/Makefile (tests): Add tst-pie2.
13388 (tests-pie): Add tst-pie2.
13389 * elf/tst-pie2.c: New file.
13390 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13392 * elf/rtld.c (map_doit): Load executable as lt_executable.
13393 (dl_main): Likewise.
13395 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13398 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13399 (__ASSUME_PSELECT): Undefine.
13401 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13404 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13405 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13407 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13408 selector for static builds.
13410 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13413 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13416 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13418 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13419 IFUNC selector for static builds.
13421 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13423 * sysdeps/mips/math_private.h [__mips_hard_float]
13424 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13425 libc_feresetround_mips_ctx.
13426 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13427 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13428 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13431 * math/s_nextafter.c (__nextafter): Do not return value from
13432 overflowing computation.
13433 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13434 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13435 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13437 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13439 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13440 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13442 2014-03-11 Roland McGrath <roland@hack.frob.com>
13444 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13445 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13446 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13447 the new mov targetting sp.
13449 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13452 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13453 Define it for static builds as well.
13454 (NO_BZERO_IMPL): Likewise.
13456 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13458 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13459 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13460 multiarch strspn for PPC64.
13461 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13462 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13464 (__libc_ifunc_impl_list): Likewise.
13465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13466 multiarch optimizations
13467 * string/strspn.c (strspn): Using macro to redefine symbol name.
13469 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13470 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13472 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13473 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13474 multiarch strncat for PPC64.
13475 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13476 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13478 (__libc_ifunc_impl_list): Likewise.
13479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13480 multiarch optimizations
13482 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13485 * nscd/nscd.service: Make service type forking.
13487 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13489 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13490 sign in non default rounding modes.
13491 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13493 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13495 * math/libm-test.inc (ALL_RM_TEST): New macro.
13496 (ceil_test): Use ALL_RM_TEST.
13497 (cimag_test): Likewise.
13498 (conj_test): Likewise.
13499 (copysign_test): Likewise.
13500 (cproj_test): Likewise.
13501 (creal_test): Likewise.
13502 (fabs_test): Likewise.
13503 (floor_test): Likewise.
13504 (fmax_test): Likewise.
13505 (fmin_test): Likewise.
13506 (fmod_test): Likewise.
13507 (fpclassify_test): Likewise.
13508 (frexp_test): Likewise.
13509 (ilogb_test): Likewise.
13510 (isfinite_test): Likewise.
13511 (finite_test): Likewise.
13512 (isgreater_test): Likewise.
13513 (isgreaterequal_test): Likewise.
13514 (isinf_test): Likewise.
13515 (isless_test): Likewise.
13516 (islessequal_test): Likewise.
13517 (islessgreater_test): Likewise.
13518 (isnan_test): Likewise.
13519 (isnormal_test): Likewise.
13520 (issignaling_test): Likewise.
13521 (isunordered_test): Likewise.
13522 (logb_test): Likewise.
13523 (logb_downward_test_data): Remove.
13524 (logb_test_downward): Likewise.
13525 (lround_test): Use ALL_RM_TEST.
13526 (llround_test): Likewise.
13527 (modf_test): Likewise.
13528 (nexttoward_test): Likewise.
13529 (remainder_test): Likewise.
13530 (drem_test): Likewise.
13531 (remainder_tonearest_test_data): Likewise.
13532 (remainder_test_tonearest): Likewise.
13533 (drem_test_tonearest): Likewise.
13534 (remainder_towardzero_test_data): Likewise.
13535 (remainder_test_towardzero): Likewise.
13536 (drem_test_towardzero): Likewise.
13537 (remainder_downward_test_data): Likewise.
13538 (remainder_test_downward): Likewise.
13539 (drem_test_downward): Likewise.
13540 (remainder_upward_test_data): Likewise.
13541 (remainder_test_upward): Likewise.
13542 (drem_test_upward): Likewise.
13543 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13544 (round_test): Use ALL_RM_TEST.
13545 (signbit_test): Likewise.
13546 (trunc_test): Likewise.
13547 (significand_test): Likewise.
13548 (main): Don't call removed functions.
13550 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13553 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13554 || __USE_XOPEN2K8].
13555 (ILL_ILLOPN): Likewise.
13556 (ILL_ILLADR): Likewise.
13557 (ILL_ILLTRP): Likewise.
13558 (ILL_PRVOPC): Likewise.
13559 (ILL_PRVREG): Likewise.
13560 (ILL_COPROC): Likewise.
13561 (ILL_BADSTK): Likewise.
13562 (FPE_INTDIV): Likewise.
13563 (FPE_INTOVF): Likewise.
13564 (FPE_FLTDIV): Likewise.
13565 (FPE_FLTOVF): Likewise.
13566 (FPE_FLTUND): Likewise.
13567 (FPE_FLTRES): Likewise.
13568 (FPE_FLTINV): Likewise.
13569 (FPE_FLTSUB): Likewise.
13570 (SEGV_MAPERR): Likewise.
13571 (SEGV_ACCERR): Likewise.
13572 (BUS_ADRALN): Likewise.
13573 (BUS_ADRERR): Likewise.
13574 (BUS_OBJERR): Likewise.
13575 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13576 (TRAP_TRACE): Likewise.
13577 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13579 (CLD_KILLED): Likewise.
13580 (CLD_DUMPED): Likewise.
13581 (CLD_TRAPPED): Likewise.
13582 (CLD_STOPPED): Likewise.
13583 (CLD_CONTINUED): Likewise.
13584 (POLL_IN): Likewise.
13585 (POLL_OUT): Likewise.
13586 (POLL_MSG): Likewise.
13587 (POLL_ERR): Likewise.
13588 (POLL_PRI): Likewise.
13589 (POLL_HUP): Likewise.
13590 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13592 (ILL_ILLOPN): Likewise.
13593 (ILL_ILLADR): Likewise.
13594 (ILL_ILLTRP): Likewise.
13595 (ILL_PRVOPC): Likewise.
13596 (ILL_PRVREG): Likewise.
13597 (ILL_COPROC): Likewise.
13598 (ILL_BADSTK): Likewise.
13599 (FPE_INTDIV): Likewise.
13600 (FPE_INTOVF): Likewise.
13601 (FPE_FLTDIV): Likewise.
13602 (FPE_FLTOVF): Likewise.
13603 (FPE_FLTUND): Likewise.
13604 (FPE_FLTRES): Likewise.
13605 (FPE_FLTINV): Likewise.
13606 (FPE_FLTSUB): Likewise.
13607 (SEGV_MAPERR): Likewise.
13608 (SEGV_ACCERR): Likewise.
13609 (BUS_ADRALN): Likewise.
13610 (BUS_ADRERR): Likewise.
13611 (BUS_OBJERR): Likewise.
13612 (BUS_MCEERR_AR): Likewise.
13613 (BUS_MCEERR_AO): Likewise.
13614 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13615 (TRAP_TRACE): Likewise.
13616 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13618 (CLD_KILLED): Likewise.
13619 (CLD_DUMPED): Likewise.
13620 (CLD_TRAPPED): Likewise.
13621 (CLD_STOPPED): Likewise.
13622 (CLD_CONTINUED): Likewise.
13623 (POLL_IN): Likewise.
13624 (POLL_OUT): Likewise.
13625 (POLL_MSG): Likewise.
13626 (POLL_ERR): Likewise.
13627 (POLL_PRI): Likewise.
13628 (POLL_HUP): Likewise.
13629 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13630 (ILL_ILLOPN): Likewise.
13631 (ILL_ILLADR): Likewise.
13632 (ILL_ILLTRP): Likewise.
13633 (ILL_PRVOPC): Likewise.
13634 (ILL_PRVREG): Likewise.
13635 (ILL_COPROC): Likewise.
13636 (ILL_BADSTK): Likewise.
13637 (FPE_INTDIV): Likewise.
13638 (FPE_INTOVF): Likewise.
13639 (FPE_FLTDIV): Likewise.
13640 (FPE_FLTOVF): Likewise.
13641 (FPE_FLTUND): Likewise.
13642 (FPE_FLTRES): Likewise.
13643 (FPE_FLTINV): Likewise.
13644 (FPE_FLTSUB): Likewise.
13645 (SEGV_MAPERR): Likewise.
13646 (SEGV_ACCERR): Likewise.
13647 (BUS_ADRALN): Likewise.
13648 (BUS_ADRERR): Likewise.
13649 (BUS_OBJERR): Likewise.
13650 (BUS_MCEERR_AR): Likewise.
13651 (BUS_MCEERR_AO): Likewise.
13652 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13653 (TRAP_TRACE): Likewise.
13654 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13656 (CLD_KILLED): Likewise.
13657 (CLD_DUMPED): Likewise.
13658 (CLD_TRAPPED): Likewise.
13659 (CLD_STOPPED): Likewise.
13660 (CLD_CONTINUED): Likewise.
13661 (POLL_IN): Likewise.
13662 (POLL_OUT): Likewise.
13663 (POLL_MSG): Likewise.
13664 (POLL_ERR): Likewise.
13665 (POLL_PRI): Likewise.
13666 (POLL_HUP): Likewise.
13667 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13669 (ILL_ILLOPN): Likewise.
13670 (ILL_ILLADR): Likewise.
13671 (ILL_ILLTRP): Likewise.
13672 (ILL_PRVOPC): Likewise.
13673 (ILL_PRVREG): Likewise.
13674 (ILL_COPROC): Likewise.
13675 (ILL_BADSTK): Likewise.
13676 (ILL_BADIADDR): Likewise.
13677 (ILL_BREAK): Likewise.
13678 (FPE_INTDIV): Likewise.
13679 (FPE_INTOVF): Likewise.
13680 (FPE_FLTDIV): Likewise.
13681 (FPE_FLTOVF): Likewise.
13682 (FPE_FLTUND): Likewise.
13683 (FPE_FLTRES): Likewise.
13684 (FPE_FLTINV): Likewise.
13685 (FPE_FLTSUB): Likewise.
13686 (FPE_DECOVF): Likewise.
13687 (FPE_DECDIV): Likewise.
13688 (FPE_DECERR): Likewise.
13689 (FPE_INVASC): Likewise.
13690 (FPE_INVDEC): Likewise.
13691 (SEGV_MAPERR): Likewise.
13692 (SEGV_ACCERR): Likewise.
13693 (SEGV_PSTKOVF): Likewise.
13694 (BUS_ADRALN): Likewise.
13695 (BUS_ADRERR): Likewise.
13696 (BUS_OBJERR): Likewise.
13697 (BUS_MCEERR_AR): Likewise.
13698 (BUS_MCEERR_AO): Likewise.
13699 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13700 (TRAP_TRACE): Likewise.
13701 (TRAP_BRANCH): Likewise.
13702 (TRAP_HWBKPT): Likewise.
13703 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13705 (CLD_KILLED): Likewise.
13706 (CLD_DUMPED): Likewise.
13707 (CLD_TRAPPED): Likewise.
13708 (CLD_STOPPED): Likewise.
13709 (CLD_CONTINUED): Likewise.
13710 (POLL_IN): Likewise.
13711 (POLL_OUT): Likewise.
13712 (POLL_MSG): Likewise.
13713 (POLL_ERR): Likewise.
13714 (POLL_PRI): Likewise.
13715 (POLL_HUP): Likewise.
13716 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13717 (ILL_ILLOPN): Likewise.
13718 (ILL_ILLADR): Likewise.
13719 (ILL_ILLTRP): Likewise.
13720 (ILL_PRVOPC): Likewise.
13721 (ILL_PRVREG): Likewise.
13722 (ILL_COPROC): Likewise.
13723 (ILL_BADSTK): Likewise.
13724 (FPE_INTDIV): Likewise.
13725 (FPE_INTOVF): Likewise.
13726 (FPE_FLTDIV): Likewise.
13727 (FPE_FLTOVF): Likewise.
13728 (FPE_FLTUND): Likewise.
13729 (FPE_FLTRES): Likewise.
13730 (FPE_FLTINV): Likewise.
13731 (FPE_FLTSUB): Likewise.
13732 (SEGV_MAPERR): Likewise.
13733 (SEGV_ACCERR): Likewise.
13734 (BUS_ADRALN): Likewise.
13735 (BUS_ADRERR): Likewise.
13736 (BUS_OBJERR): Likewise.
13737 (BUS_MCEERR_AR): Likewise.
13738 (BUS_MCEERR_AO): Likewise.
13739 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13740 (TRAP_TRACE): Likewise.
13741 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13743 (CLD_KILLED): Likewise.
13744 (CLD_DUMPED): Likewise.
13745 (CLD_TRAPPED): Likewise.
13746 (CLD_STOPPED): Likewise.
13747 (CLD_CONTINUED): Likewise.
13748 (POLL_IN): Likewise.
13749 (POLL_OUT): Likewise.
13750 (POLL_MSG): Likewise.
13751 (POLL_ERR): Likewise.
13752 (POLL_PRI): Likewise.
13753 (POLL_HUP): Likewise.
13754 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13755 (ILL_ILLOPN): Likewise.
13756 (ILL_ILLADR): Likewise.
13757 (ILL_ILLTRP): Likewise.
13758 (ILL_PRVOPC): Likewise.
13759 (ILL_PRVREG): Likewise.
13760 (ILL_COPROC): Likewise.
13761 (ILL_BADSTK): Likewise.
13762 (FPE_INTDIV): Likewise.
13763 (FPE_INTOVF): Likewise.
13764 (FPE_FLTDIV): Likewise.
13765 (FPE_FLTOVF): Likewise.
13766 (FPE_FLTUND): Likewise.
13767 (FPE_FLTRES): Likewise.
13768 (FPE_FLTINV): Likewise.
13769 (FPE_FLTSUB): Likewise.
13770 (SEGV_MAPERR): Likewise.
13771 (SEGV_ACCERR): Likewise.
13772 (BUS_ADRALN): Likewise.
13773 (BUS_ADRERR): Likewise.
13774 (BUS_OBJERR): Likewise.
13775 (BUS_MCEERR_AR): Likewise.
13776 (BUS_MCEERR_AO): Likewise.
13777 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13778 (TRAP_TRACE): Likewise.
13779 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13781 (CLD_KILLED): Likewise.
13782 (CLD_DUMPED): Likewise.
13783 (CLD_TRAPPED): Likewise.
13784 (CLD_STOPPED): Likewise.
13785 (CLD_CONTINUED): Likewise.
13786 (POLL_IN): Likewise.
13787 (POLL_OUT): Likewise.
13788 (POLL_MSG): Likewise.
13789 (POLL_ERR): Likewise.
13790 (POLL_PRI): Likewise.
13791 (POLL_HUP): Likewise.
13792 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13793 (ILL_ILLOPN): Likewise.
13794 (ILL_ILLADR): Likewise.
13795 (ILL_ILLTRP): Likewise.
13796 (ILL_PRVOPC): Likewise.
13797 (ILL_PRVREG): Likewise.
13798 (ILL_COPROC): Likewise.
13799 (ILL_BADSTK): Likewise.
13800 (FPE_INTDIV): Likewise.
13801 (FPE_INTOVF): Likewise.
13802 (FPE_FLTDIV): Likewise.
13803 (FPE_FLTOVF): Likewise.
13804 (FPE_FLTUND): Likewise.
13805 (FPE_FLTRES): Likewise.
13806 (FPE_FLTINV): Likewise.
13807 (FPE_FLTSUB): Likewise.
13808 (SEGV_MAPERR): Likewise.
13809 (SEGV_ACCERR): Likewise.
13810 (BUS_ADRALN): Likewise.
13811 (BUS_ADRERR): Likewise.
13812 (BUS_OBJERR): Likewise.
13813 (BUS_MCEERR_AR): Likewise.
13814 (BUS_MCEERR_AO): Likewise.
13815 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13816 (TRAP_TRACE): Likewise.
13817 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13819 (CLD_KILLED): Likewise.
13820 (CLD_DUMPED): Likewise.
13821 (CLD_TRAPPED): Likewise.
13822 (CLD_STOPPED): Likewise.
13823 (CLD_CONTINUED): Likewise.
13824 (POLL_IN): Likewise.
13825 (POLL_OUT): Likewise.
13826 (POLL_MSG): Likewise.
13827 (POLL_ERR): Likewise.
13828 (POLL_PRI): Likewise.
13829 (POLL_HUP): Likewise.
13830 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13831 (ILL_ILLOPN): Likewise.
13832 (ILL_ILLADR): Likewise.
13833 (ILL_ILLTRP): Likewise.
13834 (ILL_PRVOPC): Likewise.
13835 (ILL_PRVREG): Likewise.
13836 (ILL_COPROC): Likewise.
13837 (ILL_BADSTK): Likewise.
13838 (ILL_DBLFLT): Likewise.
13839 (ILL_HARDWALL): Likewise.
13840 (FPE_INTDIV): Likewise.
13841 (FPE_INTOVF): Likewise.
13842 (FPE_FLTDIV): Likewise.
13843 (FPE_FLTOVF): Likewise.
13844 (FPE_FLTUND): Likewise.
13845 (FPE_FLTRES): Likewise.
13846 (FPE_FLTINV): Likewise.
13847 (FPE_FLTSUB): Likewise.
13848 (SEGV_MAPERR): Likewise.
13849 (SEGV_ACCERR): Likewise.
13850 (BUS_ADRALN): Likewise.
13851 (BUS_ADRERR): Likewise.
13852 (BUS_OBJERR): Likewise.
13853 (BUS_MCEERR_AR): Likewise.
13854 (BUS_MCEERR_AO): Likewise.
13855 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13856 (TRAP_TRACE): Likewise.
13857 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13859 (CLD_KILLED): Likewise.
13860 (CLD_DUMPED): Likewise.
13861 (CLD_TRAPPED): Likewise.
13862 (CLD_STOPPED): Likewise.
13863 (CLD_CONTINUED): Likewise.
13864 (POLL_IN): Likewise.
13865 (POLL_OUT): Likewise.
13866 (POLL_MSG): Likewise.
13867 (POLL_ERR): Likewise.
13868 (POLL_PRI): Likewise.
13869 (POLL_HUP): Likewise.
13870 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13871 (ILL_ILLOPN): Likewise.
13872 (ILL_ILLADR): Likewise.
13873 (ILL_ILLTRP): Likewise.
13874 (ILL_PRVOPC): Likewise.
13875 (ILL_PRVREG): Likewise.
13876 (ILL_COPROC): Likewise.
13877 (ILL_BADSTK): Likewise.
13878 (FPE_INTDIV): Likewise.
13879 (FPE_INTOVF): Likewise.
13880 (FPE_FLTDIV): Likewise.
13881 (FPE_FLTOVF): Likewise.
13882 (FPE_FLTUND): Likewise.
13883 (FPE_FLTRES): Likewise.
13884 (FPE_FLTINV): Likewise.
13885 (FPE_FLTSUB): Likewise.
13886 (SEGV_MAPERR): Likewise.
13887 (SEGV_ACCERR): Likewise.
13888 (BUS_ADRALN): Likewise.
13889 (BUS_ADRERR): Likewise.
13890 (BUS_OBJERR): Likewise.
13891 (BUS_MCEERR_AR): Likewise.
13892 (BUS_MCEERR_AO): Likewise.
13893 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13894 (TRAP_TRACE): Likewise.
13895 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13897 (CLD_KILLED): Likewise.
13898 (CLD_DUMPED): Likewise.
13899 (CLD_TRAPPED): Likewise.
13900 (CLD_STOPPED): Likewise.
13901 (CLD_CONTINUED): Likewise.
13902 (POLL_IN): Likewise.
13903 (POLL_OUT): Likewise.
13904 (POLL_MSG): Likewise.
13905 (POLL_ERR): Likewise.
13906 (POLL_PRI): Likewise.
13907 (POLL_HUP): Likewise.
13908 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13909 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13912 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13913 before #include of <time.h>.
13914 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13915 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13916 (test-xfail-UNIX98/sched.h/conform): Likewise.
13918 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13920 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13921 error absence of trapping exception support.
13922 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13924 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13926 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13927 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13928 * timezone/Makefile (testdata): Move definition above include of
13930 (test-zones): New variable.
13931 (tests-special): Add zone files.
13932 (build-testdata): Use $(evaluate-test).
13934 * elf/Makefile (tests-special): Rename tests to end with .out.
13935 ($(objpfx)noload-mem): Likewise.
13936 ($(objpfx)tst-leaks1-mem): Likewise.
13937 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13938 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13939 $(objpfx)test-iconvconfig.out.
13940 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13941 set -e inside subshell and redirect output to file.
13942 * iconvdata/Makefile (generated): Rename tests to end with .out.
13944 (tests-special): Rename tests to end with .out.
13945 ($(objpfx)mtrace-tst-loading): Likewise.
13946 * intl/Makefile (generated): Likewise.
13947 (tests-special): Likewise.
13948 ($(objpfx)mtrace-tst-gettext): Likewise.
13949 * misc/Makefile (generated): Likewise.
13950 (tests-special): Likewise.
13951 ($(objpfx)tst-error1-mem): Likewise.
13952 * nptl/Makefile (tests-special): Likewise.
13953 ($(objpfx)tst-stack3-mem): Likewise.
13954 (generated): Likewise.
13955 * posix/Makefile (generated): Likewise.
13956 (tests-special): Likewise.
13957 (xtests-special): Likewise.
13958 ($(objpfx)tst-fnmatch-mem): Likewise.
13959 ($(objpfx)bug-regex2-mem): Likewise.
13960 ($(objpfx)bug-regex14-mem): Likewise.
13961 ($(objpfx)bug-regex21-mem): Likewise.
13962 ($(objpfx)bug-regex31-mem): Likewise.
13963 ($(objpfx)tst-vfork3-mem): Likewise.
13964 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13965 ($(objpfx)tst-pcre-mem): Likewise.
13966 ($(objpfx)tst-boost-mem): Likewise.
13967 ($(objpfx)bug-ga2-mem): Likewise.
13968 ($(objpfx)bug-glob2-mem): Likewise.
13969 * resolv/Makefile (generate): Likewise.
13970 (tests-special): Likewise.
13971 (xtests-special): Likewise.
13972 (generated): Likewise.
13973 ($(objpfx)mtrace-tst-leaks): Likewise.
13974 ($(objpfx)mtrace-tst-leaks2): Likewise.
13976 * scripts/merge-test-results.sh: New file.
13977 * Makefile (tests-special-notdir): New variable.
13978 (tests): Run merge-test-results.sh.
13979 (xtests): Likewise.
13980 * Rules (tests-special-notdir): New variable.
13981 (xtests-special-notdir): Likewise.
13982 (tests): Run merge-test-results.sh
13983 (xtests): Likewise.
13985 * Makeconfig (test-xfail-name): New variable.
13986 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13987 compute variable name for expected failures.
13988 * conform/Makefile (conformtest-headers-data): New variable.
13989 (conformtest-standards): Likewise.
13990 (conformtest-headers-ISO): Likewise.
13991 (conformtest-headers-ISO99): Likewise.
13992 (conformtest-headers-ISO11): Likewise.
13993 (conformtest-headers-POSIX): Likewise.
13994 (conformtest-headers-XPG3): Likewise.
13995 (conformtest-headers-XPG4): Likewise.
13996 (conformtest-headers-UNIX98): Likewise.
13997 (conformtest-headers-XOPEN2K): Likewise.
13998 (conformtest-headers-POSIX2008): Likewise.
13999 (conformtest-headers-XOPEN2K8): Likewise.
14000 (conformtest-header-list-base): Likewise.
14001 (conformtest-header-list-tests): Likewise.
14002 (conformtest-header-base): Likewise.
14003 (conformtest-header-tests): Likewise.
14004 (tests-special): Add $(conformtest-header-list-tests). If
14005 [$(fast-check) && !$(cross-compiling)], add
14006 $(conformtest-header-tests) instead of
14007 $(objpfx)run-conformtest.out.
14008 (generated): Add $(conformtest-header-list-base). If
14009 [$(fast-check) && !$(cross-compiling)], add
14010 $(conformtest-header-base). Remove previous setting.
14011 ($(conformtest-header-list-tests)): New target.
14012 (test-xfail-run-conformtest): Remove variable.
14013 ($(objpfx)run-conformtest.out): Remove target.
14014 (test-xfail-ISO11/complex.h/conform): New variable.
14015 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14016 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14017 (test-xfail-XPG3/varargs.h/conform): Likewise.
14018 (test-xfail-XPG4/varargs.h/conform): Likewise.
14019 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14020 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14021 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14022 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14023 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14024 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14025 (test-xfail-XPG3/ftw.h/conform): Likewise.
14026 (test-xfail-XPG3/grp.h/conform): Likewise.
14027 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14028 (test-xfail-XPG3/limits.h/conform): Likewise.
14029 (test-xfail-XPG3/pwd.h/conform): Likewise.
14030 (test-xfail-XPG3/search.h/conform): Likewise.
14031 (test-xfail-XPG3/signal.h/conform): Likewise.
14032 (test-xfail-XPG3/stdio.h/conform): Likewise.
14033 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14034 (test-xfail-XPG3/string.h/conform): Likewise.
14035 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14036 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14037 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14038 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14039 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14040 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14041 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14042 (test-xfail-XPG3/termios.h/conform): Likewise.
14043 (test-xfail-XPG3/time.h/conform): Likewise.
14044 (test-xfail-XPG3/unistd.h/conform): Likewise.
14045 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14046 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14047 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14048 (test-xfail-XPG4/netdb.h/conform): Likewise.
14049 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14050 (test-xfail-XPG4/signal.h/conform): Likewise.
14051 (test-xfail-XPG4/stdio.h/conform): Likewise.
14052 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14053 (test-xfail-XPG4/stropts.h/conform): Likewise.
14054 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14055 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14056 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14057 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14058 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14059 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14060 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14061 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14062 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14063 (test-xfail-XPG4/termios.h/conform): Likewise.
14064 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14065 (test-xfail-XPG4/unistd.h/conform): Likewise.
14066 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14067 (test-xfail-POSIX/sched.h/conform): Likewise.
14068 (test-xfail-POSIX/signal.h/conform): Likewise.
14069 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14070 (test-xfail-POSIX/tar.h/conform): Likewise.
14071 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14072 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14073 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14074 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14075 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14076 (test-xfail-UNIX98/sched.h/conform): Likewise.
14077 (test-xfail-UNIX98/signal.h/conform): Likewise.
14078 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14079 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14080 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14081 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14082 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14083 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14084 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14085 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14086 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14087 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14088 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14089 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14090 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14091 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14092 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14093 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14094 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14095 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14096 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14097 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14098 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14099 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14100 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14101 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14102 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14103 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14104 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14105 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14106 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14107 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14108 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14109 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14110 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14111 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14112 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14113 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14114 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14115 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14116 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14117 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14118 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14119 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14120 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14121 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14122 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14123 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14124 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14125 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14126 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14127 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14128 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14129 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14130 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14131 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14132 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14133 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14134 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14135 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14136 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14137 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14138 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14139 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14140 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14141 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14142 (conformtest-cc-flags): Likewise.
14143 ($(conformtest-header-tests): New target.
14144 * conform/check-header-lists.sh: New file.
14145 * conform/run-conformtest.sh: Remove.
14147 * conform/conformtest.pl: Allow ' and \ in values given for
14149 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14151 [POSIX] (sys/types.h): Likewise.
14152 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14154 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14156 * conform/data/signal.h-data (SIGIO): Remove expectation.
14157 [XPG3] (SIGBUS): Do not expect.
14158 [POSIX || XPG3] (SIGPOLL): Likewise.
14159 [POSIX || XPG3] (SIGPROF): Likewise.
14160 [POSIX || XPG3] (SIGSYS): Likewise.
14161 [XPG3] (SIGTRAP): Likewise.
14162 [POSIX || XPG3] (SIGURG): Likewise.
14163 [POSIX || XPG3] (SIGVTALRM): Likewise.
14164 [POSIX || XPG3] (SIGXCPU): Likewise.
14165 [POSIX || XPG3] (SIGXFSZ): Likewise.
14166 [POSIX] (SA_SIGINFO): Expect.
14167 [XPG3] (siginfo_t): Do not expect type or contents.
14168 [POSIX] (si_pid): Do not expect element.
14169 [POSIX] (si_uid): Likewise.
14170 [POSIX] (si_addr): Likewise.
14171 [POSIX] (si_status): Likewise.
14172 [POSIX] (si_band): Likewise.
14173 [XPG4] (si_value): Likewise.
14174 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14175 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14176 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14177 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14178 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14179 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14180 [POSIX || XPG3] (ILL_COPROC): Likewise.
14181 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14182 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14183 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14184 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14185 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14186 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14187 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14188 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14189 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14190 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14191 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14192 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14193 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14194 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14195 [POSIX || XPG3] (CLD_EXITED): Likewise.
14196 [POSIX || XPG3] (CLD_KILLED): Likewise.
14197 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14198 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14199 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14200 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14201 [POSIX || XPG3] (POLL_IN): Likewise.
14202 [POSIX || XPG3] (POLL_OUT): Likewise.
14203 [POSIX || XPG3] (POLL_MSG): Likewise.
14204 [POSIX || XPG3] (POLL_ERR): Likewise.
14205 [POSIX || XPG3] (POLL_PRI): Likewise.
14206 [POSIX || XPG3] (POLL_HUP): Likewise.
14207 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14208 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14209 (SIG*): Do not allow.
14210 [XPG3] (si_*): Likewise.
14211 [XPG3] (SI_*): Likewise.
14212 [XPG3 || XPG4] (sigev_*): Likewise.
14213 [XPG3 || XPG4] (SIGEV_*): Likewise.
14214 [XPG3 || XPG4] (sival_*): Likewise.
14215 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14216 [POSIX || XPG3] (BUS_*): Likewise.
14217 [POSIX || XPG3] (CLD_*): Likewise.
14218 [POSIX || XPG3] (FPE_*): Likewise.
14219 [POSIX || XPG3] (ILL_*): Likewise.
14220 [POSIX || XPG3] (POLL_*): Likewise.
14221 [POSIX || XPG3] (SEGV_*): Likewise.
14222 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14223 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14224 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14225 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14226 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14227 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14228 Specify type and value.
14229 (TVERSLEN): Likewise.
14230 (REGTYPE): Likewise.
14231 (AREGTYPE): Likewise.
14232 (LNKTYPE): Likewise.
14233 (SYMTYPE): Likewise.
14234 (CHRTYPE): Likewise.
14235 (BLKTYPE): Likewise.
14236 (DIRTYPE): Likewise.
14237 (FIFOTYPE): Likewise.
14238 (CONTTYPE): Likewise.
14242 (TUREAD): Likewise.
14243 (TUWRITE): Likewise.
14244 (TUEXEC): Likewise.
14245 (TGREAD): Likewise.
14246 (TGWRITE): Likewise.
14247 (TGEXEC): Likewise.
14248 (TOREAD): Likewise.
14249 (TOWRITE): Likewise.
14250 (TOEXEC): Likewise.
14251 [POSIX] (TSVTX): Expect constant.
14253 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14255 * Makefile (tests): Change dependencies to ....
14256 (tests-special): ... additions to this variable.
14257 (tests): Depend on $(tests-special).
14258 * Makerules (check-abi-list): New variable.
14259 (check-abi): Depend on $(check-abi-list).
14260 [$(subdir) = elf] (tests-special): Add
14261 $(objpfx)check-abi-libc.out.
14262 [$(build-shared) = yes && subdir] (tests-special): Add
14264 [$(build-shared) = yes && subdir] (tests): Do not depend on
14266 * Rules (tests): Depend on $(tests-special).
14267 (xtests): Depend on $(xtests-special).
14268 * catgets/Makefile (tests): Change dependencies to ....
14269 (tests-special): ... additions to this variable.
14270 * conform/Makefile (tests): Change dependencies to ....
14271 (tests-special): ... additions to this variable.
14272 * elf/Makefile (tests): Change dependencies to ....
14273 (tests-special): ... additions to this variable.
14274 * grp/Makefile (tests): Change dependencies to ....
14275 (tests-special): ... additions to this variable.
14276 * iconv/Makefile (xtests): Change dependencies to ....
14277 (xtests-special): ... additions to this variable.
14278 * iconvdata/Makefile (tests): Change dependencies to ....
14279 (tests-special): ... additions to this variable.
14280 * intl/Makefile (tests): Change dependencies to ....
14281 (tests-special): ... additions to this variable. Also add
14282 $(objpfx)tst-gettext.out.
14283 * io/Makefile (tests): Change dependencies to ....
14284 (tests-special): ... additions to this variable.
14285 * libio/Makefile (tests): Change dependencies to ....
14286 (tests-special): ... additions to this variable.
14287 * malloc/Makefile (tests): Change dependencies to ....
14288 (tests-special): ... additions to this variable.
14289 * misc/Makefile (tests): Change dependencies to ....
14290 (tests-special): ... additions to this variable.
14291 * nptl/Makefile (tests): Change dependencies to ....
14292 (tests-special): ... additions to this variable.
14293 * nptl_db/Makefile (tests): Change dependencies to ....
14294 (tests-special): ... additions to this variable.
14295 * posix/Makefile (tests): Change dependencies to ....
14296 (tests-special): ... additions to this variable.
14297 (xtests): Change dependencies to ....
14298 (xtests-special): ... additions to this variable.
14299 * resolv/Makefile (tests): Change dependencies to ....
14300 (tests-special): ... additions to this variable.
14301 (xtests): Change dependencies to ....
14302 (xtests-special): ... additions to this variable.
14303 * stdio-common/Makefile (tests): Change dependencies to ....
14304 (tests-special): ... additions to this variable.
14305 (do-tst-unbputc): Remove target.
14306 (do-tst-printf): Likewise.
14307 * stdlib/Makefile (tests): Change dependencies to ....
14308 (tests-special): ... additions to this variable.
14309 * string/Makefile (tests): Change dependencies to ....
14310 (tests-special): ... additions to this variable.
14311 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14312 (tests-special): ... additions to this variable.
14314 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14316 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14318 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14319 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14321 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14322 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14323 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14324 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14325 * conform/data/libgen.h-data [XPG3]: Likewise.
14326 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14327 * conform/data/ndbm.h-data [XPG3]: Likewise.
14328 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14329 * conform/data/netdb.h-data [XPG3]: Likewise.
14330 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14331 * conform/data/poll.h-data [XPG3]: Likewise.
14332 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14333 * conform/data/strings.h-data [XPG3]: Likewise.
14334 * conform/data/stropts.h-data [XPG3]: Likewise.
14335 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14336 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14337 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14339 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14340 * conform/data/sys/time.h-data [XPG3]: Likewise.
14341 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14342 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14343 * conform/data/sys/un.h-data [XPG3]: Likewise.
14344 * conform/data/syslog.h-data [XPG3]: Likewise.
14345 * conform/data/ucontext.h-data [XPG3]: Likewise.
14346 * conform/data/utmpx.h-data [XPG3]: Likewise.
14347 * conform/data/varargs.h-data [UNIX98]: Enable file.
14349 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14351 * math/libm-test.inc (struct test_f_f_data): Move expected results
14352 into structure for each rounding mode.
14353 (struct test_ff_f_data): Likewise.
14354 (struct test_ff_f_data_nexttoward): Likewise.
14355 (struct test_fi_f_data): Likewise.
14356 (struct test_fl_f_data): Likewise.
14357 (struct test_if_f_data): Likewise.
14358 (struct test_fff_f_data): Likewise.
14359 (struct test_c_f_data): Likewise.
14360 (struct test_f_f1_data): Likewise.
14361 (struct test_fF_f1_data): Likewise.
14362 (struct test_ffI_f1_data): Likewise.
14363 (struct test_c_c_data): Likewise.
14364 (struct test_cc_c_data): Likewise.
14365 (struct test_f_i_data): Likewise.
14366 (struct test_ff_i_data): Likewise.
14367 (struct test_f_l_data): Likewise.
14368 (struct test_f_L_data): Likewise.
14369 (struct test_fFF_11_data): Likewise.
14371 (RM_FE_DOWNWARD): Likewise.
14372 (RM_FE_TONEAREST): Likewise.
14373 (RM_FE_TOWARDZERO): Likewise.
14374 (RM_FE_UPWARD): Likewise.
14375 (RUN_TEST_LOOP_f_f): Update references to expected results.
14376 (RUN_TEST_LOOP_2_f): Likewise.
14377 (RUN_TEST_LOOP_fff_f): Likewise.
14378 (RUN_TEST_LOOP_c_f): Likewise.
14379 (RUN_TEST_LOOP_f_f1): Likewise.
14380 (RUN_TEST_LOOP_fF_f1): Likewise.
14381 (RUN_TEST_LOOP_fI_f1): Likewise.
14382 (RUN_TEST_LOOP_ffI_f1): Likewise.
14383 (RUN_TEST_LOOP_c_c): Likewise.
14384 (RUN_TEST_LOOP_cc_c): Likewise.
14385 (RUN_TEST_LOOP_f_i): Likewise.
14386 (RUN_TEST_LOOP_f_i_tg): Likewise.
14387 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14388 (RUN_TEST_LOOP_f_b): Likewise.
14389 (RUN_TEST_LOOP_f_b_tg): Likewise.
14390 (RUN_TEST_LOOP_f_l): Likewise.
14391 (RUN_TEST_LOOP_f_L): Likewise.
14392 (RUN_TEST_LOOP_fFF_11): Likewise.
14393 * math/gen-libm-test.pl (parse_args): Output four copies of
14394 expected results for each test.
14396 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14397 (__ASSUME_UTIMES): Remove.
14398 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14399 (__ASSUME_UTIMES): Likewise.
14401 * math/gen-auto-libm-tests.c: Update comment on output format.
14402 (output_for_one_input_case): Generate before-rounding and
14403 after-rounding information as conditions on output flags not
14404 floating-point format.
14405 * math/auto-libm-test-out: Regenerated.
14406 * math/gen-libm-test.pl (cond_value): New function.
14407 (or_cond_value): Use cond_value.
14408 (generate_testfile): Handle conditional exceptions.
14410 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14412 * math/libm-test.inc (max_valid_error): New variable.
14413 (init_max_error): Take new argument specifying whether function
14414 results are exactly determined. Set max_valid_error and bound
14415 other variables for errors based on this argument.
14416 (set_max_error): Do not record results above max_valid_error.
14417 (check_float_internal): Only accept errors of up to 0.5ulps if
14418 also at most max_valid_error.
14419 (START): Take new argument EXACT and pass it to init_max_error.
14420 (acos_test): Update call to START.
14421 (acos_test_tonearest): Likewise.
14422 (acos_test_towardzero): Likewise.
14423 (acos_test_downward): Likewise.
14424 (acos_test_upward): Likewise.
14425 (acosh_test): Likewise.
14426 (asin_test): Likewise.
14427 (asin_test_tonearest): Likewise.
14428 (asin_test_towardzero): Likewise.
14429 (asin_test_downward): Likewise.
14430 (asin_test_upward): Likewise.
14431 (asinh_test): Likewise.
14432 (atan_test): Likewise.
14433 (atanh_test): Likewise.
14434 (atan2_test): Likewise.
14435 (cabs_test): Likewise.
14436 (cacos_test): Likewise.
14437 (cacosh_test): Likewise.
14438 (carg_test): Likewise.
14439 (casin_test): Likewise.
14440 (casinh_test): Likewise.
14441 (catan_test): Likewise.
14442 (catanh_test): Likewise.
14443 (cbrt_test): Likewise.
14444 (ccos_test): Likewise.
14445 (ccosh_test): Likewise.
14446 (ceil_test): Likewise.
14447 (cexp_test): Likewise.
14448 (cimag_test): Likewise.
14449 (clog_test): Likewise.
14450 (clog10_test): Likewise.
14451 (conj_test): Likewise.
14452 (copysign_test): Likewise.
14453 (cos_test): Likewise.
14454 (cos_test_tonearest): Likewise.
14455 (cos_test_towardzero): Likewise.
14456 (cos_test_downward): Likewise.
14457 (cos_test_upward): Likewise.
14458 (cosh_test): Likewise.
14459 (cosh_test_tonearest): Likewise.
14460 (cosh_test_towardzero): Likewise.
14461 (cosh_test_downward): Likewise.
14462 (cosh_test_upward): Likewise.
14463 (cpow_test): Likewise.
14464 (cproj_test): Likewise.
14465 (creal_test): Likewise.
14466 (csin_test): Likewise.
14467 (csinh_test): Likewise.
14468 (csqrt_test): Likewise.
14469 (ctan_test): Likewise.
14470 (ctan_test_tonearest): Likewise.
14471 (ctan_test_towardzero): Likewise.
14472 (ctan_test_downward): Likewise.
14473 (ctan_test_upward): Likewise.
14474 (ctanh_test): Likewise.
14475 (ctanh_test_tonearest): Likewise.
14476 (ctanh_test_towardzero): Likewise.
14477 (ctanh_test_downward): Likewise.
14478 (ctanh_test_upward): Likewise.
14479 (erf_test): Likewise.
14480 (erfc_test): Likewise.
14481 (exp_test): Likewise.
14482 (exp_test_tonearest): Likewise.
14483 (exp_test_towardzero): Likewise.
14484 (exp_test_downward): Likewise.
14485 (exp_test_upward): Likewise.
14486 (exp10_test): Likewise.
14487 (exp10_test_tonearest): Likewise.
14488 (exp10_test_towardzero): Likewise.
14489 (exp10_test_downward): Likewise.
14490 (exp10_test_upward): Likewise.
14491 (pow10_test): Likewise.
14492 (exp2_test): Likewise.
14493 (expm1_test): Likewise.
14494 (expm1_test_tonearest): Likewise.
14495 (expm1_test_towardzero): Likewise.
14496 (expm1_test_downward): Likewise.
14497 (expm1_test_upward): Likewise.
14498 (fabs_test): Likewise.
14499 (fdim_test): Likewise.
14500 (floor_test): Likewise.
14501 (fma_test): Likewise.
14502 (fma_test_towardzero): Likewise.
14503 (fma_test_downward): Likewise.
14504 (fma_test_upward): Likewise.
14505 (fmax_test): Likewise.
14506 (fmin_test): Likewise.
14507 (fmod_test): Likewise.
14508 (fpclassify_test): Likewise.
14509 (frexp_test): Likewise.
14510 (hypot_test): Likewise.
14511 (ilogb_test): Likewise.
14512 (isfinite_test): Likewise.
14513 (finite_test): Likewise.
14514 (isgreater_test): Likewise.
14515 (isgreaterequal_test): Likewise.
14516 (isinf_test): Likewise.
14517 (isless_test): Likewise.
14518 (islessequal_test): Likewise.
14519 (islessgreater_test): Likewise.
14520 (isnan_test): Likewise.
14521 (isnormal_test): Likewise.
14522 (issignaling_test): Likewise.
14523 (isunordered_test): Likewise.
14524 (j0_test): Likewise.
14525 (j1_test): Likewise.
14526 (jn_test): Likewise.
14527 (ldexp_test): Likewise.
14528 (lgamma_test): Likewise.
14529 (gamma_test): Likewise.
14530 (lrint_test): Likewise.
14531 (lrint_test_tonearest): Likewise.
14532 (lrint_test_towardzero): Likewise.
14533 (lrint_test_downward): Likewise.
14534 (lrint_test_upward): Likewise.
14535 (llrint_test): Likewise.
14536 (llrint_test_tonearest): Likewise.
14537 (llrint_test_towardzero): Likewise.
14538 (llrint_test_downward): Likewise.
14539 (llrint_test_upward): Likewise.
14540 (log_test): Likewise.
14541 (log10_test): Likewise.
14542 (log1p_test): Likewise.
14543 (log2_test): Likewise.
14544 (logb_test): Likewise.
14545 (logb_test_downward): Likewise.
14546 (lround_test): Likewise.
14547 (llround_test): Likewise.
14548 (modf_test): Likewise.
14549 (nearbyint_test): Likewise.
14550 (nextafter_test): Likewise.
14551 (nexttoward_test): Likewise.
14552 (pow_test): Likewise.
14553 (pow_test_tonearest): Likewise.
14554 (pow_test_towardzero): Likewise.
14555 (pow_test_downward): Likewise.
14556 (pow_test_upward): Likewise.
14557 (remainder_test): Likewise.
14558 (drem_test): Likewise.
14559 (remainder_test_tonearest): Likewise.
14560 (drem_test_tonearest): Likewise.
14561 (remainder_test_towardzero): Likewise.
14562 (drem_test_towardzero): Likewise.
14563 (remainder_test_downward): Likewise.
14564 (drem_test_downward): Likewise.
14565 (remainder_test_upward): Likewise.
14566 (drem_test_upward): Likewise.
14567 (remquo_test): Likewise.
14568 (rint_test): Likewise.
14569 (rint_test_tonearest): Likewise.
14570 (rint_test_towardzero): Likewise.
14571 (rint_test_downward): Likewise.
14572 (rint_test_upward): Likewise.
14573 (round_test): Likewise.
14574 (scalb_test): Likewise.
14575 (scalbn_test): Likewise.
14576 (scalbln_test): Likewise.
14577 (signbit_test): Likewise.
14578 (sin_test): Likewise.
14579 (sin_test_tonearest): Likewise.
14580 (sin_test_towardzero): Likewise.
14581 (sin_test_downward): Likewise.
14582 (sin_test_upward): Likewise.
14583 (sincos_test): Likewise.
14584 (sinh_test): Likewise.
14585 (sinh_test_tonearest): Likewise.
14586 (sinh_test_towardzero): Likewise.
14587 (sinh_test_downward): Likewise.
14588 (sinh_test_upward): Likewise.
14589 (sqrt_test): Likewise.
14590 (sqrt_test_tonearest): Likewise.
14591 (sqrt_test_towardzero): Likewise.
14592 (sqrt_test_downward): Likewise.
14593 (sqrt_test_upward): Likewise.
14594 (tan_test): Likewise.
14595 (tan_test_tonearest): Likewise.
14596 (tan_test_towardzero): Likewise.
14597 (tan_test_downward): Likewise.
14598 (tan_test_upward): Likewise.
14599 (tanh_test): Likewise.
14600 (tgamma_test): Likewise.
14601 (trunc_test): Likewise.
14602 (y0_test): Likewise.
14603 (y1_test): Likewise.
14604 (yn_test): Likewise.
14605 (significand_test): Likewise.
14607 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14608 individual tests in comment.
14609 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14610 (prev_max_error): New variable.
14611 (prev_real_max_error): Likewise.
14612 (prev_imag_max_error): Likewise.
14613 (compare_ulp_data): Don't refer to test names in comment.
14614 (find_test_ulps): Remove function.
14615 (find_function_ulps): Likewise.
14616 (find_complex_function_ulps): Likewise.
14617 (init_max_error): Take function name as argument. Look up ulps
14619 (print_ulps): Remove function.
14620 (print_max_error): Use prev_max_error instead of calling
14621 find_function_ulps.
14622 (print_complex_max_error): Use prev_real_max_error and
14623 prev_imag_max_error instead of calling find_complex_function_ulps.
14624 (check_float_internal): Take max_ulp parameter instead of calling
14625 find_test_ulps. Don't call print_ulps.
14626 (check_float): Update call to check_float_internal.
14627 (check_complex): Update calls to check_float_internal.
14628 (START): Pass argument to init_max_error.
14629 * math/gen-libm-test.pl (%results): Don't include "kind"
14631 (parse_ulps): Don't handle ulps of individual tests.
14632 (print_ulps_file): Likewise.
14633 (output_ulps): Likewise.
14634 * math/README.libm-test: Update.
14635 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14637 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14638 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14639 * sysdeps/arm/libm-test-ulps: Likewise.
14640 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14641 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14642 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14643 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14644 * sysdeps/microblaze/libm-test-ulps: Likewise.
14645 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14646 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14648 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14649 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14650 * sysdeps/sh/libm-test-ulps: Likewise.
14651 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14652 * sysdeps/tile/libm-test-ulps: Likewise.
14653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14655 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14657 * math/libm-test.inc (print_complex_max_error): Check separately
14658 whether real and imaginary errors are within allowed range and
14659 pass 0 to print_complex_function_ulps instead of value within
14662 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14664 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14666 (get_handles_fopen): Likewise.
14667 (do_write_test): Likewise.
14669 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14671 * libio/fileops.c (do_ftell): Use cached offset when
14673 * libio/iofwide.c (do_ftell_wide): Likewise.
14674 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14676 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14679 * libio/libioP.h (get_file_offset): New function.
14680 * libio/fileops.c (get_file_offset): Likewise.
14681 (do_ftell): Likewise.
14682 (_IO_new_file_seekoff): Split out ftell logic.
14683 * libio/wfileops.c (do_ftell_wide): Likewise.
14684 (_IO_wfile_seekoff): Split out ftell logic.
14685 * libio/tst-ftell-active-handler.c: New test case.
14686 * libio/Makefile (tests): Add it.
14688 2014-03-03 Roland McGrath <roland@hack.frob.com>
14690 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14691 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14693 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14696 * nscd/connections.c (nscd_init): Call do_exit.
14697 (start_threads): Call do_exit and notify_parent.
14698 (begin_drop_privileges): Call do_exit.
14699 (finish_drop_privileges): Likewise.
14700 * nscd/selinux.c (preserve_capabilities): Likewise.
14701 (install_real_capabilities): Likewise.
14702 (nscd_selinux_enabled): Likewise.
14703 (avc_create_thread): Likewise.
14704 (avc_alloc_lock): Likewise.
14705 (nscd_avc_init): Likewise.
14706 * nscd/nscd.c (parent_fd): New static variable.
14707 (main): Create a pipe between parent and child processes.
14708 Skip closing parent_fd.
14709 (monitor_child): New function.
14710 (do_exit): Likewise.
14711 (notify_parent): Likewise.
14712 * nscd/nscd.h (notify_parent): Likewise.
14713 (do_exit): Likewise.
14715 2014-03-03 Carlos O'Donell <carlos@redhat.com>
14717 * malloc/malloc.c (__libc_calloc): Revert last change.
14719 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14723 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14725 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14729 (__libc_ifunc_impl_list): Likewise.
14730 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14731 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14732 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14733 * string/strrchr.c: Define STRRCHR.
14735 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
14737 * benchtest/bench-strtok.c (simple_strtok): Delete.
14738 (strtok_string): Use as benchmark.
14739 * string/strtok (STRTOK): New macro.
14741 2014-02-28 Carlos O'Donell <carlos@redhat.com>
14743 * manual/threads.texi: Add header and standard comments to all
14746 * elf/dl-lookup.c (check_match): New function.
14747 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14748 (do_lookup_x): Remove nested function check_match. Use non-nested
14749 function check_match.
14751 2014-02-28 Roland McGrath <roland@hack.frob.com>
14753 * csu/Makefile (generated, before-compile): Use += rather than =.
14754 * catgets/Makefile (generated, generated-dirs): Likewise.
14755 * debug/Makefile (generated): Likewise.
14756 * dlfcn/Makefile (generated): Likewise.
14757 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14758 * iconvdata/Makefile (before-compile, generated): Likewise.
14759 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14760 * libio/Makefile (generated): Likewise.
14761 * malloc/Makefile (generated): Likewise.
14762 * manual/Makefile (generated, generated-dirs): Likewise.
14763 * misc/Makefile (generated): Likewise.
14764 * posix/Makefile (generated): Likewise.
14765 * resolv/Makefile (generated): Likewise.
14766 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14767 * timezone/Makefile (generated, generated-dirs): Likewise.
14769 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14771 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14773 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14774 power8 implementation.
14775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14776 file: POWER8 llround ifunc implementation.
14777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14778 (__lllround): Add POWER8 implementation.
14779 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14780 POWER8 llround implementation.
14782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14783 power8 implementation.
14784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14785 file: POWER8 llrint ifunc implementation.
14786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14787 Add POWER8 implementation.
14788 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14789 POWER8 llrint implementation.
14791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14792 power8 implementation.
14793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14794 file: POWER8 finite ifunc implementation.
14795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14796 Add POWER8 implementation.
14797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14799 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14800 POWER8 finite implementation.
14801 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14804 power8 implementation.
14805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14806 file: POWER8 isinf ifunc implementation.
14807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14808 POWER8 implementation.
14809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14811 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14812 isinf implementation.
14813 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14815 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14816 (INIT_ARCH): Add hwcap2 initialization.
14817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14818 power8 implementation.
14819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14820 file: POWER8 isnan ifunc implementation.
14821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14822 POWER8 implementation.
14823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14825 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14826 isnan implementation.
14827 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14829 2014-02-27 Joey Ye <joey.ye@arm.com>
14831 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14832 (_FP_NANFRAC_Q): Set to zero.
14834 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14837 * math/auto-libm-test-in: New test inputs.
14838 * math/auto-libm-test-out: Regenerate.
14839 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14842 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14844 2014-02-27 Joseph Myers <joseph@codesourcery.com>
14846 * scripts/evaluate-test.sh: Take new argument indicating whether
14847 failure is expected.
14848 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14849 indicating whether failure is expected.
14850 * conform/Makefile (test-xfail-run-conformtest): New variable.
14851 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14853 * posix/Makefile (test-xfail-annexc): New variable.
14854 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14856 2014-02-26 Joseph Myers <joseph@codesourcery.com>
14858 * argp/Makefile: Include Makeconfig immediately after defining
14860 * assert/Makefile: Likewise.
14861 * benchtests/Makefile: Likewise.
14862 * catgets/Makefile: Likewise.
14863 * conform/Makefile: Likewise.
14864 * crypt/Makefile: Likewise.
14865 * csu/Makefile: Likewise.
14866 (all): Remove target.
14867 * ctype/Makefile: Include Makeconfig immediately after defining
14869 * debug/Makefile: Likewise.
14870 * dirent/Makefile: Likewise.
14871 * dlfcn/Makefile: Likewise.
14872 * gmon/Makefile: Likewise.
14873 * gnulib/Makefile: Likewise.
14874 * grp/Makefile: Likewise.
14875 * gshadow/Makefile: Likewise.
14876 * hesiod/Makefile: Likewise.
14877 * hurd/Makefile: Likewise.
14878 (all): Remove target.
14879 * iconvdata/Makefile: Include Makeconfig immediately after
14881 * inet/Makefile: Likewise.
14882 * intl/Makefile: Likewise.
14883 * io/Makefile: Likewise.
14884 * libio/Makefile: Likewise.
14885 (all): Remove target.
14886 * locale/Makefile: Include Makeconfig immediately after defining
14888 * login/Makefile: Likewise.
14889 * mach/Makefile: Likewise.
14890 (all): Remove target.
14891 * malloc/Makefile: Include Makeconfig immediately after defining
14893 (all): Remove target.
14894 * manual/Makefile: Include Makeconfig immediately after defining
14896 * math/Makefile: Likewise.
14897 * misc/Makefile: Likewise.
14898 * nis/Makefile: Likewise.
14899 * nss/Makefile: Likewise.
14900 * po/Makefile: Likewise.
14901 (all): Remove target.
14902 * posix/Makefile: Include Makeconfig immediately after defining
14904 * pwd/Makefile: Likewise.
14905 * resolv/Makefile: Likewise.
14906 * resource/Makefile: Likewise.
14907 * rt/Makefile: Likewise.
14908 * setjmp/Makefile: Likewise.
14909 * shadow/Makefile: Likewise.
14910 * signal/Makefile: Likewise.
14911 * socket/Makefile: Likewise.
14912 * soft-fp/Makefile: Likewise.
14913 * stdio-common/Makefile: Likewise.
14914 * stdlib/Makefile: Likewise.
14915 * streams/Makefile: Likewise.
14916 * string/Makefile: Likewise.
14917 * sunrpc/Makefile: Likewise.
14918 (all): Remove target.
14919 * sysvipc/Makefile: Include Makeconfig immediately after defining
14921 * termios/Makefile: Likewise.
14922 * time/Makefile: Likewise.
14923 * timezone/Makefile: Likewise.
14924 (all): Remove target.
14925 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14927 * wctype/Makefile: Likewise.
14929 2014-02-26 Steve Ellcey <sellcey@mips.com>
14931 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14932 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14933 (libc_feholdexcept_setround_mips): Ditto.
14934 (libc_feholdsetround): New.
14935 (libc_feholdsetroundf): New.
14936 (libc_feholdsetroundl): New.
14937 (libc_feupdateenv_test_mips): New.
14938 (libc_feupdateenv_test): New.
14939 (libc_feupdateenv_testf): New.
14940 (libc_feupdateenv_testl): New.
14941 (libc_feresetround): New.
14942 (libc_feresetroundf): New.
14943 (libc_feresetroundl): New.
14944 (libc_fetestexcept_mips): New.
14945 (libc_fetestexcept): New.
14946 (libc_fetestexceptf): New.
14947 (libc_fetestexceptl): New.
14948 (HAVE_RM_CTX): New.
14949 (libc_feholdexcept_setround_mips_ctx): New.
14950 (libc_feholdexcept_setround_ctx): New.
14951 (libc_feholdexcept_setroundf_ctx): New.
14952 (libc_feholdexcept_setroundl_ctx): New.
14953 (libc_fesetenv_mips_ctx): New.
14954 (libc_fesetenv_ctx): New.
14955 (libc_fesetenv_ctxf): New.
14956 (libc_fesetenv_ctxl): New.
14957 (libc_feupdateenv_mips_ctx): New.
14958 (libc_feupdateenv_ctx): New.
14959 (libc_feupdateenvf_ctx): New.
14960 (libc_feupdateenvl_ctx): New.
14961 (libc_feholdsetround_mips_ctx): New.
14962 (libc_feholdsetround_ctx): New.
14963 (libc_feholdsetroundf_ctx): New.
14964 (libc_feholdsetroundl_ctx): New.
14965 (libc_feresetround_mips_ctx): New.
14966 (libc_feresetround_ctx): New.
14967 (libc_feresetroundf_ctx): New.
14968 (libc_feresetroundl_ctx): New.
14970 2014-02-26 Carlos O'Donell <carlos@redhat.com>
14972 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14974 * manual/ipc.texi: New file.
14975 * manual/Makefile (chapters): Add ipc.
14976 * manual/job.texi: Add "Inter-Process Communication" to next.
14977 * manual/process.texi: Add "Inter-Process Communication" to prev.
14979 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14983 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
14985 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14987 * manual/arith.texi: Fix spaces after sentences.
14988 * manual/charset.texi: Likewise.
14989 * manual/errno.texi: Likewise.
14990 * manual/install.texi: Likewise.
14991 * manual/llio.texi: Likewise.
14992 * manual/locale.texi: Likewise.
14993 * manual/maint.texi: Likewise.
14994 * manual/math.texi: Likewise.
14995 * manual/memory.texi: Likewise.
14996 * manual/message.texi: Likewise.
14997 * manual/probes.texi: Likewise.
14998 * manual/resource.texi: Likewise.
14999 * manual/signal.texi: Likewise.
15000 * manual/socket.texi: Likewise.
15001 * manual/stdio.texi: Likewise.
15002 * manual/string.texi: Likewise.
15003 * manual/time.texi: Likewise.
15004 * manual/users.texi: Likewise.
15006 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15009 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15010 _DEFAULT_SOURCE is defined.
15012 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15013 Carlos O'Donell <carlos@redhat.com>
15016 * elf/dl-tls.c (_dl_count_modids): New function.
15017 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15018 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15019 audit library and increment generation counter.
15020 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15021 * elf/tst-audit9.c: New file.
15022 * elf/tst-auditmod9a.c: New file.
15023 * elf/tst-auditmod9b.c: New file.
15024 * elf/Makefile: Add rules to build and run tst-audit9.
15026 2014-02-25 Florian Weimer <fweimer@redhat.com>
15029 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15031 2014-02-25 Will Newton <will.newton@linaro.org>
15033 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15034 (__longjmp): Restore sp and lr before restoring callee
15035 saved registers. Add longjmp and longjmp_target
15036 SystemTap probe point.
15037 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15038 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15039 Define to zero to match jmpbuf layout.
15040 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15041 (__sigsetjmp): Save sp and lr before saving callee
15042 saved registers. Add setjmp SystemTap probe point.
15044 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15046 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15048 2014-02-24 Andreas Schwab <schwab@suse.de>
15051 * elf/pldd.c (wait_for_ptrace_stop): New function.
15052 (main): Call it after attaching.
15054 2014-02-22 Roland McGrath <roland@hack.frob.com>
15056 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15057 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15058 Versions files is now verboten.
15059 * hurd/Versions (libc: GLIBC_2.0):
15060 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15061 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15062 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15063 * mach/Versions: Likewise.
15065 * csu/Versions: Remove unused %include.
15066 * resolv/Versions: Likewise.
15068 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15070 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15071 ($(objpfx)check-local-headers.out): Likewise.
15072 ($(objpfx)begin-end-check.out): Likewise.
15073 * Makerules (check-abi-%.out): Likewise.
15074 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15075 ($(objpfx)test2.cat): Likewise.
15076 ($(objpfx)de/libc.cat): Likewise.
15077 ($(objpfx)test-gencat.out): Likewise.
15078 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15079 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15080 ($(objpfx)noload-mem): Likewise.
15081 ($(objpfx)tst-pathopt.out): Likewise.
15082 ($(objpfx)tst-rtld-load-self.out): Likewise.
15083 ($(objpfx)tst-array1-cmp.out): Likewise.
15084 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15085 ($(objpfx)tst-array2-cmp.out): Likewise.
15086 ($(objpfx)tst-array3-cmp.out): Likewise.
15087 ($(objpfx)tst-array4-cmp.out): Likewise.
15088 ($(objpfx)tst-array5-cmp.out): Likewise.
15089 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15090 ($(objpfx)check-textrel.out): Likewise.
15091 ($(objpfx)check-execstack.out): Likewise.
15092 ($(objpfx)check-localplt.out): Likewise.
15093 ($(objpfx)order2-cmp.out): Likewise.
15094 ($(objpfx)tst-leaks1-mem): Likewise.
15095 ($(objpfx)tst-leaks1-static-mem): Likewise.
15096 ($(objpfx)tst-initorder-cmp.out): Likewise.
15097 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15098 ($(objpfx)tst-unused-dep.out): Likewise.
15099 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15100 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15101 * iconv/Makefile (test-iconvconfig): Likewise.
15102 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15103 ($(objpfx)iconv-test.out): Likewise.
15104 ($(objpfx)tst-tables.out): Likewise.
15105 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15106 ($(objpfx)tst-gettext.out): Likewise.
15107 ($(objpfx)tst-translit.out): Likewise.
15108 ($(objpfx)tst-gettext2.out): Likewise.
15109 ($(objpfx)tst-gettext4.out): Likewise.
15110 ($(objpfx)tst-gettext6.out): Likewise.
15111 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15112 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15113 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15114 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15115 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15116 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15117 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15118 ($(objpfx)wordexp-tst.out): Likewise.
15119 ($(objpfx)annexc.out): Likewise.
15120 ($(objpfx)tst-fnmatch-mem): Likewise.
15121 ($(objpfx)bug-regex2-mem): Likewise.
15122 ($(objpfx)bug-regex14-mem): Likewise.
15123 ($(objpfx)bug-regex21-mem): Likewise.
15124 ($(objpfx)bug-regex31-mem): Likewise.
15125 ($(objpfx)tst-vfork3-mem): Likewise.
15126 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15127 ($(objpfx)tst-pcre-mem): Likewise.
15128 ($(objpfx)tst-boost-mem): Likewise.
15129 ($(objpfx)tst-getconf.out): Likewise.
15130 ($(objpfx)bug-ga2-mem): Likewise.
15131 ($(objpfx)bug-glob2-mem): Likewise.
15132 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15133 ($(objpfx)mtrace-tst-leaks2): Likewise.
15134 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15135 ($(objpfx)tst-printf.out): Likewise.
15136 ($(objpfx)tst-setvbuf1.out): Likewise.
15137 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15138 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15139 ($(objpfx)tst-fmtmsg.out): Likewise.
15140 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15141 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15143 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15144 * bits/sigaction.h [__USE_MISC]: Likewise.
15145 * bits/waitstatus.h: Update #endif comments.
15146 * ctype/ctype.h: Likewise.
15147 * dirent/dirent.h: Likewise.
15148 [__USE_MISC]: Remove redundant conditionals.
15149 * grp/grp.h: Update #endif comments.
15150 [__USE_GNU]: Remove redundant conditionals.
15151 [__USE_MISC]: Likewise.
15152 * inet/netinet/in.h [__USE_GNU]: Likewise.
15153 * io/sys/stat.h [__USE_MISC]: Likewise.
15154 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15155 * libio/bits/stdio.h: Update #endif comments.
15156 [__USE_MISC]: Remove redundant conditionals.
15157 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15158 * libio/stdio.h: Update #endif comments.
15159 [__USE_MISC]: Remove redundant conditionals.
15160 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15161 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15162 * math/math.h: Update #else and #endif comments.
15163 [__USE_MISC]: Remove redundant conditionals.
15164 * misc/sys/uio.h: Update #endif comments.
15165 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15166 * posix/glob.h [__USE_MISC]: Likewise.
15167 * posix/sys/types.h: Update #endif comments.
15168 [__USE_MISC]: Remove redundant conditionals.
15169 * posix/sys/wait.h: Update #endif comments.
15170 [__USE_MISC]: Remove redundant conditionals.
15171 * posix/unistd.h: Update #endif comments.
15172 [__USE_MISC]: Remove redundant conditionals.
15173 * pwd/pwd.h [__USE_GNU]: Likewise.
15174 [__USE_MISC]: Likewise.
15175 * resolv/netdb.h [__USE_GNU]: Likewise.
15176 * signal/signal.h: Update #endif comments.
15177 [__USE_MISC]: Remove redundant conditionals.
15178 * stdlib/stdlib.h: Update #else and #endif comments.
15179 [__USE_MISC]: Remove redundant conditionals.
15180 [__USE_GNU]: Likewise.
15181 * string/bits/string2.h [__USE_MISC]: Likewise.
15182 * string/string.h: Update #endif comments.
15183 [__USE_MISC]: Remove redundant conditionals.
15184 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15186 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15187 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15188 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15190 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15192 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15194 [__USE_MISC]: Remove redundant conditionals.
15195 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15196 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15197 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15198 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15199 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15201 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15202 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15204 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15205 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15207 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15209 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15210 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15212 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15214 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15215 * sysdeps/x86/bits/string.h: Update #endif comments.
15216 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15218 * time/sys/time.h: Update #endif comments.
15219 * time/time.h: Likewise.
15220 [__USE_MISC]: Remove redundant conditionals.
15222 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15225 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15227 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15229 * Versions.def (librt): Add GLIBC_2.17.
15231 2014-02-21 Adam Conrad <adconrad@0c3.net>
15233 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15234 synonym for _SYS_AUXV_H to allow direct inclusion.
15235 * sysdeps/sparc/bits/hwcap.h: Likewise.
15236 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15237 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15238 * sysdeps/sparc/sysdep.h: Likewise.
15240 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15242 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15244 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15246 * benchtests/bench-strrchr.c: Print length instead of position.
15248 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15251 * sysdeps/unix/sysv/linux/kernel-features.h
15252 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15253 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15254 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15255 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15257 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15258 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15259 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15260 (__ASSUME_SENDMMSG): Define instead of using previous
15261 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15262 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15263 (__ASSUME_SENDMMSG_SYSCALL): Define.
15264 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15265 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15267 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15268 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15270 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15271 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15273 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15274 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15275 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15276 [__ASSUME_SENDMMSG]: Change conditionals to
15277 [__ASSUME_SENDMMSG_SOCKETCALL].
15278 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15279 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15281 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15282 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15284 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15285 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15286 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15287 [!__ASSUME_SENDMMSG]: Change conditional to
15288 [!__ASSUME_SENDMMSG_SOCKETCALL].
15289 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15290 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15294 * sysdeps/unix/sysv/linux/kernel-features.h
15295 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15296 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15297 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15298 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15299 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15300 [__i386__ || __sparc__]
15301 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15302 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15303 (__ASSUME_RECVMMSG): Define instead of using previous
15304 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15305 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15306 (__ASSUME_RECVMMSG_SYSCALL): Define.
15307 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15308 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15310 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15311 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15313 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15314 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15316 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15317 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15318 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15319 [__ASSUME_RECVMMSG]: Change condition to
15320 [__ASSUME_RECVMMSG_SOCKETCALL].
15321 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15322 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15324 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15325 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15328 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15329 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15330 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15331 [!__ASSUME_RECVMMSG]: Change condition to
15332 [!__ASSUME_RECVMMSG_SOCKETCALL].
15333 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15334 (__ASSUME_RECVMMSG_SYSCALL): Define.
15337 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15338 __powerpc__ || __s390__ || __sh__ || __sparc__]
15339 (__ASSUME_SOCKETCALL): Define.
15340 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15341 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15342 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15343 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15344 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15345 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15346 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15347 (__ASSUME_ACCEPT4): Define instead of using previous
15348 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15349 __powerpc__ || __sparc__ || __s390__)] condition.
15350 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15351 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15352 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15353 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15354 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15355 [!__ASSUME_ACCEPT4]: Change condition to
15356 [!__ASSUME_ACCEPT4_SOCKETCALL].
15357 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15358 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15359 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15360 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15361 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15362 __ASSUME_ACCEPT4_SYSCALL.
15363 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15364 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15365 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15366 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15367 __ASSUME_ACCEPT4_SYSCALL.
15368 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15369 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15370 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15371 [__ASSUME_ACCEPT4]: Change condition to
15372 [__ASSUME_ACCEPT4_SOCKETCALL].
15373 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15374 (__ASSUME_SOCKETCALL): Define.
15375 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15376 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15377 (__ASSUME_SOCKETCALL): Define.
15378 (__ASSUME_ACCEPT4): Remove.
15379 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15381 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15382 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15384 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15385 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15387 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15389 (HWCAP_ARM_LPAE): Likewise.
15390 (HWCAP_ARM_EVTSTRM): Likewise.
15391 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15392 Add vpfd32, lpae and evtstrm.
15393 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15396 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15398 * math/auto-libm-test-in: Add tests of clog10.
15399 * math/auto-libm-test-out: Regenerated.
15400 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15401 * sysdeps/i386/fpu/libm-test-ulps: Update.
15402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15404 2014-02-18 Andreas Schwab <schwab@suse.de>
15407 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15408 Store non-zero if the second buffer was newly allocated.
15409 (send_dg): Likewise.
15410 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15411 to send_vc and send_dg.
15412 (res_nsend): Pass NULL for ansp2_malloced.
15413 * resolv/res_query.c (__libc_res_nquery): Add parameter
15414 answerp2_malloced and pass it down to __libc_res_nsend.
15415 (res_nquery): Pass additional NULL to __libc_res_nquery.
15416 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15417 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15418 second answer buffer if answerp2_malloced was set.
15419 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15420 (__libc_res_nquerydomain): Add parameter
15421 answerp2_malloced and pass it down to __libc_res_nquery.
15422 (res_nquerydomain): Pass additional NULL to
15423 __libc_res_nquerydomain.
15424 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15425 additional NULL to __libc_res_nsend and __libc_res_nquery.
15426 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15427 additional NULL to __libc_res_nsearch.
15428 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15429 parameter of __libc_res_nsearch to check for separately allocated
15431 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15433 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15434 additional NULL to __libc_res_nquery.
15435 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15436 __libc_res_nsearch.
15437 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15438 * include/resolv.h: Update prototypes of __libc_res_nquery,
15439 __libc_res_nsearch, __libc_res_nsend.
15441 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15443 * math/auto-libm-test-in: Add tests of fma.
15444 * math/auto-libm-test-out: Regenerated.
15445 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15446 (fma_towardzero_test_data): Likewise.
15447 (fma_downward_test_data): Likewise.
15448 (fma_upward_test_data): Likewise.
15449 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15451 (rounding_modes): Add values for new field.
15452 (func_calc_method): Add value mpfr_fff_f.
15453 (func_calc_desc): Add mpfr_fff_f union field.
15454 (test_function): Add field exact_args.
15455 (FUNC): Add macro argument EXACT_ARGS.
15456 (FUNC_mpfr_f_f): Update call to FUNC.
15457 (FUNC_mpfr_f_f): Likewise.
15458 (FUNC_mpfr_ff_f): Likewise.
15459 (FUNC_mpfr_if_f): Likewise.
15460 (FUNC_mpc_c_f): Likewise.
15461 (FUNC_mpc_c_c): Likewise.
15462 (test_functions): Add fma. Update calls to FUNC.
15463 (handle_input_arg): Add argument exact_args.
15464 (add_test): Update call to handle_input_arg.
15465 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15466 (output_for_one_input_case): Update call to calc_generic_results.
15467 Recalculate exact zero results in each rounding mode.
15469 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15470 non-negative before setting low bit.
15471 * math/auto-libm-test-in: Mark one asin test possibly having
15472 spurious underflow.
15473 * math/auto-libm-test-out: Regenerated.
15474 * sysdeps/i386/fpu/libm-test-ulps: Update.
15475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15477 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15479 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15480 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15481 ports/sysdeps/unix/sysv/linux/microblaze.
15482 * README: Add missing listing for microblaze*-*-linux-gnu.
15484 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15486 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15489 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15491 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15492 * sysdeps/unix/sysv/linux/ia64: Move directory from
15493 ports/sysdeps/unix/sysv/linux/ia64.
15494 * README: Update listing for ia64-*-linux-gnu.
15496 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15497 Joseph Myers <joseph@codesourcery.com>
15499 * Makeconfig (test-name): New variable.
15500 (evaluate-test): Likewise.
15501 * Makerules (do-test-clean): Remove .test-result files.
15502 (common-mostlyclean): Likewise.
15503 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15504 * scripts/evaluate-test.sh: New file.
15506 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15508 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15509 separate $(objpfx)tst-fopenloc-cmp.out and
15510 $(objpfx)tst-fopenloc-mem.out targets.
15511 (tests): Update dependencies.
15512 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15513 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15514 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15515 (tst-rxspencer-no-utf8-ARGS): New variable.
15516 (tst-rxspencer-no-utf8-ENV): Likewise.
15517 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15518 instead of $(objpfx)tst-rxspencer-mem.
15519 ($(objpfx)tst-rxspencer-mem): Change target to
15520 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15521 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15522 * posix/tst-rxspencer-no-utf8.c: New file.
15524 * elf/Makefile ($(objpfx)order.out): Remove rule.
15525 [$(run-built-tests) = yes] (tests): Depend on
15526 $(objpfx)order-cmp.out.
15527 ($(objpfx)order-cmp.out): New rule.
15528 [$(run-built-tests) = yes] (tests): Depend on
15529 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15530 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15531 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15532 $(objpfx)tst-array5-static-cmp.out.
15533 ($(objpfx)tst-array1.out): Remove rule.
15534 ($(objpfx)tst-array1-cmp.out): New rule.
15535 ($(objpfx)tst-array1-static.out): Remove rule.
15536 ($(objpfx)tst-array1-static-cmp.out): New rule.
15537 ($(objpfx)tst-array2.out): Remove rule.
15538 ($(objpfx)tst-array2-cmp.out): New rule.
15539 ($(objpfx)tst-array3.out): Remove rule.
15540 ($(objpfx)tst-array3-cmp.out): New rule.
15541 ($(objpfx)tst-array4.out): Remove rule.
15542 ($(objpfx)tst-array4-cmp.out): New rule.
15543 ($(objpfx)tst-array5.out): Remove rule.
15544 ($(objpfx)tst-array5-cmp.out): New rule.
15545 ($(objpfx)tst-array5-static.out): Remove rule.
15546 ($(objpfx)tst-array5-static-cmp.out): New rule.
15547 [$(run-built-tests) = yes] (tests): Depend on
15548 $(objpfx)order2-cmp.out.
15549 ($(objpfx)order2.out): Remove rule.
15550 ($(objpfx)order2-cmp.out): New rule.
15551 ($(objpfx)tst-initorder.out): Remove rule.
15552 [$(run-built-tests) = yes] (tests): Depend on
15553 $(objpfx)tst-initorder-cmp.out.
15554 ($(objpfx)tst-initorder-cmp.out): New rule.
15555 ($(objpfx)tst-initorder2.out): Remove rule.
15556 [$(run-built-tests) = yes] (tests): Depend on
15557 $(objpfx)tst-initorder2-cmp.out.
15558 ($(objpfx)tst-initorder2-cmp.out): New rule.
15559 [$(run-built-tests) = yes] (tests): Depend on
15560 $(objpfx)tst-unused-dep-cmp.out.
15561 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15562 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15563 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15564 on $(objpfx)tst-setvbuf1-cmp.out.
15565 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15566 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15567 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15568 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15569 ($(objpfx)tst-svc.out): Remove rule.
15570 ($(objpfx)tst-svc-cmp.out): New rule.
15572 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15574 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15575 * ctype/ctype.h [__USE_MISC]: Likewise.
15576 * dirent/dirent.h [__USE_MISC]: Likewise.
15577 * grp/grp.h [__USE_MISC]: Likewise.
15578 * io/fcntl.h [__USE_MISC]: Likewise.
15579 * io/sys/stat.h [__USE_MISC]: Likewise.
15580 * libio/stdio.h [__USE_MISC]: Likewise.
15581 * posix/unistd.h [__USE_MISC]: Likewise.
15582 * pwd/pwd.h [__USE_MISC]: Likewise.
15583 * stdlib.h [__USE_MISC]: Likewise.
15584 * string/bits/string2.h [__USE_MISC]: Likewise.
15585 * string/string.h [__USE_MISC]: Likewise.
15586 * time/time.h [__USE_MISC]: Likewise.
15588 2014-02-13 Andreas Schwab <schwab@suse.de>
15591 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15592 second answer buffer if it was separately allocated.
15594 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15596 * sysdeps/mips/math-tests.h: Include <features.h>.
15597 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15598 (ROUNDING_TESTS_long_double): Do not define.
15599 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15600 (EXCEPTION_TESTS_long_double): Likewise.
15601 * sysdeps/mips/mips64/libm-test-ulps: Update.
15603 * include/features.h (__USE_BSD): Remove macro definitions.
15604 (__USE_SVID): Likewise.
15605 (_BSD_SOURCE): Likewise.
15606 (_SVID_SOURCE): Likewise.
15607 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15608 from definition of _DEFAULT_SOURCE.
15609 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15611 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15612 * bits/mman.h [__USE_BSD]: Likewise.
15613 * bits/termios.h [__USE_BSD]: Likewise.
15614 * bits/waitstatus.h [__USE_BSD]: Likewise.
15615 * ctype/ctype.h [__USE_SVID]: Likewise.
15616 * dirent/dirent.h [__USE_BSD]: Likewise.
15617 * grp/grp.h [__USE_SVID]: Likewise.
15618 [__USE_BSD]: Likewise.
15619 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15620 * io/fcntl.h [__USE_BSD]: Likewise.
15621 * io/ftw.h [__USE_BSD]: Likewise.
15622 * io/sys/stat.h [__USE_BSD]: Likewise.
15623 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15624 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15625 * libio/stdio.h [__USE_SVID]: Likewise.
15626 [__USE_BSD]: Likewise.
15627 * math/math.h [__USE_SVID]: Likewise.
15628 [__USE_BSD]: Likewise.
15629 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15630 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15631 * misc/search.h [__USE_SVID]: Likewise.
15632 * misc/sys/mman.h [__USE_BSD]: Likewise.
15633 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15634 * misc/sys/uio.h [__USE_BSD]: Likewise.
15635 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15636 * posix/glob.h [__USE_BSD]: Likewise.
15637 * posix/regex.h [__USE_BSD]: Likewise.
15638 * posix/sys/types.h [__USE_BSD]: Likewise.
15639 [__USE_SVID]: Likewise.
15640 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15641 * posix/sys/wait.h [__USE_BSD]: Likewise.
15642 [__USE_SVID]: Likewise.
15643 * posix/unistd.h [__USE_BSD]: Likewise.
15644 [__USE_SVID]: Likewise.
15645 * pwd/pwd.h [__USE_SVID]: Likewise.
15646 * resolv/netdb.h [__USE_BSD]: Likewise.
15647 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15648 * signal/signal.h [__USE_BSD]: Likewise.
15649 [__USE_SVID]: Likewise.
15650 * socket/sys/socket.h [__USE_BSD]: Likewise.
15651 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15652 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15653 [__USE_SVID]: Likewise.
15654 * string/bits/string2.h [__USE_BSD]: Likewise.
15655 [__USE_SVID]: Likewise.
15656 * string/bits/string3.h [__USE_BSD]: Likewise.
15657 * string/endian.h [__USE_BSD]: Likewise.
15658 * string/string.h [__USE_SVID]: Likewise.
15659 [__USE_BSD]: Likewise.
15660 * string/strings.h [__USE_BSD]: Likewise.
15661 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15662 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15663 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15664 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15665 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15666 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15670 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15671 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15673 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15674 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15676 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15678 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15679 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15680 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15682 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15684 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15685 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15686 * termios/termios.h [__USE_BSD]: Likewise.
15687 * time/sys/time.h [__USE_BSD]: Likewise.
15688 * time/time.h [__USE_BSD]: Likewise.
15689 [__USE_SVID]: Likewise.
15691 * Makefile (subdir_targets): Remove subdir_lint.out.
15693 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15694 (do-tst-printf): Likewise.
15695 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15696 $(objpfx)tst-printf.out.
15698 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15700 * Makerules (check-abi-%): Change target to
15701 $(objpfx)check-abi-%.out.
15702 (check-abi target): Update dependencies.
15703 (check-abi-pattern variable): Redirect output of diff to $@.
15704 (check-abi variable): Likewise.
15705 * elf/Makefile (check-abi): Update dependencies.
15707 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15709 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15710 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15712 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15713 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15714 value has largest subnormal exponent.
15715 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15716 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15717 * sysdeps/aarch64/soft-fp/sfp-machine.h
15718 (_FP_TININESS_AFTER_ROUNDING): New macro.
15719 * sysdeps/alpha/soft-fp/sfp-machine.h
15720 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15721 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15723 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15724 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15725 * sysdeps/mips/soft-fp/sfp-machine.h
15726 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15727 * sysdeps/powerpc/soft-fp/sfp-machine.h
15728 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15729 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15731 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15732 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15733 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15734 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15735 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15738 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
15741 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15744 2014-02-12 Richard Henderson <rth@redhat.com>
15746 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15747 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15748 * sysdeps/unix/sysv/linux/alpha: Move directory from
15749 ports/sysdeps/unix/sysv/linux/alpha.
15750 * README: Update listing for alpha-*-linux-gnu.
15752 2014-02-11 Joseph Myers <joseph@codesourcery.com>
15754 * include/features.h: Update comment documenting feature test
15756 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15758 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15759 (_SVID_SOURCE): Likewise.
15760 (_DEFAULT_SOURCE): Update description of default features.
15761 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15763 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15764 (S_ISVTX): Likewise.
15765 * manual/math.texi (Mathematical Constants): Likewise.
15766 * manual/signal.texi (Interrupted Primitives): Likewise.
15767 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15768 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15769 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15770 Don't refer to _SVID_SOURCE in warning text.
15772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15774 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15776 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15777 * sysdeps/mips/dl-lookup.c: Remove.
15778 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15780 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15783 * math/auto-libm-test-in: Add testcase for expl.
15784 * math/auto-libm-test-out: Regenerate.
15785 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15786 calculation of unsafe.
15787 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15789 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15791 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15792 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15793 ports/sysdeps/unix/sysv/linux/aarch64.
15794 * README: Update listing for aarch64*-*-linux-gnu.
15796 2014-02-11 Will Newton <will.newton@linaro.org>
15798 * manual/probes.texi (Mathematical Function Probes): Use
15799 "triggered" instead of "hit".
15801 * manual/probes.texi (Internal Probes): Add documentation
15802 of setjmp, longjmp and longjmp_target probes.
15804 * include/stap-probe.h: Add comment about probe argument
15807 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15808 definition. (tr_where, tr_freehook, tr_mallochook,
15809 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15811 2014-02-11 David S. Miller <davem@davemloft.net>
15813 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15814 processing int_tests.
15816 2014-02-10 Joseph Myers <joseph@codesourcery.com>
15818 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15819 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15820 * sysdeps/unix/sysv/linux/mips: Move directory from
15821 ports/sysdeps/unix/sysv/linux/mips.
15822 * README: Update listing for mips-*-linux-gnu and
15823 mips64-*-linux-gnu.
15825 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15827 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15828 * sysdeps/unix/sysv/linux/m68k: Move directory from
15829 ports/sysdeps/unix/sysv/linux/m68k.
15830 * README: Update listing for m68k-*-linux-gnu.
15832 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15834 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15835 * sysdeps/unix/sysv/linux/generic: Move directory from
15836 ports/sysdeps/unix/sysv/linux/generic.
15837 * sysdeps/unix/sysv/linux/tile: Move directory from
15838 ports/sysdeps/unix/sysv/linux/tile.
15839 * README: Update listing for tile*-*-linux-gnu.
15841 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
15843 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15845 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15846 * catgets/open_catalog.c (__open_catalog): Likewise.
15847 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15848 * debug/confstr_chk.c: Likewise.
15849 * debug/fread_chk.c (__fread_chk): Likewise.
15850 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15851 * debug/getgroups_chk.c: Likewise.
15852 * debug/mbsnrtowcs_chk.c: Likewise.
15853 * debug/mbsrtowcs_chk.c: Likewise.
15854 * debug/mbstowcs_chk.c: Likewise.
15855 * debug/memcpy_chk.c: Likewise.
15856 * debug/memmove_chk.c: Likewise.
15857 * debug/mempcpy_chk.c: Likewise.
15858 * debug/memset_chk.c: Likewise.
15859 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15860 * debug/strcat_chk.c (__strcat_chk): Likewise.
15861 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15862 * debug/strncat_chk.c (__strncat_chk): Likewise.
15863 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15864 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15865 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15866 * debug/wcpncpy_chk.c: Likewise.
15867 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15868 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15869 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15870 * debug/wcsncpy_chk.c: Likewise.
15871 * debug/wcsnrtombs_chk.c: Likewise.
15872 * debug/wcsrtombs_chk.c: Likewise.
15873 * debug/wcstombs_chk.c: Likewise.
15874 * debug/wmemcpy_chk.c: Likewise.
15875 * debug/wmemmove_chk.c: Likewise.
15876 * debug/wmempcpy_chk.c: Likewise.
15877 * debug/wmemset_chk.c: Likewise.
15878 * dirent/scandirat.c (SCANDIRAT): Likewise.
15879 * dlfcn/dladdr1.c (dladdr1): Likewise.
15880 * dlfcn/dladdr.c (dladdr): Likewise.
15881 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15882 * dlfcn/dlerror.c (__dlerror): Likewise.
15883 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15884 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15885 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15886 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15887 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15888 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15889 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15890 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15892 * elf/dl-conflict.c: Likewise.
15893 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15894 * elf/dl-dst.h: Likewise.
15895 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15896 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15897 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15898 * elf/dl-init.c (call_init, _dl_init): Likewise.
15899 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15900 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15901 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15903 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15905 * elf/dl-minimal.c (__libc_memalign): Likewise.
15906 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15907 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15908 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15909 * elf/dl-sym.c (do_sym): Likewise.
15910 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15911 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15912 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15913 * elf/dl-writev.h (_dl_writev): Likewise.
15914 * elf/ldconfig.c (search_dir): Likewise.
15915 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15916 (dl_main): Likewise.
15917 * elf/setup-vdso.h (setup_vdso): Likewise.
15918 * grp/compat-initgroups.c (compat_call): Likewise.
15919 * grp/fgetgrent.c (fgetgrent): Likewise.
15920 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15921 * grp/putgrent.c (putgrent): Likewise.
15922 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15924 * hurd/hurdinit.c: Likewise.
15925 * iconvdata/8bit-gap.c (struct): Likewise.
15926 * iconvdata/ansi_x3.110.c : Likewise.
15927 * iconvdata/big5.c : Likewise.
15928 * iconvdata/big5hkscs.c : Likewise.
15929 * iconvdata/cp1255.c: Likewise.
15930 * iconvdata/cp1258.c : Likewise.
15931 * iconvdata/cp932.c : Likewise.
15932 * iconvdata/euc-cn.c: Likewise.
15933 * iconvdata/euc-jisx0213.c : Likewise.
15934 * iconvdata/euc-jp.c: Likewise.
15935 * iconvdata/euc-jp-ms.c : Likewise.
15936 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15937 * iconvdata/gb18030.c : Likewise.
15938 * iconvdata/gbbig5.c (const): Likewise.
15939 * iconvdata/gbgbk.c: Likewise.
15940 * iconvdata/gbk.c : Likewise.
15941 * iconvdata/ibm1364.c : Likewise.
15942 * iconvdata/ibm930.c : Likewise.
15943 * iconvdata/ibm932.c: Likewise.
15944 * iconvdata/ibm933.c : Likewise.
15945 * iconvdata/ibm935.c : Likewise.
15946 * iconvdata/ibm937.c : Likewise.
15947 * iconvdata/ibm939.c : Likewise.
15948 * iconvdata/ibm943.c: Likewise.
15949 * iconvdata/iso_11548-1.c: Likewise.
15950 * iconvdata/iso-2022-cn.c : Likewise.
15951 * iconvdata/iso-2022-cn-ext.c : Likewise.
15952 * iconvdata/iso-2022-jp-3.c: Likewise.
15953 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15954 * iconvdata/iso-2022-kr.c : Likewise.
15955 * iconvdata/iso646.c (gconv_end): Likewise.
15956 * iconvdata/iso_6937-2.c : Likewise.
15957 * iconvdata/iso_6937.c : Likewise.
15958 * iconvdata/iso8859-1.c: Likewise.
15959 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15960 * iconvdata/shift_jisx0213.c : Likewise.
15961 * iconvdata/sjis.c : Likewise.
15962 * iconvdata/t.61.c : Likewise.
15963 * iconvdata/tcvn5712-1.c : Likewise.
15964 * iconvdata/tscii.c: Likewise.
15965 * iconvdata/uhc.c : Likewise.
15966 * iconvdata/unicode.c (gconv_end): Likewise.
15967 * iconvdata/utf-16.c (gconv_end): Likewise.
15968 * iconvdata/utf-32.c (gconv_end): Likewise.
15969 * iconvdata/utf-7.c (base64): Likewise.
15970 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15971 * iconv/gconv_close.c (__gconv_close): Likewise.
15972 * iconv/gconv_open.c (__gconv_open): Likewise.
15973 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15974 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15975 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15976 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15977 (ucs4le_internal_loop_single): Likewise.
15978 * iconv/iconv.c (iconv): Likewise.
15979 * iconv/iconv_close.c: Likewise.
15980 * iconv/loop.c (SINGLE): Likewise.
15981 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15982 * include/atomic.h: Likewise.
15983 * inet/inet6_option.c (option_alloc): Likewise.
15984 * intl/bindtextdom.c (set_binding_values): Likewise.
15985 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15986 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15987 * intl/localealias.c (read_alias_file): Likewise.
15988 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15989 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15990 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15991 * libio/fmemopen.c (fmemopen): Likewise.
15992 * libio/iofgets.c (_IO_fgets): Likewise.
15993 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15994 * libio/iofgetws.c (fgetws): Likewise.
15995 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15996 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15997 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15998 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15999 * locale/findlocale.c (_nl_find_locale): Likewise.
16000 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16001 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16003 * locale/setlocale.c (setlocale): Likewise.
16004 * login/programs/pt_chown.c (main): Likewise.
16005 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16006 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16007 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16008 (mmap, mmap64, mremap, munmap): Likewise.
16009 * math/e_exp2l.c: Likewise.
16010 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16011 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16012 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16013 * math/s_catan.c (__catan): Likewise.
16014 * math/s_catanf.c (__catanf): Likewise.
16015 * math/s_catanh.c (__catanh): Likewise.
16016 * math/s_catanhf.c (__catanhf): Likewise.
16017 * math/s_catanhl.c (__catanhl): Likewise.
16018 * math/s_catanl.c (__catanl): Likewise.
16019 * math/s_ccosh.c (__ccosh): Likewise.
16020 * math/s_ccoshf.c (__ccoshf): Likewise.
16021 * math/s_ccoshl.c (__ccoshl): Likewise.
16022 * math/s_cexp.c (__cexp): Likewise.
16023 * math/s_cexpf.c (__cexpf): Likewise.
16024 * math/s_cexpl.c (__cexpl): Likewise.
16025 * math/s_clog10.c (__clog10): Likewise.
16026 * math/s_clog10f.c (__clog10f): Likewise.
16027 * math/s_clog10l.c (__clog10l): Likewise.
16028 * math/s_clog.c (__clog): Likewise.
16029 * math/s_clogf.c (__clogf): Likewise.
16030 * math/s_clogl.c (__clogl): Likewise.
16031 * math/s_csin.c (__csin): Likewise.
16032 * math/s_csinf.c (__csinf): Likewise.
16033 * math/s_csinh.c (__csinh): Likewise.
16034 * math/s_csinhf.c (__csinhf): Likewise.
16035 * math/s_csinhl.c (__csinhl): Likewise.
16036 * math/s_csinl.c (__csinl): Likewise.
16037 * math/s_csqrt.c (__csqrt): Likewise.
16038 * math/s_csqrtf.c (__csqrtf): Likewise.
16039 * math/s_csqrtl.c (__csqrtl): Likewise.
16040 * math/s_ctan.c (__ctan): Likewise.
16041 * math/s_ctanf.c (__ctanf): Likewise.
16042 * math/s_ctanh.c (__ctanh): Likewise.
16043 * math/s_ctanhf.c (__ctanhf): Likewise.
16044 * math/s_ctanhl.c (__ctanhl): Likewise.
16045 * math/s_ctanl.c (__ctanl): Likewise.
16046 * math/w_pow.c: Likewise.
16047 * math/w_powf.c: Likewise.
16048 * math/w_powl.c: Likewise.
16049 * math/w_scalb.c (sysv_scalb): Likewise.
16050 * math/w_scalbf.c (sysv_scalbf): Likewise.
16051 * math/w_scalbl.c (sysv_scalbl): Likewise.
16052 * misc/error.c (error_tail): Likewise.
16053 * misc/pselect.c (__pselect): Likewise.
16054 * nis/nis_callback.c (__nis_create_callback): Likewise.
16055 * nis/nis_call.c (__nisfind_server): Likewise.
16056 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16057 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16058 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16059 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16060 * nis/nis_lookup.c (nis_lookup): Likewise.
16061 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16062 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16063 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16064 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16065 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16066 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16067 * nis/nss_compat/compat-initgroups.c (add_group)
16068 (internal_getgrent_r): Likewise.
16069 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16070 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16071 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16072 (internal_getspnam_r): Likewise.
16073 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16074 (_nss_nis_getaliasbyname_r): Likewise.
16075 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16076 (_nss_nis_getntohost_r): Likewise.
16077 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16078 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16079 (_nss_nis_getgrgid_r): Likewise.
16080 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16081 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16082 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16083 (_nss_nis_gethostbyname4_r): Likewise.
16084 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16085 (initgroups_netid): Likewise.
16086 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16087 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16088 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16089 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16090 (_nss_nis_getprotobynumber_r): Likewise.
16091 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16092 (_nss_nis_getsecretkey): Likewise.
16093 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16094 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16095 (_nss_nis_getpwuid_r): Likewise.
16096 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16097 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16098 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16099 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16100 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16101 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16102 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16104 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16105 (_nss_nisplus_getntohost_r): Likewise.
16106 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16107 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16108 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16109 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16111 * nis/nss_nisplus/nisplus-initgroups.c
16112 (_nss_nisplus_initgroups_dyn): Likewise.
16113 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16114 (_nss_nisplus_getnetbyaddr_r): Likewise.
16115 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16116 (_nss_nisplus_getprotobynumber_r): Likewise.
16117 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16118 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16119 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16121 * nis/nss_nisplus/nisplus-service.c
16122 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16123 (_nss_nisplus_getservbyport_r): Likewise.
16124 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16125 (_nss_nisplus_getspnam_r): Likewise.
16126 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16128 * nscd/aicache.c (addhstaiX): Likewise.
16129 * nscd/cache.c (cache_search, prune_cache): Likewise.
16130 * nscd/connections.c (register_traced_file, send_ro_fd)
16131 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16132 (main_loop_epoll): Likewise.
16133 * nscd/grpcache.c (addgrbyX): Likewise.
16134 * nscd/hstcache.c (addhstbyX): Likewise.
16135 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16136 * nscd/mem.c (gc, mempool_alloc): Likewise.
16137 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16138 (addinnetgrX): Likewise.
16139 * nscd/nscd-client.h (__nscd_acquire_maplock)
16140 (__nscd_drop_map_ref): Likewise.
16141 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16142 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16143 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16145 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16146 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16147 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16148 (__nscd_get_map_ref): Likewise.
16149 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16150 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16152 * nscd/pwdcache.c (addpwbyX): Likewise.
16153 * nscd/selinux.c (preserve_capabilities): Likewise.
16154 * nscd/servicescache.c (addservbyX): Likewise.
16155 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16156 * posix/fnmatch.c (fnmatch): Likewise.
16157 * posix/getopt.c (_getopt_internal_r): Likewise.
16158 * posix/glob.c (glob, glob_in_dir): Likewise.
16159 * posix/wordexp.c (exec_comm_child): Likewise.
16160 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16161 (getanswer_r, gaih_getanswer_slice): Likewise.
16162 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16163 * resolv/res_init.c: Likewise.
16164 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16165 * resolv/res_query.c (__libc_res_nquery): Likewise.
16166 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16168 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16169 * stdio-common/perror.c (perror): Likewise.
16170 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16171 * stdio-common/tmpnam.c (tmpnam): Likewise.
16172 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16173 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16174 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16176 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16177 * stdlib/putenv.c (putenv): Likewise.
16178 * stdlib/setenv.c (__add_to_environ): Likewise.
16179 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16180 * stdlib/strtol_l.c (INTERNAL): Likewise.
16181 * string/memmem.c (memmem): Likewise.
16182 * string/strerror.c (strerror): Likewise.
16183 * string/strnlen.c (__strnlen): Likewise.
16184 * string/test-memmem.c (simple_memmem): Likewise.
16185 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16186 * sunrpc/pm_getport.c (__get_socket): Likewise.
16187 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16188 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16189 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16190 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16192 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16193 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16194 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16195 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16196 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16197 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16199 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16201 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16202 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16203 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16204 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16205 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16207 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16208 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16209 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16210 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16211 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16212 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16214 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16216 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16218 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16219 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16220 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16221 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16222 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16223 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16224 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16225 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16226 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16227 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16228 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16229 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16230 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16231 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16233 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16235 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16237 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16239 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16241 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16242 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16243 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16245 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16246 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16247 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16248 * sysdeps/posix/sleep.c: Likewise.
16249 * sysdeps/posix/tempname.c: Likewise.
16250 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16251 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16253 * sysdeps/powerpc/powerpc32/dl-machine.h
16254 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16255 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16256 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16257 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16258 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16260 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16261 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16262 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16263 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16264 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16265 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16266 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16267 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16268 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16269 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16270 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16271 (elf_machine_lazy_rel): Likewise.
16272 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16274 (elf_machine_lazy_rel): Likewise.
16275 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16276 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16277 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16278 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16279 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16280 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16281 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16282 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16284 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16285 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16286 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16287 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16288 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16289 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16290 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16291 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16292 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16293 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16294 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16296 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16297 (__posix_fallocate64_l64): Likewise.
16298 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16299 (posix_fallocate): Likewise.
16300 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16302 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16303 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16304 (getifaddrs_internal): Likewise.
16305 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16306 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16307 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16308 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16309 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16310 (__posix_fallocate64_l64): Likewise.
16311 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16313 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16314 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16315 (__get_clockfreq): Likewise.
16316 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16317 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16318 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16320 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16321 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16322 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16323 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16325 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16326 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16327 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16329 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16330 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16331 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16333 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16334 (posix_fallocate): Likewise.
16335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16336 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16337 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16338 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16339 (elf_machine_rela, elf_machine_rela_relative)
16340 (elf_machine_lazy_rel): Likewise.
16341 * time/asctime.c (asctime_internal): Likewise.
16342 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16343 * time/tzset.c (__tzset_parse_tz): Likewise.
16344 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16345 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16346 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16347 * wcsmbs/wcsmbsload.h: Likewise.
16350 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16352 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16353 (arena_get2): Remove THREAD_STATS conditionals.
16354 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16355 (__malloc_stats, int): Likewise.
16357 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16359 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16360 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16362 * manual/setjmp.texi: Fix typos/grammar errors.
16364 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16365 Only return early when n is <= 0. Delete unused return statement.
16367 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16368 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16369 * debug/tst-longjmp_chk3.c: New file.
16371 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16372 (test_main): Replace code with set_fortify_handler call.
16373 * debug/test-strcpy_chk.c: Likewise.
16374 * debug/tst-chk1.c: Likewise.
16375 * debug/tst-longjmp_chk.c: Likewise.
16376 * test-skeleton.c: Include fcntl.h & paths.h
16377 (set_fortify_handler): Define.
16379 * debug/tst-longjmp_chk.c: Add header comment and include
16380 ../test-skeleton.c.
16381 (do_test): Mark static.
16382 (TEST_FUNCTION): Define.
16384 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16385 (IP_PMTUDISC_INTERFACE): Likewise.
16386 (IP_MULTICAST_IF): Likewise.
16387 (IP_MULTICAST_TTL): Likewise.
16388 (IP_MULTICAST_LOOP): Likewise.
16389 (IP_ADD_MEMBERSHIP): Likewise.
16390 (IP_DROP_MEMBERSHIP): Likewise.
16391 (IP_UNBLOCK_SOURCE): Likewise.
16392 (IP_BLOCK_SOURCE): Likewise.
16393 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16394 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16395 (IP_MSFILTER): Likewise.
16396 (MCAST_JOIN_GROUP): Likewise.
16397 (MCAST_BLOCK_SOURCE): Likewise.
16398 (MCAST_UNBLOCK_SOURCE): Likewise.
16399 (MCAST_LEAVE_GROUP): Likewise.
16400 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16401 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16402 (MCAST_MSFILTER): Likewise.
16403 (IP_MULTICAST_ALL): Likewise.
16404 (IP_UNICAST_IF): Likewise.
16406 * timezone/Makefile: Delete $(have-ksh) check.
16407 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16408 * timezone/tzselect.ksh: Add +x mode bits.
16410 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16411 (ANON_INODE_FS_MAGIC): Likewise.
16412 (BDEVFS_MAGIC): Likewise.
16413 (BINFMTFS_MAGIC): Likewise.
16414 (BTRFS_TEST_MAGIC): Likewise.
16415 (CRAMFS_MAGIC_WEND): Likewise.
16416 (DEBUGFS_MAGIC): Likewise.
16417 (ECRYPTFS_SUPER_MAGIC): Likewise.
16418 (EXT3_SUPER_MAGIC): Likewise.
16419 (EXT4_SUPER_MAGIC): Likewise.
16420 (FUTEXFS_SUPER_MAGIC): Likewise.
16421 (HOSTFS_SUPER_MAGIC): Likewise.
16422 (HUGETLBFS_MAGIC): Likewise.
16423 (MINIX3_SUPER_MAGIC): Likewise.
16424 (MTD_INODE_FS_MAGIC): Likewise.
16425 (NILFS_SUPER_MAGIC): Likewise.
16426 (OPENPROM_SUPER_MAGIC): Likewise.
16427 (PIPEFS_MAGIC): Likewise.
16428 (PSTOREFS_MAGIC): Likewise.
16429 (QNX6_SUPER_MAGIC): Likewise.
16430 (RAMFS_MAGIC): Likewise.
16431 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16432 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16433 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16434 (SECURITYFS_MAGIC): Likewise.
16435 (SELINUX_MAGIC): Likewise.
16436 (SMACK_MAGIC): Likewise.
16437 (SOCKFS_MAGIC): Likewise.
16438 (SQUASHFS_MAGIC): Likewise.
16439 (STACK_END_MAGIC): Likewise.
16440 (TMPFS_MAGIC): Likewise.
16441 (USBDEVICE_SUPER_MAGIC): Likewise.
16442 (V9FS_MAGIC): Likewise.
16443 (XENFS_SUPER_MAGIC): Likewise.
16444 (CRAMFS_MAGIC): Fix typo in comment.
16445 (EXT2_SUPER_MAGIC): Update comment.
16446 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16448 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16450 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16451 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16452 * sysdeps/unix/sysv/linux/arm: Move directory from
16453 ports/sysdeps/unix/sysv/linux/arm.
16454 * README: Update listing for arm-*-linux-gnueabi.
16456 * README: Remove mention of am33.
16458 2014-02-07 Roland McGrath <roland@hack.frob.com>
16460 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16461 than the comma operator, to avoid "rhs of comma has no effect"
16463 (__sigfillset, __sigandset, __sigorset): Likewise.
16464 * include/signal.h (__sigemptyset): Likewise.
16465 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16467 2014-02-07 Allan McRae <allan@archlinux.org>
16469 * version.h (RELEASE): Set to "development".
16470 (VERSION): Set to "2.19.90"
16471 * NEWS: Add 2.20 section.
16473 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16476 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16478 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16480 * manual/contrib.texi: Update entry for Carlos O'Donell,
16481 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16483 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16485 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16487 * sysdeps/unix/sysv/linux/kernel-features.h
16488 [__LINUX_KERNEL_VERSION >= 0x020621]
16489 (__ASSUME_PROC_PID_TASK_COMM): Define.
16491 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16494 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16495 conversion when destination buffer does not have enough space.
16496 * libio/tst-ftell-partial-wide.c: New test case.
16497 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16499 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16500 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16501 Leonard and Allan McRae.
16503 2014-02-04 David S. Miller <davem@davemloft.net>
16505 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16508 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16537 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16539 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16540 * shlib-versions: Likewise.
16542 2014-02-04 Roland McGrath <roland@hack.frob.com>
16543 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16545 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16546 (abilist-pattern): New variable, set to %-le.abilist.
16548 * Makerules (abilist-pattern): New variable.
16549 (vpath): Use $(abilist-pattern) in place of %.abilist.
16550 (check-abi-% pattern rule): Likewise.
16551 (check-abi, update-abi): Likewise.
16553 2014-02-04 Eric Wong <normalperson@yhbt.net>
16555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16557 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16559 * manual/startup.texi: Add next, previous, and top entries for
16560 the `Program Arguments' and `Environment Variables' nodes.
16562 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16564 * manual/macros.texi: Add comments before MTASC-safety macros.
16566 * manual/users.texi: Document MTASC-safety properties.
16568 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16569 (pthread_getspecific, pthread_setspecific): Format with
16570 @deftypefun, and add @safety note.
16571 * manual/signal.texi: Move comments that analyze the above
16572 functions to their home place.
16574 2014-02-03 Allan McRae <allan@archlinux.org>
16576 * po/sl.po: Update Slovenian translation from translation project.
16578 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16580 * manual/time.texi (timegm): Add missing blank after @c.
16581 Reported by Joseph Myers <joseph@codesourcery.com>.
16583 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16585 * manual/check-safety.sh: New.
16586 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16588 * manual/terminal.texi: Document MTASC-safety properties.
16590 * manual/filesys.texi: Document MTASC-safety properties.
16592 * manual/errno.texi: Document MTASC-safety properties.
16594 * manual/intro.texi: Document safety identifiers and
16597 * manual/string.texi (wcstok): Fix prototype.
16598 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16600 * manual/time.texi: Document MTASC-safety properties.
16602 * manual/string.texi: Document MTASC-safety properties.
16604 * manual/threads.texi: Document MTASC-safety properties.
16606 * manual/stdio.texi: Document MTASC-safety properties.
16608 * manual/syslog.texi: Document MTASC-safety properties.
16610 * manual/sysinfo.texi: Document MTASC-safety properties.
16612 * manual/startup.texi: Document MTASC-safety properties.
16614 * manual/socket.texi: Document MTASC-safety properties.
16616 * manual/signal.texi: Document MTASC-safety properties.
16618 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16620 * manual/setjmp.texi: Document MTASC-safety properties.
16622 * manual/search.texi: Document MTASC-safety properties.
16624 * manual/resource.texi: Document MTASC-safety properties.
16626 * manual/process.texi: Document MTASC-safety properties.
16628 * manual/platform.texi: Document MTASC-safety properties.
16630 * manual/pipe.texi: Document MTASC-safety properties.
16632 * manual/pattern.texi: Document MTASC-safety properties.
16634 * manual/message.texi: Document MTASC-safety properties.
16637 * manual/memory.texi: Document MTASC-safety properties.
16639 * manual/math.texi: Document MTASC-safety properties.
16641 * manual/locale.texi: Document MTASC-safety properties.
16643 * manual/llio.texi: Document MTASC-safety properties.
16645 * manual/libdl.texi: New.
16647 * manual/lang.texi: Document MTASC-safety properties.
16649 * manual/job.texi: Document MTASC-safety properties.
16651 * manual/getopt.texi: Document MTASC-safety properties.
16653 * manual/ctype.texi: Document MTASC-safety properties.
16655 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16658 * csu/libc-tls.c (static_map): Remove variable.
16659 (__libc_setup_tls): Use main executable's link map for TLS data.
16660 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16661 casing for LM_ID_BASE and GL(dl_nns).
16662 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16663 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16664 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16665 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16666 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16668 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16671 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
16673 * manual/debug.texi: Document MTASC-safety properties.
16675 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16678 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16679 of __x86_64__ when disabling x87 inline functions.
16681 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
16683 * manual/charset.texi: Document MTASC-safety properties.
16685 * manual/crypt.texi: Document MTASC-safety properties.
16687 * manual/conf.texi: Document MTASC-safety properties.
16689 * manual/arith.texi: Document MTASC-safety properties.
16691 * manual/argp.texi: Document MTASC-safety properties.
16693 * manual/macros.texi: Introduce macros to document multi
16694 thread, asynchronous signal and asynchronous cancellation
16696 * manual/intro.texi: Introduce the properties themselves.
16698 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16700 * sysdeps/sh/sh4/Makefile: New file.
16702 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16704 * math/gen-libm-test.pl ($srcdir): New variable.
16705 ($auto_input): Use it.
16707 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16710 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16711 access beyond array bounds when parsing netgroups file.
16713 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16714 the old buffer before realloc.
16716 2014-01-27 Allan McRae <allan@archlinux.org>
16718 * po/fr.po: Update French translation from translation project.
16720 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16722 * sysdeps/sh/libm-test-ulps: Regenerate.
16724 2014-01-24 David S. Miller <davem@davemloft.net>
16726 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16728 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16730 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16731 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16733 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16736 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16737 string pointers after reallocation.
16739 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16741 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16742 __SH4A__ instead of __SH_FPU_ANY__.
16744 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16746 * sysdeps/sh/fpu_control.h: New file.
16747 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16748 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16749 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16750 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16751 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16752 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16753 * sysdeps/sh/sys/ucontext.h: Remove.
16754 * sysdeps/sh/sys: Remove directory.
16756 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16758 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16759 s390/sys/ucontext.h.
16760 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16761 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16763 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16766 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16768 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16771 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16772 Adjust the vDSO correctly for internal calls.
16773 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16775 2014-01-20 Allan McRae <allan@archlinux.org>
16777 * po/ca.po: Update Catalan translation from translation project.
16779 2014-01-16 Mike Frysinger <vapier@gentoo.org>
16781 * sysdeps/s390/sotruss-lib.c: New file.
16783 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16786 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16787 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16788 local calls issues by not having a PLT stub required for IFUNC calls.
16789 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16791 2014-01-16 Joseph Myers <joseph@codesourcery.com>
16793 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16794 * math/test-fpucw-static.c: Likewise.
16796 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16799 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16801 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16803 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16804 implementation for powerpc.
16806 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
16809 * sysdeps/posix/system.c (__libc_system): Do not enable
16810 asynchronous cancellation.
16812 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16815 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16816 handling only for numbers special also in the IEEE case.
16818 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16820 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16822 2014-01-11 Allan McRae <allan@archlinux.org>
16824 * po/bg.po: Update Bulgarian translation from translation project.
16826 * po/de.po: Update German translation from translation project.
16828 2014-01-10 Roland McGrath <roland@hack.frob.com>
16830 * sysdeps/generic/gcc-compat.h: New file.
16832 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16834 * benchtests/asin-inputs: Correct slow inputs.
16835 * benchtests/acos-inputs: Likewise.
16837 2014-01-10 Allan McRae <allan@archlinux.org>
16839 * po:sv.po: Update Swedish translation from translation project.
16841 * po/vi.po: Update Vietnamese translation from translation project.
16843 * po/eo.po: Update Esperanto translation from translation project.
16845 * po/cs.po: Update Czech translation from translation project.
16847 * po/nl.po: Update Dutch translation from translation project.
16849 * po/pl.po: Update Polish translation from translation project.
16851 * po/ru.po: Update Russian translation from translation project.
16853 * po/uk.po: Update Ukrainian translation from translation project.
16855 2014-01-08 Brooks Moses <bmoses@google.com>
16857 * elf/dl-load.c: Fix comment typo.
16859 2014-01-08 Carlos O'Donell <carlos@redhat.com>
16861 * po/header.pot: Rename to...
16862 * po/pot.header: ... this.
16863 * po/Makefile: Use pot.header.
16865 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16866 Maxim Kuvyrkov <maxim@kugelworks.com>
16869 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16870 SRC and DEST against LEN.
16872 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16875 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16877 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16879 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16883 2014-01-08 Joseph Myers <joseph@codesourcery.com>
16886 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16887 for large positive arguments.
16889 2014-01-07 Joseph Myers <joseph@codesourcery.com>
16891 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16893 * math/auto-libm-test-in: Mark various tests with
16894 xfail-rounding:ldbl-128ibm.
16895 * math/auto-libm-test-out: Regenerated.
16898 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16899 Increase overflow threshold.
16901 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
16904 * stdio-common/vfprintf.c: Check for integer overflow.
16906 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16908 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16909 the first argument and return value of __tls_get_addr_internal.
16911 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16913 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16914 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16916 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16918 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16919 * sysdeps/s390/rtld-global-offsets.sym: New file.
16920 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16922 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16923 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16924 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16926 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16927 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16933 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16934 halfs of GPRs for high_gprs contexts.
16935 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16936 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16938 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16940 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16942 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16943 for high GPRs (uc_high_gprs) and for future extensions
16945 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16946 for future extensions (__reserved).
16947 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16949 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16950 SC_HIGHGPRS offset definition.
16951 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16952 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16954 * Versions.def: Add GLIBC_2.19 for libpthread.
16955 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16956 siglongjmp for libpthread with GLIBC_2.19 symver.
16957 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16958 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16959 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16960 * sysdeps/s390/__longjmp.c: New file.
16961 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16962 * sysdeps/s390/longjmp.c: New file.
16963 * sysdeps/s390/setjmp.S: New file.
16964 * sysdeps/s390/sigjmp.S: New file.
16965 * sysdeps/s390/v1-longjmp.c: New file.
16966 * sysdeps/s390/v1-setjmp.h: New file.
16967 * sysdeps/s390/v1-sigjmp.c: New file.
16968 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16969 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16970 GLIBC_2.19 version.
16971 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16972 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16973 versioned symbols for ____longjmp_chk.
16974 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16984 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16985 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16986 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16987 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16988 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16989 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16990 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16991 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16992 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16993 * sysdeps/s390/rtld-__longjmp.c: New file.
16994 * sysdeps/s390/rtld-setjmp.S: New file.
16996 2014-01-06 Joseph Myers <joseph@codesourcery.com>
16999 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17000 Return -__logl (x) for small positive arguments without evaluating
17003 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17005 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17007 (__ptrace_peeksiginfo_args): ... this.
17008 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17009 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17010 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17012 2014-01-06 Allan McRae <allan@archlinux.org>
17014 * inet/netinet/in.h: Fix typo in comment.
17016 2014-01-05 Andreas Jaeger <aj@suse.de>
17018 * sysdeps/i386/fpu/libm-test-ulps: Update.
17020 2014-01-05 Allan McRae <allan@archlinux.org>
17022 * po/libc.pot: Regenerated.
17024 * malloc/memusagestat.c: Fix gettext call formatting.
17026 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17028 * nscd/nscd.c: Improve usage() output.
17030 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17032 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17033 * sysdeps/unix/sysv/linux/configure: Regenerated.
17034 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17035 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17037 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17040 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17041 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17043 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17045 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17046 extra tokens at end of #undef directive.
17047 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17048 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17049 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17051 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17053 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17055 * math/auto-libm-test-in: Mark various tests with
17056 xfail-rounding:ldbl-128ibm.
17057 * math/auto-libm-test-out: Regenerated.
17059 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17062 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17063 numbers with subnormal high part when calculating exponent.
17066 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17070 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17072 (__ieee754_acoshl): Use __log1pl not __log1p.
17074 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17076 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17077 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17078 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17079 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17080 (reused_arena, arena_get2): Convert to GNU style.
17081 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17082 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17083 (memalign_check, __malloc_set_state): Likewise.
17084 * malloc/mallocbug.c (main): Likewise.
17085 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17086 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17087 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17088 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17089 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17090 (__posix_memalign, malloc_info): Likewise.
17091 * malloc/malloc.h: Likewise.
17092 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17093 (mallochook, memalignhook, reallochook, mabort): Likewise.
17094 * malloc/mcheck.h: Likewise.
17095 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17096 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17097 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17098 * malloc/morecore.c (__default_morecore): Likewise.
17099 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17100 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17101 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17102 (print_and_abort): Likewise.
17103 * malloc/obstack.h: Likewise.
17104 * malloc/set-freeres.c (__libc_freeres): Likewise.
17105 * malloc/tst-mallocstate.c (main): Likewise.
17106 * malloc/tst-mtrace.c (main): Likewise.
17107 * malloc/tst-realloc.c (do_test): Likewise.
17109 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17112 * nscd/netgroupcache.c (do_notfound): New function.
17113 (addgetnetgrentX): Use it.
17116 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17117 NSS_STATUS_NOTFOUND.
17119 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17121 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17124 2014-01-01 Allan McRae <allan@archlinux.org>
17126 * scripts/update-copyrights: Update configure input file suffix.
17128 * NEWS: Update copyright year.
17129 * catgets/gencat.c: Likewise.
17130 * csu/version.c: Likewise.
17131 * debug/catchsegv.sh: Likewise.
17132 * debug/pcprofiledump.c: Likewise.
17133 * debug/xtrace.sh: Likewise.
17134 * elf/ldconfig.c: Likewise.
17135 * elf/ldd.bash.in: Likewise.
17136 * elf/pldd.c: Likewise.
17137 * elf/sotruss.ksh: Likewise.
17138 * elf/sprof.c: Likewise.
17139 * iconv/iconv_prog.c: Likewise.
17140 * iconv/iconvconfig.c: Likewise.
17141 * locale/programs/locale.c: Likewise.
17142 * locale/programs/localedef.c: Likewise.
17143 * login/programs/pt_chown.c: Likewise.
17144 * malloc/memusage.sh: Likewise.
17145 * malloc/memusagestat.c: Likewise.
17146 * malloc/mtrace.pl: Likewise.
17147 * manual/libc.texinfo: Likewise.
17148 * nscd/nscd.c: Likewise.
17149 * nss/getent.c: Likewise.
17150 * nss/makedb.c: Likewise.
17151 * posix/getconf.c: Likewise.
17152 * scripts/test-installation.pl: Likewise.
17154 * All files with FSF copyright notices: Update copyright dates
17155 using scripts/update-copyrights.
17156 * intl/plural.c: Regenerated.
17157 * locale/programs/charmap-kw.h: Likewise.
17158 * locale/programs/locfile-kw.h: Likewise.
17160 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17162 * sysdeps/unix/sysv/linux/configure: Regenerated.
17163 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17164 the linux/fanotify.h header.
17165 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17166 HAVE_LINUX_FANOTIFY_H is defined.
17168 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17170 * benchtests/cos-inputs: New inputs.
17171 * benchtests/sin-inputs: Likewise.
17173 * benchtests/atan-inputs: New inputs. Fix name of multiple
17174 precision fallback inputs.
17176 * benchtests/atanh-inputs: New inputs.
17177 * benchtests/tanh-inputs: Likewise.
17179 * benchtests/acosh-inputs: New inputs.
17180 * benchtests/asinh-inputs: Likewise.
17182 * benchtests/cosh-inputs: New inputs.
17183 * benchtests/sinh-inputs: Likewise.
17185 * benchtests/acos-inputs: Add more inputs.
17186 * benchtests/asin-inputs: Likewise.
17188 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17191 * manual/arith.texi: Fix spelling.
17192 * manual/charset.texi: Likewise.
17193 * manual/errno.texi: Likewise.
17194 * manual/filesys.texi: Likewise.
17195 * manual/lang.texi: Likewise.
17196 * manual/llio.texi: Likewise.
17197 * manual/locale.texi: Likewise.
17198 * manual/message.texi: Likewise.
17199 * manual/resource.texi: Likewise.
17200 * manual/search.texi: Likewise.
17201 * manual/setjmp.texi: Likewise.
17202 * manual/stdio.texi: Likewise.
17203 * manual/string.texi: Likewise.
17204 * manual/sysinfo.texi: Likewise.
17205 * manual/time.texi: Likewise.
17207 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17209 * po/sl.po: New file.
17211 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17213 * .gitignore: Add core/.gdbinit/.gdb_history.
17215 2013-12-27 Allan McRae <allan@archlinux.org>
17218 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17219 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17221 2013-12-24 Brooks Moses <bmoses@google.com>
17223 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17224 all compilers that claim C++98 compliance, not just GCC.
17225 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17228 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17230 * NEWS: Restore accidentally deleted bug-fix entries.
17232 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17233 Ondřej Bílka <neleai@seznam.cz>
17236 * malloc/malloc.c (_int_free): Perform sanity check only if we
17239 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17242 * manual/stdio.texi (String Input Conversions): Clarify that character
17243 classes are not supported.
17245 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17249 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17252 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17253 Calculate results for small negative arguments directly rather
17254 than using reflection formula with special underflow handling.
17256 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17257 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17258 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17259 (fchflags): Likewise.
17260 (revoke): Likewise.
17261 (setlogin): Likewise.
17262 (sigaltstack): Likewise.
17264 (sigblock): Remove.
17265 (sigsetmask): Likewise.
17267 (waitpid): Likewise.
17268 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17269 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17271 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17272 * sysdeps/unix/bsd/Makefile: ... here.
17273 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17274 * sysdeps/unix/bsd/Versions: ... here.
17275 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17276 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17277 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17278 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17279 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17280 * sysdeps/unix/bsd/sigblock.c: ... here.
17281 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17282 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17283 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17284 * sysdeps/unix/bsd/sigvec.c: ... here.
17285 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17286 * sysdeps/unix/bsd/tcdrain.c: ... here.
17287 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17288 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17289 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17290 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17291 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17292 * sysdeps/unix/bsd/wait.c: ... here.
17293 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17294 * sysdeps/unix/bsd/wait3.c: ... here.
17295 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17296 * sysdeps/unix/bsd/waitpid.c: ... here.
17298 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17301 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17302 round-to-nearest for [!USE_AS_EXPM1L].
17303 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17304 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17305 more tests of exp and exp10. Expect some exp10 tests to miss
17306 exceptions or fail in directed rounding modes.
17307 * math/auto-libm-test-out: Regenerated.
17308 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17309 (exp10_test_tonearest): New function.
17310 (exp10_towardzero_test_data): New array.
17311 (exp10_test_towardzero): New function.
17312 (exp10_downward_test_data): New array.
17313 (exp10_test_downward): New function.
17314 (exp10_upward_test_data): New array.
17315 (exp10_test_upward): New function.
17316 (main): Call the new functions.
17317 * sysdeps/i386/fpu/libm-test-ulps: Update.
17318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17320 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17322 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17323 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17324 * math/auto-libm-test-out: Regenerated.
17325 * math/libm-test.inc (acosh_test_data): Add more tests.
17326 (atanh_test_data): Likewise.
17327 (ceil_test_data): Likewise.
17328 (copysign_test_data): Likewise.
17329 * sysdeps/i386/fpu/libm-test-ulps: Update.
17330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17332 * timezone/checktab.awk: Update from tzcode 2013i.
17333 * timezone/private.h: Likewise.
17334 * timezone/scheck.c: Likewise.
17335 * timezone/tzfile.h: Likewise.
17336 * timezone/tzselect.ksh: Likewise.
17337 * timezone/zdump.c: Likewise.
17338 * timezone/zic.c: Likewise.
17340 * math/auto-libm-test-in: Add tests of cpow.
17341 * math/auto-libm-test-out: Regenerated.
17342 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17343 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17345 (func_calc_desc): Add mpc_cc_c union field.
17346 (test_functions): Add cpow.
17347 (special_fill_2pi): New function.
17348 (special_real_inputs): Add 2pi.
17349 (calc_generic_results): Handle mpc_cc_c.
17350 * sysdeps/i386/fpu/libm-test-ulps: Update.
17351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17353 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17354 csqrt, ctan and ctanh.
17355 * math/auto-libm-test-out: Regenerated.
17356 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17357 (TEST_COND_x86): Likewise.
17358 (ccos_test_data): Use AUTO_TESTS_c_c.
17359 (ccosh_test_data): Likewise.
17360 (cexp_test_data): Likewise.
17361 (clog_test_data): Likewise.
17362 (csqrt_test_data): Likewise.
17363 (ctan_test_data): Likewise.
17364 (ctan_tonearest_test_data): Likewise.
17365 (ctan_towardzero_test_data): Likewise.
17366 (ctan_downward_test_data): Likewise.
17367 (ctan_upward_test_data): Likewise.
17368 (ctanh_test_data): Likewise.
17369 (ctanh_tonearest_test_data): Likewise.
17370 (ctanh_towardzero_test_data): Likewise.
17371 (ctanh_downward_test_data): Likewise.
17372 (ctanh_upward_test_data): Likewise.
17373 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17375 (func_calc_desc): Add mpc_c_c union field.
17376 (FUNC_mpc_c_c): New macro.
17377 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17378 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17380 (special_fill_min_subnorm_p120): New function.
17381 (special_real_inputs): Add min_subnorm_p120.
17382 (calc_generic_results): Handle mpc_c_c.
17383 * sysdeps/i386/fpu/libm-test-ulps: Update.
17384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17386 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17388 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17389 (do_sin_slow): New functions.
17390 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17391 (cslow2, csloww1, csloww2): Use the new functions.
17393 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17394 Use M to change sign of result instead of X. Assume X is
17396 (csloww1): Likewise.
17400 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17401 arguments A and DA.
17405 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17407 (sloww1): Don't adjust sign of DX.
17408 (csloww1): Likewise.
17409 (sloww2): Use X directly and don't adjust sign of DX.
17410 (csloww2): Likewise.
17412 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17414 * math/auto-libm-test-in: Add tests of cabs and carg.
17415 * math/auto-libm-test-out: Regenerated.
17416 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17417 (carg_test_data): Likewise.
17418 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17420 (func_calc_desc): Add mpc_c_f union field.
17421 (test_functions): Add cabs and carg.
17422 (calc_generic_results): Handle mpc_c_f.
17424 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17425 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17426 as a macro and a compat symbol.
17427 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17428 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17429 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17430 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17431 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17432 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17434 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17436 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17438 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17440 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17442 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17444 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17445 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17448 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17452 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17454 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17455 trailing whitespace removed.
17456 * scripts/config.guess: Update to version 2013-11-29.
17457 * scripts/config.sub: Update to version 2013-10-01.
17459 * math/auto-libm-test-in: Add tests of sincos.
17460 * math/auto-libm-test-out: Regenerated.
17461 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17462 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17464 (func_calc_desc): Add mpfr_f_11 union field.
17465 (test_functions): Add sincos.
17466 (calc_generic_results): Handle mpfr_f_11.
17467 * sysdeps/i386/fpu/libm-test-ulps: Update.
17468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17470 2013-12-19 Andreas Schwab <schwab@suse.de>
17472 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17474 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17475 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17476 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17478 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17480 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17481 * sysdeps/i386/fpu/libm-test-ulps: Update.
17482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17485 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17486 round-to-nearest mode when using frndint.
17487 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17488 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17489 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17491 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17493 * math/auto-libm-test-out: Regenerated.
17494 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17495 (TEST_COND_x86): Likewise.
17496 (expm1_tonearest_test_data): New array.
17497 (expm1_test_tonearest): New function.
17498 (expm1_towardzero_test_data): New array.
17499 (expm1_test_towardzero): New function.
17500 (expm1_downward_test_data): New array.
17501 (expm1_test_downward): New function.
17502 (expm1_upward_test_data): New array.
17503 (expm1_test_upward): New function.
17504 (main): Run the new test functions.
17505 * sysdeps/i386/fpu/libm-test-ulps: Update.
17506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17508 * include/features.h: Update comment documenting feature test
17509 macros. Mention _DEFAULT_SOURCE in comment.
17510 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17511 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17512 _BSD_SOURCE and _SVID_SOURCE.
17513 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17514 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17515 !_SVID_SOURCE]: Likewise.
17516 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17517 (__USE_POSIX_IMPLICITLY): Define.
17518 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17519 (_POSIX_SOURCE): Undefine and redefine.
17520 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17521 (_POSIX_C_SOURCE): Likewise.
17522 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17523 (Feature Test Macros): Update documentation of default features.
17525 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17527 * benchtests/Makefile: Add bench-strtok.
17528 * benchtests/bench-strtok.c: New file: strtok benchtest.
17530 2013-12-19 Allan McRae <allan@archlinux.org>
17532 * manual/install.texi: Suppress menu for plain text output.
17533 * INSTALL: Regenerated.
17535 2013-12-18 Brooks Moses <bmoses@google.com>
17538 * misc/getauxval.c: Include errno.h.
17539 (__getauxval): Set errno to ENOENT if the requested type is not
17541 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17542 don't declare with __attribute_const__.
17543 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17544 * manual/startup.texi: Document that getauxval sets errno.
17546 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17548 * math/auto-libm-test-in: Add tests of jn and yn.
17549 * math/auto-libm-test-out: Regenerated.
17550 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17551 (yn_test_data): Likewise.
17552 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17554 (func_calc_desc): Add mpfr_if_f union field.
17555 (FUNC_mpfr_if_f): New macro.
17556 (test_functions): Add jn and yn.
17557 (calc_generic_results): Assert type of second input for
17558 mpfr_ff_f. Handle mpfr_if_f.
17559 (output_for_one_input_case): Disable all checking for arguments
17560 fitting floating-point types in case of an integer argument.
17561 * sysdeps/i386/fpu/libm-test-ulps: Update.
17562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17565 Don't expect fegetround reference in libm.so.
17567 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17569 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17570 $(config-cflags-nofma).
17572 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17574 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17575 * math/auto-libm-test-out: Regenerated.
17578 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17579 to determine exponent and adjust argument to have exponent of -1.
17580 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17582 * math/auto-libm-test-out: Regenerated.
17583 * sysdeps/i386/fpu/libm-test-ulps: Update.
17584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17586 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17588 * manual/probes.texi: Remove cases when per-thread arenas are
17591 2013-12-18 Andreas Schwab <schwab@suse.de>
17593 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17594 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17595 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17596 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17597 * sysdeps/i386/i686/multiarch/Makefile: Update.
17598 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17600 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17602 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17603 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17605 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17608 Support TZ transition times < 00:00:00.
17609 This is needed for version-3 tz-format files; it supports time
17610 stamps past 2037 for America/Godthab (the only entry in the tz
17611 database for which this change is relevant).
17612 * manual/time.texi (TZ Variable): Document transition times
17613 from -167:59:59 through -00:00:01.
17614 * time/tzset.c (tz_rule): Time of day is now signed.
17615 (__tzset_parse_tz): Parse negative time of day.
17617 Document TZ transition times >= 25:00:00.
17618 * manual/time.texi (TZ Variable): Document transition times from
17619 25:00:00 through 167:59:59. These are already supported, and this
17620 support will help with version-3 tz-format files.
17622 * manual/time.texi (TZ Variable): Modernize North America example
17623 to reflect current (i.e., 2007-and-later) daylight saving rules.
17625 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17627 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17629 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17630 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17632 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17633 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17634 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17635 * sysdeps/unix/bsd/clock.c: Likewise.
17636 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17637 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17638 * sysdeps/unix/bsd/init-posix.c: Likewise.
17639 * sysdeps/unix/bsd/poll.c: Likewise.
17640 * sysdeps/unix/bsd/ptsname.c: Likewise.
17641 * sysdeps/unix/bsd/seekdir.c: Likewise.
17642 * sysdeps/unix/bsd/setegid.c: Likewise.
17643 * sysdeps/unix/bsd/seteuid.c: Likewise.
17644 * sysdeps/unix/bsd/setgid.c: Likewise.
17645 * sysdeps/unix/bsd/setrgid.c: Likewise.
17646 * sysdeps/unix/bsd/setruid.c: Likewise.
17647 * sysdeps/unix/bsd/setsid.c: Likewise.
17648 * sysdeps/unix/bsd/setuid.c: Likewise.
17649 * sysdeps/unix/bsd/sigaction.c: Likewise.
17650 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17651 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17652 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17653 * sysdeps/unix/bsd/telldir.c: Likewise.
17654 * sysdeps/unix/bsd/times.c: Likewise.
17655 * sysdeps/unix/bsd/usleep.c: Likewise.
17657 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17658 ($(objpfx)libbsd-compat.a): Remove rule.
17660 * include/features.h (__FAVOR_BSD): Do not define.
17661 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17662 features conflicting with POSIX.
17663 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17664 (_BSD_SOURCE): Remove description of not being a subset of other
17665 feature test macros.
17666 * manual/job.texi (getpgrp): Do not document BSD version.
17667 (getpgid): Do not document by reference to BSD getpgrp.
17668 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17669 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17670 * signal/signal.h [__FAVOR_BSD]: Likewise.
17671 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17672 instead of making contents conditional on [__FAVOR_BSD].
17673 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17675 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17679 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17682 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17683 values below 2**-450, not 2**-500.
17684 * math/auto-libm-test-in: Don't allow spurious underflow from
17686 * math/auto-libm-test-out: Regenerated.
17690 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17691 values of ha and hb and sort them after adjusting subnormal
17693 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17695 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17696 values of ea and eb and sort them after adjusting subnormal
17698 * math/auto-libm-test-in: Do not expect some hypot tests of
17699 subnormals to fail. Add more hypot tests.
17700 * math/auto-libm-test-out: Regenerated.
17702 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17705 * sysdeps/sh/s_fma.c: New file.
17706 * sysdeps/sh/s_fmaf.c: New file.
17707 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17709 * sysdeps/sh/Implies: Add sh/soft-fp.
17711 2013-12-16 Roland McGrath <roland@hack.frob.com>
17713 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17714 level of indirection to members `objname', `errstring', `malloced'.
17715 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17716 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17717 it as the __longjmp argument (just pass 1 instead).
17718 (_dl_catch_error): Initialize C with argument pointers and address of
17719 volatile local ERRCODE rather than copying values out of C at return.
17721 2013-12-16 Joseph Myers <joseph@codesourcery.com>
17723 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17724 * math/auto-libm-test-out: Regenerated.
17725 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17726 (hypot_test_data): Likewise.
17727 (pow_test_data): Likewise.
17728 (pow_tonearest_test_data): Likewise.
17729 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17731 (func_calc_desc): Add mpfr_ff_f union field.
17732 (FUNC_mpfr_ff_f): New macro.
17733 (test_functions): Add atan2, hypot and pow.
17734 (special_fill_min): New function.
17735 (special_fill_minus_min): Likewise.
17736 (special_fill_min_subnorm): Likewise.
17737 (special_fill_minus_min_subnorm): Likewise.
17738 (special_real_inputs): Add min, -min, min_subnorm and
17740 (calc_generic_results): Handle mpfr_ff_f.
17741 * sysdeps/i386/fpu/libm-test-ulps: Update.
17742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17744 2013-12-16 Will Newton <will.newton@linaro.org>
17746 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17747 (Aligned Memory Blocks): Add documentation for aligned_alloc
17748 and suggest it as an alternative to posix_memalign.
17749 (Hooks for Malloc): Document __memalign_hook is also called
17750 for aligned_alloc. (Summary of Malloc): Add summary for
17751 aligned alloc. Document __memalign_hook is also called
17754 2013-12-16 Will Newton <will.newton@linaro.org>
17756 * manual/memory.texi (Malloc Examples): Clarify default
17757 alignment documentation. Suggest posix_memalign rather
17758 than memalign or valloc.
17759 (Aligned Memory Blocks): Remove suggestion to use memalign
17760 or valloc. Remove obsolete comment about BSD.
17761 Document memalign errno values and mark the function obsolete.
17762 Document posix_memalign returned error codes. Mark valloc
17763 as obsolete. (Hooks for Malloc): __memalign_hook is also
17764 called for posix_memalign and valloc.
17765 (Summary of Malloc): Add posix_memalign to function summary.
17766 __memalign_hook is also called for posix_memalign and valloc.
17768 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17770 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17774 (sloww): Use mynumber union. Expand ternary operator into
17775 if-else statements.
17776 (cslow): use mynumber union.
17778 2013-12-16 Allan McRae <allan@archlinux.org>
17780 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17781 * configure: Regenerated.
17783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17786 * configure.ac: Added --enable-maintainer-mode. Check for
17787 autoconf when enabled.
17788 * configure: Regenerated.
17790 * nscd/nscd.service: New file.
17791 * nscd/nscd.tmpfiles: New file.
17793 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
17796 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17797 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17798 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17799 (strstr): Add __strstr_sse2_unaligned ifunc.
17800 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17801 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17802 (strcasestr): Remove __strcasestr_sse42 ifunc.
17803 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17807 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17809 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17810 * sysdeps/sh/bits/fenv.h: ... here.
17811 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17813 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17815 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17818 hypotf multiarch implementations.
17819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17820 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17821 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17822 multiarch hypot for PPC64.
17823 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17825 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17826 multiarch hypotf for PPC64.
17828 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17829 modff multiarch implementations.
17830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17833 multiarch modf for PPC64.
17834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17837 multiarch modff for PPC64.
17839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17840 and logl multiarch implementations.
17841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17844 multiarch logb for PPC64.
17845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17848 multiarch logb for PPC64.
17849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17852 multiarch logb for PPC64.
17854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17855 isinff multiarch implementation.
17856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17860 multiarch isinf for PPC64.
17861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17864 multiarch isinff for PPC64.
17866 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17867 finitef multiarch implementation.
17868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17872 multiarch finite for PPC64.
17873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17876 multiarch finitef for PPC64.
17878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17879 lrint multiarch implementation.
17880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17884 multiarch llrint for PPC64.
17885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17886 multiarch lrint for PPC64.
17888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17889 copysignf multiarch implementation.
17890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17895 multiarch copysign for PPC64.
17896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17897 multiarch copysignf for PPC64.
17899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17900 multiarch implementation.
17901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17909 multiarch llround for PPC64.
17910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17911 multiarch trunc for PPC64.
17912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17913 multiarch truncf for PPC64.
17915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17916 multiarch implementation.
17917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17925 multiarch llround for PPC64.
17926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17927 multiarch round for PPC64.
17928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17929 multiarch roundf for PPC64.
17931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17932 multiarch implementation.
17933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17941 multiarch llround for PPC64.
17942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17943 multiarch floor for PPC64.
17944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17945 multiarch floorf for PPC64.
17947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17948 multiarch implementation.
17949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17957 multiarch llround for PPC64.
17958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17959 multiarch ceil for PPC64.
17960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17961 multiarch ceilf for PPC64.
17963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17964 multiarch implementation.
17965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17972 multiarch llround for PPC64.
17973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17974 multiarch lround for PPC64.
17976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17977 multiarch implementation.
17978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17985 multiarch isnan for PPC64.
17986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17987 multiarch isnanf for PPC64.
17989 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17990 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17991 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17992 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17993 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17996 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17997 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18002 multiarch implementations.
18003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18004 (__libc_ifunc_impl_list): Likewise.
18005 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18006 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18007 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18008 multiarch stpcpy for PPC64.
18010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18011 multiarch implementations.
18012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18013 (__libc_ifunc_impl_list): Likewise.
18014 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18015 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18016 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18017 multiarch strcpy for PPC64.
18019 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18020 redefine function name.
18021 (_wordcopy_fwd_dest_aligned): Likewise.
18022 (_wordcopy_bwd_aligned): Likewise.
18023 (_wordcopy_bwd_dest_aligned): Likewise.
18024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18025 multiarch implementations.
18026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18027 (__libc_ifunc_impl_list): Likewise.
18028 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18029 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18030 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18031 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18032 multiarch wcscpy for PPC64.
18034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18035 multiarch implementations.
18036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18037 (__libc_ifunc_impl_list): Likewise.
18038 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18040 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18041 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18042 multiarch wcscpy for PPC64.
18044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18045 multiarch implementations.
18046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18047 (__libc_ifunc_impl_list): Likewise.
18048 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18049 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18050 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18051 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18052 multiarch wcsrchr for PPC64.
18054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18055 multiarch implementations.
18056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18057 (__libc_ifunc_impl_list): Likewise.
18058 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18059 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18060 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18061 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18062 multiarch wcschr for PPC64.
18064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18065 multiarch implementations.
18066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18067 (__libc_ifunc_impl_list): Likewise.
18068 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18069 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18070 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18071 multiarch strchrnul for PPC64.
18073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18076 (__libc_ifunc_impl_list): Likewise.
18077 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18078 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18079 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18080 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18086 (__libc_ifunc_impl_list): Likewise.
18087 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18088 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18089 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18090 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18094 multiarch implementations.
18095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18096 (__libc_ifunc_impl_list): Likewise.
18097 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18098 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18099 strncasecmp for PPC64.
18100 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18101 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18102 multiarch strncasecmp_l for PPC64.
18104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18105 multiarch implementations.
18106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18107 (__libc_ifunc_impl_list): Likewise.
18108 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18109 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18110 multiarch strcasecmp for PPC64.
18111 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18113 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18114 multiarch strcasecmp_l for PPC64.
18116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18119 (__libc_ifunc_impl_list): Likewise.
18120 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18121 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18122 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18128 (__libc_ifunc_impl_list): Likewise.
18129 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18130 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18131 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18137 (__libc_ifunc_impl_list): Likewise.
18138 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18139 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18140 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18141 rawmemrchr for PPC64.
18143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18146 (__libc_ifunc_impl_list): Likewise.
18147 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18148 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18149 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18155 (__libc_ifunc_impl_list): Likewise.
18156 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18157 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18158 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18164 (__libc_ifunc_impl_list): Likewise.
18165 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18166 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18167 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18170 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18171 avoid cretion of __bzero symbol.
18172 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18174 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18176 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18179 multiarch implementations.
18180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18181 (__libc_ifunc_impl_list): Likewise.
18182 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18183 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18184 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18185 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18187 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18188 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18189 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18190 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18191 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18193 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18195 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18199 (__libc_ifunc_impl_list): Likewise.
18200 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18201 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18202 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18203 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18207 multiarch for POWER/PPC64.
18208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18209 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18210 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18212 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18213 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18214 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18215 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18216 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18219 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18220 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18221 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18222 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18223 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18224 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18225 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18226 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18227 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18228 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18229 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18230 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18231 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18232 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18233 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18242 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18244 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18246 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18248 * benchtests/Makefile (bench): Add exp2 and log2.
18249 (LDLIBS-bench-exp2): Add -lm.
18250 (LDLIBS-bench-log2): Likewise.
18251 * benchtests/exp2-inputs: New inputs file.
18252 * benchtests/log2-inputs: New inputs file.
18253 * benchtests/log-inputs: Add new inputs.
18254 * benchtests/tan-inputs: Likewise.
18256 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18258 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18260 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18261 (csloww2): ... from here.
18263 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18264 instead of structures.
18265 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18266 (POLYNOMIAL): Likewise.
18267 (TAYLOR_SLOW): Likewise.
18273 (sloww1); Likewise.
18274 (sloww2): Likewise.
18275 (bsloww1): Likewise.
18276 (bsloww2): Likewise.
18277 (cslow2): Likewise.
18278 (csloww): Likewise.
18279 (csloww1): Likewise.
18280 (csloww2): Likewise.
18282 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18284 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18285 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18286 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18287 * malloc/hooks.c (realloc_check): Likewise.
18289 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18290 * malloc/arena.c: Remove PER_THREAD conditional.
18291 [!PER_THREAD]: Remove code.
18292 (ptmalloc_unlock_all2): Likewise.
18293 (ptmalloc_init): Likewise.
18294 (_int_new_arena): Likewise.
18295 (arena_get2): Likewise.
18296 * malloc/hooks.c (__malloc_get_state): Likewise.
18297 (__malloc_set_state): Likewise.
18298 * malloc/malloc.c: Likewise.
18299 (struct malloc_state): Likewise.
18300 (struct malloc_par): Likewise.
18301 (__libc_realloc): Likewise.
18302 (__libc_mallopt): Likewise.
18304 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18306 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18308 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18310 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18311 macro to a function. Check for zero perturb_byte.
18312 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18314 * malloc/malloc.c: (force_reg): Remove.
18315 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18316 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18317 force_reg by atomic_forced_read.
18318 * malloc/arena.c (ptmalloc_init): Likewise.
18319 * malloc/hooks.c (top_check): Likewise.
18321 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18325 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18329 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18331 * math/auto-libm-test-in: Add tests of lgamma.
18332 * math/auto-libm-test-out: Regenerated.
18333 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18334 (M_LOG_2_SQRT_PIl): Likewise.
18335 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18336 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18338 (func_calc_desc): Add mpfr_f_f1 union field.
18339 (ARGS1): New macro.
18347 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18348 (test_functions): Add lgamma.
18349 (calc_generic_results): Handle mpfr_f_f1.
18350 * sysdeps/i386/fpu/libm-test-ulps: Update.
18351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18353 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18355 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18356 __mpn_add_n for PowerPC64/POWER7.
18357 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18358 __mpn_sub_n for PowerPC64/POWER7.
18360 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18361 __mpn_addmul_1 for PowerPC64.
18362 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18363 __mpn_submul_1 for PowerPC64.
18364 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18366 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18369 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18372 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18374 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18376 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18378 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18379 add multiarch folders.
18380 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18381 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18382 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18383 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18384 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18385 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18386 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18387 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18388 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18389 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18390 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18399 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18405 multiarch __ieee754_hypot for PowerPC32.
18406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18411 multiarch __ieee754_hypotf for PowerPC32.
18413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18414 long_double_symbol only if __logbl is defined.
18415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18416 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18418 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18420 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18422 path for implementation.
18423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18424 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18426 logb, and logbl multiarch implementations for PowerPC32.
18427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18432 multiarch logb for PowerPC32.
18433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18438 multiarch logbf for PowerPC32.
18439 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18443 multiarch logbl implementation for PowerPC32.
18445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18446 and modff multiarch implementations.
18447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18452 multiarch modf for PowerPC32.
18453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18458 multiarch modff for PowerPC32.
18460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18461 and lrintf multiarch implementations.
18462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18467 multiarch lrint for PowerPC32.
18468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18469 file: multiarch lrintf for PowerPC32.
18471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18472 and lroundf multiarch implementations.
18473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18480 multiarch lround for PowerPC32.
18481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18482 file: multiarch lroundf for PowerPC32.
18484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18485 copysign and copysignf multiarch implementations.
18486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18491 file: multiarch copysign for PowerPC32.
18492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18493 file: multiarch copysignf for PowerPC32.
18495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18496 and truncf multiarch implementations.
18497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18502 multiarch trunc for PowerPC32.
18503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18508 multiarch truncf for PowerPC32.
18510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18511 and roundf multiarch implementations.
18512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18517 multiarch round for PowerPC32.
18518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18523 multiarch roundf for PowerPC32.
18525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18526 and floorf multiarch implementations.
18527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18532 multiarch floor for PowerPC32.
18533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18538 multiarch floorf for PowerPC32.
18540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18541 and ceilf multiarch implementations.
18542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18547 multiarch ceil for PowerPC32.
18548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18553 multiarch ceilf for PowerPC32.
18555 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18557 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18558 FINITEF is defined.
18559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18560 and finitef multiarch implementations.
18561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18566 multiarch finite for PowerPC32.
18567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18570 file: multiarch finitef for PowerPC32.
18572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18573 and isinff multiarch implementations.
18574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18579 multiarch isinf for PowerPC32.
18580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18583 multiarch isinff for PowerPC32.
18585 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18586 alias when __isnan is defined.
18587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18588 and isnanf multiarch implementations.
18589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18598 multiarch isnan for PowerPC32.
18599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18604 multiarch isnanf for PowerPC32.
18606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18607 and sqrtf multiarch implementations.
18608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18613 multiarch sqrt for PowerPC32.
18614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18619 multiarch sqrtf for PowerPC32.
18621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18622 and llroundf multiarch implementations.
18623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18630 file: multiarch llround for PowerPC32.
18631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18632 file: multiarch llroundf for PowerPC32.
18634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18635 multiarch PowerPC32 fpu implementations.
18636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18641 multiarch llrint for PowerPC32.
18642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18651 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18653 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18655 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18657 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18658 multiarch wordcopy for PPC32.
18659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18662 (__libc_ifunc_impl_list): Likewise.
18663 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18664 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18665 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18666 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18667 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18668 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18670 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18671 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18673 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18675 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18677 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18678 multiarch wcscpy for PPC32.
18679 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18681 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18682 (__libc_ifunc_impl_list): Likewise.
18683 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18684 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18685 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18686 sysdeps/powerpc/power6/wcscpy.c.
18688 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18693 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18695 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18696 multiarch wcsrchr for PPC32.
18697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18700 (__libc_ifunc_impl_list): Likewise.
18701 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18702 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18703 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18704 sysdeps/powerpc/power6/wcsrchr.c.
18706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18712 multiarch wcschr for PPc32.
18713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18716 (__libc_ifunc_impl_list): Likewise.
18717 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18718 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18719 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18720 sysdeps/powerpc/power6/wcschr.c.
18722 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18723 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18725 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18726 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18727 file: multiarch strchr for PPC32.
18728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18731 (__libc_ifunc_impl_list): Likewise.
18733 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18735 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18737 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18739 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18740 multiarch strchrnul for PPC32.
18741 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18743 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18744 (__libc_ifunc_impl_list): Likewise.
18746 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18748 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18749 multiarch strncasecmp for PPC32.
18750 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18752 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18753 multiarch strncasecmp_l for PPC32.
18754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18755 strncasecmp multiarch objects.
18756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18757 (__libc_ifunc_impl_list): Likewise.
18759 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18761 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18762 multiarch strncasecmp for PPC32.
18763 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18765 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18766 multiarch strcasecmp_l for PPC32.
18767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18770 (__libc_ifunc_impl_list): Likewise.
18772 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18774 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18776 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18777 multiarch strncmp for PPC32.
18778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18781 (__libc_ifunc_impl_list): Likewise.
18783 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18784 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18786 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18787 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18791 (__libc_ifunc_impl_list): Likewise.
18793 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18795 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18797 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18801 (__libc_ifunc_impl_list): Likewise.
18803 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18805 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18807 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18808 multiarch rawmemchr for PPC32.
18809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18812 (__libc_ifunc_impl_list): Likewise.
18814 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18816 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18818 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18819 file: memrchr multiarch for PPC32.
18820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18823 (__libc_ifunc_impl_list): Likewise.
18825 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18826 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18828 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18829 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18830 multiarch memchr for PPC32.
18831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18834 (__libc_ifunc_impl_list): Likewise.
18836 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18837 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18839 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18841 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18842 file: multiarch mempcpy for PPC32.
18843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18846 (__libc_ifunc_impl_list): Likewise.
18848 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18849 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18850 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18851 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18852 multiarch bzero for PPC32.
18853 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18855 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18857 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18858 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18859 file: multiarch memset for PPC32.
18860 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18862 memset multiarch objects.
18863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18864 (__libc_ifunc_impl_list): Likewise.
18866 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18868 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18869 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18871 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18875 (__libc_ifunc_impl_list): Likewise.
18877 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18879 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18881 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18883 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18885 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18886 multiarch memcpy for PPC32.
18887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18890 (__libc_ifunc_impl_list): Likewise.
18892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18893 support multiarch for POWER/PPC32.
18894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18896 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18898 Implies file to make multiarch folder appers before the fpu and
18899 default folder for power4 configuration.
18901 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18903 * scripts/bench.pl: Append volatile keyword to type.
18905 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18907 * sysdeps/sh/sotruss-lib.c: New file.
18908 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18910 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18914 2013-12-05 Joseph Myers <joseph@codesourcery.com>
18917 * math/w_tgamma.c: Include <errno.h>.
18918 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18919 * math/w_tgammaf.c: Include <errno.h>.
18920 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18921 * math/w_tgammal.c: Include <errno.h>.
18922 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18923 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18924 underflow. Add more tgamma tests.
18925 * math/auto-libm-test-out: Regenerated.
18926 * sysdeps/i386/fpu/libm-test-ulps: Update.
18927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18929 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18930 sin, sinh, tan, tanh, tgamma, y0 and y1.
18931 * math/auto-libm-test-out: Regenerated.
18932 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18933 (TEST_COND_x86): Likewise.
18934 (M_E2l): Remove macro.
18936 (M_2_SQRT_PIl): Likewise.
18937 (M_SQRT_PIl): Likewise.
18938 (M_1_DIV_El): Likewise.
18939 (log_test_data): Use AUTO_TESTS_f_f.
18940 (log10_test_data): Likewise.
18941 (log1p_test_data): Likewise.
18942 (log2_test_data): Likewise.
18943 (sin_test_data): Likewise.
18944 (sin_tonearest_test_data): Likewise.
18945 (sin_towardzero_test_data): Likewise.
18946 (sin_downward_test_data): Likewise.
18947 (sin_upward_test_data): Likewise.
18948 (sinh_test_data): Likewise.
18949 (sinh_tonearest_test_data): Likewise.
18950 (sinh_towardzero_test_data): Likewise.
18951 (sinh_downward_test_data): Likewise.
18952 (sinh_upward_test_data): Likewise.
18953 (tan_test_data): Likewise.
18954 (tan_tonearest_test_data): Likewise.
18955 (tan_towardzero_test_data): Likewise.
18956 (tan_downward_test_data): Likewise.
18957 (tan_upward_test_data): Likewise.
18958 (tanh_test_data): Likewise.
18959 (tgamma_test_data): Likewise.
18960 (y0_test_data): Likewise.
18961 (y1_test_data): Likewise.
18962 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18963 (special_real_inputs): Add pi/4.
18964 * sysdeps/i386/fpu/libm-test-ulps: Update.
18965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18967 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18969 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18970 "longjmp_target" static probes.
18971 (__longjmp): Rename to __longjmp_symbol.
18972 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18973 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18974 on which longjmp to generate.
18975 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18976 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18978 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18979 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18980 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18981 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18982 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18983 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18985 __longjmp_symbol based on which __longjmp to generate.
18986 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18988 (setjmp): Rename to setjmp_symbol.
18989 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18990 (_setjmp): Rename to _setjmp_symbol.
18991 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18992 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18993 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18994 which setjmp to generate.
18995 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18996 "longjmp_target" static probes.
18998 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19000 * benchtests/README: Add note about output arguments.
19001 * benchtests/bench-sincos.c: Remove file.
19002 * benchtests/sincos-inputs: New file.
19003 * scripts/bench.pl: Identify output arguments and define
19004 static variables for them.
19006 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19009 * Makefile (INSTALL): Add install-plain.texi as the primary
19011 * manual/install-plain.texi: New file.
19012 * manual/install.texi: Include node directive only for
19013 non-plaintext output.
19015 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19017 * stdlib/longlong.h: Update from GCC.
19021 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19022 * math/w_j0f.c (y0f): Likewise.
19023 * math/w_j0l.c (__y0l): Likewise.
19024 * math/w_j1.c (y1): Likewise.
19025 * math/w_j1f.c (y1f): Likewise.
19026 * math/w_j1l.c (__y1l): Likewise
19027 * math/w_jn.c (yn): Likewise.
19028 * math/w_jnf.c (ynf): Likewise.
19029 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19030 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19031 value for Bessel function domain errors outside _SVID_ mode.
19032 Adjust sign of return value for yn (negative integer, 0).
19033 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19034 by zero in return for negative x and set sign appropriately for
19036 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19037 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19038 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19039 expectations in error cases.
19040 (y1_test_data): Likewise.
19041 (yn_test_data): Likewise.
19042 * sysdeps/i386/fpu/libm-test-ulps: Update.
19043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19045 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19047 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19048 "64" to "64-v1". Add "64-v2".
19049 (abi-64-options): Rename to ...
19050 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19051 (abi-64-condition): Rename to ...
19052 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19053 (abi-64-ld-soname): Rename to ...
19054 (abi-64-v1-ld-soname): ... this.
19055 (abi-64-v2-options): Define.
19056 (abi-64-v2-condition): Likewise.
19057 (abi-64-v2-ld-soname): Likewise.
19058 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19059 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19064 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19065 Alan Modra <amodra@gmail.com>
19067 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19068 New versions for use with the ELFv2 ABI.
19069 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19070 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19072 (struct La_ppc64v2_retval): Likewise.
19073 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19074 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19075 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19076 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19077 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19078 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19079 Do not save or restore CR.
19080 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19081 (_dl_profile_resolve): Do no save or restore CR. Support extended
19082 return values for ELFv2 ABI. Fix location of FPR return registers.
19083 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19084 updated values for _CALL_ELF == 2.
19085 (La_regs, La_retval, int_retval): Likewise.
19087 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19089 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19090 (FRAME_MIN_SIZE_PARM): Likewise.
19091 (FRAME_BACKCHAIN): Likewise.
19092 (FRAME_CR_SAVE): Likewise.
19093 (FRAME_LR_SAVE): Likewise.
19094 (FRAME_TOC_SAVE): Likewise.
19095 (FRAME_PARM_SAVE): Likewise.
19096 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19097 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19098 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19099 (call_mcount_parm_offset): New macro.
19100 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19101 (PROF): Use symbolic stack frame offsets.
19102 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19103 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19104 Redefine in terms of FRAME_MIN_SIZE.
19105 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19106 (_dl_profile_resolve): Likewise. Update comment.
19107 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19108 symbols stack frame offsets.
19109 (__sigsetjmp): Likewise.
19110 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19111 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19112 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19113 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19116 (FRAME_BACKCHAIN): Remove.
19117 (FRAME_CR_SAVE): Likewise.
19118 (FRAME_LR_SAVE): Likewise.
19119 (FRAME_COMPILER_DW): Likewise.
19120 (FRAME_LINKER_DW): Likewise.
19121 (FRAME_TOC_SAVE): Likewise.
19122 (FRAME_PARM_SAVE): Likewise.
19123 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19124 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19125 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19127 (CHECK_SP): Use symbolic stack frame offsets.
19128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19129 zone" instead of caller's parameter save area for temp storage.
19130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19131 Likewise. Also, use symbolic stack frame offsets.
19132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19133 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19134 our own stack frame instead of the caller's.
19135 (__socket): Use symbolic stack frame offsets.
19137 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19138 Alan Modra <amodra@gmail.com>
19140 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19142 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19143 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19144 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19146 (elf_machine_fixup_plt): Call it.
19147 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19149 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19150 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19151 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19152 r2 before calling target.
19154 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19155 Alan Modra <amodra@gmail.com>
19157 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19158 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19159 versions of macros to support ELFv2 ABI.
19160 (LOCALENTRY): New macro.
19161 (ENTRY, EALIGN): Use it.
19162 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19163 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19164 fall through into ENTRY entry point.
19165 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19166 Only define if _CALL_ELF != 2.
19168 (elf_machine_matches_host): Verify ABI version matches.
19169 (RTLD_START): Use LOCALENTRY.
19170 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19171 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19172 (PLT_ENTRY_WORDS): New macro.
19173 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19174 (elf_machine_runtime_setup): Support ELFv2 ABI.
19175 (elf_machine_fixup_plt): Likewise.
19176 (elf_machine_plt_conflict): Likewise.
19177 (resolve_ifunc): Likewise.
19178 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19179 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19182 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19184 (makecontext): Support ELFv2 ABI.
19185 * elf/elf.h (EF_PPC64_ABI): Define.
19187 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19189 * sysdeps/powerpc/powerpc64/sysdep.h
19190 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19191 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19192 (ENTRY) [ASSEMBLER]: ... but instead here ...
19193 (EALIGN) [ASSEMBLER]: ... and here.
19194 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19195 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19196 (ENTRY_2) [!ASSEMBLER]: Use it.
19197 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19198 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19199 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19200 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19201 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19203 Use PPC64_LOAD_FUNCPTR.
19205 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19207 2013-12-04 Alan Modra <amodra@gmail.com>
19209 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19210 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19211 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19212 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19215 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19216 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19217 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19218 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19219 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19221 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19224 (__makecontext): Fix incorrect CFI when backtracing out of
19225 context created via makecontext.
19226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19227 (__setcontext): Fix incorrect CFI during switch to new context.
19228 (__novec_setcontext): Likewise.
19230 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19233 * time/strptime_l.c (__strptime_internal): Allow modifiers
19235 * time/tst-strptime.c (day_tests): Add testcase.
19237 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19239 * scripts/bench.pl: Skip over blank lines.
19241 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19244 * manual/time.texi (Calendar Time): Clarify what timezone functions
19247 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19251 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19253 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19255 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19256 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19257 * debug/memset_chk.c (__memset_chk): Likewise.
19258 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19259 * debug/strncpy_chk.c: Likewise.
19261 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19265 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19266 (__ieee754_exp): For possibly underflowing results, check size of
19267 result and force underflow exception if required.
19268 * math/auto-libm-test-in: Add more tests of exp.
19269 * math/auto-libm-test-out: Regenerated.
19270 * sysdeps/i386/fpu/libm-test-ulps: Update.
19271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19274 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19275 * math/w_exp2f.c (__exp2f): Likewise.
19276 * math/w_exp2l.c (__exp2l): Likewise.
19277 * math/auto-libm-test-in: Do not allow missing errno on exp2
19279 * math/auto-libm-test-out: Regenerated.
19281 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19284 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19285 handle filename validation.
19286 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19289 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19292 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19293 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19294 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19296 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19297 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19298 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19299 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19300 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19301 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19302 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19303 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19304 Add more erfc tests.
19305 * math/auto-libm-test-out: Regenerated.
19306 * sysdeps/i386/fpu/libm-test-ulps: Update.
19307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19309 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19310 exp2, expm1, j0 and j1.
19311 * math/auto-libm-test-out: Regenerated.
19312 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19313 (erfc_test_data): Likewise.
19314 (exp_test_data): Likewise.
19315 (exp_tonearest_test_data): Likewise.
19316 (exp_towardzero_test_data): Likewise.
19317 (exp_downward_test_data): Likewise.
19318 (exp_upward_test_data): Likewise.
19319 (exp10_test_data): Likewise.
19320 (exp2_test_data): Likewise.
19321 (expm1_test_data): Likewise.
19322 (j0_test_data): Likewise.
19323 (j1_test_data): Likewise.
19324 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19325 (input_flag_type): Add flag_xfail_rounding.
19326 (input_flags): Add xfail-rounding.
19327 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19328 (output_for_one_input_case): Handle flag_xfail_rounding.
19329 * sysdeps/i386/fpu/libm-test-ulps: Update.
19330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19332 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19335 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19338 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19341 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19342 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19343 (STAP_PROBE0): New macro.
19344 (STAP_PROBE1): Likewise.
19345 (STAP_PROBE2): Likewise.
19346 (STAP_PROBE3): Likewise.
19347 (STAP_PROBE4): Likewise.
19349 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19351 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19353 2013-12-02 Steve Ellcey <sellcey@mips.com>
19355 * benchtests/Makefile (bench): Add sqrt.
19356 (LDLIBS-bench-sqrt): New.
19357 * benchtests/sqrt-input: New.
19359 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19361 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19362 (GAIH_EAI): Likewise.
19363 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19364 (gaih_inet): Likewise.
19365 (getaddrinfo): Don't use GAIH_EAI.
19367 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19368 (struct gaih): Remove definition.
19370 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19372 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19373 Use HERRNOP directly.
19375 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19379 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19381 * math/gen-auto-libm-tests.c (test_functions): Add more
19382 single-argument functions.
19383 (special_fill_pi_2): New function.
19384 (special_fill_minus_pi_2): Likewise.
19385 (special_fill_pi_6): Likewise.
19386 (special_fill_minus_pi_6): Likewise.
19387 (special_fill_pi_3): Likewise.
19388 (special_fill_2pi_3): Likewise.
19389 (special_fill_e): Likewise.
19390 (special_fill_1_e): Likewise.
19391 (special_fill_e_minus_1): Likewise.
19392 (special_real_inputs): Add more special inputs.
19393 (output_for_one_input_case): Do not require ERANGE on underflow to
19394 zero if round-to-nearest result does not underflow to zero, unless
19395 exact results required.
19396 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19397 atan, atanh, cbrt, cos and cosh.
19398 * math/auto-libm-test-out: Regenerated.
19399 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19400 (acos_tonearest_test_data): Likewise.
19401 (acos_towardzero_test_data): Likewise.
19402 (acos_downward_test_data): Likewise.
19403 (acos_upward_test_data): Likewise.
19404 (acosh_test_data): Likewise.
19405 (asin_test_data): Likewise.
19406 (asin_tonearest_test_data): Likewise.
19407 (asin_towardzero_test_data): Likewise.
19408 (asin_upward_test_data): Likewise.
19409 (asinh_test_data): Likewise.
19410 (atan_test_data): Likewise.
19411 (atanh_test_data): Likewise.
19412 (cbrt_test_data): Likewise.
19413 (cos_test_data): Likewise.
19414 (cos_tonearest_test_data): Likewise.
19415 (cos_towardzero_test_data): Likewise.
19416 (cos_downward_test_data): Likewise.
19417 (cos_upward_test_data): Likewise.
19418 (cosh_test_data): Likewise.
19419 (cosh_tonearest_test_data): Likewise.
19420 (cosh_towardzero_test_data): Likewise.
19421 (cosh_downward_test_data): Likewise.
19422 (cosh_upward_test_data): Likewise.
19423 * sysdeps/i386/fpu/libm-test-ulps: Update.
19424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19426 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19429 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19430 * math/w_exp10f.c (__exp10f): Likewise.
19431 * math/w_exp10l.c (__exp10l): Likewise.
19432 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19433 errno settings in existing tests.
19436 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19437 precision control set to double precision.
19438 * sysdeps/i386/fpu/w_sqrt.c: New file.
19439 * math/auto-libm-test-in: Add more tests.
19440 * math/auto-libm-test-out: Update.
19442 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19443 (sqrt_test_tonearest): New function.
19444 (sqrt_towardzero_test_data): New variable.
19445 (sqrt_test_towardzero): New function.
19446 (sqrt_downward_test_data): New variable.
19447 (sqrt_test_downward): New function.
19448 (sqrt_upward_test_data): New variable.
19449 (sqrt_test_upward): New function.
19450 (main): Call the new functions.
19452 * math/gen-auto-libm-tests.c: New file.
19453 * math/auto-libm-test-in: Likewise.
19454 * math/auto-libm-test-out: New generated file.
19455 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19457 (%beautify): Add generated representations of zero.
19458 (top level): Set $auto_input and call parse_auto_input.
19459 (beautify): Remove trailing "f" from hex float constants.
19460 (parse_args): Handle XFAIL_TEST.
19461 (convert_condition): New function.
19462 (or_value): Likewise.
19463 (or_cond_value): Likewise.
19464 (generate_testfile): Handle AUTO_TESTS_* lines.
19465 (parse_auto_input): New function.
19466 * math/libm-test.inc (XFAIL_TEST): New macro.
19467 (ERRNO_UNCHANGED): Update value.
19468 (ERRNO_EDOM): Likewise.
19469 (ERRNO_ERANGE): Likewise.
19470 (IGNORE_RESULT): Likewise.
19471 (TEST_COND_flt_32): New macro.
19472 (TEST_COND_dbl_64): Likewise.
19473 (TEST_COND_ldbl_96_intel): Likewise.
19474 (TEST_COND_ldbl_96_m68k): Likewise.
19475 (TEST_COND_ldbl_128): Likewise.
19476 (TEST_COND_ldbl_128ibm): Likewise.
19477 (TEST_COND_long32): Likewise.
19478 (TEST_COND_long64): Likewise.
19479 (TEST_COND_before_rounding): Likewise.
19480 (TEST_COND_after_rounding): Likewise.
19481 (enable_test): Handle XFAIL_TEST flag.
19482 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19483 with finite results.
19484 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19485 auto-libm-test-out.
19487 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19488 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19491 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19492 __tls_get_addr_internal instead of __tls_get_offset in order to
19493 avoid GOT pointer dependency. Make rtld export
19494 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19495 __tls_get_addr since we are a __tls_get_offset platform.
19496 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19497 GOT pointer being set up before.
19498 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19500 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19502 * manual/math.texi (Errors in Math Functions): Document accuracy
19506 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19507 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19510 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19511 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19512 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19517 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19518 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19523 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19524 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19525 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19526 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19527 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19529 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19531 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19533 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19534 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19535 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19536 atomic-feupdateenv and flt-rounds.
19537 * sysdeps/powerpc/nofpu/Versions (libc): Add
19538 __atomic_feholdexcept, __atomic_feclearexcept,
19539 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19540 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19541 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19542 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19543 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19548 * manual/arith.texi (FP Exceptions): Document that exceptions may
19549 not be raised when matherr is used.
19550 (Math Error Reporting): Document overflow in directed rounding
19551 modes. Document that errno may not be set when finite values are
19552 returned on overflow. Document intent to set errno on underflow
19553 only for underflow to zero.
19556 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19557 round-to-nearest then adjust result for other rounding modes.
19558 * include/fenv.h (fegetround): Use libm_hidden_proto.
19559 * math/fegetround.c (fegetround): Use libm_hidden_def.
19560 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19561 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19562 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19563 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19565 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19566 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19567 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19568 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19570 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19573 * nss/Versions (libnss_files): Add
19574 _nss_files_gethostbyname3_r.
19575 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19577 (HOST_DB_LOOKUP): Remove macro.
19578 (_nss_files_gethostbyname_r): Implement function without the
19579 HOST_DB_LOOKUP macro.
19580 (_nss_files_gethostbyname2_r): Likewise.
19582 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19584 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19586 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19588 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19589 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19592 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19594 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19595 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19596 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19597 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19598 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19599 __fe_nomask_env_priv and attribute_hidden.
19600 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19601 (libc_feupdateenv_test_ppc): Likewise.
19602 (libc_feresetround_ppc): Likewise.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19604 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19605 compat_symbol macro.
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19607 (__fe_nomask_env): Likewise.
19608 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19610 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19612 * string/Makefile: Remove ifunc tests.
19613 * string/test-string.h: Define TEST_IFUNC.
19614 * string/test-bcopy-ifunc.c: Remove.
19615 * string/test-bzero-ifunc.c: Likewise.
19616 * string/test-memccpy-ifunc.c: Likewise.
19617 * string/test-memchr-ifunc.c: Likewise.
19618 * string/test-memcmp-ifunc.c: Likewise.
19619 * string/test-memcpy-ifunc.c: Likewise.
19620 * string/test-memmem-ifunc.c: Likewise.
19621 * string/test-memmove-ifunc.c: Likewise.
19622 * string/test-mempcpy-ifunc.c: Likewise.
19623 * string/test-memrchr-ifunc.c: Likewise.
19624 * string/test-memset-ifunc.c: Likewise.
19625 * string/test-rawmemchr-ifunc.c: Likewise.
19626 * string/test-stpcpy-ifunc.c: Likewise.
19627 * string/test-stpncpy-ifunc.c: Likewise.
19628 * string/test-strcasecmp-ifunc.c: Likewise.
19629 * string/test-strcasestr-ifunc.c: Likewise.
19630 * string/test-strcat-ifunc.c: Likewise.
19631 * string/test-strchr-ifunc.c: Likewise.
19632 * string/test-strchrnul-ifunc.c: Likewise.
19633 * string/test-strcmp-ifunc.c: Likewise.
19634 * string/test-strcpy-ifunc.c: Likewise.
19635 * string/test-strcspn-ifunc.c: Likewise.
19636 * string/test-strlen-ifunc.c: Likewise.
19637 * string/test-strncasecmp-ifunc.c: Likewise.
19638 * string/test-strncat-ifunc.c: Likewise.
19639 * string/test-strncmp-ifunc.c: Likewise.
19640 * string/test-strncpy-ifunc.c: Likewise.
19641 * string/test-strnlen-ifunc.c: Likewise.
19642 * string/test-strpbrk-ifunc.c: Likewise.
19643 * string/test-strrchr-ifunc.c: Likewise.
19644 * string/test-strspn-ifunc.c: Likewise.
19645 * string/test-strstr-ifunc.c: Likewise.
19647 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19649 * benchtests/Makefile: Remove ifunc tests.
19650 * benchtests/bench-string.h: Define TEST_IFUNC.
19651 * benchtests/bench-bcopy-ifunc.c: Remove.
19652 * benchtests/bench-bzero-ifunc.c: Likewise.
19653 * benchtests/bench-memccpy-ifunc.c: Likewise.
19654 * benchtests/bench-memchr-ifunc.c: Likewise.
19655 * benchtests/bench-memcmp-ifunc.c: Likewise.
19656 * benchtests/bench-memcpy-ifunc.c: Likewise.
19657 * benchtests/bench-memmem-ifunc.c: Likewise.
19658 * benchtests/bench-memmove-ifunc.c: Likewise.
19659 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19660 * benchtests/bench-memrchr-ifunc.c: Likewise.
19661 * benchtests/bench-memset-ifunc.c: Likewise.
19662 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19663 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19664 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19665 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19666 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19667 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19668 * benchtests/bench-strcat-ifunc.c: Likewise.
19669 * benchtests/bench-strchr-ifunc.c: Likewise.
19670 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19671 * benchtests/bench-strcmp-ifunc.c: Likewise.
19672 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19673 * benchtests/bench-strcpy-ifunc.c: Likewise.
19674 * benchtests/bench-strcspn-ifunc.c: Likewise.
19675 * benchtests/bench-strlen-ifunc.c: Likewise.
19676 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19677 * benchtests/bench-strncat-ifunc.c: Likewise.
19678 * benchtests/bench-strncmp-ifunc.c: Likewise.
19679 * benchtests/bench-strncpy-ifunc.c: Likewise.
19680 * benchtests/bench-strnlen-ifunc.c: Likewise.
19681 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19682 * benchtests/bench-strrchr-ifunc.c: Likewise.
19683 * benchtests/bench-strsep-ifunc.c: Likewise.
19684 * benchtests/bench-strspn-ifunc.c: Likewise.
19685 * benchtests/bench-strstr-ifunc.c: Likewise.
19687 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19689 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19691 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19693 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19694 * rt/aio.h: Likewise.
19695 * sysdeps/gnu/bits/utmp.h: Likewise.
19696 * sysdeps/gnu/bits/utmpx.h: Likewise.
19697 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19698 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19699 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19700 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19701 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19702 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19703 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19704 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19705 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19706 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19707 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19708 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19709 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19711 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19712 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19713 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19714 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19715 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19716 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19717 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19718 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19719 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19720 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19721 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19723 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19724 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19725 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19726 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19727 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19728 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19729 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19730 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19731 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19732 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19733 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19734 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19735 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19736 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19737 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19738 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19740 2013-11-25 Carlos O'Donell <carlos@redhat.com>
19743 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19744 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19746 2013-11-25 Joseph Myers <joseph@codesourcery.com>
19748 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19749 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19752 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19754 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19755 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19756 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19757 (__fesetround): Remove define.
19758 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19759 rounding and exceptions handling.
19760 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19761 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19762 (__fe_nomask_env): Likewise.
19763 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19764 __fegetround instead of fegetround.
19765 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19766 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19768 2013-11-21 Roland McGrath <roland@hack.frob.com>
19770 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19773 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19775 2013-11-21 Meador Inge <meadori@codesourcery.com>
19778 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19779 (encrypt_r): Likewise.
19780 * malloc/obstack.h (obstack_free): Likewise.
19781 * posix/unistd.h (encrypt): Likewise.
19783 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19785 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19786 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19787 DL_CALL_DT_FINI() that call the functions directly.
19788 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19789 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19790 * elf/dl-fini.c: Likewise.
19792 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
19794 * malloc/hooks.c (memalign_check): Add alignment rounding.
19795 * malloc/malloc.c (_mid_memalign): New function.
19796 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19797 Implement by calling _mid_memalign.
19798 * manual/probes.texi (Memory Allocation Probes): Remove
19799 memory_valloc_retry and memory_pvalloc_retry.
19801 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19803 * locale/programs/locarchive.c (open_archive): Add const
19804 qualifier to ARCHIVEFNAME and copy default fname to
19808 * libio/tst-widetext.input: Rename Oriya to Odia.
19809 * locale/iso-639.def: Likewise.
19811 * manual/probes.texi (Mathematical Function Probes): Add
19812 documentation for sin, cos, asin and acos probes.
19813 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19814 (__sin32): Add slowasin probe.
19815 (__cos32): Add slowacos probe.
19816 (__mpsin): Add slowsin probe.
19817 (__mpcos): Add slowcos probe.
19819 2013-11-19 Joseph Myers <joseph@codesourcery.com>
19822 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19823 thread-local __sim_exceptions_thread and global
19824 __sim_exceptions_global.
19825 (__sim_disabled_exceptions): Change to thread-local
19826 __sim_disabled_exceptions_thread and global
19827 __sim_disabled_exceptions_global.
19828 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19829 and global __sim_round_mode_global.
19830 (__simulate_exceptions): Use thread-local floating-point state and
19831 set global state from it as needed.
19832 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19833 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19834 __sim_round_mode_thread.
19835 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19836 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19837 and global __sim_exceptions_global.
19838 (__sim_disabled_exceptions): Change to thread-local
19839 __sim_disabled_exceptions_thread and global
19840 __sim_disabled_exceptions_global.
19841 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19842 and global __sim_round_mode_global.
19843 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19844 (SIM_SET_GLOBAL): Likewise.
19845 * sysdeps/powerpc/soft-fp/sfp-machine.h
19846 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19847 __sim_round_mode_thread.
19848 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19849 __sim_disabled_exceptions_thread.
19850 (__sim_exceptions): Change to __sim_exceptions_thread.
19851 (__sim_disabled_exceptions): Change to
19852 __sim_disabled_exceptions_thread.
19853 (__sim_round_mode): Change to __sim_round_mode_thread.
19854 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19855 thread-local floating-point state and set global state from it as
19857 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19858 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19859 (__sim_disabled_exceptions): Remove extern declaration.
19860 (feenableexcept): Use thread-local floating-point state and set
19861 global state from it as needed.
19862 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19863 extern declaration.
19864 (__sim_disabled_exceptions): Likewise.
19865 (__sim_round_mode): Likewise.
19866 (__fegetenv): Use thread-local floating-point state.
19867 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19868 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19869 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19870 floating-point state and set global state from it as needed.
19871 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19872 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19873 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19875 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19876 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19878 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19879 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19880 Use __sim_round_mode_thread.
19881 * math/test-fenv-tls.c: New file.
19882 * math/Makefile (tests): Add test-fenv-tls.
19883 ($(objpfx)test-fenv-tls): Depend on
19884 $(common-objpfx)nptl/libpthread.so.
19886 2013-11-19 Andreas Schwab <schwab@suse.de>
19888 * locale/programs/locale.c (show_info): Decode wordarray elements.
19889 * locale/categories.def (LC_MONETARY): Add element for
19890 _NL_MONETARY_CRNCYSTR.
19891 * locale/C-monetary.c (conversion_rate): New variable.
19892 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19895 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19897 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19898 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19900 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19902 * elf/Makefile (tst-auxv): New test.
19903 * elf/tst-auxv.c: New
19904 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19906 2013-11-18 Joseph Myers <joseph@codesourcery.com>
19908 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19909 (hidden_proto): Caller changed.
19910 (hidden_tls_proto): New macro.
19911 (libc_hidden_tls_proto): Likewise.
19912 (rtld_hidden_tls_proto): Likewise.
19913 (libm_hidden_tls_proto): Likewise.
19914 (libresolv_hidden_tls_proto): Likewise.
19915 (librt_hidden_tls_proto): Likewise.
19916 (libdl_hidden_tls_proto): Likewise.
19917 (libnss_files_hidden_tls_proto): Likewise.
19918 (libnsl_hidden_tls_proto): Likewise.
19919 (libnss_nisplus_hidden_tls_proto): Likewise.
19920 (libutil_hidden_tls_proto): Likewise.
19922 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
19925 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19926 (decompose_rpath): Defer expansion to fillin_rpath.
19927 (_dl_init_paths): Pass linkmap to fillin_rpath.
19929 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19931 * benchtests/Makefile: Add strsep.
19932 * benchtests/bench-strsep.c: New file: strsep benchtest.
19933 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19935 2013-11-18 Andreas Schwab <schwab@suse.de>
19937 * locale/programs/locale.c (show_info) [case byte]: Check for
19938 '\377' instead of '\177'.
19939 * locale/C-monetary.c (not_available): Always use "\377".
19940 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19941 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19942 detect unavailable sign_posn locale elements.
19943 * locale/localeconv.c (__localeconv): For grouping and
19944 mon_grouping handle "\177" and "\377" like no grouping.
19945 (INT_ELEM): New macro. Use it to set all numeric members.
19946 * locale/programs/ld-monetary.c (monetary_read)
19947 <tok_mon_grouping>: Normalize single -1 to the empty string.
19948 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19951 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19954 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19955 when we match (nil).
19956 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19958 2013-11-16 Joseph Myers <joseph@codesourcery.com>
19960 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19961 (NO_TEST_INLINE): Update value.
19962 (ERRNO_UNCHANGED): Likewise.
19963 (ERRNO_EDOM): Likewise.
19964 (ERRNO_ERANGE): Likewise.
19965 (IGNORE_RESULT): Likewise.
19966 (check_float_internal): Check signs of NaN results if
19967 TEST_NAN_SIGN used.
19968 (check_complex): Pass TEST_NAN_SIGN flag through to second
19969 check_float_internal call.
19970 (copysign_test_data): Add tests with quiet NaNs as second
19971 argument. Use TEST_NAN_SIGN.
19972 (fabs_test_data): Add test of negative quiet NaN argument. Use
19974 (signbit_test_data): Add tests of quiet NaN argument.
19975 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19977 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19979 (parse_args): Handle function results specified as IGNORE.
19980 * math/libm-test.inc (IGNORE_RESULT): New macro.
19981 (check_float_internal): Do not check numerical result if flag
19983 (check_complex): Pass through IGNORE_RESULT to second
19984 check_float_internal call.
19985 (check_int): Do not check numerical result if flag IGNORE_RESULT
19987 (check_long): Likewise.
19988 (check_bool): Likewise.
19989 (check_longlong): Likewise.
19990 (lrint_test_data): Add tests of infinite and NaN arguments.
19991 (lrint_tonearest_test_data): Likewise.
19992 (lrint_towardzero_test_data): Likewise.
19993 (lrint_downward_test_data): Likewise.
19994 (lrint_upward_test_data): Likewise.
19995 (llrint_test_data): Likewise.
19996 (llrint_tonearest_test_data): Likewise.
19997 (llrint_towardzero_test_data): Likewise.
19998 (llrint_downward_test_data): Likewise.
19999 (llrint_upward_test_data): Likewise.
20000 (lround_test_data): Likewise.
20001 (llround_test_data): Likewise.
20003 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20004 (ERRNO_UNCHANGED): Update value.
20005 (ERRNO_EDOM): Likewise.
20006 (ERRNO_ERANGE): Likewise.
20007 (NO_TEST_INLINE_FLOAT): New macro.
20008 (NO_TEST_INLINE_DOUBLE): Likewise.
20009 (enable_test): New function.
20010 (RUN_TEST_f_f): Check enable_test before running test.
20011 (RUN_TEST_2_f): Likewise.
20012 (RUN_TEST_fff_f): Likewise.
20013 (RUN_TEST_c_f): Likewise.
20014 (RUN_TEST_f_f1): Likewise.
20015 (RUN_TEST_fF_f1): Likewise.
20016 (RUN_TEST_fI_f1): Likewise.
20017 (RUN_TEST_ffI_f1): Likewise.
20018 (RUN_TEST_c_c): Likewise.
20019 (RUN_TEST_cc_c): Likewise.
20020 (RUN_TEST_f_i): Likewise.
20021 (RUN_TEST_f_i_tg): Likewise.
20022 (RUN_TEST_ff_i_tg): Likewise.
20023 (RUN_TEST_f_b): Likewise.
20024 (RUN_TEST_f_b_tg): Likewise.
20025 (RUN_TEST_f_l): Likewise.
20026 (RUN_TEST_f_L): Likewise.
20027 (RUN_TEST_fFF_11): Likewise.
20028 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20030 (cosh_test_data): Likewise.
20031 (exp_test_data): Likewise.
20032 (expm1_test_data): Likewise.
20033 (hypot_test_data): Likewise.
20034 (pow_test_data): Likewise.
20035 (sinh_test_data): Likewise.
20036 (tanh_test_data): Likewise.
20037 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20040 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20041 tests with quiet NaN input and output.
20042 (acosh_test_data): Likewise.
20043 (asin_test_data): Likewise.
20044 (asinh_test_data): Likewise.
20045 (atan_test_data): Likewise.
20046 (atanh_test_data): Likewise.
20047 (atan2_test_data): Likewise.
20048 (cbrt_test_data): Likewise.
20049 (cos_test_data): Likewise.
20050 (cosh_test_data): Likewise.
20051 (erf_test_data): Likewise.
20052 (erfc_test_data): Likewise.
20053 (exp_test_data): Likewise.
20054 (exp10_test_data): Likewise.
20055 (exp2_test_data): Likewise.
20056 (expm1_test_data): Likewise.
20057 (hypot_test_data): Likewise.
20058 (j0_test_data): Likewise.
20059 (j1_test_data): Likewise.
20060 (jn_test_data): Likewise.
20061 (lgamma_test_data): Likewise.
20062 (log_test_data): Likewise.
20063 (log10_test_data): Likewise.
20064 (log1p_test_data): Likewise.
20065 (log2_test_data): Likewise.
20066 (pow_test_data): Likewise.
20067 (scalb_test_data): Likewise.
20068 (sin_test_data): Likewise.
20069 (sincos_test_data): Likewise.
20070 (sinh_test_data): Likewise.
20071 (tan_test_data): Likewise.
20072 (tanh_test_data): Likewise.
20073 (tgamma_test_data): Likewise.
20074 (y0_test_data): Likewise.
20075 (y1_test_data): Likewise.
20076 (yn_test_data): Likewise.
20079 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20080 argument being NaN and avoid computations with second argument in
20082 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20083 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20084 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20086 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20088 * locale/iso-639.def: Add Chitwani Tharu (the).
20090 2013-11-14 Andreas Schwab <schwab@suse.de>
20092 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20093 word instead of empty string.
20095 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20098 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20100 (__fe_nomask_env): Likewise.
20102 2013-11-13 Steve Ellcey <sellcey@mips.com>
20104 * benchtests/bench-timing.h: Include time.h.
20106 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20109 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20111 * sysdeps/unix/sysv/linux/configure: Regenerated.
20113 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20116 * stdlib/strtod_l.c (round_and_return): Do not consider
20117 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20118 exponent one less than half the least subnormal exponent.
20119 * stdlib/test-strtod-round-data: Add more tests.
20120 * stdlib/tst-strtod-round.c (tests): Regenerated.
20122 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20125 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20126 (__fe_mask_env): Likewise.
20127 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20128 libm_hidden_proto and add function prototype.
20129 (__fe_mask_env): Add function prototype.
20130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20131 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20133 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20135 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20137 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20139 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20140 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20142 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20144 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20145 of htab_find_slot().
20147 2013-11-11 David S. Miller <davem@davemloft.net>
20150 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20151 symbol in the non-vis3 case in static builds.
20152 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20153 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20154 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20155 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20157 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20160 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20163 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20165 * benchtests/Makefile: Add bench-strtod.
20166 * benchtests/bench-strtod.c: New file: strtod benchtest
20168 2013-11-11 Andreas Schwab <schwab@suse.de>
20171 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20172 terminating NUL in key length.
20174 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20176 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20177 Add artificial ODP entry for vDSO symbol for PPC64.
20178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20179 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20181 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20184 * nss/getent.c (services_keys): Recognize services starting with digit.
20186 2013-11-06 David S. Miller <davem@davemloft.net>
20189 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20190 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20192 2013-11-06 Will Newton <will.newton@linaro.org>
20194 * manual/memory.texi (Malloc Examples): Remove register
20195 keyword from examples.
20197 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20199 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20201 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20204 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20205 depending on [__GCC_IEC_559 > 0].
20206 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20207 depending on [__GCC_IEC_559_COMPLEX > 0].
20209 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20211 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20214 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20216 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20218 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20221 * malloc/malloc (malloc_info): Do not handle first bin as
20224 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20226 * locale/iso-639.def: Add Central Nahuatl (nhn).
20228 2013-11-01 Bruno Haible <bruno@clisp.org>
20231 * manual/math.texi (BSD Random): Specify range upper bound as
20234 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20236 * locale/iso-639.def: Add Meadow Mari (mhr).
20238 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20240 [BZ #14752], [BZ #15763]
20241 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20243 * rt/tst_shm.c: Add test for escaping directory.
20245 2013-10-31 Andreas Schwab <schwab@suse.de>
20248 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20249 followed by 'x' as part of digit sequence.
20250 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20252 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20255 * configure.ac: allow GNU Make 4.0 and greater.
20256 * configure: Regenerated.
20258 2013-10-30 Will Newton <will.newton@linaro.org>
20261 * malloc/hooks.c (memalign_check): Limit alignment to the
20262 maximum representable power of two.
20263 * malloc/malloc.c (__libc_memalign): Likewise.
20264 * malloc/tst-memalign.c (do_test): Add test for very
20265 large alignment values.
20266 * malloc/tst-posix_memalign.c (do_test): Likewise.
20268 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20271 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20272 (munmap_chunk): Likewise.
20273 (mremap_chunk): Likewise.
20275 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20278 * stdlib/div.c (div): Remove obsolete code.
20279 * stdlib/ldiv.c (ldiv): Likewise.
20280 * stdlib/lldiv.c (lldiv): Likewise.
20282 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20285 * nss/nss_files/files-XXX.c (get_contents_ret): New
20287 (get_contents): New function.
20288 (internal_getent): Use it. Expand size of LINEBUFLEN.
20290 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20292 * configure.in: Moved to ...
20293 * configure.ac: ... here. Change reference to configure.in
20295 * sysdeps/arm/preconfigure.ac: ... here.
20296 configure.in to configure.ac.
20297 * sysdeps/gnu/configure.in: Moved to ...
20298 * sysdeps/gnu/configure.ac: ... here.
20299 * sysdeps/i386/configure.in: Moved to ...
20300 * sysdeps/i386/configure.ac: ... here.
20301 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20302 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20303 * sysdeps/mach/configure.in: Moved to ...
20304 * sysdeps/mach/configure.ac: ... here.
20305 * sysdeps/mach/hurd/configure.in: Moved to ...
20306 * sysdeps/mach/hurd/configure.ac: ... here.
20307 * sysdeps/powerpc/configure.in: Moved to ...
20308 * sysdeps/powerpc/configure.ac: ... here.
20309 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20310 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20311 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20312 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20313 * sysdeps/s390/s390-32/configure.in: Moved to ...
20314 * sysdeps/s390/s390-32/configure.ac: ... here.
20315 * sysdeps/s390/s390-64/configure.in: Moved to ...
20316 * sysdeps/s390/s390-64/configure.ac: ... here.
20317 * sysdeps/sh/configure.in: Moved to ...
20318 * sysdeps/sh/configure.ac: ... here.
20319 * sysdeps/sparc/configure.in: Moved to ...
20320 * sysdeps/sparc/configure.ac: ... here.
20321 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20322 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20323 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20324 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20325 * sysdeps/x86_64/configure.in: Moved to ...
20326 * sysdeps/x86_64/configure.ac: ... here.
20327 * sysdeps/x86_64/preconfigure.in: Moved to ...
20328 * sysdeps/x86_64/preconfigure.ac: ... here.
20329 * aclocal.m4: Change reference to configure.in to configure.ac.
20330 * config.h.in: Likewise.
20331 * manual/install.texi: Likewise.
20332 * manual/maint.texi: Likewise.
20333 * Makefile: Likewise.
20334 * malloc/Makefile: Likewise.
20335 * nscd/Makefile: Likewise.
20336 * Makeconfig: Change reference to configure.in and
20337 preconfigure.in to configure.ac and preconfigure.ac
20339 * INSTALL: Regenerated.
20340 * configure: Likewise.
20341 * sysdeps/gnu/configure: Likewise.
20342 * sysdeps/i386/configure: Likewise.
20343 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20344 * sysdeps/mach/configure: Likewise.
20345 * sysdeps/mach/hurd/configure: Likewise.
20346 * sysdeps/powerpc/configure: Likewise.
20347 * sysdeps/powerpc/powerpc32/configure: Likewise.
20348 * sysdeps/powerpc/powerpc64/configure: Likewise.
20349 * sysdeps/s390/s390-32/configure: Likewise.
20350 * sysdeps/s390/s390-64/configure: Likewise.
20351 * sysdeps/sh/configure: Likewise.
20352 * sysdeps/sparc/configure: Likewise.
20353 * sysdeps/unix/sysv/linux/configure: Likewise.
20354 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20355 * sysdeps/x86_64/configure: Likewise.
20356 * sysdeps/x86_64/preconfigure: Likewise.
20358 2013-10-29 Andreas Schwab <schwab@suse.de>
20360 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20362 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20364 * benchtests/pow-inputs: Add new inputs.
20366 * benchtests/exp-inputs: Add new inputs.
20368 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20369 conditional check for return value.
20370 (__cos32): Likewise.
20372 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20374 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20375 to provide a boost for large inputs with word alignment.
20376 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20377 implementation based on optimized PPC64 strcpy.
20378 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20379 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20380 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20381 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20383 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20386 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20388 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20391 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20392 * time/tst-strptime.c (day_tests): Add testcase.
20394 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20397 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20399 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20402 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20403 MAP_FAILED on error.
20405 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20408 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20409 heap for large requests.
20411 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20414 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20415 result if the result has no associated interface.
20416 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20417 interface for all 127.X.Y.Z addresses.
20419 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20421 * locale/iso-639.def: Add Ligurian (lij)
20423 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20426 * sunrpc/rpc_main.c: Document rpcgen -5.
20428 2013-10-19 Michael Stahl <mstahl@redhat.com>
20430 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20432 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20435 * posix/glob.c: Match only directories when trailing slash is present.
20436 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20437 (main): Add testcase.
20439 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20442 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20444 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20446 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20447 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20448 AUTH_DES and cindex for FIPS 140-2.
20449 (DES Encryption): Add cindex FIPS 46-3.
20451 * locale/locarchive.h (struct locarhandle): Add fname.
20452 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20453 if an optional argument was specified to --list-archive,
20455 * locale/programs/locarchive.c (show_archive_content): Take new
20456 argument fname and pass it via ah.fname to open_archive.
20457 * locale/programs/localedef.h: Update decl.
20458 (open_archive): If AH->fname is non-null, open that file
20459 rather than the default file name, and don't ignore ENOENT.
20460 (create_archive): Set AH.fname to NULL.
20461 (delete_locales_from_archive): Likewise.
20462 (add_locales_to_archive): Likewise.
20463 * locale/programs/locfile.c (write_all_categories): Likewise.
20465 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20466 Aldy Hernandez <aldyh@redhat.com>
20468 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20469 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20470 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20471 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20472 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20473 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20474 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20475 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20476 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20477 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20478 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20479 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20480 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20481 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20482 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20484 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20486 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20488 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20490 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20491 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20493 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20494 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20495 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20496 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20498 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20499 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20500 * sysdeps/powerpc/preconfigure: Likewise.
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20503 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20504 Replace contents of file by #include of <fenv_libc.h>.
20505 * sysdeps/powerpc/soft-fp/sfp-machine.h
20506 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20508 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20510 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20511 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20512 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20513 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20515 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20517 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20518 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20519 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20521 Allow copysignl PLT reference to be missing.
20523 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20524 Joseph Myers <joseph@codesourcery.com
20527 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20529 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20531 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20533 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20534 * elf/tst-tls1.c: Likewise.
20535 * elf/tst-tls10.h: Likewise.
20536 * elf/tst-tls14.c: Likewise.
20537 * elf/tst-tls2.c: Likewise.
20538 * elf/tst-tls3.c: Likewise.
20539 * elf/tst-tls4.c: Likewise.
20540 * elf/tst-tls5.c: Likewise.
20541 * elf/tst-tls6.c: Likewise.
20542 * elf/tst-tls7.c: Likewise.
20543 * elf/tst-tls8.c: Likewise.
20544 * elf/tst-tls9.c: Likewise.
20545 * elf/tst-tlsmod1.c: Likewise.
20546 * elf/tst-tlsmod13.c: Likewise.
20547 * elf/tst-tlsmod13a.c: Likewise.
20548 * elf/tst-tlsmod14a.c: Likewise.
20549 * elf/tst-tlsmod16a.c: Likewise.
20550 * elf/tst-tlsmod16b.c: Likewise.
20551 * elf/tst-tlsmod2.c: Likewise.
20552 * elf/tst-tlsmod3.c: Likewise.
20553 * elf/tst-tlsmod4.c: Likewise.
20554 * elf/tst-tlsmod5.c: Likewise.
20555 * elf/tst-tlsmod6.c: Likewise.
20557 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20560 * malloc/malloc.c: remove checks for statistics.
20562 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20565 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20566 * inet/tst-network.c: Add testcase.
20568 2013-10-17 Andreas Schwab <schwab@suse.de>
20571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20572 to determine canonical name.
20574 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20576 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20577 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20579 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20581 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20582 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20583 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20584 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20585 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20586 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20587 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20588 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20589 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20590 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20591 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20592 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20593 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20594 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20595 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20596 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20598 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20599 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20600 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20601 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20602 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20603 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20604 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20605 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20606 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20608 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20609 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20610 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20611 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20612 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20613 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20614 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20616 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20617 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20618 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20619 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20620 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20621 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20622 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20623 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20624 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20626 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20627 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20628 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20629 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20630 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20631 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20632 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20633 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20635 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20638 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20639 make result into a quiet NaN.
20641 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20643 * soft-fp/adddf3.c: Fix horizontal whitespace.
20644 * soft-fp/addsf3.c: Likewise.
20645 * soft-fp/addtf3.c: Likewise.
20646 * soft-fp/divdf3.c: Likewise.
20647 * soft-fp/divsf3.c: Likewise.
20648 * soft-fp/divtf3.c: Likewise.
20649 * soft-fp/double.h: Likewise.
20650 * soft-fp/eqdf2.c: Likewise.
20651 * soft-fp/eqsf2.c: Likewise.
20652 * soft-fp/eqtf2.c: Likewise.
20653 * soft-fp/extenddftf2.c: Likewise.
20654 * soft-fp/extended.h: Likewise.
20655 * soft-fp/extendsfdf2.c: Likewise.
20656 * soft-fp/extendsftf2.c: Likewise.
20657 * soft-fp/extendxftf2.c: Likewise.
20658 * soft-fp/fixdfdi.c: Likewise.
20659 * soft-fp/fixdfsi.c: Likewise.
20660 * soft-fp/fixdfti.c: Likewise.
20661 * soft-fp/fixsfdi.c: Likewise.
20662 * soft-fp/fixsfsi.c: Likewise.
20663 * soft-fp/fixsfti.c: Likewise.
20664 * soft-fp/fixtfdi.c: Likewise.
20665 * soft-fp/fixtfsi.c: Likewise.
20666 * soft-fp/fixtfti.c: Likewise.
20667 * soft-fp/fixunsdfdi.c: Likewise.
20668 * soft-fp/fixunsdfsi.c: Likewise.
20669 * soft-fp/fixunsdfti.c: Likewise.
20670 * soft-fp/fixunssfdi.c: Likewise.
20671 * soft-fp/fixunssfsi.c: Likewise.
20672 * soft-fp/fixunssfti.c: Likewise.
20673 * soft-fp/fixunstfdi.c: Likewise.
20674 * soft-fp/fixunstfsi.c: Likewise.
20675 * soft-fp/fixunstfti.c: Likewise.
20676 * soft-fp/floatdidf.c: Likewise.
20677 * soft-fp/floatdisf.c: Likewise.
20678 * soft-fp/floatditf.c: Likewise.
20679 * soft-fp/floatsidf.c: Likewise.
20680 * soft-fp/floatsisf.c: Likewise.
20681 * soft-fp/floatsitf.c: Likewise.
20682 * soft-fp/floattidf.c: Likewise.
20683 * soft-fp/floattisf.c: Likewise.
20684 * soft-fp/floattitf.c: Likewise.
20685 * soft-fp/floatundidf.c: Likewise.
20686 * soft-fp/floatundisf.c: Likewise.
20687 * soft-fp/floatunditf.c: Likewise.
20688 * soft-fp/floatunsidf.c: Likewise.
20689 * soft-fp/floatunsisf.c: Likewise.
20690 * soft-fp/floatunsitf.c: Likewise.
20691 * soft-fp/floatuntidf.c: Likewise.
20692 * soft-fp/floatuntisf.c: Likewise.
20693 * soft-fp/floatuntitf.c: Likewise.
20694 * soft-fp/fmadf4.c: Likewise.
20695 * soft-fp/fmasf4.c: Likewise.
20696 * soft-fp/fmatf4.c: Likewise.
20697 * soft-fp/gedf2.c: Likewise.
20698 * soft-fp/gesf2.c: Likewise.
20699 * soft-fp/getf2.c: Likewise.
20700 * soft-fp/ledf2.c: Likewise.
20701 * soft-fp/lesf2.c: Likewise.
20702 * soft-fp/letf2.c: Likewise.
20703 * soft-fp/muldf3.c: Likewise.
20704 * soft-fp/mulsf3.c: Likewise.
20705 * soft-fp/multf3.c: Likewise.
20706 * soft-fp/negdf2.c: Likewise.
20707 * soft-fp/negsf2.c: Likewise.
20708 * soft-fp/negtf2.c: Likewise.
20709 * soft-fp/op-1.h: Likewise.
20710 * soft-fp/op-2.h: Likewise.
20711 * soft-fp/op-4.h: Likewise.
20712 * soft-fp/op-8.h: Likewise.
20713 * soft-fp/op-common.h: Likewise.
20714 * soft-fp/quad.h: Likewise.
20715 * soft-fp/single.h: Likewise.
20716 * soft-fp/soft-fp.h: Likewise.
20717 * soft-fp/sqrtdf2.c: Likewise.
20718 * soft-fp/sqrtsf2.c: Likewise.
20719 * soft-fp/sqrttf2.c: Likewise.
20720 * soft-fp/subdf3.c: Likewise.
20721 * soft-fp/subsf3.c: Likewise.
20722 * soft-fp/subtf3.c: Likewise.
20723 * soft-fp/truncdfsf2.c: Likewise.
20724 * soft-fp/trunctfdf2.c: Likewise.
20725 * soft-fp/trunctfsf2.c: Likewise.
20726 * soft-fp/trunctfxf2.c: Likewise.
20727 * soft-fp/unorddf2.c: Likewise.
20728 * soft-fp/unordsf2.c: Likewise.
20729 * soft-fp/unordtf2.c: Likewise.
20731 2013-10-15 Joseph Myers <joseph@codesourcery.com>
20733 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20734 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20736 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
20738 * elf/dl-libc.c: Clear initfini list after freeing.
20740 2013-10-14 Joseph Myers <joseph@codesourcery.com>
20742 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20743 * soft-fp/addsf3.c: Likewise.
20744 * soft-fp/addtf3.c: Likewise.
20745 * soft-fp/divdf3.c: Likewise.
20746 * soft-fp/divsf3.c: Likewise.
20747 * soft-fp/divtf3.c: Likewise.
20748 * soft-fp/double.h: Likewise.
20749 * soft-fp/eqdf2.c: Likewise.
20750 * soft-fp/eqsf2.c: Likewise.
20751 * soft-fp/eqtf2.c: Likewise.
20752 * soft-fp/extenddftf2.c: Likewise.
20753 * soft-fp/extended.h: Likewise.
20754 * soft-fp/extendsfdf2.c: Likewise.
20755 * soft-fp/extendsftf2.c: Likewise.
20756 * soft-fp/extendxftf2.c: Likewise.
20757 * soft-fp/fixdfdi.c: Likewise.
20758 * soft-fp/fixdfsi.c: Likewise.
20759 * soft-fp/fixdfti.c: Likewise.
20760 * soft-fp/fixsfdi.c: Likewise.
20761 * soft-fp/fixsfsi.c: Likewise.
20762 * soft-fp/fixsfti.c: Likewise.
20763 * soft-fp/fixtfdi.c: Likewise.
20764 * soft-fp/fixtfsi.c: Likewise.
20765 * soft-fp/fixtfti.c: Likewise.
20766 * soft-fp/fixunsdfdi.c: Likewise.
20767 * soft-fp/fixunsdfsi.c: Likewise.
20768 * soft-fp/fixunsdfti.c: Likewise.
20769 * soft-fp/fixunssfdi.c: Likewise.
20770 * soft-fp/fixunssfsi.c: Likewise.
20771 * soft-fp/fixunssfti.c: Likewise.
20772 * soft-fp/fixunstfdi.c: Likewise.
20773 * soft-fp/fixunstfsi.c: Likewise.
20774 * soft-fp/fixunstfti.c: Likewise.
20775 * soft-fp/floatdidf.c: Likewise.
20776 * soft-fp/floatdisf.c: Likewise.
20777 * soft-fp/floatditf.c: Likewise.
20778 * soft-fp/floatsidf.c: Likewise.
20779 * soft-fp/floatsisf.c: Likewise.
20780 * soft-fp/floatsitf.c: Likewise.
20781 * soft-fp/floattidf.c: Likewise.
20782 * soft-fp/floattisf.c: Likewise.
20783 * soft-fp/floattitf.c: Likewise.
20784 * soft-fp/floatundidf.c: Likewise.
20785 * soft-fp/floatundisf.c: Likewise.
20786 * soft-fp/floatunsidf.c: Likewise.
20787 * soft-fp/floatunsisf.c: Likewise.
20788 * soft-fp/floatuntidf.c: Likewise.
20789 * soft-fp/floatuntisf.c: Likewise.
20790 * soft-fp/floatuntitf.c: Likewise.
20791 * soft-fp/fmadf4.c: Likewise.
20792 * soft-fp/fmasf4.c: Likewise.
20793 * soft-fp/fmatf4.c: Likewise.
20794 * soft-fp/gedf2.c: Likewise.
20795 * soft-fp/gesf2.c: Likewise.
20796 * soft-fp/getf2.c: Likewise.
20797 * soft-fp/ledf2.c: Likewise.
20798 * soft-fp/lesf2.c: Likewise.
20799 * soft-fp/letf2.c: Likewise.
20800 * soft-fp/muldf3.c: Likewise.
20801 * soft-fp/mulsf3.c: Likewise.
20802 * soft-fp/multf3.c: Likewise.
20803 * soft-fp/negdf2.c: Likewise.
20804 * soft-fp/negsf2.c: Likewise.
20805 * soft-fp/negtf2.c: Likewise.
20806 * soft-fp/op-1.h: Likewise.
20807 * soft-fp/op-2.h: Likewise.
20808 * soft-fp/op-4.h: Likewise.
20809 * soft-fp/op-8.h: Likewise.
20810 * soft-fp/op-common.h: Likewise.
20811 * soft-fp/quad.h: Likewise.
20812 * soft-fp/single.h: Likewise.
20813 * soft-fp/soft-fp.h: Likewise.
20814 * soft-fp/sqrtdf2.c: Likewise.
20815 * soft-fp/sqrtsf2.c: Likewise.
20816 * soft-fp/sqrttf2.c: Likewise.
20817 * soft-fp/subdf3.c: Likewise.
20818 * soft-fp/subsf3.c: Likewise.
20819 * soft-fp/subtf3.c: Likewise.
20820 * soft-fp/truncdfsf2.c: Likewise.
20821 * soft-fp/trunctfdf2.c: Likewise.
20822 * soft-fp/trunctfsf2.c: Likewise.
20823 * soft-fp/trunctfxf2.c: Likewise.
20824 * soft-fp/unorddf2.c: Likewise.
20825 * soft-fp/unordsf2.c: Likewise.
20826 * soft-fp/unordtf2.c: Likewise.
20828 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
20831 * misc/error.c (error_tail): Fix possible buffer overflow.
20833 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20836 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20839 2013-10-14 P. J. McDermott <pj@pehjota.net>
20842 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20843 testing pipefail option.
20845 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20847 * soft-fp/double.h: Indent preprocessor directives inside #if.
20848 * soft-fp/extended.h: Likewise.
20849 * soft-fp/op-2.h: Likewise.
20850 * soft-fp/op-4.h: Likewise.
20851 * soft-fp/op-common.h: Likewise.
20852 * soft-fp/quad.h: Likewise.
20853 * soft-fp/single.h: Likewise.
20854 * soft-fp/soft-fp.h: Likewise.
20856 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20858 * iconv/iconv_prog.c: Fix typos.
20859 * stdio-common/psiginfo-data.h: Likewise.
20861 2013-10-12 Reuben Thomas <rrt@sc3d.org>
20864 * locale/setlocale.c: Fix typo.
20866 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20869 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20870 signaling NaN arguments.
20871 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20872 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20875 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20876 unordered operands.
20877 * soft-fp/gesf2.c (__gesf2): Likewise.
20878 * soft-fp/getf2.c (__getf2): Likewise.
20879 * soft-fp/ledf2.c (__ledf2): Likewise.
20880 * soft-fp/lesf2.c (__lesf2): Likewise.
20881 * soft-fp/letf2.c (__letf2): Likewise.
20883 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20884 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20885 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20886 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20887 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20888 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20889 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20890 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20891 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20892 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20893 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20894 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20895 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20896 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20897 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20898 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20899 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20900 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20901 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20902 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20903 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20904 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20905 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20906 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20907 * soft-fp/floattidf.c (__floattidf): Likewise.
20908 * soft-fp/floattisf.c (__floattisf): Likewise.
20909 * soft-fp/floattitf.c (__floattitf): Likewise.
20910 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20911 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20912 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20913 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20914 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20915 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20916 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20917 * soft-fp/gesf2.c (__gesf2): Likewise.
20918 * soft-fp/getf2.c (__getf2): Likewise.
20919 * soft-fp/ledf2.c (__ledf2): Likewise.
20920 * soft-fp/lesf2.c (__lesf2): Likewise.
20921 * soft-fp/letf2.c (__letf2): Likewise.
20923 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20924 Undefine and redefine.
20925 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20926 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20927 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20928 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20929 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20930 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20931 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20932 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20933 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20934 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20935 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20936 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20937 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20938 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20939 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20942 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20943 without decrementing exponent if mantissa >= that for the
20944 denominator, not >.
20945 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20946 denominator, not >. Decrement exponent in < case instead of
20947 incrementing in >= case.
20948 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20949 without decrementing exponent if mantissa >= that for the
20950 denominator, not >.
20952 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20953 computing saturated result for unsigned overflow.
20955 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20956 Jeff Law <law@redhat.com>
20958 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20959 (atan2Mp): Add systemtap probe marker.
20960 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20961 (__ieee754_log): Add systemtap probe marker.
20962 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20963 (atanMp): Add systemtap probe marker.
20964 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20965 (tanMp): Add systemtap probe marker.
20966 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20967 (__slowexp): Add systemtap probe marker.
20968 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20969 (__slowpow): Add systemtap probe marker.
20970 * manual/probes.texi: Document probes.
20972 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
20975 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20977 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20979 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20980 written to buffer but not flushed.
20981 * libio/iofwrite_u.c: Likewise.
20982 * libio/iopadn.c: Return bytes returned even if EOF was
20984 * libio/iowpadn.c: Likewise.
20985 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20986 if _IO_padn does not write the whole buffer.
20987 [!COMPILE_WPRINTF] (PAD): Likewise.
20989 2013-10-10 David S. Miller <davem@davemloft.net>
20991 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20994 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20996 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20997 instead of FSF address.
20998 * soft-fp/fixdfti.c: Likewise.
20999 * soft-fp/fixsfti.c: Likewise.
21000 * soft-fp/fixtfti.c: Likewise.
21001 * soft-fp/fixunsdfti.c: Likewise.
21002 * soft-fp/fixunssfti.c: Likewise.
21003 * soft-fp/fixunstfti.c: Likewise.
21004 * soft-fp/floattidf.c: Likewise.
21005 * soft-fp/floattisf.c: Likewise.
21006 * soft-fp/floattitf.c: Likewise.
21007 * soft-fp/floatuntidf.c: Likewise.
21008 * soft-fp/floatuntisf.c: Likewise.
21009 * soft-fp/floatuntitf.c: Likewise.
21010 * soft-fp/trunctfxf2.c: Likewise.
21012 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21013 * soft-fp/fixdfti.c: Likewise.
21014 * soft-fp/fixsfti.c: Likewise.
21015 * soft-fp/fixtfti.c: Likewise.
21016 * soft-fp/fixunsdfti.c: Likewise.
21017 * soft-fp/fixunssfti.c: Likewise.
21018 * soft-fp/fixunstfti.c: Likewise.
21019 * soft-fp/floattidf.c: Likewise.
21020 * soft-fp/floattisf.c: Likewise.
21021 * soft-fp/floattitf.c: Likewise.
21022 * soft-fp/floatuntidf.c: Likewise.
21023 * soft-fp/floatuntisf.c: Likewise.
21024 * soft-fp/floatuntitf.c: Likewise.
21025 * soft-fp/trunctfxf2.c: Likewise.
21027 2013-10-10 David S. Miller <davem@davemloft.net>
21029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21031 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21033 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21034 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21035 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21036 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21037 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21038 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21039 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21042 for NaNs before doing comparisons on argument.
21043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21046 2013-10-10 Will Newton <will.newton@linaro.org>
21048 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21049 passed to _int_memalign does not overflow.
21051 2013-10-10 Torvald Riegel <triegel@redhat.com>
21053 * scripts/bench.pl: Add include-sources directive.
21054 * benchtests/README: Update documentation.
21056 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21058 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21059 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21060 instead of FP_INIT_ROUNDMODE.
21061 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21062 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21065 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21066 copy class of input value.
21067 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21068 not handle exceptions.
21069 * soft-fp/negsf2.c (__negsf2): Likewise.
21070 * soft-fp/negtf2.c (__negtf2): Likewise.
21071 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21073 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21075 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21076 semicolon. From Linux kernel.
21078 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21080 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21082 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21085 * manual/socket.texi: Added statement about buffer
21086 for gethostbyname2_r.
21088 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21090 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21091 Use .p2align directive instead, throughout.
21092 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21093 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21094 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21095 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21096 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21097 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21098 * sysdeps/x86_64/strchr.S: Likewise.
21099 * sysdeps/x86_64/strrchr.S: Likewise.
21101 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21103 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21105 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21107 * sysdeps/generic/math_private.h (__mpsin1): Remove
21109 (__mpcos1): Likewise.
21110 (__mpsin): New argument __range_reduce.
21111 (__mpcos): Likewise.
21112 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21113 (slow): Use __mpsin and __mpcos.
21117 (sloww1): Likewise.
21118 (sloww2): Likewise.
21119 (bsloww): Likewise.
21120 (bsloww1): Likewise.
21121 (bsloww2): Likewise.
21122 (cslow2): Likewise.
21123 (csloww): Likewise.
21124 (csloww1): Likewise.
21125 (csloww2): Likewise.
21126 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21127 range_reduce. Merge in __mpsin1.
21128 (__mpcos): Likewise.
21129 (__mpsin1): Remove.
21130 (__mpcos1): Likewise.
21132 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21134 * locale/loadlocale.c (_nl_intern_locale_data): Use
21136 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21137 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21138 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21139 obstack data is appropriately aligned.
21140 (obstack_int32_grow_fast): Likewise.
21141 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21142 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21143 (add_locale_uint32_array): Likewise.
21145 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21147 * benchtests/Makefile: Remove ARGLIST and RET variables.
21148 ($(objpfx)bench-%.c): Pass only function name to the script.
21149 * benchtests/README: Update documentation.
21150 * benchtests/acos-inputs: Add new directives.
21151 * benchtests/acosh-inputs: Likewise.
21152 * benchtests/asin-inputs: Likewise.
21153 * benchtests/asinh-inputs: Likewise.
21154 * benchtests/atan-inputs: Likewise.
21155 * benchtests/atanh-inputs: Likewise.
21156 * benchtests/cos-inputs: Likewise.
21157 * benchtests/cosh-inputs: Likewise.
21158 * benchtests/exp-inputs: Likewise.
21159 * benchtests/log-inputs: Likewise.
21160 * benchtests/pow-inputs: Likewise.
21161 * benchtests/rint-inputs: Likewise.
21162 * benchtests/sin-inputs: Likewise.
21163 * benchtests/sinh-inputs: Likewise.
21164 * benchtests/tan-inputs: Likewise.
21165 * benchtests/tanh-inputs: Likewise.
21166 * scripts/bench.pl: Add support for new directives.
21168 2013-10-07 Alan Modra <amodra@gmail.com>
21170 * README: Fix careless merge.
21172 2013-10-05 Alan Modra <amodra@gmail.com>
21174 * NEWS: Mention powerpc64le support and bugs fixed.
21175 * README: Both big-endian and little-endian powerpc64 supported.
21177 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21179 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21180 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21181 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21182 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21184 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21186 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21189 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21191 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21192 Move -mhard-float appending from
21193 ports/sysdeps/powerpc/powerpc32/Makefile.
21194 [$(with-fp) = yes] (ASFLAGS): Likewise.
21195 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21196 * sysdeps/powerpc/nofpu: Move directory from
21197 ports/sysdeps/powerpc/nofpu.
21198 * sysdeps/powerpc/soft-fp: Move directory from
21199 ports/sysdeps/powerpc/soft-fp.
21200 * sysdeps/powerpc/powerpc32/405: Move directory from
21201 ports/sysdeps/powerpc/powerpc32/405.
21202 * sysdeps/powerpc/powerpc32/440: Move directory from
21203 ports/sysdeps/powerpc/powerpc32/440.
21204 * sysdeps/powerpc/powerpc32/464: Move directory from
21205 ports/sysdeps/powerpc/powerpc32/464.
21206 * sysdeps/powerpc/powerpc32/476: Move directory from
21207 ports/sysdeps/powerpc/powerpc32/476.
21208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21209 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21211 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21213 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21215 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21217 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21218 * README: Update for powerpc-*-linux-gnu software floating point
21221 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21222 case to powerpc/powerpc32*.
21223 * sysdeps/unix/sysv/linux/configure: Regenerated.
21225 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21226 (_FPU_MASK_OM): Define as 0x04.
21227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21235 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21238 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21241 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21242 and setcontext_e500.
21244 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21246 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21248 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21250 * manual/threads.texi (Default Thread Attributes): Fix typo.
21252 2013-10-04 Will Newton <will.newton@linaro.org>
21254 * malloc/Makefile: Add tst-memalign.
21255 * malloc/tst-memalign.c: New file.
21257 * malloc/tst-posix_memalign.c: Add comments.
21258 (do_test): Add comments and call free on all potentially
21259 allocated pointers. Add space after cast.
21261 * malloc/tst-pvalloc.c: Add comments.
21262 (do_test): Add comments and call free on all potentially
21263 allocated pointers. Remove duplicate check for NULL pointer.
21264 Add space after cast.
21266 * malloc/tst-valloc.c: Add comments.
21267 (do_test): Add comments and call free on all potentially
21268 allocated pointers. Remove duplicate check for NULL pointer.
21269 Add space after cast.
21271 2013-10-04 Alan Modra <amodra@gmail.com>
21273 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21274 Use stdint types in rather than __attribute__((mode())).
21275 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21277 2013-10-04 Alan Modra <amodra@gmail.com>
21279 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21280 Correct handling of unaligned relocs for little-endian.
21281 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21283 2013-10-04 Alan Modra <amodra@gmail.com>
21285 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21286 * configure: Regenerate.
21287 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21288 * shlib-versions: Likewise.
21290 2013-10-04 Alan Modra <amodra@gmail.com>
21292 * string/tester.c (test_memrchr): Increment reported test cycle.
21294 2013-10-04 Alan Modra <amodra@gmail.com>
21296 * string/test-memcpy.c (do_one_test): When reporting errors, print
21297 string address and don't overrun end of string.
21299 2013-10-04 Alan Modra <amodra@gmail.com>
21301 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21302 insrdi. Make better use of reg selection to speed exit slightly.
21303 Schedule entry path a little better. Remove useless "are we done"
21304 checks on entry to main loop. Handle wrapping around zero address.
21305 Correct main loop count. Handle single left-over word from main
21306 loop inline rather than by using loop_small. Remove extra word
21307 case in loop_small caused by wrong loop count. Add little-endian
21309 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21310 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21312 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21313 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21314 support. Avoid rlwimi.
21315 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21317 2013-10-04 Alan Modra <amodra@gmail.com>
21319 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21320 insrdi. Formatting.
21321 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21322 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21323 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21324 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21325 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21326 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21328 2013-10-04 Alan Modra <amodra@gmail.com>
21330 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21331 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21332 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21333 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21334 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21335 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21336 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21337 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21338 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21339 use of regs. Use power7 mtocrf. Tidy function tails.
21341 2013-10-04 Alan Modra <amodra@gmail.com>
21343 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21344 Formatting. Consistently use rXXX register defines or rN defines.
21345 Use early exit labels that avoid restoring unused non-volatile regs.
21346 Make cr field use more consistent with rWORDn compares. Rename
21347 regs used as shift registers for unaligned loop, using rN defines
21348 for short lifetime/multiple use regs.
21349 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21350 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21351 addi 1,1,64 to pop stack frame. Simplify return value code.
21352 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21354 2013-10-04 Alan Modra <amodra@gmail.com>
21356 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21357 support. Correct typos, formatting. Optimize tail. Use insrdi
21358 rather than rlwimi.
21359 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21360 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21361 little-endian support. Correct typos.
21362 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21363 rather than rlwimi.
21364 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21365 in loop and entry code to keep "and." results.
21366 (strchr): Add little-endian support. Comment. Move cntlzd
21368 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21370 2013-10-04 Alan Modra <amodra@gmail.com>
21372 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21373 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21374 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21375 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21377 2013-10-04 Alan Modra <amodra@gmail.com>
21379 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21380 (rTMP): Define as r11.
21381 (strcmp): Add little-endian support. Optimise tail.
21382 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21383 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21384 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21385 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21386 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21387 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21388 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21390 2013-10-04 Alan Modra <amodra@gmail.com>
21392 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21393 little-endian support. Remove unnecessary "are we done" tests.
21394 Handle "s" wrapping around zero and extremely large "size".
21395 Correct main loop count. Handle single left-over word from main
21396 loop inline rather than by using small_loop. Correct comments.
21397 Delete "zero" tail, use "end_max" instead.
21398 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21400 2013-10-04 Alan Modra <amodra@gmail.com>
21402 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21403 support. Don't branch over align.
21404 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21405 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21406 support. Rearrange tmp reg use to suit. Comment.
21407 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21409 2013-10-04 Alan Modra <amodra@gmail.com>
21411 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21413 2013-10-04 Alan Modra <amodra@gmail.com>
21415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21416 conditional form of branch and link when obtaining pc.
21417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21419 2013-10-04 Alan Modra <amodra@gmail.com>
21421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21426 2013-10-04 Alan Modra <amodra@gmail.com>
21428 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21429 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21430 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21431 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21432 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21433 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21434 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21435 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21436 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21437 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21439 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21440 Alistair Popple <alistair@ozlabs.au.ibm.com>
21441 Alan Modra <amodra@gmail.com>
21444 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21445 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21446 _dl_hwcap access for little-endian.
21447 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21448 destroy vmx regs when saving unaligned.
21449 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21450 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21451 destroy vmx regs when saving unaligned.
21453 2013-10-04 Alan Modra <amodra@gmail.com>
21455 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21456 Don't use a union to pack hi/low value.
21458 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21460 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21462 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21463 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21464 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21465 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21466 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21468 2013-10-04 Alan Modra <amodra@gmail.com>
21470 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21471 constants to usual value for .cst8 section, and remove redundant
21473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21474 constant for 0x1p52. Load little-endian words of double from
21475 correct stack offsets.
21477 2013-10-04 Alan Modra <amodra@gmail.com>
21479 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21480 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21481 words of double from correct stack offsets.
21482 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21483 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21484 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21486 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21487 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21488 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21489 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21490 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21491 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21492 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21493 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21494 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21495 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21496 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21497 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21498 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21500 2013-10-04 Alan Modra <amodra@gmail.com>
21502 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21503 64-bit int/double union.
21504 (_FPU_SETCW): Likewise.
21505 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21506 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21508 2013-10-04 Alan Modra <amodra@gmail.com>
21510 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21511 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21513 2013-10-04 Alan Modra <amodra@gmail.com>
21515 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21516 use vector int constants.
21517 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21519 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21521 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21522 array with long long.
21523 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21524 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21525 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21526 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21527 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21528 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21529 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21530 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21531 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21532 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21533 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21534 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21535 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21537 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21539 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21540 (__signbit): Likewise. Correct for little-endian.
21541 (__signbitl): Call __signbit.
21542 (lrint): Correct for little-endian.
21543 (lrintf): Call lrint.
21545 2013-10-04 Alan Modra <amodra@gmail.com>
21547 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21548 union 32-bit int array member with 64-bit int array.
21549 (t515, tm256): Double rather than long double.
21550 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21552 2013-10-04 Alan Modra <amodra@gmail.com>
21554 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21556 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21558 version of math_ldbl.h.
21560 2013-10-04 Alan Modra <amodra@gmail.com>
21562 [BZ #15734], [BZ #15735]
21563 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21564 all uses of ieee875 long double macros and unions. Simplify test
21565 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21566 ldbl_extract_mantissa value for ix,iy exponents. Properly
21567 normalize after ldbl_extract_mantissa, and don't add hidden bit
21568 already handled. Don't treat low word of ieee854 mantissa like
21569 low word of IBM long double and mask off bit when testing for
21571 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21572 all uses of ieee875 long double macros and unions. Simplify tests
21573 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21574 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21575 two1022, instead use their values. Recognise that tests for large
21576 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21577 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21578 Rewrite all uses of ieee875 long double macros and unions. Simplify
21579 test for 0.0L and nan. Correct negation.
21580 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21581 ieee875 long double macros and unions. Correct output for large
21582 magnitude x. Correct absolute value calculation.
21583 (__erfcl): Likewise.
21584 * math/libm-test.inc: Add tests for errors discovered in IBM long
21585 double versions of fmodl, remainderl, erfl and erfcl.
21587 2013-10-04 Alan Modra <amodra@gmail.com>
21589 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21590 all uses of ieee854 long double macros and unions. Simplify tests
21591 for long doubles that are fully specified by the high double.
21592 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21594 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21595 Remove dead code too.
21596 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21597 (__ieee754_ynl): Likewise.
21598 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21599 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21600 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21601 Remove dead code too.
21602 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21603 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21604 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21605 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21607 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21609 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21610 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21611 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21612 Comment on variable precision.
21613 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21614 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21616 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21617 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21618 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21619 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21620 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21622 2013-10-04 Alan Modra <amodra@gmail.com>
21624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21625 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21626 all uses of ieee854 long double macros and unions.
21627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21629 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21630 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21631 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21632 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21635 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21636 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21637 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21638 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21639 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21640 Simplify sign and nan test too.
21641 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21642 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21643 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21644 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21646 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21647 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21649 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21650 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21651 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21652 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21653 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21656 2013-10-04 Alan Modra <amodra@gmail.com>
21658 * stdio-common/printf_size.c (__printf_size): Don't use
21659 union ieee854_long_double in fpnum union.
21660 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21661 signbit macro to retrieve sign from long double.
21662 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21663 retrieve sign from long double.
21664 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21665 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21666 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21667 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21668 * math/test-misc.c (main): Don't use union ieee854_long_double.
21670 2013-10-04 Alan Modra <amodra@gmail.com>
21673 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21674 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21675 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21676 calculation. Remove unnecessary test for denormal exponent.
21677 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21678 Correct handling of denormals. Avoid undefined shift behaviour.
21679 Correct normalisation of low mantissa when low double is denormal.
21680 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21681 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21682 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21683 Correct normalisation of low mantissa. Test for overflow of high
21684 mantissa and normalise.
21685 (ldbl_nearbyint): Use more readable constant for two52.
21686 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21687 (__mpn_construct_long_double): Fix test for overflow of high
21688 mantissa and correct normalisation. Avoid undefined shift.
21690 2013-10-04 Alan Modra <amodra@gmail.com>
21692 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21693 (union ibm_extended_long_double): Define as an array of ieee754_double.
21694 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21695 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21696 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21697 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21700 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21701 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21706 2013-10-03 Joseph Myers <joseph@codesourcery.com>
21708 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21709 page size instead of calling getpagesize.
21711 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21712 (LOCFILE_ALIGN_MASK): Likewise.
21713 (LOCFILE_ALIGN_UP): Likewise.
21714 (LOCFILE_ALIGNED_P): Likewise.
21715 * locale/programs/ld-collate.c (collate_output): Use the new
21716 macros instead of __alignof__ (int32_t).
21717 * locale/weight.h (findidx): Likewise.
21719 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
21722 * manual/string.texi: Fix strncat and wcsncat.
21724 2013-10-03 Brooks Moses <bmoses@google.com>
21727 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21728 * Makerules: ...here, and adjust associated comments.
21730 2013-10-02 Will Newton <will.newton@linaro.org>
21732 * malloc/Makefile: Add tst-pvalloc.
21733 * malloc/tst-pvalloc.c: New file.
21735 2013-10-02 Will Newton <will.newton@linaro.org>
21737 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21738 improve test coverage.
21740 2013-10-02 Will Newton <will.newton@linaro.org>
21742 * malloc/Makefile: Add tst-posix_memalign.
21743 * malloc/tst-posix_memalign.c: New file.
21745 2013-10-01 Eric Blake <eblake@redhat.com>
21747 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21748 Use __THROWNL rather than __THROW on static functions.
21750 2013-09-30 Petr Machata <pmachata@redhat.com>
21752 * elf/elf.h (R_AARCH64_ABS16): New macro.
21753 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21754 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21755 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21756 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21757 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21758 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21759 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21760 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21761 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21762 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21763 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21764 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21765 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21766 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21767 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21768 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21769 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21770 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21771 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21772 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21773 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21774 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21775 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21776 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21777 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21778 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21779 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21780 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21781 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21782 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21783 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21784 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21785 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21786 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21787 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21788 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21789 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21790 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21791 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21792 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21793 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21794 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21795 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21796 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21797 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21798 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21799 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21800 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21801 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21802 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21803 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21804 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21805 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21806 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21807 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21808 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21809 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21810 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21811 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21812 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21813 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21814 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21815 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21816 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21817 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21818 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21819 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21820 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21821 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21822 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21823 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21824 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21825 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21826 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21827 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21828 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21829 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21830 (R_AARCH64_TLSDESC_LDR): Likewise.
21831 (R_AARCH64_TLSDESC_ADD): Likewise.
21832 (R_AARCH64_TLSDESC_CALL): Likewise.
21834 2013-09-30 Andreas Schwab <schwab@suse.de>
21837 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21838 the nss database lookup.
21839 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21842 2013-09-28 Mike Frysinger <vapier@gentoo.org>
21844 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21846 2013-09-28 P. J. McDermott <pj@pehjota.net>
21848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21849 ${Bash-specific parameter/pattern/string} parameter expansion.
21850 * sysdeps/unix/make-syscalls.sh: Likewise.
21852 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21854 * sysdeps/sh/stackguard-macros.h: New file.
21856 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
21858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21860 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21861 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21862 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21863 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21865 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21867 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21868 Fix thread ID register.
21870 2013-09-25 Joseph Myers <joseph@codesourcery.com>
21872 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21873 [POSIX || UNIX98]: Require rather than permitting all symbols from
21875 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21876 element of struct sched_param.
21877 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21878 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21879 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21880 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21883 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21885 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21886 argument calculation.
21888 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21890 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21892 [POSIX] (pthread_attr_t): Do not require type.
21893 [POSIX] (pthread_cond_t): Likewise.
21894 [POSIX] (pthread_condattr_t): Likewise.
21895 [POSIX] (pthread_key_t): Likewise.
21896 [POSIX] (pthread_mutex_t): Likewise.
21897 [POSIX] (pthread_mutexattr_t): Likewise.
21898 [POSIX] (pthread_once_t): Likewise.
21899 [POSIX] (pthread_t): Likewise.
21900 [POSIX-based standards] (pthread_atfork): Expect function.
21902 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21903 Richard Sandiford <richard@codesourcery.com>
21905 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21906 (swap_endianness_p): New extern variable.
21907 (set_big_endian): New inline function.
21908 (maybe_swap_uint32): Likewise.
21909 (maybe_swap_uint32_array): Likewise.
21910 (maybe_swap_uint32_obstack): Likewise.
21911 * locale/programs/locfile.c: Include <stdbool.h>.
21912 (swap_endianness_p): New variable.
21913 (add_locale_uint32): Call maybe_swap_uint32.
21914 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21915 (write_locale_data): Call maybe_swap_uint32_array.
21916 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21918 (obstack_int32_grow_fast): Likewise.
21919 (output_weightwc): Call maybe_swap_uint32_obstack.
21920 (collate_output): Likewise.
21921 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21922 (OPT_LITTLE_ENDIAN): Likewise.
21923 (options): Add --little-endian and --big-endian options.
21924 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21925 * locale/programs/locarchive.c: Include "locfile.h".
21929 (create_archive): Use the new macros to access fields of
21930 structures directly mapped from or written to locale archives.
21931 (oldlocrecentcmp): Likewise.
21932 (enlarge_archive): Likewise.
21933 (insert_name): Likewise.
21934 (add_alias): Likewise.
21935 (add_locale): Likewise.
21936 (delete_locales_from_archive): Likewise.
21937 (show_archive_content): Likewise.
21938 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21941 2013-09-24 Roland McGrath <roland@hack.frob.com>
21943 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21944 http://www.gnu.org/doc/freemanuals.texi.
21945 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21947 2013-09-24 Will Newton <will.newton@linaro.org>
21949 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21952 2013-09-23 Joseph Myers <joseph@codesourcery.com>
21954 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21957 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21959 * manual/threads.texi (POSIX Threads): Fix a typo.
21961 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21964 * string/tst-strcoll-overflow.c: New test case.
21965 * string/Makefile (xtests): Add tst-strcoll-overflow.
21966 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21967 cache if string sizes may cause integer overflow.
21970 * string/strcoll_l.c (coll_seq): New members rule, idx,
21971 save_idx and back_us.
21972 (get_next_seq_nocache): New function.
21973 (do_compare_nocache): New function.
21974 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21977 2013-09-23 Carlos O'Donell <carlos@redhat.com>
21980 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21981 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21982 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21985 * elf/Makefile (tests): Add tst-ptrguard1.
21986 (tests-static): Add tst-ptrguard1-static.
21987 (tst-ptrguard1-ARGS): Define.
21988 (tst-ptrguard1-static-ARGS): Define.
21989 * elf/tst-ptrguard1.c: New file.
21990 * elf/tst-ptrguard1-static.c: New file.
21991 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21992 * sysdeps/i386/stackguard-macros.h: Likewise.
21993 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21994 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21995 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21996 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21997 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21998 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22000 2013-09-23 Hector Marco <hecmargi@upv.es>
22001 Ismael Ripoll <iripoll@disca.upv.es>
22002 Carlos O'Donell <carlos@redhat.com>
22005 * sysdeps/generic/stackguard-macros.h: Define
22006 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22007 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22008 Define __pointer_chk_guard_local.
22009 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22010 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22012 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22015 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22017 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22019 * include/string.h (__ffs): Declare as hidden.
22020 * string/ffs.c (__ffs): Define as hidden.
22021 * sysdeps/i386/ffs.c (__ffs): Likewise.
22022 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22023 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22024 * sysdeps/s390/ffs.c (__ffs): Likewise.
22025 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22027 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22029 * NEWS: Mention malloc probes.
22031 * malloc/arena.c (new_heap): New memory_heap_new probe.
22032 (grow_heap): New memory_heap_more probe.
22033 (shrink_heap): New memory_heap_less probe.
22034 (heap_trim): New memory_heap_free probe.
22035 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22036 (systrim): New memory_sbrk_less probe.
22037 * manual/probes.texi: Document them.
22039 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22040 * manual/probes.texi: Document it.
22042 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22043 (__libc_realloc): Add memory_realloc_retry probe.
22044 (__libc_memalign): Add memory_memalign_retry probe.
22045 (__libc_valloc): Add memory_valloc_retry probe.
22046 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22047 (__libc_calloc): Add memory_calloc_retry probe.
22048 * manual/probes.texi: Document them.
22050 * malloc/arena.c (get_free_list): Add probe
22051 memory_arena_reuse_free_list.
22052 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22053 and memory_arena_reuse.
22054 (arena_get2) [!PER_THREAD]: Likewise.
22055 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22056 memory_arena_reuse_realloc.
22057 * manual/probes.texi: Document them.
22059 * malloc/malloc.c (__libc_free): Add
22060 memory_mallopt_free_dyn_thresholds probe.
22061 (__libc_mallopt): Add multiple memory_mallopt probes.
22062 * manual/probes.texi: Document them.
22064 * malloc/malloc.c: Include stap-probe.h.
22065 (__libc_mallopt): Add memory_mallopt probe.
22066 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22067 * manual/probes.texi: New.
22068 * manual/Makefile (chapters): Add probes.
22069 * manual/threads.texi: Set next node.
22071 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22073 [BZ #15963, #13985]
22074 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22075 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22076 Add `Chinese' to `nan' entry name.
22078 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22080 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22081 (POLYNOMIAL): Likewise.
22082 (TAYLOR_SINCOS): Likewise.
22083 (TAYLOR_SLOW): Likewise.
22084 (__sin): Use TAYLOR_SINCOS.
22086 (slow): Use TAYLOR_SLOW.
22088 (bsloww): Likewise.
22089 (csloww): Likewise.
22091 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22093 * stdlib/strtod_l.c: Fix buffer overrun.
22095 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22097 * benchtests/Makefile (bench): Add sincos.
22098 * benchtests/bench-sincos.c: New file.
22100 * math/libm-test.inc (cos_test_data): New test inputs.
22101 (sin_test_data): Likewise.
22103 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22109 (sloww1): Likewise.
22110 (sloww2): Likewise.
22111 (bsloww1): Likewise.
22112 (bsloww2): Likewise.
22113 (cslow2): Likewise.
22114 (csloww1): Likewise.
22115 (csloww2): Likewise.
22117 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22122 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22126 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22128 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22129 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22130 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22131 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22132 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22133 * elf/cache.c (print_entry): Handle the new cache flags.
22135 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22136 Aldy Hernandez <aldyh@redhat.com>
22138 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22139 Change condition to [_SOFT_FLOAT].
22140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22152 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22155 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22158 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22160 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22161 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22162 (__longjmp): Use LOAD_GP to load saved GPRs.
22163 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22164 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22165 (__sigsetjmp): Use SAVE_GP to save GPRs.
22167 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22168 Do not append -msoft-float.
22169 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22171 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22173 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22175 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22178 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22179 (_FPU_GETCW): Use initial "__" on variable and field names but not
22180 on macro parameter name.
22181 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22182 parentheses around reference to macro parameter.
22184 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22186 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22188 (ctype_startup): Use uint32_t in cast and sizeof for
22191 2013-09-11 Jia Liu <proljc@gmail.com>
22193 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22195 [__FreeBSD__]: Likewise.
22197 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22200 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22201 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22202 (strchr): Remove __strchr_sse42 ifunc selection.
22203 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22204 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22206 2013-09-11 Will Newton <will.newton@linaro.org>
22208 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22209 parameter to RES. Remove hardcoded 1000 value.
22210 * benchtests/bench-skeleton.c (main): Pass RES parameter
22211 to TIMING_INIT and multiply result by 1000.
22213 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22217 2013-09-11 Andreas Schwab <schwab@suse.de>
22219 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22221 (O_TMPFILE) [__USE_GNU]: Define.
22222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22225 2013-09-11 Will Newton <will.newton@linaro.org>
22228 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22231 2013-09-11 Will Newton <will.newton@linaro.org>
22234 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22237 2013-09-11 Will Newton <will.newton@linaro.org>
22240 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22243 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22245 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22246 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22247 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22248 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22249 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22251 2013-09-10 Allan McRae <allan@archlinux.org>
22254 * manual/arith.texi (Parsing of Floats): Clarify
22258 * manual/install.texi (Running make install): Mention
22260 * INSTALL: Regenerated.
22262 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22264 * csu/init-first.c (_init): Remove the !SHARED condition around
22265 FPU control word initialization.
22266 * elf/dl-support.c (_dl_fpu_control): New variable.
22267 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22268 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22269 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22270 * math/test-fpucw-static.c: New file.
22271 * math/test-fpucw-ieee.c: New file.
22272 * math/test-fpucw-ieee-static.c: New file.
22273 * math/Makefile (tests): Add `test-fpucw-ieee' and
22275 (tests-static): New variable.
22276 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22278 [($(build-shared),yes)]
22279 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22281 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22284 2013-09-09 Allan McRae <allan@archlinux.org>
22287 * manual/string.texi (Collation Functions): Fix typo in
22289 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22292 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22295 * libio/memstream.c (open_memstream): Fix memory leak.
22296 * libio/wmemstream.c (open_wmemstream): Likewise.
22299 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22301 2013-09-09 Will Newton <will.newton@linaro.org>
22303 * malloc/Makefile: Add tst-realloc to tests.
22304 * malloc/tst-realloc.c: New file.
22306 2013-09-09 Allan McRae <allan@archlinux.org>
22309 * COPYING: Update from GNU website to fix FSF address.
22310 * COPYING.LIB: Likewise.
22312 2013-09-06 David S. Miller <davem@davemloft.net>
22314 * po/zh_TW.po: Update Chinese (traditional) translation from
22315 translation project.
22317 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22318 Joseph Myers <joseph@codesourcery.com>
22320 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22322 (obstack_chunk_alloc): New macro.
22323 (obstack_chunk_free): Likewise.
22324 (record_offset): New function.
22325 (init_locale_data): Likewise.
22326 (align_locale_data): Likewise.
22327 (add_locale_empty): Likewise.
22328 (add_locale_raw_data): Likewise.
22329 (add_locale_raw_obstack): Likewise.
22330 (add_locale_string): Likewise.
22331 (add_locale_wstring): Likewise.
22332 (add_locale_uint32): Likewise.
22333 (add_locale_uint32_array): Likewise.
22334 (add_locale_char): Likewise.
22335 (start_locale_structure): Likewise.
22336 (end_locale_structure): Likewise.
22337 (start_locale_prelude): Likewise.
22338 (end_locale_prelude): Likewise.
22339 (write_locale_data): Take locale_file structure rather than an
22341 * locale/programs/locfile.h: Include "obstack.h".
22342 (struct locale_file): Change to store locale file contents instead
22344 (init_locale_data): New prototype.
22345 (align_locale_data): Likewise.
22346 (add_locale_empty): Likewise.
22347 (add_locale_raw_data): Likewise.
22348 (add_locale_raw_obstack): Likewise.
22349 (add_locale_string): Likewise.
22350 (add_locale_wstring): Likewise.
22351 (add_locale_uint32): Likewise.
22352 (add_locale_uint32_array): Likewise.
22353 (add_locale_char): Likewise.
22354 (start_locale_structure): Likewise.
22355 (end_locale_structure): Likewise.
22356 (start_locale_prelude): Likewise.
22357 (end_locale_prelude): Likewise.
22358 (write_locale_data): Update prototype.
22359 * locale/programs/3level.h (struct TABLE): Remove result field.
22360 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22361 Use new locale_file interface.
22362 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22363 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22364 * locale/programs/ld-address.c (address_output): Use new
22365 locale_file interface.
22366 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22368 (collate_finish): Don't call collseq_table_finalize.
22369 (collate_output): Use new locale_file interface.
22370 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22372 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22373 (TABLE): Move defines earlier in file.
22374 (ELEMENT): Likewise.
22375 (DEFAULT): Likewise.
22376 (wctrans_table_add): Move macro and inline function earlier in
22378 (struct wctype_table): Move type earlier in file.
22379 (add_locale_wctype_table): New static prototype.
22380 (struct locale_ctype_t): Use logical types instead of struct iovec
22381 pointers for members.
22382 (ctype_output): Use new locale_file interface.
22383 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22384 new locale_file interface.
22385 (allocate_arrays): Update for use of new locale_file interface.
22386 * locale/programs/ld-identification.c (identification_output): Use
22387 new locale_file interface.
22388 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22389 * locale/programs/ld-messages.c (messages_output): Likewise.
22390 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22391 * locale/programs/ld-name.c (name_output): Likewise.
22392 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22393 * locale/programs/ld-paper.c (paper_output): Likewise.
22394 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22395 * locale/programs/ld-time.c (time_output): Likewise.
22397 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22399 * benchtests/Makefile: Add memrchr benchmark.
22400 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22401 benchmark as memrchr.
22402 * benchtests/bench-memrchr-ifunc.c: New file.
22403 * benchtests/bench-memrchr.c: New file.
22405 2013-09-06 Will Newton <will.newton@linaro.org>
22407 * benchtests/Makefile (string-bench): Add memcpy.
22409 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22410 Cong Wang <amwang@redhat.com>
22413 * sysdeps/unix/sysv/linux/bits/in.h
22414 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22415 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22416 before __USE_KERNEL_IPV6_DEFS uses.
22417 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22419 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22420 sockaddr_in6, or ipv6_mreq.
22422 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22424 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22425 memory access for final bytes in some large inputs.
22426 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22428 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22430 * string/test-memrchr.c: New file.
22431 * string/test-memrchr-ifunc.c: New file.
22432 * string/Makefile: Add new memrchr testcase.
22434 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22436 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22437 fanotify_init returns EPERM.
22439 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22441 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22443 (top level): Treat second token from macro or constant entries for
22444 allowed headers as allowed.
22445 * include/complex.h: Condition internal declarations on
22447 * include/fenv.h: Condition include of <stdbool.h> and internal
22448 declarations on [!_ISOMAC].
22450 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22453 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22455 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22457 * configure.in (--enable-versioning): Remove configure option.
22458 (libc_cv_asm_symver_directive): Remove configure test.
22459 (libc_cv_ld_version_script_option): Likewise.
22460 (VERSIONING): Remove variable and AC_SUBST.
22461 (DO_VERSIONING): Remove AC_DEFINE.
22462 * configure: Regenerated.
22463 * config.h.in (DO_VERSIONING): Remove macro.
22464 * Makerules [$(versioning) = yes]: Change conditionals to
22465 [$(build-shared) = yes].
22466 * config.make.in (versioning): Remove variable.
22467 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22468 [$(build-shared) = yes].
22469 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22470 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22471 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22472 [$(build-shared) = yes].
22473 * extra-lib.mk [$(versioning) = yes]: Likewise.
22474 * hurd/Makefile [$(versioning) = yes]: Likewise.
22475 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22477 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22479 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22480 [SHARED && !NO_HIDDEN].
22481 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22483 [SHARED && DO_VERSIONING]: Likewise..
22484 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22485 [$(build-shared) = yes].
22486 * manual/install.texi (--disable-versioning): Remove
22488 * INSTALL: Regenerated.
22489 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22491 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22492 [$(build-shared) = yes].
22493 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22494 * sysdeps/i386/i686/multiarch/strstr-c.c
22495 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22496 [SHARED && !NO_HIDDEN].
22497 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22498 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22499 * sysdeps/powerpc/powerpc32/dl-machine.c
22500 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22501 * sysdeps/powerpc/powerpc32/sysdep.h
22502 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22503 to [SHARED && PIC && !NO_HIDDEN].
22504 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22505 conditional to [SHARED].
22507 2013-09-04 Will Newton <will.newton@linaro.org>
22509 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22510 * benchtests/bench-string.h: Include bench-timing.h instead
22511 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22512 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22513 call to HP_TIMING_DIFF_INIT.
22514 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22515 instead of hp-timing.h macros.
22516 * benchtests/bench-memchr.c: Likewise.
22517 * benchtests/bench-memcmp.c: Likewise.
22518 * benchtests/bench-memcpy.c: Likewise.
22519 * benchtests/bench-memmem.c: Likewise.
22520 * benchtests/bench-memmove.c: Likewise.
22521 * benchtests/bench-memset.c: Likewise.
22522 * benchtests/bench-rawmemchr.c: Likewise.
22523 * benchtests/bench-strcasecmp.c: Likewise.
22524 * benchtests/bench-strcasestr.c: Likewise.
22525 * benchtests/bench-strcat.c: Likewise.
22526 * benchtests/bench-strchr.c: Likewise.
22527 * benchtests/bench-strcmp.c: Likewise.
22528 * benchtests/bench-strcpy.c: Likewise.
22529 * benchtests/bench-strcpy_chk.c: Likewise.
22530 * benchtests/bench-strlen.c: Likewise.
22531 * benchtests/bench-strncasecmp.c: Likewise.
22532 * benchtests/bench-strncat.c: Likewise.
22533 * benchtests/bench-strncmp.c: Likewise.
22534 * benchtests/bench-strncpy.c: Likewise.
22535 * benchtests/bench-strnlen.c: Likewise.
22536 * benchtests/bench-strpbrk.c: Likewise.
22537 * benchtests/bench-strrchr.c: Likewise.
22538 * benchtests/bench-strspn.c: Likewise.
22539 * benchtests/bench-strstr.c: Likewise.
22541 2013-09-04 Will Newton <will.newton@linaro.org>
22543 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22545 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22548 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22549 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22550 * math/libm-test.inc (lgamma_test_data): Add more tests.
22551 * sysdeps/i386/fpu/libm-test-ulps: Update.
22552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22554 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22556 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22557 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22560 Add strcmp-sse2-unaligned
22561 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22563 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22565 * Versions.def (libc): Add GLIBC_2.19.
22567 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22569 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22570 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22572 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22575 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22576 intermediate calculations in recurrence.
22577 (__ieee754_ynf): Likewise.
22578 * math/libm-test.inc (jn_test_data): Do not allow spurious
22579 underflow exception. Add more tests.
22580 (yn_test_data): Add more tests.
22581 * sysdeps/i386/fpu/libm-test-ulps: Update.
22582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22584 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22586 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22588 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22590 * csu/init-first.c: Fix then/than typos.
22591 * locale/programs/ld-collate.c: Likewise.
22592 * locale/programs/linereader.h: Likewise.
22593 * manual/charset.texi: Likewise.
22594 * manual/filesys.texi: Likewise.
22595 * manual/stdio.texi: Likewise.
22596 * manual/string.texi: Likewise.
22597 * stdlib/fmtmsg.c: Likewise.
22598 * sysdeps/i386/stpncpy.S: Likewise.
22599 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22600 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22601 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22602 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22604 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22606 * elf/dl-open.c: Fix typos.
22607 * iconvdata/gbbig5.c: Likewise.
22608 * iconvdata/iso-2022-jp.c: Likewise.
22609 * iconv/gconv_int.h: Likewise.
22610 * iconv/loop.c: Likewise.
22611 * nis/rpcsvc/nis.h: Likewise.
22612 * resolv/ns_name.c: Likewise.
22613 * stdio-common/vfscanf.c: Likewise.
22614 * streams/stropts.h: Likewise.
22615 * sunrpc/rpc_thread.c: Likewise.
22616 * sysdeps/i386/strpbrk.S: Likewise.
22617 * sysdeps/ieee754/k_standard.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22620 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22621 * sysdeps/mach/hurd/profil.c: Likewise.
22622 * sysdeps/s390/dl-procinfo.h: Likewise.
22623 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22624 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22625 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22626 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22627 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22629 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22631 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22634 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22636 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22637 aix specific files.
22638 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22639 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22640 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22641 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22642 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22643 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22644 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22645 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22647 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22648 Roland McGrath <roland@hack.frob.com>
22650 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22651 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22653 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22655 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22656 __executable_start symbol instead of _start.
22658 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22660 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22661 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22663 * sysdeps/gnu/ldsodefs.h: ... this new file.
22665 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22666 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22667 instead of ELFOSABI_LINUX.
22669 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22670 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22671 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22672 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22674 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22675 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22676 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22678 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22679 (ibm_extended_long_double): Add ieee_nan member.
22680 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22681 (do_test): New function.
22683 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22685 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22686 functions, renamed from truncdfsf_test, trunctfsf_test,
22688 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22690 (do_test): Run all these.
22692 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22694 * argp/argp-help.c: Fix typos.
22695 * argp/argp-parse.c: Likewise.
22696 * debug/backtracesyms.c: Likewise.
22697 * elf/elf.h: Likewise.
22698 * malloc/malloc.c: Likewise.
22699 * nis/nis_print.c: Likewise.
22700 * resolv/res_comp.c: Likewise.
22701 * stdlib/stdlib.h: Likewise.
22702 * sunrpc/clnt_tcp.c: Likewise.
22703 * sunrpc/clnt_udp.c: Likewise.
22704 * sunrpc/clnt_unix.c: Likewise.
22705 * sysdeps/unix/bsd/ptsname.c: Likewise.
22706 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22707 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22714 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22716 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22718 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22721 2013-08-27 Mike Frysinger <vapier@gentoo.org>
22724 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22725 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22726 ($(objpfx)bug-dl-leaf): New rule.
22727 ($(objpfx)bug-dl-leaf.so): Likewise.
22728 ($(objpfx)bug-dl-leaf.out): Likewise.
22729 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22730 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22731 * dlfcn/bug-dl-leaf.c: New test.
22732 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22733 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22734 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22735 (dlclose): Likewise.
22736 (dlmopen): Likewise.
22738 2013-08-27 Roland McGrath <roland@hack.frob.com>
22740 * include/netdb.h [!_ISOMAC]:
22741 Don't include <tls.h>.
22742 (h_errno, __libc_h_errno): Move declaration and macros out of
22745 * include/resolv.h [_RESOLV_H_]:
22746 Don't include <tls.h>.
22747 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22748 * resolv/res_libc.c: Don't include <tls.h>.
22749 (_res): Use __attribute__ ((nocommon)) in place of
22750 __attribute__ ((section (".bss"))).
22752 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22753 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22755 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22757 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22758 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22760 * resolv/res_mkquery.c: Include <sys/time.h>.
22762 * inet/ifreq.c: Moved to ...
22763 * sysdeps/unix/ifreq.c: ... here.
22764 * inet/ifreq.c: New file, true stub version.
22766 * socket/sa_len.c: New file.
22767 * socket/Makefile (aux): Add it.
22768 * sysdeps/unix/sysv/linux/Makefile
22769 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22770 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22771 and #include <socket/sa_len.c>.
22772 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22773 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22775 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22776 * bits/socket.h: ... here.
22778 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22779 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22780 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22782 2013-08-27 Andreas Schwab <schwab@suse.de>
22785 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22786 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22787 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22788 * string/test-strcasecmp.c (test_main): Run tests in several
22790 * string/test-strncasecmp.c (test_main): Likewise.
22792 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22793 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22794 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22796 (__strncasecmp_ssse3) [PIC]: Likewise.
22798 2013-08-26 Roland McGrath <roland@hack.frob.com>
22800 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22802 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22803 instead of explicitly declaring xdecrypt.
22804 * nis/nss_nis/nis-publickey.c: Likewise.
22806 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22809 * nscd/aicache.c: Include res_hconf.h.
22810 (addhstaiX): Initialize res_hconf.
22812 2013-08-26 Andreas Schwab <schwab@suse.de>
22814 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22815 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22817 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22819 * nscd/aicache.c (addhstaiX): Fix indentation.
22821 2013-08-25 Mike Frysinger <vapier@gentoo.org>
22823 * configure.ac: Quote $build_pt_chown test.
22824 * configure: Regenerated.
22826 2013-08-23 Joseph Myers <joseph@codesourcery.com>
22829 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22830 * math/s_cexpf.c (__cexpf): Likewise.
22831 * math/s_cexpl.c (__cexpl): Likewise.
22832 * math/libm-test.inc (cexp_test_data): Correct expected return
22833 value for NaN + i0. Add another test.
22835 2013-08-22 David S. Miller <davem@davemloft.net>
22837 * po/ca.po: Update Catalan translation from translation project.
22838 * po/uk.po: Add Ukrainian translations from translation project.
22840 2013-08-21 Joseph Myers <joseph@codesourcery.com>
22843 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22844 is infinite, not alongside NaN test.
22845 * math/s_fdimf.c (__fdimf): Likewise.
22846 * math/s_fdiml.c (__fdiml): Likewise.
22847 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22848 errno is unchanged.
22850 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
22852 * argp/argp-help.c: Fix typos.
22853 * crypt/speeds.c: Likewise.
22854 * csu/check_fds.c: Likewise.
22855 * elf/dl-load.c: Likewise.
22856 * elf/dl-open.c: Likewise.
22857 * elf/reldep3.c: Likewise.
22858 * elf/reldep.c: Likewise.
22859 * elf/sprof.c: Likewise.
22860 * iconv/iconv_charmap.c: Likewise.
22861 * iconv/skeleton.c: Likewise.
22862 * iconv/strtab.c: Likewise.
22863 * io/lockf64.c: Likewise.
22864 * libio/libioP.h: Likewise.
22865 * resolv/gai_notify.c: Likewise.
22866 * resolv/ns_name.c: Likewise.
22867 * resolv/ns_samedomain.c: Likewise.
22868 * resolv/res_send.c: Likewise.
22869 * stdlib/random.c: Likewise.
22870 * sunrpc/rpc/xdr.h: Likewise.
22871 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22873 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22874 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22875 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22876 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22878 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22879 * sysdeps/mach/hurd/check_fds.c: Likewise.
22880 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22881 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22882 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22883 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22884 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22885 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22886 * sysdeps/pthread/aio_notify.c: Likewise.
22887 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22888 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22889 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22890 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22891 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22893 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22895 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22896 version if bit_Slow_SSE4_2 is set.
22897 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22898 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22900 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22903 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22904 trampoline stack frame information.
22905 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22906 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22907 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22908 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22909 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22910 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22911 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22912 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22914 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22915 interrupting a syscall and set with option SA_SIGINFO.
22917 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22920 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22921 argument is infinite.
22922 * math/s_cprojf.c (__cprojf): Likewise.
22923 * math/s_cprojl.c (__cprojl): Likewise.
22924 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22925 * math/libm-test.inc (cproj_test_data): Add more tests.
22927 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22929 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22930 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22931 size. Use __ffs to determine corresponding shift.
22933 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22934 Roland McGrath <roland@hack.frob.com>
22936 * Makefile (INSTALL): Remove trailing blank lines from output of
22939 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22941 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22942 Align 32 bit compat elf_greg to 8 bytes.
22944 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22946 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22948 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22950 * string/strcoll_l.c (coll_seq): New structure.
22951 (get_next_seq_cached): New function.
22952 (get_next_seq): New function.
22953 (do_compare): New function.
22954 (STRCOLL): Use GNU style definition. Simplify implementation
22955 by using get_next_seq, get_next_seq_cached and do_compare.
22957 2013-08-16 Florian Weimer <fweimer@redhat.com>
22961 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22963 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22965 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22966 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22967 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22969 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22970 GETDENTS_64BIT_ALIGNED.
22971 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22972 * manual/filesys.texi (Reading/Closing Directory): Document
22973 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22975 * manual/conf.texi (Limits for Files): Add portability note to
22976 NAME_MAX, PATH_MAX.
22977 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22979 2013-08-13 Andreas Schwab <schwab@suse.de>
22982 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22984 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22985 LDBL_MAX_EXP >= 16384]: Add tests for it.
22987 2013-08-12 David S. Miller <davem@davemloft.net>
22989 * version.h (RELEASE): Set to "development".
22990 (VERSION): Set to "2.18.90".
22991 * NEWS: Add 2.19 section.
22993 2013-08-03 David S. Miller <davem@davemloft.net>
22995 * po/ko.po: Update Korean translation from translation project.
22997 2013-08-01 David S. Miller <davem@davemloft.net>
22999 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23000 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23003 2013-07-30 David S. Miller <davem@davemloft.net>
23005 * po/fr.po: Update French translation from translation project.
23007 2013-07-28 David S. Miller <davem@davemloft.net>
23009 * po/cs.po: Update Czech translation from translation project.
23011 * po/sv.po: Update Swedish translation from translation project.
23013 2013-07-27 David S. Miller <davem@davemloft.net>
23015 * po/eo.po: Update Esperanto translation from translation project.
23017 * po/vi.po: Update Vietnamese translation from translation project.
23019 * po/de.po: Update German translation from translation project.
23021 2013-07-26 David S. Miller <davem@davemloft.net>
23023 * po/bg.po: Update Bulgarian translation from translation project.
23025 * po/nl.po: Update Dutch translation from translation project.
23026 * po/pl.po: Update Polish translation from translation project.
23027 * po/ru.po: Update Russian translation from translation project.
23029 2013-07-24 David S. Miller <davem@davemloft.net>
23031 * po/libc.pot: Update.
23033 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23035 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23036 variable page size.
23037 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23038 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23039 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23041 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23043 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23045 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23046 Andreas Schwab <schwab@suse.de>
23047 Roland McGrath <roland@hack.frob.com>
23048 Joseph Myers <joseph@codesourcery.com>
23049 Carlos O'Donell <carlos@redhat.com>
23052 * config.h.in: Define HAVE_PT_CHOWN.
23053 * config.make.in (build-pt-chown): New variable.
23054 * configure.in (--enable-pt_chown): New configure option.
23055 * configure: Regenerate.
23056 * login/Makefile: Include Makeconfig. Build pt_chown only if
23057 build-pt-chown is enabled.
23058 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23059 pt_chown to fix pty ownership.
23060 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23062 * manual/install.texi (Configuring and compiling): Mention
23063 --enable-pt_chown. Add @findex for grantpt.
23064 * INSTALL: Regenerate.
23066 2013-07-20 David S. Miller <davem@davemloft.net>
23068 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23069 difference between 32-bit and 64-bit.
23071 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23074 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23075 Avoid system header dependency with -ffreestanding.
23076 ($(objpfx)bits/syscall%d): Likewise.
23078 2013-07-13 David S. Miller <davem@davemloft.net>
23080 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23081 underflows from atanl/atan2l due to bug 15319.
23082 (casinh_test_data): Likewise.
23084 2013-07-07 David S. Miller <davem@davemloft.net>
23086 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23088 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23090 * sysdeps/i386/fpu/libm-test-ulps: Update.
23091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23093 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23095 * configure.in (--enable-lock-elision): Fix message text.
23096 * INSTALL: Regenerate.
23097 * configure: Regenerate.
23099 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23103 2013-07-03 Andreas Jaeger <aj@suse.de>
23105 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23107 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23108 (ptrace_peeksiginfo_args): Add.
23109 (__ptrace_peeksiginfo_flags): Add.
23110 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23111 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23112 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23114 2013-07-03 Allan McRae <allan@archlinux.org>
23116 * sysdeps/i386/fpu/libm-test-ulps: Update.
23118 2013-07-02 David S. Miller <davem@davemloft.net>
23120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23122 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23126 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23128 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23131 2013-07-02 Andi Kleen <ak@linux.intel.com>
23133 * config.h.in (ENABLE_LOCK_ELISION): Add.
23134 * configure.in (--enable-lock-elision): Add option.
23135 * manual/install.texi: Document --enable lock elision.
23136 * configure: Regenerate
23137 * INSTALL: Regenerate.
23139 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23141 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23142 SSE4.2 strcasecmp for libc.a.
23143 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23145 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23148 * soft-fp/op-common.h (_FP_FMA): New macro.
23149 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23150 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23151 (_FP_MUL_MEAT_1_imm): ... here.
23152 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23153 (_FP_MUL_MEAT_1_wide): ... here.
23154 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23155 (_FP_MUL_MEAT_1_hard): ... here.
23156 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23157 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23158 (_FP_MUL_MEAT_2_wide): ... here.
23159 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23160 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23161 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23162 (_FP_MUL_MEAT_2_gmp): ... here.
23163 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23164 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23165 (_FP_MUL_MEAT_4_wide): ... here.
23166 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23167 (_FP_MUL_MEAT_4_gmp): ... here.
23168 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23169 (_FP_WFRACBITS_DW_S): Likewise.
23170 (_FP_WFRACXBITS_DW_S): Likewise.
23171 (_FP_HIGHBIT_DW_S): Likewise.
23172 (FP_FMA_S): Likewise.
23173 (_FP_FRAC_HIGH_DW_S): Likewise.
23174 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23175 (_FP_WFRACBITS_DW_D): Likewise.
23176 (_FP_WFRACXBITS_DW_D): Likewise.
23177 (_FP_HIGHBIT_DW_D): Likewise.
23178 (FP_FMA_D): Likewise.
23179 (_FP_FRAC_HIGH_DW_D): Likewise.
23180 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23181 (_FP_WFRACBITS_DW_E): Likewise.
23182 (_FP_WFRACXBITS_DW_E): Likewise.
23183 (_FP_HIGHBIT_DW_E): Likewise.
23184 (FP_FMA_E): Likewise.
23185 (_FP_FRAC_HIGH_DW_E): Likewise.
23186 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23187 (_FP_WFRACBITS_DW_Q): Likewise.
23188 (_FP_WFRACXBITS_DW_Q): Likewise.
23189 (_FP_HIGHBIT_DW_Q): Likewise.
23190 (FP_FMA_Q): Likewise.
23191 (_FP_FRAC_HIGH_DW_Q): Likewise.
23192 * soft-fp/fmasf4.c: New file.
23193 * soft-fp/fmadf4.c: Likewise.
23194 * soft-fp/fmatf4.c: Likewise.
23196 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23199 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23203 (index_Slow_SSE4_2): Likewise.
23204 (index_Prefer_PMINUB_for_stringop): Likewise.
23205 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23206 bit_Slow_SSE4_2 is set.
23207 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23208 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23210 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23212 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23213 rtld_global._dl_hwcap2.
23214 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23216 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23217 POWER8 feature descriptions defined in _dl_hwcap2.
23218 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23219 string handling for POWER8 feature bits.
23220 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23221 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23222 _dl_powerpc_cap_flags.
23223 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23224 * sysdeps/powerpc/rtld-global-offsets.sym
23225 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23226 _dl_hwcap2 in the rtld_global_ro structure.
23228 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23230 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23231 hardware capabilities in support of AT_HWCAP2.
23232 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23233 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23235 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23236 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23237 explicitly the unknown a_type display mechanism is used.
23238 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23239 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23241 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23242 to macro prototype for AT_HWCAP2 support.
23243 * sysdeps/i386/dl-procinfo.h: Likewise.
23244 * sysdeps/s390/dl-procinfo.h: Likewise.
23245 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23246 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23247 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23248 return -1 for unknown a_type display fallback.
23249 * sysdeps/sparc/dl-procinfo.h: Likewise.
23250 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23251 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23253 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23255 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23256 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23258 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23261 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23262 mprotect making __stack_prot writable.
23264 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23265 Joseph Myers <joseph@codesourcery.com>
23267 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23268 as being properly aligned.
23270 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23272 * dlfcn/modstatic5.c: New file.
23273 * dlfcn/tststatic5.c: New file.
23274 * dlfcn/Makefile (tests): Add tststatic5.
23275 (tests-static): Likewise.
23276 (modules-names): Add modstatic5.
23277 (tststatic5-ENV): New variable.
23278 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23281 * elf/dl-support.c (_dl_main_map): New variable.
23282 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23283 (_dl_nns, _dl_load_adds): Set to 1.
23284 (_dl_initial_searchlist): Refer to _dl_main_map.
23285 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23286 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23287 call to _dl_get_origin.
23288 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23290 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23291 * dlfcn/modstatic3.c: New file.
23292 * dlfcn/tststatic3.c: New file.
23293 * dlfcn/tststatic4.c: New file.
23294 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23295 (tests-static): Likewise.
23296 (modules-names): Add modstatic3.
23297 (tststatic3-ENV, tststatic4-ENV): New variables.
23298 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23299 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23301 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23303 * configure.in (CC): Require GCC version 4.4 or later.
23304 * configure: Regenerated.
23305 * manual/install.texi (Tools for Compilation): Update GCC version
23307 * INSTALL: Regenerated.
23309 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23312 * string/test-memcmp.c (check2): New.
23313 (main): Call check2.
23315 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23317 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23320 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23322 (dl_open_worker) [!SHARED]: ... here.
23324 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23326 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23328 2013-06-25 Richard Henderson <rth@redhat.com>
23330 * locale/programs/locarchive.c: Include <libc-internal.h>
23332 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23334 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23335 trailing whitespace removed.
23337 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23340 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23341 * locale/programs/locarchive.c: Include libc-mmap.h.
23342 (prepare_address_space): Take two new outputs (the mmap base and len).
23343 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23345 (create_archive): Declare new mmap base and len values for
23346 prepare_address_space, and store the result in ah.
23347 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23348 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23349 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23350 Declare new mmap base and len values for
23351 prepare_address_space, and store the result in new_ah.
23352 (open_archive): Declare new mmap base and len values for
23353 prepare_address_space, and store the result in ah.
23354 (close_archive): If ah->mmap_base is not NULL, use that and
23355 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23356 * sysdeps/generic/libc-mmap.h: New file.
23358 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23360 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23361 (ALIGN_UP): Likewise.
23362 (PTR_ALIGN_DOWN): Likewise.
23363 (PTR_ALIGN_UP): Likewise.
23365 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23367 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23368 entry mapped to PPC_PLATFORM_POWER8.
23369 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23371 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23372 (_dl_string_platform): Add case for exporting platform position for
23374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23375 search path to sysdeps/powerpc/powerpc32/power8 directory.
23376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23377 search path to sysdeps/powerpc/powerpc64/power8 directory.
23378 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23379 power7 directories.
23380 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23381 power7 directories.
23383 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23385 * INSTALL: Regenerate.
23387 * nscd/connections.c (nscd_init): Fix comment.
23389 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23391 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23394 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23395 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23397 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23399 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23401 (DL_DST_REQ_STATIC): Remove macro.
23403 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23406 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23407 with a shift of 0 bits.
23409 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23411 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23414 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23417 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23419 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23421 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23422 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23423 accepts -fno-tree-loop-distribute-patterns.
23424 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23425 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23427 * string/memset.c (memset): Likewise.
23428 * string/test-memmove.c (simple_memmove): Disable loop transformation
23430 * string/test-memset.c (simple_memset): Likewise.
23431 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23432 * benchtests/bench-memset.c (simple_memset): Likewise.
23433 * configure: Regenerated.
23435 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23437 * math/test-misc.c (main): Ignore fesetround failure when failures
23438 of subsequent rounding tests would be ignored.
23441 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23442 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23443 * math/fegetenv.c (__fegetenv): Return 0.
23444 * math/fegetexcept.c (fegetexcept): Return 0.
23445 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23447 * math/feholdexcpt.c (feholdexcept): Return 0.
23448 * math/fesetenv.c (__fesetenv): Return 0.
23449 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23450 argument FE_TONEAREST.
23451 * math/feupdateenv.c (__feupdateenv): Return 0.
23452 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23454 2013-06-18 Roland McGrath <roland@hack.frob.com>
23456 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23457 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23458 ($(objpfx)rtld-%.os rules): Use them.
23460 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23462 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23465 2013-06-17 Roland McGrath <roland@hack.frob.com>
23467 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23468 length of target pattern, then descending length of dependency pattern.
23469 * configure.in (AWK): Require gawk 3.1.2 or newer.
23470 * manual/install.texi (Tools for Compilation): Say that we do.
23471 * configure: Regenerated.
23473 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23474 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23475 * scripts/sysd-rules.awk: ... this new script.
23476 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23477 than a glob-style pattern.
23479 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23481 * math/test-misc.c (main): Do not treat incorrectly rounded
23482 conversions as failure unless ROUNDING_TESTS passes.
23484 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23487 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23488 restore exception state around main square root computation, then
23489 check for inexactness explicitly.
23491 * math/libm-test.inc (fma_test_data): Add another test.
23493 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23495 * manual/threads.texi (Non-POSIX Extensions): New document
23496 node. Document pthread_getattr_default_np and
23497 pthread_setattr_default_np.
23499 * Versions.def (libpthread): Add GLIBC_2.18.
23500 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23509 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23520 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23523 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23525 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23526 H.J. Lu <hjl.tools@gmail.com>
23529 * sysdeps/x86_64/rtld-memset.c: Remove file.
23530 * sysdeps/x86_64/rtld-memset.S: New file.
23532 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23534 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23535 (test_in_one_mode): Take arguments for whether the rounding mode
23536 is supported for each floating-point type.
23537 (do_test): Pass new arguments to test_in_one_mode using
23540 2013-06-13 Roland McGrath <roland@hack.frob.com>
23542 * posix/tst-waitid.c (do_test): Distinguish different instances of
23543 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23544 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23545 before entering the kernel for waitpid.
23547 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23549 * NEWS: Fix note on clock function precision. Text by Roland
23552 2013-06-13 Roland McGrath <roland@hack.frob.com>
23554 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23555 it into place only when and if the sanity check passes.
23557 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23559 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23560 output for whether conversion result is exact. Take argument
23561 indicating whether type is IBM long double.
23562 (round_for_all): Change need_exact field to ibm_ld.
23563 * stdlib/tst-strtod-round.c (struct exactness): New type.
23564 (struct test): Change bool ld_ok field to struct exactness exact.
23565 (TEST): Update all definitions for change to field.
23566 (tests): Regenerate array contents.
23567 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23568 field value. Check for IBM long double here.
23569 (do_test): Update calls to test_in_one_mode.
23571 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23574 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23575 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23577 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23580 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23581 generated by the compiler on loop optimizations.
23582 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23583 general definitions.
23585 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23587 * math/bug-nextafter.c: Include <math-tests.h>.
23588 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23590 * math/bug-nexttoward.c: Include <math-tests.h>.
23591 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23593 * math/test-misc.c: Include <math-tests.h>.
23594 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23597 2013-06-12 Andreas Jaeger <aj@suse.de>
23599 * po/ia.po: Update Interlingua translation from translation
23602 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23604 * include/fenv.h: Include stdbool.h.
23605 (struct rm_ctx): New structure.
23606 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23608 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23609 (SET_RESTORE_ROUNDF): Likewise.
23610 (SET_RESTORE_ROUNDL): Likewise.
23611 (SET_RESTORE_ROUND_NOEX): Likewise.
23612 (SET_RESTORE_ROUND_NOEXF): Likewise.
23613 (SET_RESTORE_ROUND_NOEXL): Likewise.
23614 (SET_RESTORE_ROUND_53BIT): Likewise.
23615 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23616 (libc_feresetround_noexf_ctx): Likewise.
23617 (libc_feresetround_noexl_ctx): Likewise.
23618 (libc_feholdsetround_53bit_ctx): Likewise.
23619 (libc_feresetround_53bit_ctx): Likewise.
23620 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23621 (libc_feholdexcept_setround_sse_ctx): New function.
23622 (libc_fesetenv_sse_ctx): Likewise.
23623 (libc_feupdateenv_sse_ctx): Likewise.
23624 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23625 (libc_feholdexcept_setround_387_ctx): Likewise.
23626 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23627 (libc_feholdsetround_387_prec_ctx): Likewise.
23628 (libc_feholdsetround_387_ctx): Likewise.
23629 (libc_feholdsetround_387_53bit_ctx): Likewise.
23630 (libc_feholdsetround_sse_ctx): Likewise.
23631 (libc_feresetround_sse_ctx): Likewise.
23632 (libc_feresetround_387_ctx): Likewise.
23633 (libc_feupdateenv_387_ctx): Likewise.
23634 (libc_feholdexcept_setroundf_ctx): Define macro.
23635 (libc_fesetenvf_ctx): Likewise.
23636 (libc_feupdateenvf_ctx): Likewise.
23637 (libc_feholdsetroundf_ctx): Likewise.
23638 (libc_feresetroundf_ctx): Likewise.
23639 (libc_feholdexcept_setround_ctx): Likewise.
23640 (libc_fesetenv_ctx): Likewise.
23641 (libc_feupdateenv_ctx): Likewise.
23642 (libc_feholdsetround_ctx): Likewise.
23643 (libc_feresetround_ctx): Likewise.
23644 (libc_feholdexcept_setroundl_ctx): Likewise.
23645 (libc_feupdateenvl_ctx): Likewise.
23646 (libc_feholdsetroundl_ctx): Likewise.
23647 (libc_feresetroundl_ctx): Likewise.
23648 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23649 (libc_feresetround_53bit_ctx): Likewise.
23651 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23653 * locale/iso-639.def: Convert to UTF-8.
23655 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23657 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23658 (EXCEPTION_TESTS_double): Likewise.
23659 (EXCEPTION_TESTS_long_double): Likewise.
23660 (EXCEPTION_TESTS): Likewise.
23661 * math/libm-test.inc (test_exceptions): Only test exceptions if
23662 EXCEPTION_TESTS (FLOAT).
23664 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23666 * benchtests/Makefile (string-bench): Add strcpy_chk and
23668 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23669 * benchtests/bench-stpcpy_chk.c: New file.
23670 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23671 * benchtests/bench-strcpy_chk.c: New file.
23672 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23674 (do_test): Likewise.
23676 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23678 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23679 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23680 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23681 with tabs where appropriate.
23682 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23684 [PPC_PLATFORM_PPC440]: Likewise.
23685 [PPC_PLATFORM_PPC464]: Likewise.
23686 [PPC_PLATFORM_PPC476]: Likewise.
23687 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23688 ppc464, and ppc476 platform strings merging from ports/
23691 2013-06-11 Andreas Schwab <schwab@suse.de>
23694 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23695 (from_ucs4_idx): Regenerate.
23696 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23697 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23698 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23699 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23700 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23701 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23702 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23703 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23704 from FROM_LOOP and TO_LOOP specific macros.
23705 (BODY): Handle combining characters.
23706 * iconvdata/BIG5HKSCS.irreversible: Update.
23707 * iconvdata/BIG5HKSCS.precomposed: New file.
23708 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23710 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23712 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23714 * include/sys/time.h: Fix indentation and add copyright header.
23716 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23717 (do_test): Likewise.
23718 * string/test-memchr.c (do_one_test): Likewise.
23719 (do_test): Likewise.
23720 * string/test-memcmp.c (do_one_test): Likewise.
23721 (do_test): Likewise.
23722 * string/test-memcpy.c (do_one_test): Likewise.
23723 (do_test): Likewise.
23724 * string/test-memmem.c (do_one_test): Likewise.
23725 (do_test): Likewise.
23726 (do_random_tests): Likewise.
23727 * string/test-memmove.c (do_one_test): Likewise.
23728 (do_test): Likewise.
23729 * string/test-memset.c (do_one_test): Likewise.
23730 (do_test): Likewise.
23731 * string/test-rawmemchr.c (do_one_test): Likewise.
23732 (do_test): Likewise.
23733 * string/test-strcasecmp.c (do_one_test): Likewise.
23734 (do_test): Likewise.
23735 * string/test-strcasestr.c (do_one_test): Likewise.
23736 (do_test): Likewise.
23737 * string/test-strcat.c (do_one_test): Likewise.
23738 (do_test): Likewise.
23739 * string/test-strchr.c (do_one_test): Likewise.
23740 (do_test): Likewise.
23741 * string/test-strcmp.c (do_one_test): Likewise.
23742 (do_test): Likewise.
23743 * string/test-strcpy.c (do_one_test): Likewise.
23744 (do_test): Likewise.
23745 * string/test-string.h: Likewise.
23746 (test_init): Likewise.
23747 * string/test-strlen.c (do_one_test): Likewise.
23748 (do_test): Likewise.
23749 * string/test-strncasecmp.c (do_one_test): Likewise.
23750 (do_test): Likewise.
23751 * string/test-strncat.c (do_one_test): Likewise.
23752 (do_test): Likewise.
23753 * string/test-strncmp.c (do_one_test): Likewise.
23754 (do_test_limit): Likewise.
23755 (do_test): Likewise.
23756 * string/test-strncpy.c (do_one_test): Likewise.
23757 (do_test): Likewise.
23758 * string/test-strnlen.c (do_one_test): Likewise.
23759 (do_test): Likewise.
23760 * string/test-strpbrk.c (do_one_test): Likewise.
23761 (do_test): Likewise.
23762 * string/test-strrchr.c (do_one_test): Likewise.
23763 (do_test): Likewise.
23764 * string/test-strspn.c (do_one_test): Likewise.
23765 (do_test): Likewise.
23766 * string/test-strstr.c (do_one_test): Likewise.
23767 (do_test): Likewise.
23769 * benchtests/Makefile (string-bench): Add string benchmarks.
23770 * benchtests/bench-bcopy-ifunc.c: New file.
23771 * benchtests/bench-bcopy.c: New file.
23772 * benchtests/bench-bzero-ifunc.c: New file.
23773 * benchtests/bench-bzero.c: New file.
23774 * benchtests/bench-memccpy-ifunc.c: New file.
23775 * benchtests/bench-memccpy.c: New file.
23776 * benchtests/bench-memchr-ifunc.c: New file.
23777 * benchtests/bench-memchr.c: New file.
23778 * benchtests/bench-memcmp-ifunc.c: New file.
23779 * benchtests/bench-memcmp.c: New file.
23780 * benchtests/bench-memmem-ifunc.c: New file.
23781 * benchtests/bench-memmem.c: New file.
23782 * benchtests/bench-memmove-ifunc.c: New file.
23783 * benchtests/bench-memmove.c: New file.
23784 * benchtests/bench-mempcpy-ifunc.c: New file.
23785 * benchtests/bench-mempcpy.c: New file.
23786 * benchtests/bench-memset-ifunc.c: New file.
23787 * benchtests/bench-memset.c: New file.
23788 * benchtests/bench-rawmemchr-ifunc.c: New file.
23789 * benchtests/bench-rawmemchr.c: New file.
23790 * benchtests/bench-stpcpy-ifunc.c: New file.
23791 * benchtests/bench-stpcpy.c: New file.
23792 * benchtests/bench-stpncpy-ifunc.c: New file.
23793 * benchtests/bench-stpncpy.c: New file.
23794 * benchtests/bench-strcasecmp-ifunc.c: New file.
23795 * benchtests/bench-strcasecmp.c: New file.
23796 * benchtests/bench-strcasestr-ifunc.c: New file.
23797 * benchtests/bench-strcasestr.c: New file.
23798 * benchtests/bench-strcat-ifunc.c: New file.
23799 * benchtests/bench-strcat.c: New file.
23800 * benchtests/bench-strchr-ifunc.c: New file.
23801 * benchtests/bench-strchr.c: New file.
23802 * benchtests/bench-strchrnul-ifunc.c: New file.
23803 * benchtests/bench-strchrnul.c: New file.
23804 * benchtests/bench-strcmp-ifunc.c: New file.
23805 * benchtests/bench-strcmp.c: New file.
23806 * benchtests/bench-strcpy-ifunc.c: New file.
23807 * benchtests/bench-strcpy.c: New file.
23808 * benchtests/bench-strcspn-ifunc.c: New file.
23809 * benchtests/bench-strcspn.c: New file.
23810 * benchtests/bench-strlen-ifunc.c: New file.
23811 * benchtests/bench-strlen.c: New file.
23812 * benchtests/bench-strncasecmp-ifunc.c: New file.
23813 * benchtests/bench-strncasecmp.c: New file.
23814 * benchtests/bench-strncat-ifunc.c: New file.
23815 * benchtests/bench-strncat.c: New file.
23816 * benchtests/bench-strncmp-ifunc.c: New file.
23817 * benchtests/bench-strncmp.c: New file.
23818 * benchtests/bench-strncpy-ifunc.c: New file.
23819 * benchtests/bench-strncpy.c: New file.
23820 * benchtests/bench-strnlen-ifunc.c: New file.
23821 * benchtests/bench-strnlen.c: New file.
23822 * benchtests/bench-strpbrk-ifunc.c: New file.
23823 * benchtests/bench-strpbrk.c: New file.
23824 * benchtests/bench-strrchr-ifunc.c: New file.
23825 * benchtests/bench-strrchr.c: New file.
23826 * benchtests/bench-strspn-ifunc.c: New file.
23827 * benchtests/bench-strspn.c: New file.
23828 * benchtests/bench-strstr-ifunc.c: New file.
23829 * benchtests/bench-strstr.c: New file.
23831 * benchtests/Makefile: Disable parallel execution of targets.
23832 (string-bench): Add memcpy.
23833 (benchset): New variable to store a list of benchmark sets.
23834 (bench-func): Renamed from bench.
23835 (bench-set): New target.
23836 (bench): Depend on bench-func and bench-set.
23837 * benchtests/README: Add section on benchmark sets.
23838 * benchtests/bench-memcpy-ifunc.c: New file.
23839 * benchtests/bench-memcpy.c: New file.
23840 * benchtests/bench-string.h: New file.
23842 2013-06-11 Andreas Schwab <schwab@suse.de>
23845 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23846 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23847 values in the triple.
23848 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23849 terminator in the group key.
23851 2013-06-11 Andreas Jaeger <aj@suse.de>
23853 * po/zh_TW.po: Update Chinese (traditional) translation from
23854 translation project.
23856 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23858 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23859 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23860 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23862 (clock_getcpuclockid): Likewise.
23863 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23864 Add weak_alias and libc_hidden_def.
23865 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23866 * rt/clock_gettime.c (clock_gettime): Rename to
23867 __clock_gettime. Add weak_alias and libc_hidden_def.
23868 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23869 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23870 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23871 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23872 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23874 * rt/clock_settime.c (clock_settime): Rename to
23875 __clock_settime. Add weak_alias and libc_hidden_def.
23876 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23878 2013-06-10 Joseph Myers <joseph@codesourcery.com>
23880 * mach/err_boot.sub: Remove trailing whitespace.
23881 * mach/err_ipc.sub: Likewise.
23882 * mach/err_mach.sub: Likewise.
23884 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23885 (ROUNDING_TESTS_double): Likewise.
23886 (ROUNDING_TESTS_long_double): Likewise.
23887 (ROUNDING_TESTS): Likewise.
23888 * math/libm-test.inc: Include <math-tests.h>.
23889 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23890 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23891 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23892 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23894 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23896 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23899 2013-06-08 Joseph Myers <joseph@codesourcery.com>
23901 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23902 otherwise empty TRANS lines.
23903 * sysdeps/gnu/errlist.c: Regenerated.
23905 * catgets/gencat.c (error_print): Use (void) in function
23907 * crypt/crypt_util.c (__init_des): Likewise.
23908 * crypt/speeds.c (Stop): Likewise.
23910 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23911 * inet/ruserpass.c (token): Likewise.
23912 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23913 * intl/localealias.c (extend_alias_table): Likewise.
23914 * intl/plural-exp.c (init_germanic_plural): Likewise.
23915 * libio/fcloseall.c (__fcloseall): Likewise.
23916 * libio/genops.c (_IO_flush_all): Likewise.
23917 (_IO_flush_all_linebuffered): Likewise.
23918 (_IO_cleanup): Likewise.
23919 (_IO_iter_begin): Likewise.
23920 (_IO_iter_end): Likewise.
23921 (_IO_list_lock): Likewise.
23922 (_IO_list_unlock): Likewise.
23923 (_IO_list_resetlock): Likewise.
23924 * libio/getchar.c (getchar): Likewise.
23925 * libio/getchar_u.c (getchar_unlocked): Likewise.
23926 * libio/getwchar.c (getwchar): Likewise.
23927 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23928 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23929 * login/getpt.c (__getpt): Likewise.
23930 * login/tst-utmp.c (main): Likewise.
23931 * malloc/hooks.c (__malloc_check_init): Likewise.
23932 * malloc/malloc.c (__malloc_stats): Likewise.
23933 * malloc/mtrace.c (tr_break): Likewise.
23934 (mtrace): Likewise.
23935 (muntrace): Likewise.
23936 * misc/fstab.c (endfsent): Likewise.
23937 * misc/getclktck.c (__getclktck): Likewise.
23938 * misc/getdtsz.c (__getdtablesize): Likewise.
23939 * misc/gethostid.c (gethostid): Likewise.
23940 * misc/getpagesize.c (__getpagesize): Likewise.
23941 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23942 (__get_nprocs): Likewise.
23943 (__get_phys_pages): Likewise.
23944 (__get_avphys_pages): Likewise.
23945 * misc/getttyent.c (getttyent): Likewise.
23946 (setttyent): Likewise.
23947 (endttyent): Likewise.
23948 * misc/getusershell.c (getusershell): Likewise.
23949 (endusershell): Likewise.
23950 (setusershell): Likewise.
23951 (initshells): Likewise.
23952 * misc/hsearch.c (__hdestroy): Likewise.
23953 * misc/sync.c (sync): Likewise.
23954 * misc/syslog.c (closelog_internal): Likewise.
23955 (closelog): Likewise.
23956 * misc/ttyslot.c (ttyslot): Likewise.
23957 * misc/vhangup.c (vhangup): Likewise.
23958 * posix/fork.c (__fork): Likewise.
23959 * posix/getegid.c (__getegid): Likewise.
23960 * posix/geteuid.c (__geteuid): Likewise.
23961 * posix/getgid.c (__getgid): Likewise.
23962 * posix/getpid.c (__getpid): Likewise.
23963 * posix/getppid.c (__getppid): Likewise.
23964 * posix/getuid.c (__getuid): Likewise.
23965 * posix/pause.c (pause): Likewise.
23966 * posix/setpgrp.c (setpgrp): Likewise.
23967 * posix/setsid.c (__setsid): Likewise.
23968 * posix/test-vfork.c (noop): Likewise.
23969 * resolv/gethnamaddr.c (_endhtent): Likewise.
23970 (_gethtent): Likewise.
23971 (ht_endhostent): Likewise.
23972 (gethostent): Likewise.
23973 (dns_service): Likewise.
23974 * stdlib/drand48.c (drand48): Likewise.
23975 * stdlib/lrand48.c (lrand48): Likewise.
23976 * stdlib/mrand48.c (mrand48): Likewise.
23977 * stdlib/rand.c (rand): Likewise.
23978 * stdlib/random.c (__random): Likewise.
23979 * stdlib/setenv.c (clearenv): Likewise.
23980 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23981 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23982 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23983 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23984 (__get_nprocs): Likewise.
23985 (__get_phys_pages): Likewise.
23986 (__get_avphys_pages): Likewise.
23987 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23988 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23989 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23990 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23991 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23992 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23993 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23994 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23995 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23996 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23997 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23998 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23999 * sysdeps/posix/clock.c (clock): Likewise.
24000 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24001 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24002 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24003 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24004 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24005 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24006 (__get_nprocs_conf): Likewise.
24007 (__get_phys_pages): Likewise.
24008 (__get_avphys_pages): Likewise.
24009 * time/clock.c (clock): Likewise.
24010 * time/tzset.c (__tzname_max): Likewise.
24012 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24014 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24015 (__bswap_32): Do not use "register".
24016 * crypt/crypt.c (_ufc_doit_r): Likewise.
24017 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24018 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24019 * gmon/gmon.c (__monstartup): Likewise.
24020 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24021 * hurd/hurdmalloc.c (more_memory): Likewise.
24022 (malloc): Likewise.
24024 (realloc): Likewise.
24025 (malloc_fork_prepare): Likewise.
24026 (malloc_fork_parent): Likewise.
24027 (malloc_fork_child): Likewise.
24028 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24029 (_svcauth_des): Likewise.
24030 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24031 * inet/inet_net.c (inet_network): Likewise.
24032 * inet/inet_netof.c (inet_netof): Likewise.
24033 * inet/rcmd.c (__validuser2_sa): Likewise.
24034 * io/fts.c (fts_open): Likewise.
24035 (fts_load): Likewise.
24036 (fts_close): Likewise.
24037 (fts_read): Likewise.
24038 (fts_children): Likewise.
24039 (fts_build): Likewise.
24040 (fts_stat): Likewise.
24041 (fts_sort): Likewise.
24042 (fts_alloc): Likewise.
24043 (fts_lfree): Likewise.
24044 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24045 (_IO_file_xsgetn): Likewise.
24046 (_IO_file_xsgetn_mmap): Likewise.
24047 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24048 (_IO_cookie_write): Likewise.
24049 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24050 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24051 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24052 * malloc/obstack.c (_obstack_begin): Likewise.
24053 (_obstack_begin_1): Likewise.
24054 (_obstack_newchunk): Likewise.
24055 (_obstack_allocated_p): Likewise.
24056 (obstack_free): Likewise.
24057 (_obstack_memory_used): Likewise.
24058 * misc/getttyent.c (getttynam): Likewise.
24059 (getttyent): Likewise.
24062 * misc/getusershell.c (initshells): Likewise.
24063 * misc/syslog.c (__vsyslog_chk): Likewise.
24064 * misc/ttyslot.c (ttyslot): Likewise.
24065 * nis/nis_hash.c (__nis_hash): Likewise.
24066 * posix/fnmatch_loop.c (FCT): Likewise.
24067 * posix/getconf.c (print_all): Likewise.
24069 * posix/getopt.c (exchange): Likewise.
24070 * posix/glob.c (globfree): Likewise.
24071 (prefix_array): Likewise.
24072 (__glob_pattern_type): Likewise.
24073 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24074 (NS_GET32): Likewise.
24075 (NS_PUT16): Likewise.
24076 (NS_PUT32): Likewise.
24077 * resolv/gethnamaddr.c (getanswer): Likewise.
24078 (gethostbyname2): Likewise.
24079 (gethostbyaddr): Likewise.
24080 (_gethtent): Likewise.
24081 (_gethtbyname2): Likewise.
24082 (_gethtbyaddr): Likewise.
24083 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24084 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24085 * resolv/res_init.c (__res_vinit): Likewise.
24086 (net_mask): Likewise.
24087 * resolv/res_mkquery.c (outchar): Likewise.
24089 * stdio-common/printf_fp.c (outchar): Likewise.
24091 * stdio-common/printf_fphex.c (outchar): Likewise.
24093 * stdio-common/printf_size.c (outchar): Likewise.
24095 * stdio-common/test_rdwr.c (main): Likewise.
24096 * stdio-common/tfformat.c (matches): Likewise.
24097 * stdio-common/vfprintf.c (outchar): Likewise.
24098 (printf_unknown): Likewise.
24099 (buffered_vfprintf): Likewise.
24100 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24101 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24102 (ReadFile): Likewise.
24103 * stdlib/qsort.c (SWAP): Likewise.
24104 (_quicksort): Likewise.
24105 * stdlib/setenv.c (__add_to_environ): Likewise.
24106 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24107 * stdlib/strtol_l.c (__strtol_l): Likewise.
24108 * stdlib/tst-strtod.c (main): Likewise.
24109 * stdlib/tst-strtol.c (main): Likewise.
24110 * stdlib/tst-strtoll.c (main): Likewise.
24111 * string/bits/string2.h (__strcmp_cc): Likewise.
24112 (__strcmp_cg): Likewise.
24113 (__strcspn_c1): Likewise.
24114 (__strcspn_c2): Likewise.
24115 (__strcspn_c3): Likewise.
24116 (__strspn_c1): Likewise.
24117 (__strspn_c2): Likewise.
24118 (__strspn_c3): Likewise.
24119 (__strsep_1c): Likewise.
24120 (__strsep_2c): Likewise.
24121 (__strsep_3c): Likewise.
24122 * string/memccpy.c (__memccpy): Likewise.
24123 * string/stpcpy.c (__stpcpy): Likewise.
24124 * string/strcmp.c (strcmp): Likewise.
24125 * string/strrchr.c (strrchr): Likewise.
24126 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24128 * sysdeps/mach/hurd/getcwd.c
24129 (_hurd_canonicalize_directory_name_internal): Likewise.
24130 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24131 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24132 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24133 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24134 Likewise, in both definitions.
24135 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24137 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24138 64] (__bswap_64): Likewise.
24139 * time/test_time.c (main): Likewise.
24140 * time/tzfile.c (__tzfile_read): Likewise.
24141 (__tzfile_compute): Likewise.
24142 * time/tzset.c (__tzset_parse_tz): Likewise.
24143 (tzset_internal): Likewise.
24144 (compute_change): Likewise.
24145 * wcsmbs/wcscat.c (__wcscat): Likewise.
24146 * wcsmbs/wcschr.c (wcschr): Likewise.
24147 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24148 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24149 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24150 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24151 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24152 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24153 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24154 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24155 * wcsmbs/wmemset.c (wmemset): Likewise.
24157 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24159 * scripts/config.guess: Update to version 2013-05-16.
24160 * scripts/config.sub: Update to version 2013-04-24.
24161 * scripts/install-sh: Update to version 2011-11-20.07.
24162 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24163 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24165 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24167 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24168 * elf/sln.c: Likewise.
24169 * hurd/hurd/ioctl.h: Likewise.
24170 * hurd/hurdmalloc.c: Likewise.
24171 * hurd/xattr.c: Likewise.
24172 * include/shlib-compat.h: Likewise.
24173 * inet/ruserpass.c: Likewise.
24174 * libio/iofgets_u.c: Likewise.
24175 * libio/iofgetws_u.c: Likewise.
24176 * locale/programs/ld-identification.c: Likewise.
24177 * locale/programs/ld-time.c: Likewise.
24178 * mach/msg-destroy.c: Likewise.
24179 * nss/nss_files/files-netgrp.c: Likewise.
24180 * resolv/res_data.c: Likewise.
24181 * soft-fp/op-1.h: Likewise.
24182 * soft-fp/op-2.h: Likewise.
24183 * soft-fp/op-4.h: Likewise.
24184 * soft-fp/op-common.h: Likewise.
24185 * stdio-common/printf_fphex.c: Likewise.
24186 * stdlib/strtod_l.c: Likewise.
24187 * sunrpc/rpc/clnt.h: Likewise.
24188 * sysdeps/generic/framestate.c: Likewise.
24189 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24190 * sysdeps/i386/bsd-setjmp.S: Likewise.
24191 * sysdeps/i386/__longjmp.S: Likewise.
24192 * sysdeps/i386/setjmp.S: Likewise.
24193 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24194 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24195 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24210 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24211 * sysdeps/ieee754/support.c: Likewise.
24212 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24213 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24214 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24215 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24216 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24217 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24218 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24219 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24220 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24221 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24222 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24223 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24224 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24225 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24226 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24227 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24228 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24231 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24233 * posix/transbug.c: Remove executable mode.
24235 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24237 * crypt/speeds.c: Remove trailing whitespace.
24238 * dlfcn/default.c: Likewise.
24239 * elf/ifuncdep2.c: Likewise.
24240 * elf/ifuncmain1.c: Likewise.
24241 * elf/ifuncmain1vis.c: Likewise.
24242 * elf/testobj.h: Likewise.
24243 * elf/tst-stackguard1.c: Likewise.
24244 * gmon/sys/gmon.h: Likewise.
24245 * hurd/hurdmsg.c: Likewise.
24246 * hurd/new-fd.c: Likewise.
24247 * hurd/ports-get.c: Likewise.
24248 * iconvdata/ibm1008_420.c: Likewise.
24249 * inet/tst-getni1.c: Likewise.
24250 * inet/tst-getni2.c: Likewise.
24251 * libio/ioungetc.c: Likewise.
24252 * libio/wfiledoalloc.c: Likewise.
24253 * manual/libm-err-tab.pl: Likewise.
24254 * math/w_dremf.c: Likewise.
24255 * misc/ftruncate.c: Likewise.
24256 * posix/bug-glob2.c: Likewise.
24257 * posix/tst-pcre.c: Likewise.
24258 * posix/wait4.c: Likewise.
24259 * resolv/README: Likewise.
24260 * resolv/res_debug.h: Likewise.
24261 * resolv/tst-inet_ntop.c: Likewise.
24262 * setjmp/bug269-setjmp.c: Likewise.
24263 * soft-fp/extended.h: Likewise.
24264 * soft-fp/op-1.h: Likewise.
24265 * soft-fp/op-2.h: Likewise.
24266 * soft-fp/op-4.h: Likewise.
24267 * soft-fp/op-8.h: Likewise.
24268 * soft-fp/testit.c: Likewise.
24269 * stdio-common/bug16.c: Likewise.
24270 * stdlib/random.c: Likewise.
24271 * sunrpc/rpcsvc/rquota.x: Likewise.
24272 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24273 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24274 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24275 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24276 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24277 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24278 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24279 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24280 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24281 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24282 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24284 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24288 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24290 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24291 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24297 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24298 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24299 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24301 * sysdeps/ieee754/s_lib_version.c: Likewise.
24302 * sysdeps/mach/hurd/check_fds.c: Likewise.
24303 * sysdeps/mach/hurd/getsockname.c: Likewise.
24304 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24305 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24306 * sysdeps/powerpc/bits/link.h: Likewise.
24307 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24308 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24309 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24310 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24311 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24312 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24313 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24314 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24315 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24316 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24317 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24318 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24319 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24320 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24321 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24322 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24324 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24325 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24326 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24327 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24328 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24329 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24330 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24331 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24332 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24333 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24334 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24335 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24336 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24337 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24338 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24339 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24340 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24341 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24342 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24343 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24344 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24345 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24346 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24347 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24348 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24349 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24350 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24351 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24352 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24353 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24354 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24355 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24356 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24357 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24358 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24359 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24360 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24361 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24362 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24363 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24364 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24365 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24366 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24367 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24368 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24369 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24370 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24371 * sysdeps/powerpc/sysdep.h: Likewise.
24372 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24373 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24374 * sysdeps/sh/dl-trampoline.S: Likewise.
24375 * sysdeps/sh/memset.S: Likewise.
24376 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24377 * sysdeps/sh/strlen.S: Likewise.
24378 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24379 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24380 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24381 * sysdeps/sparc/sparc32/rem.S: Likewise.
24382 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24383 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24384 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24385 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24386 * sysdeps/sparc/sparc32/urem.S: Likewise.
24387 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24388 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24389 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24390 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24391 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24392 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24393 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24394 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24395 * sysdeps/unix/bsd/times.c: Likewise.
24396 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24397 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24401 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24402 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24403 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24404 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24405 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24406 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24407 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24408 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24409 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24410 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24411 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24412 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24413 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24414 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24415 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24416 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24417 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24418 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24419 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24420 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24421 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24422 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24423 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24424 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24425 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24426 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24427 * sysdeps/x86_64/strcspn.S: Likewise.
24429 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24431 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24432 generated file. Regenerate properly from gen-translit.pl.
24433 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24434 locale/C-translit.h.
24436 2013-06-05 Andreas Schwab <schwab@suse.de>
24439 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24440 week as 6 instead of -1.
24441 * time/tst-strptime.c (day_tests): Add test case.
24443 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24445 * sysdeps/generic/math_private.h
24446 (libc_feholdexcept_setround_53bit): Replace with
24447 libc_feholdsetround_53bit.
24448 (libc_feupdateenv_53bit): Replace with
24449 libc_feresetround_53bit.
24450 (SET_RESTORE_ROUND_53BIT): Adjust.
24452 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24454 * string/test-strchrnul.c: Add copyright header.
24456 * posix/tst-getaddrinfo4.c: Increase test timeout.
24458 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24461 * math/libm-test.inc (MAX_EXP): Remove
24463 (ulp): Use MIN_EXP - MANT_DIG.
24464 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24466 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24468 * po/be.po: Revert last change.
24469 * po/zh_CN.po: Likewise.
24470 * po/header.pot: Likewise.
24472 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24474 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24475 link-libc-deps to empty as target-specific variable.
24476 * Makerules (link-libc-args): New variable.
24477 (libc-for-link): Likewise.
24478 (link-libc-deps): Likewise.
24479 (lib%.so): Depend on $(link-libc-deps). Link with
24481 (build-module): Link with $(link-libc-args).
24482 (build-module-asneeded): Likewise.
24483 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24485 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24486 target-specific variable.
24487 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24488 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24489 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24491 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24493 ($(objpfx)libpcprofile.so): Likewise.
24494 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24496 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24497 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24498 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24500 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24501 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24502 * login/Makefile ($(objpfx)libutil.so): Likewise.
24503 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24504 * math/Makefile ($(objpfx)libm.so): Likewise.
24505 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24506 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24507 variable instead of depending directly on libc.
24508 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24509 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24511 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24513 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24514 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24515 ($(objpfx)libanl.so): Likewise.
24516 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24518 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24520 * sysdeps/i386/fpu/Makefile: Remove file.
24521 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24522 ($(objpfx)libm.so): Remove dependency on ld.so.
24524 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24527 * nis/yp_xdr.c (XDRMAXNAME): Define.
24528 (XDRMAXRECORD): Define.
24529 (xdr_domainname): Use XDRMAXNAME.
24530 (xdr_mapname): Likewise.
24531 (xdr_peername): Likewise.
24532 (xdr_keydat): Use XDRMAXRECORD.
24533 (xdr_valdat): Likewise.
24535 2013-05-30 Jeff Law <law@redhat.com>
24538 * manual/errno.texi (ESTALE): Update to account for more than
24539 just NFS file systems.
24540 * sysdeps/gnu/errlist.c: Regenerated.
24542 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24545 * elf/Makefile (tests): Add tst-null-argv.
24546 (modules-names): Add tst-null-argv-lib.
24547 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24548 (tst-null-argv-ENV): Set environment for tst-null-argv.
24549 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24550 (RTLD_PROGNAME): New macro.
24551 * elf/tst-null-argv.c: New test case.
24552 * elf/tst-null-argv-lib.c: Library for test case.
24553 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24554 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24555 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24556 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24557 * elf/dl-init.c (call_init): Likewise.
24558 (_dl_init): Likewise.
24559 * elf/dl-load.c (print_search_path): Likewise.
24560 (_dl_map_object): Likewise.
24561 * elf/dl-lookup.c (do_lookup_x): Likewise.
24562 (add_dependency): Likewise.
24563 (_dl_lookup_symbol_x): Likewise.
24564 (_dl_debug_bindings): Likewise.
24565 * elf/dl-open.c (_dl_show_scope): Likewise.
24566 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24567 * elf/dl-version.c (match_symbol): Likewise.
24568 (_dl_check_map_versions): Likewise.
24569 * elf/rtld.c (dl_main): Likewise.
24570 (print_unresolved): Use RTLD_PROGNAME.
24571 (print_missing_version): Likewise.
24572 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24573 (elf_machine_rela): Likewise.
24574 * sysdeps/powerpc/powerpc32/dl-machine.c
24575 (__process_machine_rela): Likewise.
24576 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24578 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24580 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24582 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24583 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24585 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24587 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24589 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24591 * po/be.po: Add descriptive title.
24592 * po/zh_CN.po: Likewise.
24593 * po/header.pot: Likewise.
24595 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24597 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24599 (enlarge_archive): Likewise.
24601 2013-05-28 Ben North <ben@redfrontdoor.org>
24603 * manual/arith.texi (frexp): It is the magnitude of the return
24604 value which lies in [0.5, 1), not the return value itself.
24606 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24610 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24612 * stdio-common/bug26.c (main): Correct fscanf template.
24614 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24615 declare _dl_skip_args.
24617 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24620 * manual/platform.texi: Add missing @end deftypefun.
24622 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24625 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24626 bit of mantissa of 2^16382.
24627 * math/libm-test.inc (hypot_test_data): Add more tests.
24629 * math/libm-test.inc: Add drem and pow10 to list of tested
24631 (pow10_test): New function.
24632 (drem_test): Likewise.
24633 (drem_test_tonearest): Likewise.
24634 (drem_test_towardzero): Likewise.
24635 (drem_test_downward): Likewise.
24636 (drem_test_upward): Likewise.
24637 (main): Call the new functions.
24639 * math/libm-test.inc (finite_test_data): Remove.
24640 (finite_test): Run tests from isfinite_test_data.
24641 (gamma_test_data): Remove.
24642 (gamma_test): Run tests from lgamma_test_data.
24643 * sysdeps/i386/fpu/libm-test-ulps: Update.
24644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24646 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24648 * manual/platform.texi: Add PowerPC PPR function set documentation.
24649 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24652 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24654 * math/libm-test.inc (MAX_EXP): Define.
24656 (ulp): New function.
24657 (check_float_internal): Use ULPDIFF.
24658 (cpow_test): Disable failing test.
24659 (check_ulp): Test ulp() implemetnation.
24660 (main): Call check_ulp before starting tests.
24662 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24664 * math/gen-libm-test.pl (generate_testfile): Do not handle
24665 START_DATA and END_DATA.
24666 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24668 (acos_tonearest_test_data): Likewise.
24669 (acos_towardzero_test_data): Likewise.
24670 (acos_downward_test_data): Likewise.
24671 (acos_upward_test_data): Likewise.
24672 (acosh_test_data): Likewise.
24673 (asin_test_data): Likewise.
24674 (asin_tonearest_test_data): Likewise.
24675 (asin_towardzero_test_data): Likewise.
24676 (asin_downward_test_data): Likewise.
24677 (asin_upward_test_data): Likewise.
24678 (asinh_test_data): Likewise.
24679 (atan_test_data): Likewise.
24680 (atanh_test_data): Likewise.
24681 (atan2_test_data): Likewise.
24682 (cabs_test_data): Likewise.
24683 (cacos_test_data): Likewise.
24684 (cacosh_test_data): Likewise.
24685 (carg_test_data): Likewise.
24686 (casin_test_data): Likewise.
24687 (casinh_test_data): Likewise.
24688 (catan_test_data): Likewise.
24689 (catanh_test_data): Likewise.
24690 (cbrt_test_data): Likewise.
24691 (ccos_test_data): Likewise.
24692 (ccosh_test_data): Likewise.
24693 (ceil_test_data): Likewise.
24694 (cexp_test_data): Likewise.
24695 (cimag_test_data): Likewise.
24696 (clog_test_data): Likewise.
24697 (clog10_test_data): Likewise.
24698 (conj_test_data): Likewise.
24699 (copysign_test_data): Likewise.
24700 (cos_test_data): Likewise.
24701 (cos_tonearest_test_data): Likewise.
24702 (cos_towardzero_test_data): Likewise.
24703 (cos_downward_test_data): Likewise.
24704 (cos_upward_test_data): Likewise.
24705 (cosh_test_data): Likewise.
24706 (cosh_tonearest_test_data): Likewise.
24707 (cosh_towardzero_test_data): Likewise.
24708 (cosh_downward_test_data): Likewise.
24709 (cosh_upward_test_data): Likewise.
24710 (cpow_test_data): Likewise.
24711 (cproj_test_data): Likewise.
24712 (creal_test_data): Likewise.
24713 (csin_test_data): Likewise.
24714 (csinh_test_data): Likewise.
24715 (csqrt_test_data): Likewise.
24716 (ctan_test_data): Likewise.
24717 (ctan_tonearest_test_data): Likewise.
24718 (ctan_towardzero_test_data): Likewise.
24719 (ctan_downward_test_data): Likewise.
24720 (ctan_upward_test_data): Likewise.
24721 (ctanh_test_data): Likewise.
24722 (ctanh_tonearest_test_data): Likewise.
24723 (ctanh_towardzero_test_data): Likewise.
24724 (ctanh_downward_test_data): Likewise.
24725 (ctanh_upward_test_data): Likewise.
24726 (erf_test_data): Likewise.
24727 (erfc_test_data): Likewise.
24728 (exp_test_data): Likewise.
24729 (exp_tonearest_test_data): Likewise.
24730 (exp_towardzero_test_data): Likewise.
24731 (exp_downward_test_data): Likewise.
24732 (exp_upward_test_data): Likewise.
24733 (exp10_test_data): Likewise.
24734 (exp2_test_data): Likewise.
24735 (expm1_test_data): Likewise.
24736 (fabs_test_data): Likewise.
24737 (fdim_test_data): Likewise.
24738 (finite_test_data): Likewise.
24739 (floor_test_data): Likewise.
24740 (fma_test_data): Likewise.
24741 (fma_towardzero_test_data): Likewise.
24742 (fma_downward_test_data): Likewise.
24743 (fma_upward_test_data): Likewise.
24744 (fmax_test_data): Likewise.
24745 (fmin_test_data): Likewise.
24746 (fmod_test_data): Likewise.
24747 (fpclassify_test_data): Likewise.
24748 (frexp_test_data): Likewise.
24749 (gamma_test_data): Likewise.
24750 (hypot_test_data): Likewise.
24751 (ilogb_test_data): Likewise.
24752 (isfinite_test_data): Likewise.
24753 (isgreater_test_data): Likewise.
24754 (isgreaterequal_test_data): Likewise.
24755 (isinf_test_data): Likewise.
24756 (isless_test_data): Likewise.
24757 (islessequal_test_data): Likewise.
24758 (islessgreater_test_data): Likewise.
24759 (isnan_test_data): Likewise.
24760 (isnormal_test_data): Likewise.
24761 (issignaling_test_data): Likewise.
24762 (isunordered_test_data): Likewise.
24763 (j0_test_data): Likewise.
24764 (j1_test_data): Likewise.
24765 (jn_test_data): Likewise.
24766 (ldexp_test_data): Likewise.
24767 (lgamma_test_data): Likewise.
24768 (lrint_test_data): Likewise.
24769 (lrint_tonearest_test_data): Likewise.
24770 (lrint_towardzero_test_data): Likewise.
24771 (lrint_downward_test_data): Likewise.
24772 (lrint_upward_test_data): Likewise.
24773 (llrint_test_data): Likewise.
24774 (llrint_tonearest_test_data): Likewise.
24775 (llrint_towardzero_test_data): Likewise.
24776 (llrint_downward_test_data): Likewise.
24777 (llrint_upward_test_data): Likewise.
24778 (log_test_data): Likewise.
24779 (log10_test_data): Likewise.
24780 (log1p_test_data): Likewise.
24781 (log2_test_data): Likewise.
24782 (logb_test_data): Likewise.
24783 (logb_downward_test_data): Likewise.
24784 (lround_test_data): Likewise.
24785 (llround_test_data): Likewise.
24786 (modf_test_data): Likewise.
24787 (nearbyint_test_data): Likewise.
24788 (nextafter_test_data): Likewise.
24789 (nexttoward_test_data): Likewise.
24790 (pow_test_data): Likewise.
24791 (pow_tonearest_test_data): Likewise.
24792 (pow_towardzero_test_data): Likewise.
24793 (pow_downward_test_data): Likewise.
24794 (pow_upward_test_data): Likewise.
24795 (remainder_test_data): Likewise.
24796 (remainder_tonearest_test_data): Likewise.
24797 (remainder_towardzero_test_data): Likewise.
24798 (remainder_downward_test_data): Likewise.
24799 (remainder_upward_test_data): Likewise.
24800 (remquo_test_data): Likewise.
24801 (rint_test_data): Likewise.
24802 (rint_tonearest_test_data): Likewise.
24803 (rint_towardzero_test_data): Likewise.
24804 (rint_downward_test_data): Likewise.
24805 (rint_upward_test_data): Likewise.
24806 (round_test_data): Likewise.
24807 (scalb_test_data): Likewise.
24808 (scalbn_test_data): Likewise.
24809 (scalbln_test_data): Likewise.
24810 (signbit_test_data): Likewise.
24811 (sin_test_data): Likewise.
24812 (sin_tonearest_test_data): Likewise.
24813 (sin_towardzero_test_data): Likewise.
24814 (sin_downward_test_data): Likewise.
24815 (sin_upward_test_data): Likewise.
24816 (sincos_test_data): Likewise.
24817 (sinh_test_data): Likewise.
24818 (sinh_tonearest_test_data): Likewise.
24819 (sinh_towardzero_test_data): Likewise.
24820 (sinh_downward_test_data): Likewise.
24821 (sinh_upward_test_data): Likewise.
24822 (sqrt_test_data): Likewise.
24823 (tan_test_data): Likewise.
24824 (tan_tonearest_test_data): Likewise.
24825 (tan_towardzero_test_data): Likewise.
24826 (tan_downward_test_data): Likewise.
24827 (tan_upward_test_data): Likewise.
24828 (tanh_test_data): Likewise.
24829 (tgamma_test_data): Likewise.
24830 (trunc_test_data): Likewise.
24831 (y0_test_data): Likewise.
24832 (y1_test_data): Likewise.
24833 (yn_test_data): Likewise.
24834 (significand_test_data): Likewise.
24836 * math/gen-libm-test.pl (@functions): Remove variable.
24837 (generate_testfile): Don't handle START and END lines.
24838 * math/libm-test.inc (START): New macro.
24840 (END_COMPLEX): Likewise.
24841 (acos_test): Use END macro without arguments.
24842 (acos_test_tonearest): Likewise.
24843 (acos_test_towardzero): Likewise.
24844 (acos_test_downward): Likewise.
24845 (acos_test_upward): Likewise.
24846 (acosh_test): Likewise.
24847 (asin_test): Likewise.
24848 (asin_test_tonearest): Likewise.
24849 (asin_test_towardzero): Likewise.
24850 (asin_test_downward): Likewise.
24851 (asin_test_upward): Likewise.
24852 (asinh_test): Likewise.
24853 (atan_test): Likewise.
24854 (atanh_test): Likewise.
24855 (atan2_test): Likewise.
24856 (cabs_test): Likewise.
24857 (cacos_test): Use END_COMPLEX macro without arguments.
24858 (cacosh_test): Likewise.
24859 (carg_test): Use END macro without arguments.
24860 (casin_test): Use END_COMPLEX macro without arguments.
24861 (casinh_test): Likewise.
24862 (catan_test): Likewise.
24863 (catanh_test): Likewise.
24864 (cbrt_test): Use END macro without arguments.
24865 (ccos_test): Use END_COMPLEX macro without arguments.
24866 (ccosh_test): Likewise.
24867 (ceil_test): Use END macro without arguments.
24868 (cexp_test): Use END_COMPLEX macro without arguments.
24869 (cimag_test): Use END macro without arguments.
24870 (clog_test): Use END_COMPLEX macro without arguments.
24871 (clog10_test): Likewise.
24872 (conj_test): Likewise.
24873 (copysign_test): Use END macro without arguments.
24874 (cos_test): Likewise.
24875 (cos_test_tonearest): Likewise.
24876 (cos_test_towardzero): Likewise.
24877 (cos_test_downward): Likewise.
24878 (cos_test_upward): Likewise.
24879 (cosh_test): Likewise.
24880 (cosh_test_tonearest): Likewise.
24881 (cosh_test_towardzero): Likewise.
24882 (cosh_test_downward): Likewise.
24883 (cosh_test_upward): Likewise.
24884 (cpow_test): Use END_COMPLEX macro without arguments.
24885 (cproj_test): Likewise.
24886 (creal_test): Use END macro without arguments.
24887 (csin_test): Use END_COMPLEX macro without arguments.
24888 (csinh_test): Likewise.
24889 (csqrt_test): Likewise.
24890 (ctan_test): Likewise.
24891 (ctan_test_tonearest): Likewise.
24892 (ctan_test_towardzero): Likewise.
24893 (ctan_test_downward): Likewise.
24894 (ctan_test_upward): Likewise.
24895 (ctanh_test): Likewise.
24896 (ctanh_test_tonearest): Likewise.
24897 (ctanh_test_towardzero): Likewise.
24898 (ctanh_test_downward): Likewise.
24899 (ctanh_test_upward): Likewise.
24900 (erf_test): Use END macro without arguments.
24901 (erfc_test): Likewise.
24902 (exp_test): Likewise.
24903 (exp_test_tonearest): Likewise.
24904 (exp_test_towardzero): Likewise.
24905 (exp_test_downward): Likewise.
24906 (exp_test_upward): Likewise.
24907 (exp10_test): Likewise.
24908 (exp2_test): Likewise.
24909 (expm1_test): Likewise.
24910 (fabs_test): Likewise.
24911 (fdim_test): Likewise.
24912 (finite_test): Likewise.
24913 (floor_test): Likewise.
24914 (fma_test): Likewise.
24915 (fma_test_towardzero): Likewise.
24916 (fma_test_downward): Likewise.
24917 (fma_test_upward): Likewise.
24918 (fmax_test): Likewise.
24919 (fmin_test): Likewise.
24920 (fmod_test): Likewise.
24921 (fpclassify_test): Likewise.
24922 (frexp_test): Likewise.
24923 (gamma_test): Likewise.
24924 (hypot_test): Likewise.
24925 (ilogb_test): Likewise.
24926 (isfinite_test): Likewise.
24927 (isgreater_test): Likewise.
24928 (isgreaterequal_test): Likewise.
24929 (isinf_test): Likewise.
24930 (isless_test): Likewise.
24931 (islessequal_test): Likewise.
24932 (islessgreater_test): Likewise.
24933 (isnan_test): Likewise.
24934 (isnormal_test): Likewise.
24935 (issignaling_test): Likewise.
24936 (isunordered_test): Likewise.
24937 (j0_test): Likewise.
24938 (j1_test): Likewise.
24939 (jn_test): Likewise.
24940 (ldexp_test): Likewise.
24941 (lgamma_test): Likewise.
24942 (lrint_test): Likewise.
24943 (lrint_test_tonearest): Likewise.
24944 (lrint_test_towardzero): Likewise.
24945 (lrint_test_downward): Likewise.
24946 (lrint_test_upward): Likewise.
24947 (llrint_test): Likewise.
24948 (llrint_test_tonearest): Likewise.
24949 (llrint_test_towardzero): Likewise.
24950 (llrint_test_downward): Likewise.
24951 (llrint_test_upward): Likewise.
24952 (log_test): Likewise.
24953 (log10_test): Likewise.
24954 (log1p_test): Likewise.
24955 (log2_test): Likewise.
24956 (logb_test): Likewise.
24957 (logb_test_downward): Likewise.
24958 (lround_test): Likewise.
24959 (llround_test): Likewise.
24960 (modf_test): Likewise.
24961 (nearbyint_test): Likewise.
24962 (nextafter_test): Likewise.
24963 (nexttoward_test): Likewise.
24964 (pow_test): Likewise.
24965 (pow_test_tonearest): Likewise.
24966 (pow_test_towardzero): Likewise.
24967 (pow_test_downward): Likewise.
24968 (pow_test_upward): Likewise.
24969 (remainder_test): Likewise.
24970 (remainder_test_tonearest): Likewise.
24971 (remainder_test_towardzero): Likewise.
24972 (remainder_test_downward): Likewise.
24973 (remainder_test_upward): Likewise.
24974 (remquo_test): Likewise.
24975 (rint_test): Likewise.
24976 (rint_test_tonearest): Likewise.
24977 (rint_test_towardzero): Likewise.
24978 (rint_test_downward): Likewise.
24979 (rint_test_upward): Likewise.
24980 (round_test): Likewise.
24981 (scalb_test): Likewise.
24982 (scalbn_test): Likewise.
24983 (scalbln_test): Likewise.
24984 (signbit_test): Likewise.
24985 (sin_test): Likewise.
24986 (sin_test_tonearest): Likewise.
24987 (sin_test_towardzero): Likewise.
24988 (sin_test_downward): Likewise.
24989 (sin_test_upward): Likewise.
24990 (sincos_test): Likewise.
24991 (sinh_test): Likewise.
24992 (sinh_test_tonearest): Likewise.
24993 (sinh_test_towardzero): Likewise.
24994 (sinh_test_downward): Likewise.
24995 (sinh_test_upward): Likewise.
24996 (sqrt_test): Likewise.
24997 (tan_test): Likewise.
24998 (tan_test_tonearest): Likewise.
24999 (tan_test_towardzero): Likewise.
25000 (tan_test_downward): Likewise.
25001 (tan_test_upward): Likewise.
25002 (tanh_test): Likewise.
25003 (tgamma_test): Likewise.
25004 (trunc_test): Likewise.
25005 (y0_test): Likewise.
25006 (y1_test): Likewise.
25007 (yn_test): Likewise.
25008 (significand_test): Likewise.
25010 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25013 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25015 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25018 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25019 __ppc_mdoio and __ppc_mdoom.
25020 * manual/platform.texi: Document new functions __ppc_yield,
25021 __ppc_mdoio and __ppc_mdoom.
25023 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25025 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25026 (main): Mention "tls" pseudo-hwcap is legacy.
25027 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25029 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25031 * math/gen-libm-test.pl (parse_args): Output only string of
25032 arguments as text for test name, not full call or descriptions of
25033 tests for extra outputs.
25034 (generate_testfile): Do not pass function name to parse_args.
25035 Generate this_func variable from START.
25036 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25038 (struct test_ff_f_data): Likewise.
25039 (test_ff_f_data_nexttoward): Likewise.
25040 (struct test_fi_f_data): Likewise.
25041 (struct test_fl_f_data): Likewise.
25042 (struct test_if_f_data): Likewise.
25043 (struct test_fff_f_data): Likewise.
25044 (struct test_c_f_data): Likewise.
25045 (struct test_f_f1_data): Likewise. Remove field extra_name.
25046 (struct test_fF_f1_data): Likewise.
25047 (struct test_ffI_f1_data): Likewise.
25048 (struct test_c_c_data): Rename test_name field to arg_str.
25049 (struct test_cc_c_data): Likewise.
25050 (struct test_f_i_data): Likewise.
25051 (struct test_ff_i_data): Likewise.
25052 (struct test_f_l_data): Likewise.
25053 (struct test_f_L_data): Likewise.
25054 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25056 (COMMON_TEST_SETUP): New macro.
25057 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25058 (COMMON_TEST_CLEANUP): Likewise.
25059 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25060 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25062 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25063 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25065 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25066 (RUN_TEST_fff_f): Take argument string. Call new setup and
25068 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25069 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25071 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25072 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25074 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25075 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25077 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25078 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25080 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25081 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25083 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25084 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25086 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25087 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25089 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25090 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25092 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25093 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25095 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25096 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25098 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25099 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25101 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25102 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25104 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25105 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25107 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25108 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25110 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25111 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25113 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25115 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25117 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25118 to _sifields.sigfault.
25119 (si_addr_lsb): Define new macro.
25120 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25122 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25124 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25127 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25129 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25131 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25132 loading the domain.
25134 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25136 * math/gen-libm-test.pl (parse_args): Do not include expected
25137 result in test name.
25138 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25140 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25141 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25142 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25145 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25147 * benchtests/Makefile: Sort function entries.
25149 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25150 tanh, asinh, acosh, atanh.
25151 * benchtests/acos-inputs: New file.
25152 * benchtests/acosh-inputs: New file.
25153 * benchtests/asin-inputs: New file.
25154 * benchtests/asinh-inputs: New file.
25155 * benchtests/atanh-inputs: New file.
25156 * benchtests/cosh-inputs: New file.
25157 * benchtests/log-inputs: New file.
25158 * benchtests/sinh-inputs: New file.
25159 * benchtests/tanh-inputs: New file.
25161 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25164 * posix/tst-getaddrinfo4.c: New test.
25165 * posix/Makefile (tests): Add it.
25167 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25170 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25171 when no services were used.
25172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25173 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25175 2013-05-21 Andreas Schwab <schwab@suse.de>
25178 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25179 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25181 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25182 redundant variable declarations and reallocation of buffer when
25183 parsing as IPv6 address. Always set NSS status when called from
25184 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25185 buffer too small. Correct computation of needed size.
25186 * nss/Makefile (tests): Add test-digits-dots.
25187 * nss/test-digits-dots.c: New test.
25189 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25191 * benchtests/Makefile: Remove instructions for adding
25193 * benchtests/README: New file to explain how to execute and
25194 enhance the benchmark tests.
25196 2013-05-21 Andreas Schwab <schwab@suse.de>
25199 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25200 * setjmp/tst-sigsetjmp.c: New test.
25202 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25204 * sysdeps/x86_64/memset.S (memset): New implementation.
25205 (__bzero): Likewise.
25206 (__memset_tail): New function.
25208 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25210 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25211 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25212 __memcpy_sse2_unaligned ifunc selection.
25213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25214 Add memcpy-sse2-unaligned.S.
25215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25216 Add: __memcpy_sse2_unaligned.
25218 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25221 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25222 math_force_eval before restoring floating-point envrionment.
25223 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25224 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25226 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25228 (__nearbyintl): Use math_force_eval before restoring
25229 floating-point environment.
25230 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25232 * math/gen-libm-test.pl (special_functions): Remove.
25233 (parse_args): Don't handle TEST_extra. Handle functions with no
25235 * math/libm-test.inc (struct test_sincos_data): Replace with
25236 struct test_fFF_11_data.
25237 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25238 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25239 (sincos_test_data): Change element type to struct
25240 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25241 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25242 RUN_TEST_LOOP_sincos.
25243 * math/README.libm-test: Don't mention special handling of
25244 individual functions.
25245 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25246 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25247 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25248 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25249 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25252 * math/gen-libm-test.pl (get_variable): Remove function.
25253 (parse_args): Don't show pointer parameters to call in test
25254 names. Use "extra output N" in test names for extra outputs
25255 rather than naming variables.
25257 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25260 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25261 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25262 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25264 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25266 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25269 * math/gen-libm-test.pl (@tests): Remove variable.
25270 ($count): Likewise.
25271 (new_test): Remove function.
25272 (show_exceptions): New function.
25273 (special_functions): Use show_exceptions instead of new_test.
25274 (parse_args): Likewise.
25275 (generate_testfile): Pass only function name in generated call to
25276 print_max_error or print_complex_max_error.
25277 (get_ulps): Do not handle complex tests specially.
25278 (output_test): Rename to ...
25279 (get_all_ulps_for_test): ... this. Return a string rather than
25280 printing to a file. Require ulps to be present.
25281 (output_ulps): Generate arrays rather than #defines.
25282 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25283 (struct ulp_data): New type.
25284 (BUILD_COMPLEX_ULP): Remove macro.
25285 (compare_ulp_data): New function.
25286 (find_ulps): Likewise.
25287 (find_test_ulps): Likewise.
25288 (find_function_ulps): Likewise.
25289 (find_complex_function_ulps): Likewise.
25290 (print_max_error): Determine allowed ulps using
25291 find_function_ulps.
25292 (print_complex_max_error): Determine allowed ulps using
25293 find_complex_function_ulps.
25294 (check_float_internal): Determine max ulps using find_test_ulps.
25295 (check_float): Do not take max_ulp parameter. Update call to
25296 check_float_internal.
25297 (check_complex): Likewise.
25298 (check_int): Do not take max_ulp parameter.
25299 (check_long): Likewise.
25300 (check_bool): Likewise.
25301 (check_longlong): Likewise.
25302 (struct test_f_f_data): Remove max_ulp field.
25303 (struct test_ff_f_data): Likewise.
25304 (struct test_ff_f_data_nexttoward): Likewise.
25305 (struct test_fi_f_data): Likewise.
25306 (struct test_fl_f_data): Likewise.
25307 (struct test_if_f_data): Likewise.
25308 (struct test_fff_f_data): Likewise.
25309 (struct test_c_f_data): Likewise.
25310 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25311 (struct test_fF_f1_data): Likewise.
25312 (struct test_ffI_f1_data): Likewise.
25313 (struct test_c_c_data): Remove max_ulp field.
25314 (struct test_cc_c_data): Likewise.
25315 (struct test_f_i_data): Likewise.
25316 (struct test_ff_i_data): Likewise.
25317 (struct test_f_l_data): Likewise.
25318 (struct test_f_L_data): Likewise.
25319 (struct test_sincos_data): Likewise.
25320 (RUN_TEST_f_f): Do not handle ulps.
25321 (RUN_TEST_LOOP_f_f): Likewise.
25322 (RUN_TEST_2_f): Likewise.
25323 (RUN_TEST_LOOP_2_f): Likewise.
25324 (RUN_TEST_fff_f): Likewise.
25325 (RUN_TEST_LOOP_fff_f): Likewise.
25326 (RUN_TEST_c_f): Likewise.
25327 (RUN_TEST_LOOP_c_f): Likewise.
25328 (RUN_TEST_f_f1): Likewise.
25329 (RUN_TEST_LOOP_f_f1): Likewise.
25330 (RUN_TEST_fF_f1): Likewise.
25331 (RUN_TEST_LOOP_fF_f1): Likewise.
25332 (RUN_TEST_fI_f1): Likewise.
25333 (RUN_TEST_LOOP_fI_f1): Likewise.
25334 (RUN_TEST_ffI_f1): Likewise.
25335 (RUN_TEST_LOOP_ffI_f1): Likewise.
25336 (RUN_TEST_c_c): Likewise.
25337 (RUN_TEST_LOOP_c_c): Likewise.
25338 (RUN_TEST_cc_c): Likewise.
25339 (RUN_TEST_LOOP_cc_c): Likewise.
25340 (RUN_TEST_f_i): Likewise.
25341 (RUN_TEST_LOOP_f_i): Likewise.
25342 (RUN_TEST_f_i_tg): Likewise.
25343 (RUN_TEST_LOOP_f_i_tg): Likewise.
25344 (RUN_TEST_ff_i_tg): Likewise.
25345 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25346 (RUN_TEST_f_b): Likewise.
25347 (RUN_TEST_LOOP_f_b): Likewise.
25348 (RUN_TEST_f_b_tg): Likewise.
25349 (RUN_TEST_LOOP_f_b_tg): Likewise.
25350 (RUN_TEST_f_l): Likewise.
25351 (RUN_TEST_LOOP_f_l): Likewise.
25352 (RUN_TEST_f_L): Likewise.
25353 (RUN_TEST_LOOP_f_L): Likewise.
25354 (RUN_TEST_sincos): Likewise.
25355 (RUN_TEST_LOOP_sincos): Likewise.
25357 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25361 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25362 main case of finite arguments, set rounding mode to FE_TONEAREST
25363 and discard exceptions.
25364 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25366 (remainder_tonearest_test_data): New variable.
25367 (remainder_test_tonearest): New function.
25368 (remainder_towardzero_test_data): New variable.
25369 (remainder_test_towardzero): New function.
25370 (remainder_downward_test_data): New variable.
25371 (remainder_test_downward): New function.
25372 (remainder_upward_test_data): New variable.
25373 (remainder_test_upward): New function.
25374 (main): Call the new test functions.
25376 * math/libm-test.inc (struct test_f_f1_data): Remove field
25378 (struct test_fF_f1_data): Likewise.
25379 (struct test_ffI_f1_data): Likewise.
25380 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25381 based on value of EXTRA_EXPECTED.
25382 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25383 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25384 EXTRA_VAR based on value of EXTRA_EXPECTED.
25385 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25386 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25387 EXTRA_VAR based on value of EXTRA_EXPECTED.
25388 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25389 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25390 EXTRA_VAR based on value of EXTRA_EXPECTED.
25391 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25392 * math/gen-libm-test.pl (parse_args): Don't output initializers
25393 for extra output values.
25395 * math/libm-test.inc (check_int): Expect result to be exactly
25396 equal to expected value and do not handle ulps.
25397 (check_long): Likewise.
25398 (check_longlong): Likewise.
25400 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25402 (cimag_test_data): Likewise.
25403 (conj_test_data): Likewise.
25404 (copysign_test_data): Likewise.
25405 (cproj_test_data): Likewise.
25406 (creal_test_data): Likewise.
25407 (fabs_test_data): Likewise.
25408 (fdim_test_data): Likewise.
25409 (finite_test_data): Likewise.
25410 (floor_test_data): Likewise.
25411 (fmax_test_data): Likewise.
25412 (fmin_test_data): Likewise.
25413 (fmod_test_data): Likewise.
25414 (fpclassify_test_data): Likewise.
25415 (frexp_test_data): Likewise.
25416 (ilogb_test_data): Likewise.
25417 (isfinite_test_data): Likewise.
25418 (isgreater_test_data): Likewise.
25419 (isgreaterequal_test_data): Likewise.
25420 (isinf_test_data): Likewise.
25421 (isless_test_data): Likewise.
25422 (islessequal_test_data): Likewise.
25423 (islessgreater_test_data): Likewise.
25424 (isnan_test_data): Likewise.
25425 (isnormal_test_data): Likewise.
25426 (issignaling_test_data): Likewise.
25427 (isunordered_test_data): Likewise.
25428 (ldexp_test_data): Likewise.
25429 (lrint_test_data): Likewise.
25430 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25431 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25432 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25433 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25434 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25435 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25437 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25438 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25439 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25440 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25442 (lrint_downward_test_data): Test for "inexact" exceptions.
25443 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25444 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25445 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25447 (lrint_upward_test_data): Test for "inexact" exceptions.
25448 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25450 (llrint_test_data): Test for "inexact" exceptions.
25451 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25452 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25453 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25454 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25455 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25456 (llrint_downward_test_data): Test for "inexact" exceptions.
25457 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25458 (llrint_upward_test_data): Test for "inexact" exceptions.
25459 (logb_test_data): Likewise.
25460 (logb_downward_test_data): Likewise.
25461 (nextafter_test_data): Likewise.
25462 (nexttoward_test_data): Likewise.
25463 (remainder_test_data): Likewise.
25464 (remquo_test_data): Likewise.
25465 (scalbn_test_data): Likewise.
25466 (scalbln_test_data): Likewise.
25467 (signbit_test_data): Likewise.
25468 (sqrt_test_data): Likewise.
25469 (significand_test_data): Likewise.
25471 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25474 * benchtests/bench-modf.c (struct args): Mark arg0 as
25476 * scripts/bench.pl: Mark members of struct args as volatile.
25478 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25481 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25482 negative infinity on POWER6 or lower.
25483 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25485 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25488 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25489 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25490 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25491 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25492 (_FP_SETQNAN): New macro.
25493 (_FP_SETQNAN_SEMIRAW): Likewise.
25494 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25495 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25496 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25497 (FP_EXTEND): Use _FP_FRAC_SNANP.
25498 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25499 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25501 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25503 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25506 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25508 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25509 with DIVIDE_BY_ZERO_EXCEPTION.
25510 (gamma_test_data): Likewise.
25511 (lgamma_test_data): Likewise.
25512 (log_test_data): Likewise.
25513 (log10_test_data): Likewise.
25514 (log2_test_data): Likewise.
25515 (tgamma_test_data): Likewise.
25517 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25518 (acos_test_tonearest): Likewise.
25519 (acos_test_towardzero): Likewise.
25520 (acos_test_downward): Likewise.
25521 (acos_test_upward): Likewise.
25522 (acosh_test): Likewise.
25523 (asin_test): Likewise.
25524 (asin_test_tonearest): Likewise.
25525 (asin_test_towardzero): Likewise.
25526 (asin_test_downward): Likewise.
25527 (asin_test_upward): Likewise.
25528 (asinh_test): Likewise.
25529 (atan_test): Likewise.
25530 (atanh_test): Likewise.
25531 (atan2_test): Likewise.
25532 (cabs_test): Likewise.
25533 (cacos_test): Likewise.
25534 (cacosh_test): Likewise.
25535 (casin_test): Likewise.
25536 (casinh_test): Likewise.
25537 (catan_test): Likewise.
25538 (catanh_test): Likewise.
25539 (cbrt_test): Likewise.
25540 (ccos_test): Likewise.
25541 (ccosh_test): Likewise.
25542 (cexp_test): Likewise.
25543 (clog_test): Likewise.
25544 (clog10_test): Likewise.
25545 (cos_test): Likewise.
25546 (cos_test_tonearest): Likewise.
25547 (cos_test_towardzero): Likewise.
25548 (cos_test_downward): Likewise.
25549 (cos_test_upward): Likewise.
25550 (cosh_test): Likewise.
25551 (cosh_test_tonearest): Likewise.
25552 (cosh_test_towardzero): Likewise.
25553 (cosh_test_downward): Likewise.
25554 (cosh_test_upward): Likewise.
25555 (cpow_test): Likewise.
25556 (csin_test): Likewise.
25557 (csinh_test): Likewise.
25558 (csqrt_test): Likewise.
25559 (ctan_test): Likewise.
25560 (ctan_test_tonearest): Likewise.
25561 (ctan_test_towardzero): Likewise.
25562 (ctan_test_downward): Likewise.
25563 (ctan_test_upward): Likewise.
25564 (ctanh_test): Likewise.
25565 (ctanh_test_tonearest): Likewise.
25566 (ctanh_test_towardzero): Likewise.
25567 (ctanh_test_downward): Likewise.
25568 (ctanh_test_upward): Likewise.
25569 (erf_test): Likewise.
25570 (erfc_test): Likewise.
25571 (exp_test): Likewise.
25572 (exp_test_tonearest): Likewise.
25573 (exp_test_towardzero): Likewise.
25574 (exp_test_downward): Likewise.
25575 (exp_test_upward): Likewise.
25576 (exp10_test): Likewise.
25577 (exp2_test): Likewise.
25578 (expm1_test): Likewise.
25579 (fmod_test): Likewise.
25580 (gamma_test): Likewise.
25581 (hypot_test): Likewise.
25582 (j0_test): Likewise.
25583 (j1_test): Likewise.
25584 (jn_test): Likewise.
25585 (lgamma_test): Likewise.
25586 (log_test): Likewise.
25587 (log10_test): Likewise.
25588 (log1p_test): Likewise.
25589 (log2_test): Likewise.
25590 (logb_test_downward): Likewise.
25591 (pow_test): Likewise.
25592 (pow_test_tonearest): Likewise.
25593 (pow_test_towardzero): Likewise.
25594 (pow_test_downward): Likewise.
25595 (pow_test_upward): Likewise.
25596 (remainder_test): Likewise.
25597 (remquo_test): Likewise.
25598 (sin_test): Likewise.
25599 (sin_test_tonearest): Likewise.
25600 (sin_test_towardzero): Likewise.
25601 (sin_test_downward): Likewise.
25602 (sin_test_upward): Likewise.
25603 (sincos_test): Likewise.
25604 (sinh_test): Likewise.
25605 (sinh_test_tonearest): Likewise.
25606 (sinh_test_towardzero): Likewise.
25607 (sinh_test_downward): Likewise.
25608 (sinh_test_upward): Likewise.
25609 (sqrt_test): Likewise.
25610 (tan_test): Likewise.
25611 (tan_test_tonearest): Likewise.
25612 (tan_test_towardzero): Likewise.
25613 (tan_test_downward): Likewise.
25614 (tan_test_upward): Likewise.
25615 (tanh_test): Likewise.
25616 (tgamma_test): Likewise.
25617 (y0_test): Likewise.
25618 (y1_test): Likewise.
25619 (yn_test): Likewise.
25621 * math/gen-libm-test.pl (adjust_arg): Remove function.
25622 (special_function): Remove argument $in_func. Only handle
25623 generating output for tables of tests, not inside functions.
25624 (parse_args): Likewise.
25625 (generate_testfile): Remove variable $in_func. Update call to
25627 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25628 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25629 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25630 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25631 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25632 (MAX_VALUE_INIT): Rename macro to max_value.
25633 (MIN_VALUE_INIT): Rename macro to min_value.
25634 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25635 (plus_zero): Remove variable.
25636 (minus_zero): Likewise.
25637 (plus_infty): Likewise.
25638 (minus_infty): Likewise.
25639 (qnan_value): Likewise.
25640 (max_value): Likewise.
25641 (min_value): Likewise.
25642 (min_subnorm_value): Likewise.
25644 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25646 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25647 uint64_t or uint32_t usage.
25648 * crypt/sha256-block.c: Likewise.
25649 * crypt/sha256-crypt.c: Likewise.
25650 * crypt/sha256.c: Likewise.
25651 * crypt/sha512-block.c: Likewise.
25652 * crypt/sha512-crypt.c: Likewise.
25653 * crypt/sha512.c: Likewise.
25654 * debug/backtrace-tst.c: Likewise.
25655 * debug/pcprofiledump.c: Likewise.
25656 * elf/cache.c: Likewise.
25657 * elf/dl-cache.c: Likewise.
25658 * elf/dl-misc.c: Likewise.
25659 * elf/dl-profile.c: Likewise.
25660 * elf/dl-support.c: Likewise.
25661 * elf/ldconfig.c: Likewise.
25662 * elf/sprof.c: Likewise.
25663 * iconv/dummy-repertoire.c: Likewise.
25664 * iconv/iconv_charmap.c: Likewise.
25665 * iconv/skeleton.c: Likewise.
25666 * iconvdata/8bit-generic.c: Likewise.
25667 * iconvdata/cp737.h: Likewise.
25668 * iconvdata/cp775.h: Likewise.
25669 * iconvdata/ibm1008.h: Likewise.
25670 * iconvdata/ibm1025.h: Likewise.
25671 * iconvdata/ibm1046.h: Likewise.
25672 * iconvdata/ibm1097.h: Likewise.
25673 * iconvdata/ibm1112.h: Likewise.
25674 * iconvdata/ibm1122.h: Likewise.
25675 * iconvdata/ibm1123.h: Likewise.
25676 * iconvdata/ibm1124.h: Likewise.
25677 * iconvdata/ibm1129.h: Likewise.
25678 * iconvdata/ibm1130.h: Likewise.
25679 * iconvdata/ibm1132.h: Likewise.
25680 * iconvdata/ibm1133.h: Likewise.
25681 * iconvdata/ibm1137.h: Likewise.
25682 * iconvdata/ibm1140.h: Likewise.
25683 * iconvdata/ibm1141.h: Likewise.
25684 * iconvdata/ibm1142.h: Likewise.
25685 * iconvdata/ibm1143.h: Likewise.
25686 * iconvdata/ibm1144.h: Likewise.
25687 * iconvdata/ibm1145.h: Likewise.
25688 * iconvdata/ibm1146.h: Likewise.
25689 * iconvdata/ibm1147.h: Likewise.
25690 * iconvdata/ibm1148.h: Likewise.
25691 * iconvdata/ibm1149.h: Likewise.
25692 * iconvdata/ibm1153.h: Likewise.
25693 * iconvdata/ibm1154.h: Likewise.
25694 * iconvdata/ibm1155.h: Likewise.
25695 * iconvdata/ibm1156.h: Likewise.
25696 * iconvdata/ibm1157.h: Likewise.
25697 * iconvdata/ibm1158.h: Likewise.
25698 * iconvdata/ibm1160.h: Likewise.
25699 * iconvdata/ibm1161.h: Likewise.
25700 * iconvdata/ibm1162.h: Likewise.
25701 * iconvdata/ibm1163.h: Likewise.
25702 * iconvdata/ibm1164.h: Likewise.
25703 * iconvdata/ibm1166.h: Likewise.
25704 * iconvdata/ibm1167.h: Likewise.
25705 * iconvdata/ibm12712.h: Likewise.
25706 * iconvdata/ibm1390.h: Likewise.
25707 * iconvdata/ibm1399.h: Likewise.
25708 * iconvdata/ibm16804.h: Likewise.
25709 * iconvdata/ibm4517.h: Likewise.
25710 * iconvdata/ibm4899.h: Likewise.
25711 * iconvdata/ibm4909.h: Likewise.
25712 * iconvdata/ibm4971.h: Likewise.
25713 * iconvdata/ibm5347.h: Likewise.
25714 * iconvdata/ibm803.h: Likewise.
25715 * iconvdata/ibm856.h: Likewise.
25716 * iconvdata/ibm901.h: Likewise.
25717 * iconvdata/ibm902.h: Likewise.
25718 * iconvdata/ibm9030.h: Likewise.
25719 * iconvdata/ibm9066.h: Likewise.
25720 * iconvdata/ibm921.h: Likewise.
25721 * iconvdata/ibm922.h: Likewise.
25722 * iconvdata/ibm9448.h: Likewise.
25723 * iconvdata/isiri-3342.h: Likewise.
25724 * iconvdata/jis0201.h: Likewise.
25725 * include/link.h: Likewise.
25726 * include/netdb.h: Likewise.
25727 * inet/check_native.c: Likewise.
25728 * inet/check_pf.c: Likewise.
25729 * inet/getipv4sourcefilter.c: Likewise.
25730 * inet/getnameinfo.c: Likewise.
25731 * inet/getsourcefilter.c: Likewise.
25732 * inet/htonl.c: Likewise.
25733 * inet/setipv4sourcefilter.c: Likewise.
25734 * inet/setsourcefilter.c: Likewise.
25735 * inet/test-inet6_opt.c: Likewise.
25736 * inet/tst-network.c: Likewise.
25737 * locale/C-collate.c: Likewise.
25738 * locale/C-ctype.c: Likewise.
25739 * locale/C-time.c: Likewise.
25740 * locale/C-translit.h: Likewise.
25741 * locale/loadarchive.c: Likewise.
25742 * locale/programs/3level.h: Likewise.
25743 * locale/programs/charmap.c: Likewise.
25744 * locale/programs/charmap.h: Likewise.
25745 * locale/programs/ld-address.c: Likewise.
25746 * locale/programs/ld-collate.c: Likewise.
25747 * locale/programs/ld-ctype.c: Likewise.
25748 * locale/programs/ld-identification.c: Likewise.
25749 * locale/programs/ld-measurement.c: Likewise.
25750 * locale/programs/ld-messages.c: Likewise.
25751 * locale/programs/ld-monetary.c: Likewise.
25752 * locale/programs/ld-name.c: Likewise.
25753 * locale/programs/ld-numeric.c: Likewise.
25754 * locale/programs/ld-paper.c: Likewise.
25755 * locale/programs/ld-telephone.c: Likewise.
25756 * locale/programs/ld-time.c: Likewise.
25757 * locale/programs/linereader.c: Likewise.
25758 * locale/programs/locale.c: Likewise.
25759 * locale/programs/locarchive.c: Likewise.
25760 * locale/programs/locfile.h: Likewise.
25761 * locale/programs/repertoire.c: Likewise.
25762 * locale/programs/simple-hash.c: Likewise.
25763 * locale/programs/simple-hash.h: Likewise.
25764 * malloc/memusage.c: Likewise.
25765 * malloc/memusagestat.c: Likewise.
25766 * nis/nis_defaults.c: Likewise.
25767 * nis/nis_hash.c: Likewise.
25768 * nis/nis_print.c: Likewise.
25769 * nis/nis_xdr.c: Likewise.
25770 * nscd/connections.c: Likewise.
25771 * nscd/hstcache.c: Likewise.
25772 * nscd/nscd_gethst_r.c: Likewise.
25773 * nscd/nscd_getserv_r.c: Likewise.
25774 * nscd/nscd_helper.c: Likewise.
25775 * nscd/servicescache.c: Likewise.
25776 * nss/makedb.c: Likewise.
25777 * nss/nss_db/db-XXX.c: Likewise.
25778 * nss/nss_db/db-initgroups.c: Likewise.
25779 * nss/nss_db/db-netgrp.c: Likewise.
25780 * nss/nss_files/files-network.c: Likewise.
25781 * nss/nss_files/files-parse.c: Likewise.
25782 * posix/bug-regex5.c: Likewise.
25783 * posix/fnmatch_loop.c: Likewise.
25784 * posix/regcomp.c: Likewise.
25785 * posix/regexec.c: Likewise.
25786 * posix/tst-rfc3484-2.c: Likewise.
25787 * posix/tst-rfc3484-3.c: Likewise.
25788 * posix/tst-rfc3484.c: Likewise.
25789 * resolv/nss_dns/dns-canon.c: Likewise.
25790 * resolv/nss_dns/dns-network.c: Likewise.
25791 * resolv/res_init.c: Likewise.
25792 * resolv/res_mkquery.c: Likewise.
25793 * resolv/tst-aton.c: Likewise.
25794 * stdlib/cxa_atexit.c: Likewise.
25795 * stdlib/cxa_finalize.c: Likewise.
25796 * stdlib/gen-fpioconst.c: Likewise.
25797 * stdlib/strtol_l.c: Likewise.
25798 * string/tst-endian.c: Likewise.
25799 * sunrpc/auth_des.c: Likewise.
25800 * sunrpc/clnt_udp.c: Likewise.
25801 * sunrpc/rtime.c: Likewise.
25802 * sunrpc/svcauth_des.c: Likewise.
25803 * sunrpc/xdr.c: Likewise.
25804 * sunrpc/xdr_intXX_t.c: Likewise.
25805 * sunrpc/xdr_rec.c: Likewise.
25806 * sysdeps/generic/ldconfig.h: Likewise.
25807 * sysdeps/generic/ldsodefs.h: Likewise.
25808 * sysdeps/generic/memusage.h: Likewise.
25809 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25811 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25812 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25813 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25814 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25815 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25816 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25817 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25818 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25819 * sysdeps/posix/getaddrinfo.c: Likewise.
25820 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25821 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25822 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25823 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25824 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25825 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25826 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25827 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25828 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25829 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25830 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25831 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25832 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25833 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25834 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25835 * sysdeps/x86_64/dl-tls.h: Likewise.
25836 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25837 * time/alt_digit.c: Likewise.
25838 * time/era.c: Likewise.
25839 * wcsmbs/tst-c16c32-1.c: Likewise.
25841 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25843 * math/libm-test.inc (struct test_sincos_data): New type.
25844 (RUN_TEST_LOOP_sincos): New macro.
25845 (sincos_test_data): New variable.
25846 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25848 2013-05-16 Richard Henderson <rth@redhat.com>
25850 * math/atest-exp2.c (LIMB64): New macro.
25851 (CONSTSZ): New macro.
25852 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25854 (print_mpn_fp): ... to function scope.
25855 (read_mpn_hex): Remove.
25856 (get_log2): Remove.
25857 (exp2_mpn): Use mp_log2.
25858 (main): Use mp_exp1.
25860 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25862 * math/libm-test.inc: Remove comment about not testing "inexact"
25864 (INEXACT_EXCEPTION): New macro.
25865 (NO_INEXACT_EXCEPTION): Likewise.
25866 (INVALID_EXCEPTION_OK): Update value.
25867 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25868 (OVERFLOW_EXCEPTION_OK): Likewise.
25869 (UNDERFLOW_EXCEPTION_OK): Likewise.
25870 (IGNORE_ZERO_INF_SIGN): Likewise.
25871 (ERRNO_UNCHANGED): Likewise.
25872 (ERRNO_EDOM): Likewise.
25873 (ERRNO_ERANGE): Likewise.
25874 (test_exceptions): Handle testing "inexact" exceptions.
25875 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25876 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25877 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25878 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25880 (rint_towardzero_test_data): Likewise.
25881 (rint_downward_test_data): Likewise.
25882 (rint_upward_test_data): Likewise.
25884 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25885 with OVERFLOW_EXCEPTION.
25886 (exp10_test_data): Likewise.
25887 (exp2_test_data): Likewise.
25888 (expm1_test_data): Likewise.
25889 (lgamma_test_data): Likewise.
25890 (pow_test_data): Likewise.
25891 (tgamma_test_data): Likewise.
25892 (yn_test_data): Remove duplicate test of overflow.
25894 * math/libm-test.inc (struct test_cc_c_data): New type.
25895 (RUN_TEST_LOOP_cc_c): New macro.
25896 (cpow_test_data): New variable.
25897 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25899 * math/libm-test.inc (struct test_f_L_data): New type.
25900 (RUN_TEST_LOOP_f_L): New macro.
25901 (llrint_test_data): New variable.
25902 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25903 (llrint_tonearest_test_data): New variable.
25904 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25905 (llrint_towardzero_test_data): New variable.
25906 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25907 (llrint_downward_test_data): New variable.
25908 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25909 (llrint_upward_test_data): New variable.
25910 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25911 (llround_test_data): New variable.
25912 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25914 2013-05-13 Peter Collingbourne <pcc@google.com>
25916 * math/atest-exp2.c (get_log2): Remove const attribute.
25918 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25920 * math/libm-test.inc (struct test_f_l_data): New type.
25921 (RUN_TEST_LOOP_f_l): New macro.
25922 (lrint_test_data): New variable.
25923 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25924 (lrint_tonearest_test_data): New variable.
25925 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25926 (lrint_towardzero_test_data): New variable.
25927 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25928 (lrint_downward_test_data): New variable.
25929 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25930 (lrint_upward_test_data): New variable.
25931 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25932 (lround_test_data): New variable.
25933 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25935 2013-05-15 Peter Collingbourne <pcc@google.com>
25937 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25938 (EXTRACT_WORDS64) Use where appropriate.
25939 (INSERT_WORDS64) Likewise.
25941 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25942 constraints with x constraints.
25943 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25945 * malloc/obstack.c (_obstack_compat): Add initializer.
25947 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25949 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25950 si_trapno and add si_addr_lsb to _sifields.sigfault.
25951 (si_trapno): Remove macro.
25952 (si_addr_lsb): Define new macro.
25953 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25955 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25957 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25958 instead of TEST_f_l.
25959 (llrint_test_tonearest): Likewise.
25960 (llrint_test_towardzero): Likewise.
25961 (llrint_test_downward): Likewise.
25962 (llrint_test_upward): Likewise.
25963 (llround_test): Likewise.
25965 * math/libm-test.inc (struct test_f_i_data): Add comment.
25966 (RUN_TEST_LOOP_f_b): New macro.
25967 (RUN_TEST_LOOP_f_b_tg): Likewise.
25968 (finite_test_data): New variable.
25969 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25970 (isfinite_test_data): New variable.
25971 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25972 (isinf_test_data): New variable.
25973 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25974 (isnan_test_data): New variable.
25975 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25976 (isnormal_test_data): New variable.
25977 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25978 (issignaling_test_data): New variable.
25979 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25980 (signbit_test_data): New variable.
25981 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25983 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25984 with INVALID_EXCEPTION.
25985 (acosh_test_data): Likewise.
25986 (asin_test_data): Likewise.
25987 (atanh_test_data): Likewise.
25988 (fmod_test_data): Likewise.
25989 (log_test_data): Likewise.
25990 (log10_test_data): Likewise.
25991 (log2_test_data): Likewise.
25992 (pow_test_data): Likewise.
25993 (sqrt_test_data): Likewise.
25994 (y0_test_data): Likewise.
25995 (y1_test_data): Likewise.
25996 (yn_test_data): Likewise.
25998 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26001 * math/libm-test.inc (struct test_ff_i_data): New type.
26002 (RUN_TEST_LOOP_ff_i_tg): New macro.
26003 (isgreater_test_data): New variable.
26004 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26005 (isgreaterequal_test_data): New variable.
26006 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26007 (isless_test_data): New variable.
26008 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26009 (islessequal_test_data): New variable.
26010 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26011 (islessgreater_test_data): New variable.
26012 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26013 (isunordered_test_data): New variable.
26014 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26016 2013-05-14 David S. Miller <davem@davemloft.net>
26018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26020 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26022 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26024 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26026 (struct test_f_i_data): Change type of max_ulp to int.
26028 * math/libm-test.inc (test_ffI_f1_data): New type.
26029 (RUN_TEST_LOOP_ffI_f1): New macro.
26030 (remquo_test_data): New variable.
26031 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26033 * setjmp/tst-setjmp-fp.c: New file.
26034 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26035 (link-libm): New variable.
26036 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26038 * math/libm-test.inc (struct test_f_i_data): New type.
26039 (RUN_TEST_LOOP_f_i): New macro.
26040 (RUN_TEST_LOOP_f_i_tg): Likewise.
26041 (fpclassify_test_data): New variable.
26042 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26043 (ilogb_test_data): New variable.
26044 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26046 * math/libm-test.inc (scalbln_test): Correct function name in END
26049 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26050 (RUN_TEST_LOOP_fI_f1): New macro.
26051 (frexp_test_data): New variable.
26052 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26054 * math/libm-test.inc (struct test_fF_f1_data): New type.
26055 (RUN_TEST_LOOP_fF_f1): New macro.
26056 (modf_test_data): New variable.
26057 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26059 * math/libm-test.inc (struct test_f_f1_data): New type.
26060 (RUN_TEST_LOOP_f_f1): New macro.
26061 (gamma_test_data): New variable.
26062 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26063 (lgamma_test_data): New variable.
26064 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26066 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26068 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26069 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26070 (main): Comment "tls" pseudo-hwcap.
26072 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26074 * math/libm-test.inc (struct test_fl_f_data): New type.
26075 (RUN_TEST_LOOP_fl_f): New variable.
26076 (scalbln_test_data): New variable.
26077 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26079 * math/libm-test.inc (struct test_fi_f_data): New type.
26080 (RUN_TEST_LOOP_fi_f): New macro.
26081 (ldexp_test_data): New variable.
26082 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26083 (scalbn_test_data): New variable.
26084 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26086 * math/libm-test.inc (struct test_c_f_data): New type.
26087 (RUN_TEST_LOOP_c_f): New macro.
26088 (cabs_test_data): New variable.
26089 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26090 (carg_test_data): New variable.
26091 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26092 (cimag_test_data): New variable.
26093 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26094 (creal_test_data): New variable.
26095 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26097 * math/libm-test.inc (struct test_if_f_data): New type.
26098 (RUN_TEST_LOOP_if_f): New macro.
26099 (jn_test_data): New variable.
26100 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26101 (yn_test_data): New variable.
26102 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26104 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26106 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26108 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26109 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26111 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26113 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26114 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26115 (bench-deps): Add bench-timing.h.
26116 * benchtests-bench-skeleton.c: Include bench-timing.h.
26117 (main): Use TIMING_* macros instead of clock_gettime.
26118 * benchtests/bench-timing.h: New file.
26121 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26122 Renamed from _LIB_VERSION.
26123 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26125 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26127 * math/libm-test.inc (struct test_fff_f_data): New type.
26128 (RUN_TEST_LOOP_fff_f): New macro.
26129 (fma_test_data): New variable.
26130 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26131 (fma_towardzero_test_data): New variable.
26132 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26133 (fma_downward_test_data): New variable.
26134 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26135 (fma_upward_test_data): New variable.
26136 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26138 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26139 (struct test_c_c_data): New type.
26140 (RUN_TEST_LOOP_c_c): New macro.
26141 (cacos_test_data): New variable.
26142 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26143 (cacosh_test_data): New variable.
26144 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26145 (casin_test_data): New variable.
26146 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26147 (casinh_test_data): New variable.
26148 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26149 (catan_test_data): New variable.
26150 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26151 (catanh_test_data): New variable.
26152 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26153 (ccos_test_data): New variable.
26154 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26155 (ccosh_test_data): New variable.
26156 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26157 (cexp_test_data): New variable.
26158 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26159 (clog_test_data): New variable.
26160 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26161 (clog10_test_data): New variable.
26162 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26163 (conj_test_data): New variable.
26164 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26165 (cproj_test_data): New variable.
26166 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26167 (csin_test_data): New variable.
26168 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26169 (csinh_test_data): New variable.
26170 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26171 (csqrt_test_data): New variable.
26172 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26173 (ctan_test_data): New variable.
26174 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26175 (ctan_tonearest_test_data): New variable.
26176 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26177 (ctan_towardzero_test_data): New variable.
26178 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26179 (ctan_downward_test_data): New variable.
26180 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26181 (ctan_upward_test_data): New variable.
26182 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26183 (ctanh_test_data): New variable.
26184 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26185 (ctanh_tonearest_test_data): New variable.
26186 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26187 (ctanh_towardzero_test_data): New variable.
26188 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26189 (ctanh_downward_test_data): New variable.
26190 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26191 (ctanh_upward_test_data): New variable.
26192 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26193 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26196 * math/libm-test.inc (struct test_ff_f_data): New type.
26197 (struct test_ff_f_data_nexttoward): Likewise.
26198 (RUN_TEST_LOOP_2_f): New macro.
26199 (RUN_TEST_LOOP_ff_f): Likewise.
26200 (atan2_test_data): New variable.
26201 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26202 (copysign_test_data): New variable.
26203 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26204 (fdim_test_data): New variable.
26205 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26206 (fmax_test_data): New variable.
26207 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26208 (fmin_test_data): New variable.
26209 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26210 (fmod_test_data): New variable.
26211 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26212 (hypot_test_data): New variable.
26213 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26214 (nextafter_test_data): New variable.
26215 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26216 (nexttoward_test_data): New variable.
26217 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26218 (pow_test_data): New variable.
26219 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26220 (pow_tonearest_test_data): New variable.
26221 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26222 (pow_towardzero_test_data): New variable.
26223 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26224 (pow_downward_test_data): New variable.
26225 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26226 (pow_upward_test_data): New variable.
26227 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26228 (remainder_test_data): New variable.
26229 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26230 (scalb_test_data): New variable.
26231 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26232 * sysdeps/i386/fpu/libm-test-ulps: Update.
26234 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26236 * math/libm-test.inc (fma_test): Use max_value instead of local
26238 (nextafter_test): Likewise.
26240 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26241 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26242 (acos_downward_test_data): New variable.
26243 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26244 (acos_upward_test_data): New variable.
26245 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26246 (acosh_test_data): New variable.
26247 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26248 (asin_test_data): New variable.
26249 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26250 (asin_tonearest_test_data): New variable.
26251 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26252 (asin_towardzero_test_data): New variable.
26253 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26254 (asin_downward_test_data): New variable.
26255 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26256 (asin_upward_test_data): New variable.
26257 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26258 (asinh_test_data): New variable.
26259 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26260 (atan_test_data): New variable.
26261 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26262 (atanh_test_data): New variable.
26263 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26264 (cbrt_test_data): New variable.
26265 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26266 (ceil_test_data): New variable.
26267 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26268 (cos_test_data): New variable.
26269 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26270 (cos_tonearest_test_data): New variable.
26271 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26272 (cos_towardzero_test_data): New variable.
26273 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26274 (cos_downward_test_data): New variable.
26275 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26276 (cos_upward_test_data): New variable.
26277 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26278 (cosh_test_data): New variable.
26279 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26280 (cosh_tonearest_test_data): New variable.
26281 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26282 (cosh_towardzero_test_data): New variable.
26283 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26284 (cosh_downward_test_data): New variable.
26285 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26286 (cosh_upward_test_data): New variable.
26287 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26288 (erf_test_data): New variable.
26289 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26290 (erfc_test_data): New variable.
26291 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26292 (exp_test_data): New variable.
26293 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26294 (exp_tonearest_test_data): New variable.
26295 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26296 (exp_towardzero_test_data): New variable.
26297 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26298 (exp_downward_test_data): New variable.
26299 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26300 (exp_upward_test_data): New variable.
26301 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26302 (exp10_test_data): New variable.
26303 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26304 (exp2_test_data): New variable.
26305 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26306 (expm1_test_data): New variable.
26307 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26308 (fabs_test_data): New variable.
26309 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26310 (floor_test_data): New variable.
26311 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26312 (j0_test_data): New variable.
26313 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26314 (j1_test_data): New variable.
26315 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26316 (log_test_data): New variable.
26317 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26318 (log10_test_data): New variable.
26319 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26320 (log1p_test_data): New variable.
26321 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26322 (log2_test_data): New variable.
26323 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26324 (logb_test_data): New variable.
26325 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26326 (logb_downward_test_data): New variable.
26327 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26328 (nearbyint_test_data): New variable.
26329 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26330 (rint_test_data): New variable.
26331 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26332 (rint_tonearest_test_data): New variable.
26333 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26334 (rint_towardzero_test_data): New variable.
26335 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26336 (rint_downward_test_data): New variable.
26337 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26338 (rint_upward_test_data): New variable.
26339 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26340 (round_test_data): New variable.
26341 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26342 (sin_test_data): New variable.
26343 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26344 (sin_tonearest_test_data): New variable.
26345 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26346 (sin_towardzero_test_data): New variable.
26347 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26348 (sin_downward_test_data): New variable.
26349 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26350 (sin_upward_test_data): New variable.
26351 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26352 (sinh_test_data): New variable.
26353 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26354 (sinh_tonearest_test_data): New variable.
26355 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26356 (sinh_towardzero_test_data): New variable.
26357 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26358 (sinh_downward_test_data): New variable.
26359 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26360 (sinh_upward_test_data): New variable.
26361 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26362 (sqrt_test_data): New variable.
26363 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26364 (tan_test_data): New variable.
26365 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26366 (tan_tonearest_test_data): New variable.
26367 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26368 (tan_towardzero_test_data): New variable.
26369 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26370 (tan_downward_test_data): New variable.
26371 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26372 (tan_upward_test_data): New variable.
26373 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26374 (tanh_test_data): New variable.
26375 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26376 (tgamma_test_data): New variable.
26377 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26378 (trunc_test_data): New variable.
26379 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26380 (y0_test_data): New variable.
26381 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26382 (y1_test_data): New variable.
26383 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26384 (significand_test_data): New variable.
26385 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26387 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26390 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26392 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26394 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26396 2013-05-10 Andreas Jaeger <aj@suse.de>
26399 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26400 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26402 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26404 * math/gen-libm-test.pl (adjust_arg): New function.
26405 (special_functions): Handle generating output in both functions
26407 (parse_args): Likewise.
26408 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26409 $in_func argument to parse_args.
26410 * math/libm-test.inc (struct test_f_f_data): New type.
26411 (IF_ROUND_INIT_): New macro.
26412 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26413 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26414 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26415 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26416 (ROUND_RESTORE_): Likewise.
26417 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26418 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26419 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26420 (ROUND_RESTORE_FE_UPWARD): Likewise.
26421 (RUN_TEST_LOOP_f_f): New macro.
26422 (acos_test_data): New variable.
26423 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26424 (acos_tonearest_test_data): New variable.
26425 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26427 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26429 * benchtests/bench-skeleton.c (startup): Fix coding style.
26431 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26434 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26435 negative infinity argument.
26436 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26437 negative infinity argument.
26438 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26439 negative infinity argument.
26440 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26443 2013-05-10 Florian Weimer <fweimer@redhat.com>
26445 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26446 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26447 * iconv/iconv_prog.c (main): Likewise.
26448 * locale/programs/charmap-dir.c (charmap_readdir)
26449 (fopen_uncompressed): Likewise.
26450 * locale/programs/locfile.c (siblings_uncached)
26451 (write_locale_data): Use lstat64 instead of lstat.
26452 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26455 2013-05-10 Andreas Jaeger <aj@suse.de>
26458 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26460 Include <locale.h>.
26462 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26464 * elf/dl-close.c (_dl_close_worker): Add comments.
26466 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26469 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26471 (__ieee754_rem_pio2l): Update comments.
26474 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26476 (__ieee754_rem_pio2l): Update comments.
26478 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26479 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26481 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26484 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26485 (M_PI_34_LOG10El): Likewise.
26486 (M_PI2_LOG10El): Likewise.
26487 (M_PI4_LOG10El): Likewise.
26488 (M_PI_LOG10El): Likewise.
26490 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26494 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26496 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26497 (MINUS_ZERO_INIT): Likewise.
26498 (PLUS_INFTY_INIT): Likewise.
26499 (MINUS_INFTY_INIT): Likewise.
26500 (QNAN_VALUE_INIT): Likewise.
26501 (MAX_VALUE_INIT): Likewise.
26502 (MIN_VALUE_INIT): Likewise.
26503 (MIN_SUBNORM_VALUE_INIT): Likewise.
26504 (plus_zero): Initialize with PLUS_ZERO_INIT.
26505 (minus_zero): Initialize with MINUS_ZERO_INIT.
26506 (plus_infty): Initialize with PLUS_INFTY_INIT.
26507 (minus_infty): Initialize with MINUS_INFTY_INIT.
26508 (qnan_value): Initialize with QNAN_VALUE_INIT.
26509 (max_value): Initialize with MAX_VALUE_INIT.
26510 (min_value): Initialize with MIN_VALUE_INIT.
26511 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26513 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26514 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26515 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26516 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26518 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26519 (RUN_TEST_2_f): Likewise.
26520 (RUN_TEST_ff_f): Likewise.
26521 (RUN_TEST_fi_f): Likewise.
26522 (RUN_TEST_fl_f): Likewise.
26523 (RUN_TEST_fff_f): Likewise.
26524 (RUN_TEST_c_f): Likewise.
26525 (RUN_TEST_f_f1): Likewise.
26526 (RUN_TEST_fF_f1): Likewise.
26527 (RUN_TEST_fI_f1): Likewise.
26528 (RUN_TEST_ffI_f1): Likewise.
26529 (RUN_TEST_c_c): Likewise.
26530 (RUN_TEST_cc_c): Likewise.
26531 (RUN_TEST_f_i): Likewise.
26532 (RUN_TEST_f_i_tg): Likewise.
26533 (RUN_TEST_ff_i_tg): Likewise.
26534 (RUN_TEST_f_b): Likewise.
26535 (RUN_TEST_f_b_tg): Likewise.
26536 (RUN_TEST_f_l): Likewise.
26537 (RUN_TEST_f_L): Likewise.
26538 (RUN_TEST_sincos): Likewise.
26539 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26540 whether to show exceptions. Do not include ");\n" in return
26542 (special_functions): Output call to RUN_TEST_sincos instead of
26543 check_float calls. Update calls to new_test.
26544 (parse_args): Output call to single RUN_TEST_* macro instead of
26545 check_* calls and other assignments. Update calls to new_test.
26551 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26552 input to result for tgamma overflow.
26553 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26554 (gamma_coeff): New variable.
26555 (NCOEFF): New macro.
26556 (gamma_positive): New function.
26557 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26558 underflow here. Use gamma_positive instead of exp (lgamma) for
26560 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26561 (gamma_coeff): New variable.
26562 (NCOEFF): New macro.
26563 (gammaf_positive): New function.
26564 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26565 underflow here. Use gamma_positive instead of exp (lgamma) for
26567 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26568 (gamma_coeff): New variable.
26569 (NCOEFF): New macro.
26570 (gammal_positive): New function.
26571 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26572 underflow here. Use gamma_positive instead of exp (lgamma) for
26574 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26575 (gamma_coeff): New variable.
26576 (NCOEFF): New macro.
26577 (gammal_positive): New function.
26578 (__ieee754_gammal_r): Handle positive infinity, overflow and
26579 underflow here. Handle NaN the same as positive infinity. Remove
26580 check x < 0xffffffff for negative integers. Use gamma_positive
26581 instead of exp (lgamma) for other arguments.
26582 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26583 (gamma_coeff): New variable.
26584 (NCOEFF): New macro.
26585 (gammal_positive): New function.
26586 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26587 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26588 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26590 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26591 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26592 * sysdeps/generic/math_private.h (__gamma_productf): New
26594 (__gamma_product): Likewise.
26595 (__gamma_productl): Likewise.
26596 * math/Makefile (libm-calls): Add gamma_product.
26597 * math/libm-test.inc (tgamma_test): Add more tests.
26598 * sysdeps/i386/fpu/libm-test-ulps: Update.
26599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26601 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26603 * benchtests/bench-skeleton.c (main): Preheat CPU.
26605 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26607 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26609 2013-05-07 Roland McGrath <roland@hack.frob.com>
26611 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26612 and _dl_skip_args_internal.
26614 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26616 * manual/message.texi (Message Translation): Talk about users.
26617 Message to key mapping impacts design.
26619 2013-05-06 Roland McGrath <roland@hack.frob.com>
26621 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26623 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26625 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26626 * sysdeps/wordsize-64/glob64.c: ... here.
26628 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26629 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26632 * debug/getlogin_r_chk.c: Moved to ...
26633 * login/getlogin_r_chk.c: ... here.
26634 * debug/Makefile (routines): Move getlogin_r_chk to ...
26635 * login/Makefile (routines): ... here.
26636 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26637 * login/Versions (libc: GLIBC_2.4): ... here.
26639 * io/poll.c (__poll): Renamed from poll.
26640 Add libc_hidden_def.
26641 (poll): Define as weak alias.
26643 * debug/ptsname_r_chk.c: Moved to ...
26644 * login/ptsname_r_chk.c: ... here.
26645 * debug/Makefile (routines): Move ptsname_r_chk to ...
26646 * login/Makefile (routines): ... here.
26647 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26648 * login/Versions (libc: GLIBC_2.4): ... here.
26650 * posix/getlogin.c: Moved to ...
26651 * login/getlogin.c: ... here.
26652 * posix/getlogin_r.c: Moved to ...
26653 * login/getlogin_r.c: ... here.
26654 * posix/getlogin_r.c: Moved to ...
26655 * login/getlogin_r.c: ... here.
26656 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26657 * login/Makefile (routines): ... here.
26658 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26659 * login/Versions (libc: GLIBC_2.0): ... here.
26661 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26662 (setrlimit): Define as weak alias.
26664 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26665 Call __ names for open, ftruncate, and close.
26666 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26667 (truncate): Define as weak alias.
26669 2013-05-06 Joseph Myers <joseph@codesourcery.com>
26671 * math/gen-libm-test.pl (parse_args): Initialize x before each
26672 test of frexp, modf and remquo.
26674 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26675 test signgam value.
26677 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26681 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26685 2013-05-06 Roland McGrath <roland@hack.frob.com>
26687 * elf/dl-writev.h: New file.
26688 * elf/dl-misc.c: Include it.
26689 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26690 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26692 2013-05-04 Joseph Myers <joseph@codesourcery.com>
26694 * math/libm-test.inc (noXFails): Remove variable.
26695 (noXPasses): Likewise.
26696 (BUILD_COMPLEX_INT): Remove macro.
26697 (print_screen): Remove xfail argument.
26698 (print_screen_max_error): Likewise.
26699 (update_stats): Likewise.
26700 (print_max_error): Likewise. Update calls to other affected
26702 (print_complex_max_error): Likewise.
26703 (test_single_exception): Update calls to print_screen.
26704 (test_single_errno): Likewise.
26705 (check_float_internal): Remove xfail argument. Update calls to
26706 other affected functions.
26707 (check_float): Likewise.
26708 (check_complex): Likewise.
26709 (check_int): Likewise.
26710 (check_long): Likewise.
26711 (check_bool): Likewise.
26712 (check_longlong): Likewise.
26713 (main): Don't print noXFails and noXPasses.
26714 * math/gen-libm-test.pl (top level): Don't mention expected
26715 failure handling in comment.
26716 (new_test): Don't handle expected failures.
26717 (parse_args): Don't mention expected failure handling in comment.
26718 (generate_testfile): Don't handle expected failures.
26719 (parse_ulps): Likewise.
26720 (print_ulps_file): Likewise.
26721 (get_failure): Remove function.
26722 (output_test): Don't handle expected failures.
26723 * make/README.libm-test: Don't mention expected failure handling.
26725 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26726 (minus_zero): Likewise.
26727 (plus_infty): Likewise.
26728 (minus_infty): Likewise.
26729 (qnan_value): Likewise.
26730 (max_value): Likewise.
26731 (min_value): Likewise.
26732 (min_subnorm_value): Likewise.
26733 (initialize): Do not initialize those variables dynamically.
26735 2013-05-03 Roland McGrath <roland@hack.frob.com>
26737 * io/open.c (__open_2): Moved to ...
26738 * io/open_2.c: ... this new file.
26739 * io/open64.c (__open64_2): Moved to ...
26740 * io/open64_2.c: ... this new file.
26741 * io/openat.c (__openat_2): Moved to ...
26742 * io/openat_2.c: ... this new file.
26743 * io/openat64.c (__openat64_2): Moved to ...
26744 * io/openat64_2.c: ... this new file.
26745 * io/Makefile (routines): Add them.
26746 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26747 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26748 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26749 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26750 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26751 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26752 (__openat64): Add hidden_ver.
26753 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26754 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26756 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26757 Separately conditionalize setting of GLRO(dl_sysinfo) so
26758 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26759 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26761 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26763 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26764 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26766 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26767 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26768 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26769 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26770 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26772 2013-05-03 Joseph Myers <joseph@codesourcery.com>
26774 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26775 test signgam value.
26777 * math/libm-test.inc (hypot_test): Do not use
26778 IGNORE_ZERO_INF_SIGN.
26780 2013-05-03 Andreas Jaeger <aj@suse.de>
26782 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26784 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26785 (PF_MAX): Adjust for VSOCK change.
26787 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26791 2013-05-02 Carlos O'Donell <carlos@redhat.com>
26794 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26795 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26796 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26798 2013-05-02 David S. Miller <davem@davemloft.net>
26800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26802 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
26804 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26806 2013-05-01 Roland McGrath <roland@hack.frob.com>
26808 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26810 2013-05-01 Richard Smith <richard@metafoo.co.uk>
26813 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26814 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26815 Use __attribute__ ((__gnu_inline__)).
26816 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26817 Don't use __attribute__ ((__gnu_inline__)).
26819 2013-05-01 Joseph Myers <joseph@codesourcery.com>
26822 * math/s_catan.c (__catan): Handle small real or imaginary part of
26823 input specially to avoid spurious underflow.
26824 * math/s_catanf.c (__catanf): Likewise.
26825 * math/s_catanh.c (__catanh): Likewise.
26826 * math/s_catanhf.c (__catanhf): Likewise.
26827 * math/s_catanhl.c (__catanhl): Likewise.
26828 * math/s_catanl.c (__catanl): Likewise.
26829 * math/libm-test.inc (catan_test): Add more tests.
26830 (catanh_test): Likewise.
26831 * sysdeps/i386/fpu/libm-test-ulps: Update.
26832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26834 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26838 2013-04-30 Joseph Myers <joseph@codesourcery.com>
26841 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26842 accurately for denominator in atan2.
26843 * math/s_catanf.c (__catanf): Likewise.
26844 * math/s_catanh.c (__catanh): Likewise.
26845 * math/s_catanhf.c (__catanhf): Likewise.
26846 * math/s_catanhl.c (__catanhl): Likewise.
26847 * math/s_catanl.c (__catanl): Likewise.
26848 * math/libm-test.inc (catan_test): Add more tests.
26849 (catanh_test): Likewise.
26850 * sysdeps/i386/fpu/libm-test-ulps: Update.
26851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26853 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26855 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26857 * benchtests/Makefile (bench): Remove slow benchmarks.
26858 * benchtests/atan-inputs: Add slow benchmark inputs.
26859 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26860 (BENCH_FUNC): Accept variant offset.
26862 * benchtests/bench-skeleton.c (main): Run benchmark for each
26864 * benchtests/cos-inputs: Add slow benchmark inputs.
26865 * benchtests/exp-inputs: Likewise.
26866 * benchtests/pow-inputs: Likewise.
26867 * benchtests/sin-inputs: Likewise.
26868 * benchtests/slowatan-inputs: Remove.
26869 * benchtests/slowatan.c: Remove.
26870 * benchtests/slowcos-inputs: Remove.
26871 * benchtests/slowcos.c: Remove.
26872 * benchtests/slowexp-inputs: Remove.
26873 * benchtests/slowexp.c: Remove.
26874 * benchtests/slowpow-inputs: Remove.
26875 * benchtests/slowpow.c: Remove.
26876 * benchtests/slowsin-inputs: Remove.
26877 * benchtests/slowsin.c: Remove.
26878 * benchtests/slowtan-inputs: Remove.
26879 * benchtests/slowtan.c: Remove.
26880 * benchtests/tan-inputs: Add slow benchmark inputs.
26881 * scripts/bench.pl: Parse comments and directives.
26883 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26885 ($(objpfx)bench-%.c): Remove *-ITER.
26886 * benchtests/bench-modf.c: Remove definition of ITER.
26887 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26888 (main): Loop for DURATION seconds instead of fixed number of
26890 * scripts/bench.pl: Don't expect iterations in parameters.
26892 2013-04-29 Roland McGrath <roland@hack.frob.com>
26894 * io/fchdir.c (__fchdir): Renamed from fchdir.
26895 (fchdir): Define as weak alias.
26897 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26899 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26900 (ERRNO_EDOM): Likewise.
26901 (ERRNO_ERANGE): Likewise.
26902 (noErrnoTests): New variable.
26903 (init_max_error): Set errno to 0.
26904 (test_single_errno): New function.
26905 (test_errno): Likewise.
26906 (check_float_internal): Call test_errno. Set errno to 0.
26907 (check_complex): Refer to errno tests in comment.
26908 (check_int): Call test_errno. Set errno to 0.
26909 (check_long): Likewise.
26910 (check_bool): Likewise.
26911 (check_longlong): Likewise.
26912 (cos_test): Use ERRNO_* flags for errno tests instead of
26914 (expm1_test): Likewise.
26915 (fmod_test): Likewise.
26916 (ilogb_test): Likewise.
26917 (lgamma_test): Likewise.
26918 (pow_test): Likewise.
26919 (remainder_test): Likewise.
26920 (sin_test): Likewise.
26921 (tan_test): Likewise.
26922 (yn_test): Likewise.
26923 (initialize): Set errno to 0.
26924 (main): Print number of errno tests.
26925 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26927 2013-04-29 Andreas Jaeger <aj@suse.de>
26930 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26934 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26935 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26939 * stdlib/random.c (__initstate): Return NULL if
26943 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26944 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26947 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26951 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26953 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26954 of individual tests.
26955 (casin_test): Likewise.
26956 (casinh_test): Likewise.
26958 2013-04-27 Joseph Myers <joseph@codesourcery.com>
26961 * math/s_catan.c (__catan): Handle arguments with large real or
26962 imaginary part separately without squaring.
26963 * math/s_catanf.c (__catanf): Likewise.
26964 * math/s_catanh.c (__catanh): Likewise.
26965 * math/s_catanhf.c (__catanhf): Likewise.
26966 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26968 (__catanhl): Handle arguments with large real or imaginary part
26969 separately without squaring.
26970 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26972 (__catanl): Handle arguments with large real or imaginary part
26973 separately without squaring.
26974 * math/libm-test.inc (catan_test): Add more tests.
26975 (catanh_test): Likewise.
26976 * sysdeps/i386/fpu/libm-test-ulps: Update.
26977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26979 2013-04-27 Andreas Jaeger <aj@suse.de>
26982 * stdlib/stdlib.h: Update guards for qecvt.
26983 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26986 2013-04-27 Allan McRae <allan@archlinux.org>
26988 * sysdeps/i386/fpu/libm-test-ulps: Update.
26990 2013-04-26 Joseph Myers <joseph@codesourcery.com>
26993 * math/s_catan.c: Include <float.h>.
26994 (__catan): Ensure underflow exception occurs for underflowed
26996 * math/s_catanf.c: Include <float.h>.
26997 (__catanf): Ensure underflow exception occurs for underflowed
26999 * math/s_catanh.c: Include <float.h>.
27000 (__catanh): Ensure underflow exception occurs for underflowed
27002 * math/s_catanhf.c: Include <float.h>.
27003 (__catanhf): Ensure underflow exception occurs for underflowed
27005 * math/s_catanhl.c: Include <float.h>.
27006 (__catanhl): Ensure underflow exception occurs for underflowed
27008 * math/s_catanl.c: Include <float.h>.
27009 (__catanl): Ensure underflow exception occurs for underflowed
27011 * math/libm-test.inc (catan_test): Add more tests.
27012 (catanh_test): Likewise.
27015 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27016 underflowed result.
27017 * math/s_ccoshf.c (__ccoshf): Likewise.
27018 * math/s_ccoshl.c (__ccoshl): Likewise.
27019 * math/s_csin.c (__csin): Likewise.
27020 * math/s_csinf.c (__csinf): Likewise.
27021 * math/s_csinh.c (__csinh): Likewise.
27022 * math/s_csinhf.c (__csinhf): Likewise.
27023 * math/s_csinhl.c (__csinhl): Likewise.
27024 * math/s_csinl.c (__csinl): Likewise.
27025 * math/libm-test.inc (ccos_test): Add more tests.
27026 (ccosh_test): Likewise.
27027 (csin_test): Likewise.
27028 (csinh_test): Likewise.
27030 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27032 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27033 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27034 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27035 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27036 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27037 powerpc/power5+/fpu folders.
27038 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27041 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27045 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27047 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27048 additions to variable.
27049 [$(config-machine) = x86_64] (modules-names): Likewise.
27050 ($(objpfx)tst-audit3): Remove dependency.
27051 ($(objpfx)tst-audit3.out): Likewise.
27052 ($(objpfx)tst-audit4): Likewise.
27053 ($(objpfx)tst-audit4.out): Likewise.
27054 ($(objpfx)tst-audit5): Likewise.
27055 ($(objpfx)tst-audit5.out): Likewise.
27056 ($(objpfx)tst-audit6): Likewise.
27057 ($(objpfx)tst-audit6.out): Likewise.
27058 ($(objpfx)tst-audit7): Likewise.
27059 ($(objpfx)tst-audit7.out): Likewise.
27060 (tst-audit3-ENV): Remove variable.
27061 (tst-audit4-ENV): Likewise.
27062 (tst-audit5-ENV): Likewise.
27063 (tst-audit6-ENV): Likewise.
27064 (tst-audit7-ENV): Likewise.
27065 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27066 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27067 addition to variable.
27068 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27069 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27070 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27071 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27072 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27073 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27074 tst-audit3, tst-audit4 and tst-audit5.
27075 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27076 tst-audit6 and tst-audit7.
27077 [$(subdir) = elf] (modules-names): Add audit modules for those
27079 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27080 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27081 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27082 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27083 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27084 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27085 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27086 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27087 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27088 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27089 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27090 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27091 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27092 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27093 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27094 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27096 [$(subdir) = elf && $(config-cflags-avx) = yes]
27097 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27098 [$(subdir) = elf && $(config-cflags-avx) = yes]
27099 (CFLAGS-tst-auditmod4a.c): Likewise.
27100 [$(subdir) = elf && $(config-cflags-avx) = yes]
27101 (CFLAGS-tst-auditmod4b.c): Likewise.
27102 [$(subdir) = elf && $(config-cflags-avx) = yes]
27103 (CFLAGS-tst-auditmod6b.c): Likewise.
27104 [$(subdir) = elf && $(config-cflags-avx) = yes]
27105 (CFLAGS-tst-auditmod6c.c): Likewise.
27106 [$(subdir) = elf && $(config-cflags-avx) = yes]
27107 (CFLAGS-tst-auditmod7b.c): Likewise.
27108 * elf/tst-audit3.c: Move to ...
27109 * sysdeps/x86_64/tst-audit3.c: ... here.
27110 * elf/tst-audit4.c: Move to ...
27111 * sysdeps/x86_64/tst-audit4.c: ... here.
27112 * elf/tst-audit5.c: Move to ...
27113 * sysdeps/x86_64/tst-audit5.c: ... here.
27114 * elf/tst-audit6.c: Move to ...
27115 * sysdeps/x86_64/tst-audit6.c: ... here.
27116 * elf/tst-audit7.c: Move to ...
27117 * sysdeps/x86_64/tst-audit7.c: ... here.
27118 * elf/tst-auditmod3a.c: Move to ...
27119 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27120 * elf/tst-auditmod3b.c: Move to ...
27121 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27122 * elf/tst-auditmod4a.c: Move to ...
27123 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27124 * elf/tst-auditmod4b.c: Move to ...
27125 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27126 * elf/tst-auditmod5a.c: Move to ...
27127 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27128 * elf/tst-auditmod5b.c: Move to ...
27129 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27130 * elf/tst-auditmod6a.c: Move to ...
27131 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27132 * elf/tst-auditmod6b.c: Move to ...
27133 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27134 * elf/tst-auditmod6c.c: Move to ...
27135 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27136 * elf/tst-auditmod7a.c: Move to ...
27137 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27138 * elf/tst-auditmod7b.c: Move to ...
27139 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27141 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27144 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27145 define unconditionally.
27146 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27147 define unconditionally.
27148 (INT8_C, INT16_C, etc.): Likewise.
27150 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27152 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27153 __ehdr_start with hidden visibility.
27155 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27157 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27159 * math/libm-test.inc (cos_test): Use accurate hex constants.
27160 (sincost_test): Likewise.
27162 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27164 * math/libm-test.inc (catan_test): Add more tests.
27165 (catanh_test): Likewise.
27167 * math/s_catanf.c (__catanf): Use suffixed floating-point
27169 * math/s_catanhf.c (__catanhf): Likewise.
27170 * math/s_catanhl.c (__catanhl): Likewise.
27171 * math/s_catanl.c (__catanl): Likewise.
27174 * math/s_catan.c (__catan): Calculate imaginary part of result
27175 with log1p not log unless computing log of number close to 0.
27176 * math/s_catanf.c (__catanf): Likewise.
27177 * math/s_catanl.c (__catanl): Likewise.
27178 * math/s_catanh.c (__catanh): Calculate real part of result with
27179 log1p not log unless computing log of number close to 0.
27180 * math/s_catanhf.c (__catanhf): Likewise.
27181 * math/s_catanhl.c (__catanhl): Likewise.
27182 * math/libm-test.inc (catan_test): Add more tests.
27183 (catanh_test): Likewise.
27184 * sysdeps/i386/fpu/libm-test-ulps: Update.
27185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27187 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27189 * benchtests/Makefile: Mention files in which fast and slow
27190 paths of math functions are implemented.
27192 2013-04-23 Roland McGrath <roland@hack.frob.com>
27194 * sysdeps/posix/timespec_get.c: New file.
27196 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27198 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27200 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27202 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27203 powerpc/power5/fpu folders.
27204 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27205 * benchtests/Makefile: Add modf testcase.
27206 * benchtests/bench-modf.c: New file: Benchmark test for mo
27208 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27211 * time/Makefile (tests): Add tst-strptime-whitespace.
27212 * time/strptime_l.c (get_number): Use ISSPACE.
27213 (__strptime_internal): Likewise.
27214 * time/tst-strptime-whitespace.c: New test case.
27216 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27218 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27220 (_nss_files_init): Set it here.
27222 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27224 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27225 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27228 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27230 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27232 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27234 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27237 2013-04-21 David S. Miller <davem@davemloft.net>
27239 * po/ru.po: Update Russion translation from translation project.
27241 2013-04-17 Adam Conrad <adconrad@0c3.net>
27243 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27246 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27248 * configure.in: Remove i386 configure warning. Remove i386 case.
27249 * configure: Regenerate.
27250 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27251 Add example to error message.
27252 * sysdeps/i386/configure: Regenerate.
27254 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27256 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27258 * benchtests/cos-inputs: New file.
27259 * benchtests/slowcos-inputs: New file.
27260 * benchtests/slowcos.c: New file.
27261 * benchtests/slowtan-inputs: New file.
27262 * benchtests/slowtan.c: New file.
27263 * benchtests/tan-inputs: New file.
27265 2013-04-16 Roland McGrath <roland@hack.frob.com>
27267 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27270 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27272 * benchtests/Makefile: Include cppflags-iterator.mk to add
27273 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27275 * Makefile.in (bench-clean): New target.
27276 * benchtests/Makefile (bench-clean): Likewise.
27278 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27280 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27282 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27284 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27286 2013-04-15 Andreas Schwab <schwab@suse.de>
27288 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27290 * nscd/pwdcache.c (cache_addpw): Likewise.
27291 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27294 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27296 * benchtests/Makefile (bench): Write all output to
27297 bench-out.tmp together.
27299 2013-04-15 Andreas Schwab <schwab@suse.de>
27301 * nscd/nscd.c (main): Don't fork again after closing files.
27303 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27305 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27307 * benchtests/Rules (bench-deps): Collect dependencies into a
27308 single variable. Add Makefile to dependencies.
27309 ($(objpfx)bench-%.c): Depend on bench-deps.
27311 2013-04-12 Roland McGrath <roland@hack.frob.com>
27312 Xavier Roche <roche+kml2@exalead.com>
27315 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27316 just that it's a file descriptor.
27317 * manual/llio.texi (Synchronizing AIO Operations): Update description
27318 for EBADF error from aio_fsync.
27320 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27322 * Rules (bench): Move target definition...
27323 * benchtests/Makefile: ... here.
27325 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27327 * math/libm-test.inc (cos_test): Fix PI/2 test.
27328 (sincos_test): Likewise.
27329 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27330 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27332 2013-04-11 Andreas Schwab <schwab@suse.de>
27335 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27336 accept exponent character only when digits were seen.
27337 * stdio-common/Makefile (tests): Add bug26.
27338 * stdio-common/bug26.c: New file.
27341 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27344 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27346 * Makeconfig (rtld-prefix): Define built linker prefix.
27347 * Rules (run-bench): Use it.
27348 * math/Makefile (run-regen-ulps): Likewise.
27350 * Rules (bench): Remove eval.
27352 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27353 Roland McGrath <roland@hack.frob.com>
27354 Ondrej Bilka <neleai@seznam.cz>
27357 * time/getdate.c: Include ctype.h and alloca.h.
27358 (__getdate_r): Trim leading and trailing spaces of input.
27359 * time/tst-getdate.c (tests): Add tests with leading and
27362 2013-04-08 Roland McGrath <roland@hack.frob.com>
27365 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27366 when computing value.
27368 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27370 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27371 Use testrun.sh to run libm tests.
27374 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27376 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27379 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27381 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27383 * Makefile.in (regen-ulps): New target.
27384 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27385 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27386 [ifneq (no,$(PERL)] (regen-ulps): New target.
27387 [ifeq (no,$(PERL)] (regen-ulps): New target.
27388 * math/libm-test.inc (ulps_file_name): Define.
27389 (output_dir): New variable.
27390 (options): Add "output-dir" option.
27391 (parse_opt): Handle 'o' case.
27392 (main): If output_dir is non-NULL use it as a prefix
27394 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27396 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27398 [BZ #10060, #10062]
27399 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27400 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27401 fail configure if __sync_val_compare_and_swap is not inlined.
27402 * sysdeps/i386/configure: Regenerate.
27403 * configure.in: Build for i686 when configured for i386.
27404 * configure: Regenerate.
27405 * README: Remove i386 reference.
27407 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27409 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27410 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27412 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27414 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27415 (lmsnanval): New variables.
27416 (F): Add conversion tests.
27417 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27418 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27420 * stdio-common/tstdiomisc.c (F): Properly collect individual
27423 [BZ #14686, #15336]
27424 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27425 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27426 Instead, use input NaN values or generate a qNaN by arithmetic
27427 operation. Also fix bugs to comply with the standard.
27428 * math/libm-test.inc (remainder_test): Add more tests.
27430 [BZ #15335, #15342]
27431 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27433 input NaN values or generate a qNaN by arithmetic operation.
27435 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27438 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27441 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27444 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27445 underflowed result.
27446 * math/s_cexpf.c (__cexpf): Likewise.
27447 * math/s_cexpl.c (__cexpl): Likewise.
27448 * math/libm-test.inc (cexp_test): Add more tests.
27450 2013-04-03 Andreas Schwab <schwab@suse.de>
27453 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27454 order arrays from heap if bigger than alloca cutoff.
27456 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27458 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27459 (SNAN_TESTS_double): Refer to GCC PR56831.
27460 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27463 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27465 * Rules (bench): Move bench.out after the run is complete.
27467 * Rules (bench): Echo currently running benchmark.
27469 * benchtests/Makefile (bench): Add atan and slowatan.
27470 * benchtests/atan-inputs: New file.
27471 * benchtests/slowatan-inputs: New file.
27472 * benchtests/slowatan.c: New file.
27474 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27475 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27479 * sysdeps/unix/sysv/linux/kernel-features.h
27480 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27481 __ASSUME_XFS_RESTRICTED_CHOWN.
27482 * sysdeps/unix/sysv/linux/pathconf.c
27483 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27484 Save and restore errno.
27486 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27489 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27490 arguments using __kernel_casinh.
27491 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27492 arguments using __kernel_casinhf.
27493 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27494 arguments using __kernel_casinhl.
27495 * math/libm-test.inc (cacosh_test): Add more tests.
27496 * sysdeps/i386/fpu/libm-test-ulps: Update.
27497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27499 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27501 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27504 * bench/Makefile (bench): Add sin and slowsin.
27505 * benchtests/sin-inputs: New file.
27506 * benchtests/slowsin-inputs: New file.
27507 * benchtests/slowsin.c: New file.
27509 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27510 (bench): Add slowexp and slowpow.
27511 (exp-ITER): Increase iterations.
27512 (pow-ITER): Likewise.
27513 * benchtests/exp-inputs: Change input.
27514 * benchtests/pow-inputs: Likewise.
27515 * benchtests/slowexp-inputs: New file.
27516 * benchtests/slowexp.c: New file.
27517 * benchtests/slowpow-inputs: New file.
27518 * benchtests/slowpow.c: New file.
27520 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27522 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27524 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27525 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27526 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27527 * benchtests/Makefile: Add rint benchtest.
27528 * benchtests/rint-inputs: Input for rint benchtest.
27530 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27532 * Versions.def (libm): Add GLIBC_2.18.
27533 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27534 hidden libm prototypes.
27535 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27536 * math/Makefile (libm-calls): Add s_issignaling.
27537 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27538 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27539 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27541 * math/math.h [__USE_GNU] (issignaling): New macro.
27542 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27543 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27544 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27545 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27548 * manual/arith.texi (issignaling): New section.
27549 * manual/libm-err-tab.pl (@all_functions): Update comment.
27550 * math/gen-libm-test.pl (parse_args): Apply special handling for
27552 * math/libm-test.inc (print_float, issignaling_test): New
27554 (check_float_internal): Add issignaling checks.
27555 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27556 default definition.
27557 * sysdeps/powerpc/math-tests.h: New file.
27558 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27560 * math/test-snan.c (TEST_FUNC): Likewise.
27562 2013-03-30 David S. Miller <davem@davemloft.net>
27564 * po/de.po: Update from translation team.
27566 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27569 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27570 imaginary part less than 1.0 and real part less than 0.5
27572 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27573 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27574 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27575 (cacos_test): Add more tests.
27576 (casin_test): Likewise.
27577 (casinh_test): Likewise.
27578 * sysdeps/i386/fpu/libm-test-ulps: Update.
27579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27581 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27583 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27584 ONE with its value.
27586 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27587 (__pow_mp): Replace ONE and MONE with their values.
27588 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27589 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27590 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27591 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27592 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27593 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27595 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27597 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27598 (__pow_mp): Replace ZERO and MZERO with their values.
27599 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27600 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27601 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27603 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27604 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27607 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27609 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27611 2013-03-28 Roland McGrath <roland@hack.frob.com>
27613 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27614 Declare with __attribute__ ((weak)).
27615 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27616 Call __call_tls_dtors only if it's not NULL.
27618 2013-03-28 Roland McGrath <roland@hack.frob.com>
27620 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27621 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27622 magic __ehdr_start linker symbol if it's defined.
27623 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27624 them up here if it was already done.
27626 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27627 (_dl_aux_init): Use const in cast when setting it.
27628 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27629 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27630 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27632 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27634 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27635 * csu/libc-tls.c: Nor here.
27636 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27638 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27639 (__libc_message): Never call vsyslog.
27641 2013-03-28 Alan Modra <amodra@gmail.com>
27643 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27645 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27648 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27651 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27655 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27658 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27659 Don't add gid passed as argument.
27661 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27663 2013-03-27 Joseph Myers <joseph@codesourcery.com>
27666 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27667 imaginary part between 1.0 and 1.5 and real part less than 0.5
27669 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27670 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27671 * math/libm-test.inc (cacos_test): Add more tests.
27672 (casin_test): Likewise.
27673 (casinh_test): Likewise.
27674 * sysdeps/i386/fpu/libm-test-ulps: Update.
27675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27677 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27679 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27682 (denorm): Likewise.
27683 (__dbl_mp): Likewise.
27684 (add_magnitudes): Likewise.
27685 (sub_magnitudes): Likewise.
27693 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27695 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27696 (__dubcos): Likewise.
27697 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27698 (__ieee754_acos): Likewise.
27699 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27700 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27701 (__exp1): Likewise.
27702 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27703 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27705 (my_log2): Likewise.
27706 (checkint): Likewise.
27707 * sysdeps/ieee754/dbl-64/e_remainder.c
27708 (__ieee754_remainder): Likewise.
27709 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27710 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27711 (bsloww): Likewise.
27712 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27714 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27715 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27716 MANTISSA_STORE_T to store computations on mantissa. Use
27717 macros for rounding and division.
27718 (denorm): Likewise.
27719 (__dbl_mp): Likewise.
27720 (add_magnitudes): Likewise.
27721 (sub_magnitudes): Likewise.
27724 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27725 powers of two in terms of TWOPOW macro.
27726 (mp_no): Make type of mantissa as MANTISSA_T.
27727 [!RADIXI]: Define RADIXI.
27728 [!TWO52]: Define TWO52.
27729 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27731 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27733 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27734 llroundl symbol when building for PPC32.
27736 2013-03-24 Mark H Weaver <mhw@netris.org>
27738 * manual/arith.texi (Normalization Functions): Fix prototypes for
27739 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27741 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27745 high value to check if expl overflow.
27746 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27747 to check for underflow and overflow.
27748 * math/libm-test.inc: Add exp test.
27750 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
27753 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27756 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27758 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27761 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27763 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27764 wrap blocks consisting of several statements.
27766 * sysdeps/generic/math-tests.h: New file.
27767 * sysdeps/i386/fpu/math-tests.h: Likewise.
27768 * math/test-snan.c: Include it.
27769 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27771 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27774 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27775 (__ieee754_j0l): Do not improve calculations using cos of twice
27776 input for inputs above LDBL_MAX / 2.0L.
27777 (__ieee754_y0l): Likewise.
27778 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27779 (__ieee754_j1l): Do not improve calculations using cos of twice
27780 input for inputs above LDBL_MAX / 2.0L.
27781 (__ieee754_y1l): Likewise.
27782 * math/libm-test.inc (j0_test): Add another test.
27783 (j1_test): Likewise.
27784 (y0_test): Likewise.
27785 (y1_test): Likewise.
27786 * sysdeps/i386/fpu/libm-test-ulps: Update.
27788 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27790 * Rules ($(objpfx)bench-%.c): Include code from a C source
27793 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27796 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27797 imaginary part 1.0 and real part less than 0.5 specially.
27798 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27799 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27800 * math/libm-test.inc (cacos_test): Add more tests.
27801 (casin_test): Likewise.
27802 (casinh_test): Likewise.
27803 * sysdeps/i386/fpu/libm-test-ulps: Update.
27804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27806 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27808 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27809 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27811 2013-03-20 Joseph Myers <joseph@codesourcery.com>
27813 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27814 * config.make.in (config-cflags-sse4): Remove variable.
27815 (config-cflags-avx): Likewise.
27816 (config-cflags-sse2avx): Likewise.
27817 (config-cflags-novzeroupper): Likewise.
27818 (config-asflags-i686): Likewise.
27819 (have-mfma4): Likewise.
27820 (have-as-vis3): Likewise.
27822 * configure.in (MIG): Do not AC_SUBST.
27823 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27824 (libc_cv_cc_sse4): Do not AC_SUBST.
27825 (libc_cv_cc_avx): Likewise.
27826 (libc_cv_cc_sse2avx): Likewise.
27827 (libc_cv_cc_novzeroupper): Likewise.
27828 (libc_cv_cc_fma4): Likewise.
27829 (libc_cv_as_i686): Likewise.
27830 (libc_cv_sparc_as_vis3): Likewise.
27831 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27833 (config-asflags-i686): Likewise.
27834 (config-cflags-avx): Likewise.
27835 (config-cflags-sse2avx): Likewise.
27836 (have-mfma4): Likewise.
27837 (config-cflags-novzeroupper): Likewise.
27838 * sysdeps/mach/configure.in (MIG): Likewise.
27839 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27840 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27842 (config-cflags-avx): Likewise.
27843 (config-cflags-sse2avx): Likewise.
27844 (have-mfma4): Likewise.
27845 (config-cflags-novzeroupper): Likewise.
27846 * configure: Regenerated.
27847 * sysdeps/i386/configure: Likewise.
27848 * sysdeps/mach/configure: Likewise.
27849 * sysdeps/sparc/configure: Likewise.
27850 * sysdeps/x86_64/configure: Likewise.
27852 2013-03-20 Roland McGrath <roland@hack.frob.com>
27855 * locale/programs/localedef.c (options): Put N_ translation marker
27856 on argument names, not just descriptions.
27858 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27860 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27862 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
27865 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27867 2013-03-19 Roland McGrath <roland@hack.frob.com>
27869 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27870 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27871 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27872 [!BEFORE_ABORT] (before_abort): New function.
27873 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27874 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27875 (writev_for_fatal): New function.
27876 (WRITEV_FOR_FATAL): New macro; call that.
27877 (backtrace_and_maps): New function.
27878 (BEFORE_ABORT): New macro; call that.
27879 (struct str_list): Type removed.
27880 (__libc_message, __libc_fatal): Functions removed.
27881 Include <sysdeps/posix/libc_fatal.c> instead.
27883 2013-03-19 Joseph Myers <joseph@codesourcery.com>
27885 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27887 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27890 2013-03-19 Andreas Schwab <schwab@suse.de>
27892 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27893 * sysdeps/gnu/configure: Regenerate.
27895 * configure.in: Substitute libc_cv_rtlddir.
27896 * configure: Regenerate.
27897 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27898 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27899 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27900 * elf/Makefile (install-others, CFLAGS-interp.c)
27901 (ldso_install, common-ldd-rewrite): Likewise.
27902 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27903 $(inst_slibdir)/$(rtld-installed-name).
27904 * scripts/rellns-sh: Add -p option.
27905 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27908 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27910 * manual/nptl.texi: Renamed to ...
27911 * manual/threads.texi: ... this.
27912 * manual/Makefile (chapters): Update.
27914 2013-03-18 Roland McGrath <roland@hack.frob.com>
27917 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27918 on argument names, not just descriptions.
27919 * malloc/memusagestat.c (options): Likewise.
27920 * nss/getent.c (options): Likewise.
27922 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
27925 * iconv/iconv_prog.c (options): Put N_ translation marker
27926 on argument names, not just descriptions.
27927 * iconv/iconvconfig.c (options): Likewise.
27929 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
27931 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27932 implementation which is faster on all x86_64 architectures.
27933 Tested on AMD, Intel Nehalem, SNB, IVB.
27934 * sysdeps/x86_64/strnlen.S: Likewise.
27936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27937 Remove all multiarch strlen and strnlen versions.
27938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27939 Remove strlen and strnlen related parts.
27941 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27942 Inline strlen part.
27943 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27945 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27946 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27947 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27948 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27949 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27950 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27952 2013-03-17 Carlos O'Donell <carlos@redhat.com>
27954 * manual/memory.texi (Malloc Tunable Parameters):
27955 Sort parameters alphabetically. Add comments for missing entries.
27957 2013-03-17 David S. Miller <davem@davemloft.net>
27959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27961 2013-03-16 Joseph Myers <joseph@codesourcery.com>
27964 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27965 for arguments at most half maximum finite value.
27966 * math/libm-test.inc (j0_test): Add more tests.
27967 (j1_test): Likewise.
27968 (y0_test): Likewise.
27969 (y1_test): Likewise.
27970 * sysdeps/i386/fpu/libm-test-ulps: Update.
27971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27974 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27975 1 / x and functions P and Q for arguments above 0x1p256L.
27976 (__ieee754_y0l): Likewise.
27977 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27978 (__ieee754_y1l): Likewise.
27979 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27980 (j1_test): Likewise.
27981 (y0_test): Likewise.
27982 (y1_test): Likewise.
27984 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27986 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27989 2013-03-15 Roland McGrath <roland@hack.frob.com>
27991 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27992 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27993 zero since it's initialized to EXEC_PAGESIZE.
27995 * sysdeps/unix/sysv/linux/ldsodefs.h
27996 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27997 * sysdeps/generic/ldsodefs.h: ... here.
27999 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28001 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28003 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28005 * math/test-snan.c: Renamed from
28006 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28007 * math/Makefile (tests): Add test-snan.
28008 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28011 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28012 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28014 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28015 __builtin_nan family of functions.
28016 * math/libm-test.inc (initialize): Initialize qnan_value with
28017 __builtin_nan family of functions.
28018 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28020 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28022 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28023 storage class. Initialize qNaN_var and sNaN_var with
28024 __builtin_nan and __builtin_nans families of functions,
28027 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28028 (sqrt_test): Remove duplicate test with qNaN input.
28029 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28030 (round_test, signbit_test, significand_test): Note missing +/-Inf
28031 as well as qNaN tests.
28033 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28034 qNaN_var. Fix a few strings, too.
28035 * math/libm-test.inc (nan_value): Rename to qnan_value.
28036 * math/gen-libm-test.pl (%beautify): Adjust to that.
28037 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28038 * math/test-misc.c (main): Likewise.
28039 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28040 to __qnan_bytes, and __qnan_union, respectively.
28041 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28043 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28044 and lqnanval, respectively.
28045 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28046 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28047 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28048 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28050 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28051 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28054 * math/test-misc.c (main): Fix copy'n'pastos.
28055 * misc/tst-efgcvt.c (special): Likewise.
28057 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28058 Remove declarations.
28060 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28062 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28063 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28064 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28065 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28067 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28069 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28070 macro to return vdso values correctly in IFUNC implementations.
28071 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28072 Optimization by using IFUNC.
28074 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28075 Richard Henderson <rth@redhat.com>
28076 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28078 * Makefile.in (bench): New target.
28079 * NEWS: Mention the benchmark framework.
28080 * Rules (bench): Likewise.
28081 (binaries-bench): Generate binaries for functions to
28083 * benchtests/Makefile: New makefile for benchmark tests.
28084 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28086 * benchtests/exp-inputs: New input file for EXP function.
28087 * benchtests/pow-inputs: New input file for POW function.
28088 * scripts/bench.pl: New script to generate source files for
28089 benchmark programs.
28091 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28093 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28094 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28095 computations on mantissa. Use macros for rounding and
28097 (denorm): Likewise.
28098 (__dbl_mp): Likewise.
28099 (add_magnitudes): Likewise.
28100 (sub_magnitudes): Likewise.
28103 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28104 powers of two in terms of TWOPOW macro.
28105 (mp_no): Make type of mantissa as MANTISSA_T.
28106 [!RADIXI]: Define RADIXI.
28107 [!TWO52]: Define TWO52.
28108 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28110 * manual/nptl.texi (cindex): Modify threads to pthreads.
28112 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28114 * sysdeps/x86_64/preconfigure: Regenerated.
28116 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28119 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28121 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28122 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28124 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28125 * math/libm-test.inc (j0_test): Do not allow one spurious
28126 underflow exception.
28127 (y1_test): Likewise.
28129 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28131 * manual/Makefile (chapters): Add nptl.
28132 * manual/debug.texi (Debugging Support): Add link to Threads
28134 * manual/nptl.texi: New file.
28136 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28138 2013-03-14 Petr Baudis <pasky@ucw.cz>
28140 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28141 for non-NULL pointer before the memory validity test. Pointed
28142 out by Holger Brunck <holger.brunck@keymile.com>.
28144 2013-03-13 Andreas Schwab <schwab@suse.de>
28146 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28149 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28151 * timezone/zic.c: Update from tzcode 2013b.
28153 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28155 * manual/install.texi (Configuring and compiling):
28156 Mention i686 and i586.
28157 * INSTALL: Regenerate.
28159 2013-03-12 Roland McGrath <roland@hack.frob.com>
28161 * sysdeps/init_array/elf-init.c: New file.
28163 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28164 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28166 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28167 __gmon_start__ as global, but as static with a .preinit_array pointer.
28168 * sysdeps/init_array/gmon-start.c: New file. Use that.
28169 * sysdeps/init_array/crti.S: New file, empty except for comments.
28170 * sysdeps/init_array/crtn.S: Likewise.
28172 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28174 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28177 Remove Prefer_SSE_for_memop.
28178 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28179 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28180 HAS_PREFER_SSE_FOR_MEMOP.
28181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28184 Remove bzero, memset ifunc support.
28185 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28186 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28187 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28188 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28190 2013-03-11 Andreas Schwab <schwab@suse.de>
28193 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28196 (GLIBC_2.16): Remove pthread_atfork.
28198 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28200 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28201 (ptestcases.h): Likewise.
28203 2013-03-08 Roland McGrath <roland@hack.frob.com>
28205 * Makeconfig ($(common-objpfx)config.status): Depend on
28206 sysdeps/*/preconfigure{,.in} too.
28208 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28210 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28211 (__free_hook): Use void * instead of __malloc_ptr_t.
28212 (__malloc_hook): Likewise.
28213 (__realloc_hook): Likewise.
28214 (__memalign_hook): Likewise.
28215 (__after_morecore_hook): Likewise.
28216 * malloc/arena.c (save_malloc_hook): Likewise.
28217 (save_free_hook): Likewise.
28218 * malloc/hooks.c (malloc_hook_ini): Likewise.
28219 (realloc_hook_ini): Likewise.
28220 (memalign_hook_ini): Likewise.
28221 * malloc/malloc.c (malloc_hook_ini): Likewise.
28222 (realloc_hook_ini): Likewise.
28223 (memalign_hook_ini): Likewise.
28224 (__free_hook): Likewise.
28225 (__malloc_hook): Likewise.
28226 (__realloc_hook): Likewise.
28227 (__memalign_hook): Likewise.
28228 (__libc_malloc): Likewise.
28229 (__libc_free): Likewise.
28230 (__libc_realloc): Likewise.
28231 (__libc_memalign): Likewise.
28232 (__libc_valloc): Likewise.
28233 (__libc_pvalloc): Likewise.
28234 (__libc_calloc): Likewise.
28235 (__posix_memalign): Likewise.
28236 * malloc/morecore.c (__sbrk): Likewise.
28237 (__default_morecore): Likewise.
28239 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28241 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28242 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28243 __malloc_ptrdiff_t.
28245 * malloc/malloc.h (__malloc_size_t): Remove macro.
28246 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28248 (old_memalign_hook): Likewise.
28249 (old_realloc_hook): Likewise.
28250 (struct hdr): Likewise.
28252 (mallochook): Likewise.
28253 (memalignhook): Likewise.
28254 (reallochook): Likewise.
28255 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28256 (tr_old_realloc_hook): Likewise.
28257 (tr_old_memalign_hook): Likewise.
28258 (tr_mallochook): Likewise.
28259 (tr_reallochook): Likewise.
28260 (tr_memalignhook): Likewise.
28262 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28264 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28265 default_ldbl_pack and using as default implementation.
28266 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28268 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28269 redundant definition.
28270 (ldbl_insert_mantissa): Likewise.
28271 (ldbl_canonicalize): Likewise.
28272 (ldbl_nearbyint): Likewise.
28273 (ldbl_pack): Rename to ldbl_pack_ppc.
28274 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28275 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28276 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28278 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28281 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28282 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28283 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28285 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28286 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28287 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28289 2013-03-07 Andreas Jaeger <aj@suse.de>
28291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28294 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28296 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28297 Include mpa.h and declare __MPEXP.
28298 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28299 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28300 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28301 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28302 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28303 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28304 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28306 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28307 (__slowpow): Use long double EXPL and LOGL functions to
28309 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28310 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28311 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28312 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28313 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28314 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28317 intermediate variable to calculate exponent.
28319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28323 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28324 [!NO__SQR]: Define __sqr.
28325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28326 and NO__SQR. Remove all code except __mul and __sqr. Include
28327 sysdeps/ieee754/dbl-64/mpa.c.
28328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28331 * posix/Makefile (tests): Add tst-pathconf.
28332 * posix/tst-pathconf.c: New test case.
28333 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28335 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28337 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28339 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28341 2013-03-06 Andreas Jaeger <aj@suse.de>
28343 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28344 definition via __MAP_ANONYMOUS.
28346 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28347 it's not part of Linux headers.
28349 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28350 (MAP_HUGE_MASK): Define.
28352 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28354 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28355 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28357 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28358 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28360 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28361 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28363 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28365 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28366 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28367 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28368 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28369 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28370 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28372 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28375 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28376 Handle f2fs and efivarfs.
28378 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28381 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28382 (EFIVARFS_MAGIC): Add.
28383 (F2FS_LINK_MAX): Add.
28385 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28387 * stdio-common/vfprintf.c: Replace __builtin_expect with
28390 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28393 * sysdeps/generic/bp-sym.h: Remove file.
28394 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28395 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28396 <bp-sym.h> and <bp-asm.h>.
28397 (__longjmp): Don't use BP_SYM.
28398 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28400 (memcpy): Don't use BP_SYM.
28401 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28402 <bp-sym.h> and <bp-asm.h>.
28403 (memcpy): Don't use BP_SYM.
28404 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28406 (memcpy): Don't use BP_SYM.
28407 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28409 (memset): Don't use BP_SYM.
28410 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28411 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28412 (__bzero): Don't use BP_SYM.
28413 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28414 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28415 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28416 <bp-sym.h> and <bp-asm.h>.
28417 (memcmp): Don't use BP_SYM. Remove comment about bounded
28419 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28420 <bp-sym.h> and <bp-asm.h>.
28421 (memcpy): Don't use BP_SYM.
28422 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28423 <bp-sym.h> and <bp-asm.h>.
28424 (memset): Don't use BP_SYM.
28425 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28426 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28427 (__bzero): Don't use BP_SYM.
28428 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28429 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28430 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28431 <bp-sym.h> and <bp-asm.h>.
28432 (strncmp): Don't use BP_SYM. Remove comment about bounded
28434 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28435 <bp-sym.h> and <bp-asm.h>.
28436 (memcpy): Don't use BP_SYM.
28437 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28438 <bp-sym.h> and <bp-asm.h>.
28439 (memset): Don't use BP_SYM.
28440 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28441 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28442 (__bzero): Don't use BP_SYM.
28443 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28444 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28445 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28446 <bp-sym.h> and <bp-asm.h>.
28447 (__memchr): Don't use BP_SYM.
28448 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28449 <bp-sym.h> and <bp-asm.h>.
28450 (memcmp): Don't use BP_SYM. Remove comment about bounded
28452 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28453 <bp-sym.h> and <bp-asm.h>.
28454 (memcpy): Don't use BP_SYM.
28455 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28456 <bp-sym.h> and <bp-asm.h>.
28457 (__mempcpy): Don't use BP_SYM.
28458 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28459 <bp-sym.h> and <bp-asm.h>.
28460 (__memrchr): Don't use BP_SYM.
28461 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28462 <bp-sym.h> and <bp-asm.h>.
28463 (memset): Don't use BP_SYM.
28464 (__bzero): Likewise.
28465 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28466 <bp-sym.h> and <bp-asm.h>.
28467 (__rawmemchr): Don't use BP_SYM.
28468 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28469 <bp-sym.h> and <bp-asm.h>.
28470 (__STRCMP): Don't use BP_SYM.
28471 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28472 <bp-sym.h> and <bp-asm.h>.
28473 (strchr): Don't use BP_SYM.
28474 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28475 <bp-sym.h> and <bp-asm.h>.
28476 (__strchrnul): Don't use BP_SYM.
28477 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28478 <bp-sym.h> and <bp-asm.h>.
28479 (strlen): Don't use BP_SYM.
28480 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28481 <bp-sym.h> and <bp-asm.h>.
28482 (strncmp): Don't use BP_SYM. Remove comment about bounded
28484 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28485 <bp-sym.h> and <bp-asm.h>.
28486 (__strnlen): Don't use BP_SYM.
28487 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28488 <bp-sym.h> and <bp-asm.h>.
28489 (__GI__setjmp): Don't use BP_SYM.
28490 (_setjmp): Likewise.
28491 (__sigsetjmp): Likewise.
28492 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28493 (L(start_addresses)): Don't use BP_SYM.
28494 (_start): Likewise.
28495 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28497 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28498 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28499 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28500 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28501 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28503 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28504 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28505 about bounded pointers.
28506 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28507 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28508 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28510 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28511 about bounded pointers. Remove GKM FIXME comments.
28512 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28513 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28515 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28516 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28517 Remove GKM FIXME comments.
28518 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28519 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28520 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28522 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28523 about bounded pointers. Remove GKM FIXME comment.
28524 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28526 (strncmp): Don't use BP_SYM. Remove comment about bounded
28528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28529 <bp-sym.h> and <bp-asm.h>.
28530 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28532 <bp-sym.h> and <bp-asm.h>.
28533 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28536 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28538 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28541 2013-03-05 David S. Miller <davem@davemloft.net>
28543 * po/es.po: Update from translation team.
28545 2013-03-05 Andreas Jaeger <aj@suse.de>
28547 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28548 <bits/mman-linux.h>.
28549 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28551 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28552 <bits/mman-linux.h> to end of file.
28553 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28555 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28556 <bits/mman-linux.h> to end of file.
28557 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28559 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28560 <bits/mman-linux.h> to end of file.
28562 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28563 (MCL_CURRENT, MCL_FUTURE): Define here.
28565 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28568 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28570 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28572 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28574 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28575 fourth parameter needed for rt_sigprocmask syscall.
28576 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28577 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28578 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28579 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28580 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28581 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28583 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28586 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28587 comment about bounded pointers.
28588 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28589 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28591 2013-03-04 Andreas Jaeger <aj@suse.de>
28593 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28594 common definitions.
28596 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28597 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28598 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28599 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28600 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28601 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28603 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28606 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28607 __ieee754_sqrl instead of __sqrl.
28609 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28611 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28612 * sysdeps/powerpc/fpu_control.h: ... here.
28613 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28614 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28615 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28616 * sysdeps/powerpc/bits/mathinline.h: ... here.
28618 2013-03-01 Roland McGrath <roland@hack.frob.com>
28620 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28621 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28622 to just [NEED_DL_SYSINFO_DSO].
28623 * elf/dl-support.c: Likewise.
28624 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28625 * elf/rtld.c (dl_main): Likewise.
28626 * elf/setup-vdso.h (setup_vdso): Likewise.
28627 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28628 * sysdeps/unix/sysv/linux/dl-sysdep.c
28629 (_dl_discover_osversion): Likewise.
28631 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28633 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28634 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28636 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28638 * NEWS: Mention libm performance improvements and non-x86 PI
28641 * csu/libc-start.c (__pthread_initialize_minimal): Change
28642 function arguments.
28643 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28645 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28648 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28649 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28650 <bp-sym.h> and <bp-asm.h>.
28651 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28654 (memcpy): Don't use BP_SYM.
28655 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28657 (__mpn_add_n): Don't use BP_SYM.
28658 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28659 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28661 (__mpn_addmul_1): Don't use BP_SYM.
28662 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28663 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28665 (_setjmp): Don't use BP_SYM.
28666 (__novmx_setjmp): Likewise.
28667 (__GI__setjmp): Likewise.
28668 (__vmx_setjmp): Likewise.
28669 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28671 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28672 (__bzero): Don't use BP_SYM.
28673 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28674 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28675 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28676 <bp-sym.h> and <bp-asm.h>.
28677 (memcpy): Don't use BP_SYM.
28678 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28679 <bp-sym.h> and <bp-asm.h>.
28680 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28681 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28682 <bp-sym.h> and <bp-asm.h>.
28683 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28684 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28686 (__mpn_lshift): Don't use BP_SYM.
28687 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28688 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28690 (memset): Don't use BP_SYM.
28691 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28692 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28693 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28695 (__mpn_mul_1): Don't use BP_SYM.
28696 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28697 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28698 <bp-sym.h> and <bp-asm.h>.
28699 (memcmp): Don't use BP_SYM.
28700 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28701 <bp-sym.h> and <bp-asm.h>.
28702 (memcpy): Don't use BP_SYM.
28703 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28704 <bp-sym.h> and <bp-asm.h>.
28705 (memset): Don't use BP_SYM.
28706 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28707 <bp-sym.h> and <bp-asm.h>.
28708 (strncmp): Don't use BP_SYM.
28709 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28710 <bp-sym.h> and <bp-asm.h>.
28711 (memcpy): Don't use BP_SYM.
28712 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28713 <bp-sym.h> and <bp-asm.h>.
28714 (memset): Don't use BP_SYM.
28715 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28716 <bp-sym.h> and <bp-asm.h>.
28717 (__memchr): Don't use BP_SYM.
28718 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28719 <bp-sym.h> and <bp-asm.h>.
28720 (memcmp): Don't use BP_SYM.
28721 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28722 <bp-sym.h> and <bp-asm.h>.
28723 (memcpy): Don't use BP_SYM.
28724 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28725 <bp-sym.h> and <bp-asm.h>.
28726 (__mempcpy): Don't use BP_SYM.
28727 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28728 <bp-sym.h> and <bp-asm.h>.
28729 (__memrchr): Don't use BP_SYM.
28730 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28731 <bp-sym.h> and <bp-asm.h>.
28732 (memset): Don't use BP_SYM.
28733 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28734 <bp-sym.h> and <bp-asm.h>.
28735 (__rawmemchr): Don't use BP_SYM.
28736 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28737 <bp-sym.h> and <bp-asm.h>.
28738 (__STRCMP): Don't use BP_SYM.
28739 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28740 <bp-sym.h> and <bp-asm.h>.
28741 (strchr): Don't use BP_SYM.
28742 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28743 <bp-sym.h> and <bp-asm.h>.
28744 (__strchrnul): Don't use BP_SYM.
28745 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28746 <bp-sym.h> and <bp-asm.h>.
28747 (strlen): Don't use BP_SYM.
28748 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28749 <bp-sym.h> and <bp-asm.h>.
28750 (strncmp): Don't use BP_SYM.
28751 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28752 <bp-sym.h> and <bp-asm.h>.
28753 (__strnlen): Don't use BP_SYM.
28754 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28756 (__mpn_rshift): Don't use BP_SYM.
28757 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28758 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28759 <bp-sym.h> and <bp-asm.h>.
28760 (__sigsetjmp): Don't use BP_SYM.
28761 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28762 (L(start_addresses)): Don't use BP_SYM.
28763 (_start): Likewise.
28764 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28766 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28767 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28768 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28769 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28771 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28772 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28773 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28774 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28776 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28778 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28779 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28781 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28783 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28784 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28785 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28787 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28789 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28791 (strncmp): Don't use BP_SYM,
28792 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28794 (__mpn_sub_n): Don't use BP_SYM.
28795 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28796 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28798 (__mpn_submul_1): Don't use BP_SYM.
28799 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28801 <bp-sym.h> and <bp-asm.h>.
28802 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28804 <bp-sym.h> and <bp-asm.h>.
28805 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28808 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28811 Use ZK to minimize writes to Z.
28812 (sub_magnitudes): Simplify code a bit.
28813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28814 Use ZK to minimize writes to Z.
28815 (sub_magnitudes): Simplify code a bit.
28817 2013-02-27 Roland McGrath <roland@hack.frob.com>
28819 * csu/gmon-start.c: Add special exception to license text.
28821 2013-02-27 Richard Henderson <rth@redhat.com>
28823 * scripts/config.guess: Update from config.git.
28824 * scripts/config.sub: Likewise.
28826 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28828 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28830 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28832 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28834 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28836 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28838 2013-02-26 Roland McGrath <roland@hack.frob.com>
28840 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28841 [$(build-shared = yes].
28843 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28845 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28846 (__mul): Reduce iterations for calculating mantissa.
28848 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28850 (__mpranred): Likewise.
28853 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28854 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28856 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28858 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28859 Define __attribute__.
28861 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28863 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28865 * posix/regex_internal.h (__attribute): Remove.
28866 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28867 (re_string_context_at): Likewise.
28868 (bitset_not): Use __attribute__ and mark function as possibly
28870 (bitset_merge): Likewise.
28871 (bitset_mask): Likewise.
28872 (re_string_char_size_at): Likewise.
28873 (re_string_wchar_at): Likewise.
28874 (re_string_elem_size_at): Likewise.
28876 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28878 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28882 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28886 (denorm): Likewise.
28887 (__dbl_mp): Likewise.
28888 (add_magnitudes): Likewise.
28889 (sub_magnitudes): Likewise.
28893 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28896 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28899 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28903 up changes with default code.
28904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28907 2013-02-24 Allan McRae <allan@archlinux.org>
28909 * manual/socket.texi (The Internet Namespace): Order menu items
28910 to match that in the file.
28912 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28913 node listing of the info page menu.
28915 2013-02-21 Joseph Myers <joseph@codesourcery.com>
28918 * sysdeps/i386/bp-asm.h: Remove file.
28919 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28920 (PARMS): Do not use macros from bp-asm.h.
28924 (__mpn_add_n): Do not use BP_SYM
28925 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28927 (PARMS): Do not use macros from bp-asm.h.
28930 (__mpn_addmul_1): Do not use BP_SYM
28931 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28933 (PARMS): Do not use macros from bp-asm.h.
28934 (SIGMSK): Likewise.
28935 (_setjmp): Likewise. Do not use BP_SYM.
28936 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28938 (PARMS): Do not use macros from bp-asm.h.
28939 (SIGMSK): Likewise.
28940 (setjmp): Likewise. Do not use BP_SYM.
28941 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28943 (PARMS): Do not use macros from bp-asm.h.
28944 (__frexp): Do not use BP_SYM.
28946 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28948 (PARMS): Do not use macros from bp-asm.h.
28949 (__frexpf): Do not use BP_SYM.
28950 (frexpf): Likewise.
28951 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28953 (PARMS): Do not use macros from bp-asm.h.
28954 (__frexpl): Do not use BP_SYM.
28955 (frexpl): Likewise.
28956 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28958 (PARMS): Do not use macros from bp-asm.h.
28959 (__remquo): Do not use BP_SYM.
28960 (remquo): Likewise.
28961 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28963 (PARMS): Do not use macros from bp-asm.h.
28964 (__remquof): Do not use BP_SYM.
28965 (remquof): Likewise.
28966 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28968 (PARMS): Do not use macros from bp-asm.h.
28969 (__remquol): Do not use BP_SYM.
28970 (remquol): Likewise.
28971 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28973 (PARMS): Do not use macros from bp-asm.h.
28976 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28977 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28979 (PARMS): Do not use macros from bp-asm.h.
28980 (strlen): Do not use BP_SYM.
28981 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28983 (PARMS): Do not use macros from bp-asm.h.
28987 (__mpn_add_n): Do not use BP_SYM.
28988 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28990 (PARMS): Do not use macros from bp-asm.h.
28993 (__mpn_addmul_1): Do not use BP_SYM.
28994 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28997 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28999 (PARMS): Do not use macros from bp-asm.h.
29002 (__mpn_lshift): Do not use BP_SYM.
29003 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29005 (PARMS): Do not use macros from bp-asm.h.
29009 (memcpy): Likewise. Do not use BP_SYM.
29010 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29011 libc_hidden_def and weak_alias.
29012 (mempcpy): Do not use BP_SYM in weak_alias.
29013 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29015 (PARMS): Do not use macros from bp-asm.h.
29018 [!BZERO_P] (CHR): Likewise.
29019 (memset): Likewise. Do not use BP_SYM.
29020 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29022 (PARMS): Do not use macros from bp-asm.h.
29025 (__mpn_mul_1): Do not use BP_SYM.
29026 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29028 (PARMS): Do not use macros from bp-asm.h.
29031 (__mpn_rshift): Do not use BP_SYM.
29032 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29034 (PARMS): Do not use macros from bp-asm.h.
29037 (strchr): Likewise. Do not use BP_SYM.
29038 (index): Do not use BP_SYM in weak_alias.
29039 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29041 (PARMS): Do not use macros from bp-asm.h.
29044 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29045 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29047 (PARMS): Do not use macros from bp-asm.h.
29048 (strlen): Do not use BP_SYM.
29049 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29051 (PARMS): Do not use macros from bp-asm.h.
29055 (__mpn_sub_n): Do not use BP_SYM.
29056 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29058 (PARMS): Do not use macros from bp-asm.h.
29061 (__mpn_submul_1): Do not use BP_SYM.
29062 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29064 (PARMS): Do not use macros from bp-asm.h.
29068 (__mpn_add_n): Do not use BP_SYM.
29069 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29072 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29074 (PARMS): Do not use macros from bp-asm.h.
29077 (memcmp): Do not use BP_SYM.
29078 (bcmp): Do not use BP_SYM in weak_alias.
29079 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29081 (PARMS): Do not use macros from bp-asm.h.
29085 (memcpy): Likewise. Do not use BP_SYM.
29086 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29088 (PARMS): Do not use macros from bp-asm.h.
29092 (memmove): Likewise. Do not use BP_SYM.
29093 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29095 (PARMS): Do not use macros from bp-asm.h.
29099 (__mempcpy): Likewise. Do not use BP_SYM.
29100 (mempcpy): Do not use BP_SYM in weak_alias.
29101 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29103 (PARMS): Do not use macros from bp-asm.h.
29106 [!BZERO_P] (CHR): Likewise.
29107 (memset): Likewise. Do not use BP_SYM.
29108 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29110 (PARMS): Do not use macros from bp-asm.h.
29112 (strcmp): Do not use BP_SYM.
29113 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29115 (PARMS): Do not use macros from bp-asm.h.
29118 [USE_AS_STRTOK_R] (SAVE): Likewise.
29119 (FUNCTION): Likewise. Do not use BP_SYM.
29120 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29122 (strtok_r): Likewise.
29123 (__GI___strtok_r): Likewise.
29124 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29125 (PARMS): Do not use macros from bp-asm.h.
29128 (__mpn_lshift): Do not use BP_SYM.
29129 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29130 (PARMS): Do not use macros from bp-asm.h.
29133 (__memchr): Do not use BP_SYM.
29134 (memchr): Do not use BP_SYM in weak_alias.
29135 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29136 (PARMS): Do not use macros from bp-asm.h.
29139 (memcmp): Do not use BP_SYM.
29140 (bcmp): Do not use BP_SYM in weak_alias.
29141 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29142 (PARMS): Do not use macros from bp-asm.h.
29145 (__mpn_mul_1): Do not use BP_SYM.
29146 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29148 (PARMS): Do not use macros from bp-asm.h.
29151 (__rawmemchr): Do not use BP_SYM.
29152 (rawmemchr): Do not use BP_SYM in weak_alias.
29153 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29154 (PARMS): Do not use macros from bp-asm.h.
29157 (__mpn_rshift): Do not use BP_SYM.
29158 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29159 (PARMS): Do not use macros from bp-asm.h.
29160 (SIGMSK): Likewise.
29161 (__sigsetjmp): Likewise. Do not use BP_SYM.
29162 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29163 (_start): Do not use BP_SYM.
29164 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29165 (PARMS): Do not use macros from bp-asm.h.
29168 (__stpcpy): Likewise. Do not use BP_SYM.
29169 (stpcpy): Do not use BP_SYM in weak_alias.
29170 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29172 (PARMS): Do not use macros from bp-asm.h.
29176 (__stpncpy): Likewise. Do not use BP_SYM.
29177 (stpncpy): Do not use BP_SYM in weak_alias.
29178 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29179 (PARMS): Do not use macros from bp-asm.h.
29182 (strchr): Likewise. Do not use BP_SYM.
29183 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29185 (PARMS): Do not use macros from bp-asm.h.
29188 (__strchrnul): Likewise. Do not use BP_SYM.
29189 (strchrnul): Do not use BP_SYM in weak_alias.
29190 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29192 (PARMS): Do not use macros from bp-asm.h.
29194 (strcspn): Do not use BP_SYM.
29195 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29197 (PARMS): Do not use macros from bp-asm.h.
29200 (strpbrk): Likewise. Do not use BP_SYM.
29201 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29203 (PARMS): Do not use macros from bp-asm.h.
29206 (strrchr): Likewise. Do not use BP_SYM.
29207 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29208 (PARMS): Do not use macros from bp-asm.h.
29210 (strspn): Do not use BP_SYM.
29211 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29212 (PARMS): Do not use macros from bp-asm.h.
29216 (FUNCTION): Likewise. Do not use BP_SYM.
29217 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29219 (strtok_r): Likewise.
29220 (__GI___strtok_r): Likewise.
29221 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29222 (PARMS): Do not use macros from bp-asm.h.
29226 (__mpn_sub_n): Do not use BP_SYM.
29227 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29229 (PARMS): Do not use macros from bp-asm.h.
29232 (__mpn_submul_1): Do not use BP_SYM.
29233 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29235 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29237 (PARMS): Do not use macros from bp-asm.h.
29242 (__clone): Do not use BP_SYM.
29243 (clone): Do not use BP_SYM in weak_alias.
29244 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29246 (PARMS): Do not use macros from bp-asm.h.
29248 (__mmap64): Do not use BP_SYM.
29249 (mmap64): Do not use BP_SYM in weak_alias.
29250 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29251 <bp-sym.h> and <bp-asm.h>.
29252 (PARMS): Do not use macros from bp-asm.h.
29253 (__posix_fadvise64_l64): Do not use BP_SYM.
29254 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29255 (PARMS): Do not use macros from bp-asm.h.
29257 (semtimedop): Do not use BP_SYM.
29258 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29261 2013-02-21 Allan McRae <allan@archlinux.org>
29263 * manual/message.texi (Charset conversion in gettext):
29264 Move @end statement to beginning of line.
29266 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29273 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29274 (denorm): Likewise.
29275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29278 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29280 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29281 tail-call to the resolved function if pltexit isn't needed.
29283 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29286 or Y being zero as being unlikely.
29287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29290 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29292 * manual/nss.texi (System Databases and Name Service Switch):
29293 Remove frobnicate @pxref.
29295 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29297 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29298 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29300 2013-02-20 Petr Machata <pmachata@redhat.com>
29302 * elf/elf.h (R_ARM_TARGET1): New macro.
29303 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29304 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29305 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29306 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29307 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29308 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29309 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29310 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29311 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29312 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29313 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29314 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29315 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29316 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29317 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29318 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29319 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29320 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29321 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29322 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29323 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29324 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29325 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29326 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29327 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29328 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29329 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29330 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29331 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29332 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29333 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29334 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29335 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29336 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29337 (R_ARM_THM_GOT_BREL12): Likewise.
29338 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29339 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29340 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29341 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29342 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29343 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29344 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29345 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29346 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29348 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29350 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29351 __attribute_used__ to __attribute__ ((unused)).
29353 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29355 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29358 comment formatting.
29359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29361 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29364 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29366 (ENTER): Remove both macro definitions.
29368 (CHECK_BOUNDS_LOW): Likewise.
29369 (CHECK_BOUNDS_HIGH): Likewise.
29370 (CHECK_BOUNDS_BOTH): Likewise.
29371 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29372 (RETURN_BOUNDED_POINTER): Likewise.
29373 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29374 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29375 (POP_ERRNO_LOCATION_RETURN): Likewise.
29376 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29377 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29378 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29380 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29381 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29382 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29383 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29384 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29385 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29386 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29387 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29388 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29389 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29390 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29391 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29392 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29393 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29395 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29396 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29398 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29399 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29400 * sysdeps/i386/i586/memset.S (memset): Likewise.
29401 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29402 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29403 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29405 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29406 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29407 Change uses of L(2) to L(out).
29408 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29409 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29410 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29411 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29412 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29414 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29415 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29417 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29418 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29419 (RETURN): Do not use macro LEAVE.
29420 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29421 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29422 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29423 * sysdeps/i386/i686/memset.S (memset): Likewise.
29424 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29425 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29426 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29427 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29429 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29430 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29431 L(1_2) and L(1_3) into L(1).
29432 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29433 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29434 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29435 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29436 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29437 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29438 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29439 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29440 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29442 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29443 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29444 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29445 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29446 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29447 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29448 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29449 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29450 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29451 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29452 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29453 * sysdeps/i386/strspn.S (strspn): Likewise.
29454 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29456 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29457 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29458 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29459 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29460 L(1_3) into L(1_1).
29461 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29462 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29463 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29465 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29467 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29469 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29472 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29474 * math/atest-exp.c (exp_mpn): Remove ROUND.
29475 * math/atest-exp2.c (exp_mpn): Likewise.
29476 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29478 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29479 * stdlib/tst-tls-atexit-lib.c: Likewise.
29480 * stdlib/tst-tls-atexit.c: Likewise.
29482 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29484 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29485 and __attribute_alloc_size__.
29487 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29489 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29490 __attribute_alloc_size__.
29491 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29492 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29494 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29496 * include/programs/xmalloc.h: New file.
29497 * catgets/gencat.c: Include it.
29498 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29499 * elf/pldd.c: Likewise.
29500 * iconv/iconv_charmap.c: Likewise.
29501 * iconv/iconvconfig.c: Likewise.
29502 * iconv/strtab.c: Likewise.
29503 * locale/programs/locale.c: Likewise.
29504 * locale/programs/localedef.h: Likewise.
29505 * locale/programs/simple-hash.c: Likewise.
29506 * nscd/nscd.h: Likewise.
29507 * nss/makedb.c: Likewise.
29508 * sysdeps/generic/ldconfig.h: Likewise.
29510 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29512 * Versions.def: Add GLIBC_2.18.
29513 * include/link.h (struct link_map): New member l_tls_dtor_count.
29514 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29515 (__call_tls_dtors): Likewise.
29516 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29517 __cxa_thread_atexit_impl.
29518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29534 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29535 (tests): Add test case tst-tls-atexit.
29536 (modules-names): Add shared library for tst-tls-atexit.
29537 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29538 (GLIBC_PRIVATE): Add __call_tls_dtors.
29539 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29541 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29542 * stdlib/tst-tls-atexit.c: New test case.
29543 * stdlib/tst-tls-atexit-lib.c: New test case.
29545 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29547 * elf/Versions (ld): Add _dl_find_dso_for_object.
29548 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29549 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29550 (dl_open_worker): Use _dl_find_dso_for_object.
29551 * elf/dl-sym.c (do_sym): Likewise.
29552 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29554 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29556 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29557 Syntactic changes only.
29558 (_dl_runtime_profile): Do a tail-call to the resolved function.
29560 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29563 * sysdeps/x86_64/bp-asm.h: Remove file.
29564 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29565 <bp-sym.h> and <bp-asm.h>.
29566 (__clone): Do not use BP_SYM.
29567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29568 <bp-sym.h> and <bp-asm.h>.
29569 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29570 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29572 (_setjmp): Do not use BP_SYM.
29573 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29575 (setjmp): Do not use BP_SYM.
29576 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29578 (mempcpy): Do not use BP_SYM in weak_alias.
29579 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29581 (strchr): Do not use BP_SYM.
29582 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29584 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29585 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29586 (_start): Do not use BP_SYM.
29587 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29589 (strcat): Do not use BP_SYM.
29590 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29592 (STRCMP): Do not use BP_SYM.
29593 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29595 (STRCPY): Do not use BP_SYM.
29596 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29598 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29600 (FUNCTION): Do not use BP_SYM.
29601 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29603 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29605 2013-02-17 Andreas Jaeger <aj@suse.de>
29607 * time/Versions: Sort entries.
29608 * string/Versions: Likewise.
29609 * resolv/Versions: Likewise.
29610 * posix/Versions: Likewise.
29611 * iconv/Versions: Likewise.
29612 * elf/Versions: Likewise.
29613 * wcsmbs/Versions: Likewise.
29615 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29617 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29618 loop termination condition.
29620 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29621 variable to calculate EZ.
29624 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29625 the lower precision input.
29627 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29630 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29631 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29632 (run-via-rtld-prefix): Do not handle %-bp tests.
29633 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29634 (all-object-suffixes): Remove .ob.
29635 (bppfx): Remove variable.
29636 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29637 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29638 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29639 [$(build-bounded) = yes] (libtype.ob): Likewise.
29640 * Makerules (elide-routines.ob): Remove variable.
29641 (do-tests-clean): Do not handle *-bp.out.
29642 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29643 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29644 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29645 (tests): Do not include $(tests-bp.out).
29646 (xtests): Do not include $(xtests-bp.out).
29647 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29648 [$(build-bounded) = yes] ($(addprefix
29649 $(objpfx),$(binaries-bounded))): Remove rule.
29650 ($(objpfx)%-bp.out): Remove rule.
29651 * config.make.in (build-bounded): Remove variable.
29652 * crypt/Makefile [$(build-bounded) = yes]
29653 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29654 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29655 append to variable.
29656 [$(build-bounded) = yes] (install-lib): Likewise.
29657 [$(build-bounded) = yes] (generated): Likewise.
29658 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29660 * intl/Makefile [$(build-bounded) = yes]
29661 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29662 * math/Makefile [$(build-bounded) = yes]
29663 ($(tests:%=$(objpfx)%-bp): Likewise.
29664 * misc/Makefile [$(build-bounded) = yes]
29665 ($(objpfx)tst-tsearch-bp): Likewise.
29666 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29667 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29669 * string/Makefile (o-objects.ob): Remove variable.
29670 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29671 (CFLAGS-.ob): Remove variable.
29672 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29673 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29674 both definitions of variable.
29675 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29676 (ASFLAGS-.ob): Remove variable.
29678 2013-02-14 Joseph Myers <joseph@codesourcery.com>
29681 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29682 Remove __BOUNDED_POINTERS__ from condition.
29683 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29684 * string/bits/string2.h [!__NO_STRING_INLINES &&
29685 !__BOUNDED_POINTERS__]: Likewise.
29686 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29688 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29689 Remove conditional code.
29690 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29691 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29692 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29696 * csu/libc-start.c: Do not include <bp-sym.h>.
29697 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29698 * elf/dl-open.c: Do not include <bp-sym.h>.
29699 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29700 * math/fegetenv.c: Do not include <bp-sym.h>.
29701 (fegetenv): Do not use BP_SYM in versioned symbols.
29702 * nptl/sysdeps/pthread/bits/libc-lockP.h
29703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29706 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29708 (__pthread_mutex_destroy): Likewise.
29709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29710 (__pthread_mutex_lock): Likewise.
29711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29712 (__pthread_mutex_trylock): Likewise.
29713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29714 (__pthread_mutex_unlock): Likewise.
29715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29716 (__pthread_mutexattr_init): Likewise.
29717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29718 (__pthread_mutexattr_destroy): Likewise.
29719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29720 (__pthread_mutexattr_settype): Likewise.
29721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29722 (__pthread_rwlock_init): Likewise.
29723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29724 (__pthread_rwlock_destroy): Likewise.
29725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29726 (__pthread_rwlock_rdlock): Likewise.
29727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29728 (__pthread_rwlock_tryrdlock): Likewise.
29729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29730 (__pthread_rwlock_wrlock): Likewise.
29731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29732 (__pthread_rwlock_trywrlock): Likewise.
29733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29734 (__pthread_rwlock_unlock): Likewise.
29735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29736 (__pthread_key_create): Likewise.
29737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29738 (__pthread_setspecific): Likewise.
29739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29740 (__pthread_getspecific): Likewise.
29741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29744 (_pthread_cleanup_push_defer): Likewise.
29745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29746 (_pthread_cleanup_pop_restore): Likewise.
29747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29748 (pthread_setcancelstate): Likewise.
29749 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29751 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29752 (memchr): Do not use BP_SYM in weak_alias.
29753 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29754 (fegetenv): Do not use BP_SYM in versioned symbols.
29755 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29756 (fesetenv): Do not use BP_SYM in versioned symbols.
29757 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29758 (feupdateenv): Do not use BP_SYM in versioned symbols.
29759 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29760 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29761 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29762 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29763 (open64): Do not use BP_SYM in weak_alias.
29764 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29765 (fegetenv): Do not use BP_SYM in versioned symbols.
29766 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29767 (fesetenv): Do not use BP_SYM in versioned symbols.
29768 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29769 (feupdateenv): Do not use BP_SYM in versioned symbols.
29770 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29771 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29772 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29773 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29774 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29775 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29776 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29778 (__libc_start_main): Do not use BP_SYM.
29780 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29783 redundant return line.
29785 (denorm): Likewise.
29786 (dbl_mp): Likewise.
29787 (sub_magnitudes): Likewise.
29793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29795 (denorm): Likewise.
29796 (dbl_mp): Likewise.
29797 (sub_magnitudes): Likewise.
29804 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29806 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29807 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29810 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29811 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29813 of __mul for squares.
29814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29818 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29819 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29821 2013-02-13 Joseph Myers <joseph@codesourcery.com>
29824 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29826 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29827 prototype or function definition. Rename ubp_* variables and
29828 parameters. Remove argv definitions conditional on
29829 [__BOUNDED_POINTERS__].
29830 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29831 * elf/dl-runtime.c (_dl_fixup): Likewise.
29832 * include/set-hooks.h (RUN_HOOK): Likewise.
29833 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29835 * string/strcpy.c (strcpy): Do not use __unbounded.
29836 * sysdeps/generic/frame.h (struct layout): Likewise.
29837 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29838 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29839 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29840 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29841 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29842 (__backtrace): Likewise.
29843 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29845 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29846 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29847 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29849 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29850 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29851 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29852 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29853 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29854 Do not use __unbounded.
29855 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29856 Rename __unboundedrlimits parameter to rlimits in prototype.
29857 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29858 Do not use __unbounded.
29859 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29860 not use __ptrvalue.
29861 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29862 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29863 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29864 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29865 __ptrvalue or __unbounded.
29866 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29867 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29869 (__new_msgctl): Do not use __ptrvalue.
29870 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29872 (__libc_msgrcv): Do not use __ptrvalue.
29873 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29874 startup_info): Do not use __unbounded.
29875 (__libc_start_main): Likewise. Rename ubp_* variables and
29876 parameters. Remove argv definitions conditional on
29877 [__BOUNDED_POINTERS__].
29878 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29880 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29882 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29884 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29886 (__new_shmctl): Do not use __ptrvalue.
29887 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29888 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29890 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29892 (__libc_sigaction): Likewise.
29893 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29894 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29896 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29898 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
29900 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29902 * string/mempcpy.c: Implement by calling memcpy.
29904 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29906 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29911 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29912 values in the mantissa.
29914 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29915 minimize writes to Z.
29916 (sub_magnitudes): Simplify code a bit.
29918 2013-02-12 Roland McGrath <roland@hack.frob.com>
29920 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29921 from the message. The linker prefixes all warnings with that already.
29923 2013-02-12 Andreas Schwab <schwab@suse.de>
29926 * posix/regexec.c (extend_buffers): Add parameter min_len.
29927 (check_matching): Pass minimum needed length.
29928 (clean_state_log_if_needed): Likewise.
29929 (get_subexp): Likewise.
29930 * posix/Makefile (tests): Add bug-regex34.
29931 (bug-regex34-ENV): Define.
29932 * posix/bug-regex34.c: New file.
29935 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29936 elements compare against the byte sequence of it, not its name.
29937 * posix/Makefile (tests): Add bug-regex35.
29938 (bug-regex35-ENV): Define.
29939 * posix/bug-regex35.c: New file.
29941 2013-02-11 Tom de Vries <tom@codesourcery.com>
29943 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29945 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29946 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29947 (CHECK_EOL): Add undef.
29949 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
29951 * bits/stdlib-bsearch.h: New file.
29952 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29953 * stdlib/stdlib.h: Likewise.
29955 2013-02-11 Roland McGrath <roland@hack.frob.com>
29957 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29958 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29960 * manual/search.texi (Array Search Function): Add missing const in
29962 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29963 declaration to use rlim_t.
29964 (Basic Scheduling Functions): Remove erroneous const from
29965 sched_getparam prototype. Remove erroneous * from
29966 sched_get_priority_max and sched_get_priority_min prototypes.
29967 (Resource Usage): Fix summary @comment on vtimes to refer to
29968 sys/vtimes.h rather than vtimes.h.
29969 Add missing *s in vtimes prototype.
29970 (Limits on Resources): Fix ulimit prototype to return long int.
29971 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29972 prototypes to use long int rather than double.
29973 (BSD Random): Fix initstate and setstate to use char *, not void *.
29974 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29975 prototype to make second argument 'struct aiocb64 *const[]'.
29976 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29977 (Status of AIO Operations): Remove erroneous const in aio_return and
29978 aio_return64 prototypes.
29979 (Synchronizing I/O): Fix sync prototype to return void.
29980 * manual/startup.texi (Suboptions): Remove an erroneous const in
29981 getsubopt prototype.
29982 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29983 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29984 use size_t rather than int.
29985 (Scanning All Users): Likewise for getpwent_r.
29986 (Setting Groups): Add missing const to setgroups prototype.
29987 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29988 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29989 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29990 'const void *' rather than 'const char *'.
29991 (Host Address Functions): Likewise for inet_ntop.
29992 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29993 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29994 ssize_t for return value.
29995 (Sending Data): Likewise for send, sendto, sendmsg.
29996 (Socket Option Functions): Add a missing const in setsockopt prototype.
29997 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29998 use wchar_t for the argument.
29999 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30000 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30002 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30003 double/float/long double for second argument.
30004 Fix return types of significand, significandf, significandl.
30005 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30006 argument in fchmod prototype.
30007 (File Owner): Use uid_t and gid_t in fchown prototype.
30008 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30009 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30010 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30011 use 'const struct dirent **' as argument types to CMP function pointer
30013 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30014 (File Times): Fix summary magic @comment for struct utimbuf and utime
30015 to refer to utime.h, not time.h.
30016 * manual/string.texi (Argz Functions): Add missing const in
30017 argz_extract and argz_next prototypes.
30018 (Finding Tokens in a String): Likewise for basename.
30019 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30020 (Copying and Concatenation): Fix typo in wmemmove prototype.
30021 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30022 (Signal Stack): Remove erroneous const in sigstack prototype.
30023 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30025 (Simple Calendar Time): Likewise for stime.
30026 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30028 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30029 say sys/sysctl.h instead.
30030 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30031 and vsyslog prototypes.
30033 2013-02-11 Tom de Vries <tom@codesourcery.com>
30035 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30038 2013-02-11 Roland McGrath <roland@hack.frob.com>
30040 * misc/sys/mman.h: Fix typo in mremap comment.
30042 2013-02-08 Roland McGrath <roland@hack.frob.com>
30044 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30045 the '\0' terminator.
30047 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30050 * debug/segfault.c: Don't include <bp-checks.h>.
30051 * sysdeps/generic/bp-checks.h: Remove file.
30052 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30053 (__GETDENTS): Don't use CHECK_N.
30054 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30055 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30056 (__getgroups): Don't use CHECK_N.
30057 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30058 (setgroups): Don't use CHECK_N.
30059 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30060 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30061 (__libc_msgrcv): Don't use CHECK_N.
30062 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30063 (__libc_msgsnd): Don't use CHECK_N.
30064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30066 (__libc_pread): Don't use CHECK_N.
30067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30068 include <bp-checks.h>.
30069 (__libc_pread64): Don't use CHECK_N.
30070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30071 include <bp-checks.h>.
30072 (__libc_pwrite): Don't use CHECK_N.
30073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30074 include <bp-checks.h>.
30075 (__libc_pwrite64): Don't use CHECK_N.
30076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30078 (__libc_pread): Don't use CHECK_N.
30079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30080 include <bp-checks.h>.
30081 (__libc_pread64): Don't use CHECK_N.
30082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30083 include <bp-checks.h>.
30084 (__libc_pwrite): Don't use CHECK_N.
30085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30086 include <bp-checks.h>.
30087 (__libc_pwrite64): Don't use CHECK_N.
30088 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30089 (do_pread): Don't use CHECK_N.
30090 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30091 (do_pread64): Don't use CHECK_N.
30092 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30093 (do_pwrite): Don't use CHECK_N.
30094 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30095 (do_pwrite64): Don't use CHECK_N.
30096 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30097 (__libc_readv): Don't use CHECK_N.
30098 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30099 (semop): Don't use CHECK_N.
30100 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30102 (semtimedop): Don't use CHECK_N.
30103 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30104 (__libc_pread): Don't use CHECK_N.
30105 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30107 (__libc_pread64): Don't use CHECK_N.
30108 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30110 (__libc_pwrite): Don't use CHECK_N.
30111 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30113 (__libc_pwrite64): Don't use CHECK_N.
30114 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30116 (__libc_msgrcv): Don't use CHECK_N.
30117 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30118 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30119 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30120 (__libc_writev): Don't use CHECK_N.
30122 2013-02-08 Roland McGrath <roland@hack.frob.com>
30124 * string/strcpy.c: Removed unused variable.
30126 * Makeconfig (+sysdep-includes): Define with := rather than =.
30127 Use an existing include/ subdir of each sysdeps dir before it.
30129 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30131 * nscd/connection.c (register_traced_file): Comment function.
30132 [HAVE_INOTIFY] (union __inev): Define.
30133 [HAVE_INOTIFY] (inotify_check_files): New function.
30134 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30135 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30137 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30139 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30141 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30142 loaded if not already and that a failure is permanent.
30144 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30147 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30148 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30150 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30153 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30154 (CHECK_1_NULL_OK): Likewise.
30155 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30156 (__fxstat): Do not use CHECK_1.
30157 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30159 (___fxstat64): Do not use CHECK_1.
30160 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30162 (__fxstatat): Do not use CHECK_1.
30163 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30165 (__fxstatat64): Do not use CHECK_1.
30166 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30168 (__fxstat): Do not use CHECK_1.
30169 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30171 (__fxstatat): Do not use CHECK_1.
30172 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30174 (__getresgid): Do not use CHECK_1.
30175 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30177 (__getresuid): Do not use CHECK_1.
30178 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30180 (__lxstat): Do not use CHECK_1.
30181 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30183 (__old_msgctl): Do not use CHECK_1.
30184 (__new_msgctl): Likewise.
30185 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30187 (__new_setrlimit): Do not use CHECK_1.
30188 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30190 (__old_shmctl): Do not use CHECK_1.
30191 (__new_shmctl): Likewise.
30192 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30194 (__xstat): Do not use CHECK_1.
30195 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30196 (__lxstat): Do not use CHECK_1.
30197 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30199 (___lxstat64): Do not use CHECK_1.
30200 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30201 (__old_msgctl): Do not use CHECK_1.
30202 (__new_msgctl): Likewise.
30203 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30205 (__gettimeofday): Do not use CHECK_1.
30206 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30207 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30208 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30210 (__gettimeofday): Do not use CHECK_1.
30211 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30212 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30213 (__new_shmctl): Do not use CHECK_1.
30214 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30216 (do_sigtimedwait): Do not use CHECK_1.
30217 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30219 (do_sigwaitinfo): Do not use CHECK_1.
30220 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30222 (msgctl): Do not use CHECK_1.
30223 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30225 (shmctl): Do not use CHECK_1.
30226 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30227 (ustat): Do not use CHECK_1.
30228 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30230 (__fxstat): Do not use CHECK_1.
30231 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30233 (__fxstatat): Do not use CHECK_1.
30234 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30236 (__lxstat): Do not use CHECK_1.
30237 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30239 (__xstat): Do not use CHECK_1.
30240 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30241 (__xstat): Do not use CHECK_1.
30242 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30243 (___xstat64): Do not use CHECK_1.
30246 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30248 (CHECK_BOUNDS_HIGH): Likewise.
30249 * string/strcpy.c: Do not include <bp-checks.h>.
30250 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30252 2013-02-07 Roland McGrath <roland@hack.frob.com>
30254 * nscd/nscd-client.h (__nscd_drop_map_ref):
30255 Add __attribute__ ((unused)).
30256 * nis/nss-nisplus.h (niserr2nss): Likewise.
30258 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30259 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30261 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30262 Remove inline keyword.
30263 * include/rounding-mode.h (round_away): Likewise.
30264 * libio/wfileops.c (adjust_wide_data): Likewise.
30265 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30266 (__m128i_strloadu_tolower): Likewise.
30267 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30268 (__m128i_strloadu_tolower): Likewise.
30269 * time/mktime.c (ydhms_diff): Likewise.
30270 * locale/elem-hash.h (elem_hash): Likewise.
30271 * locale/setlocale.c (setdata): Likewise.
30272 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30273 (re_string_wchar_at): Likewise.
30274 (bitset_not, bitset_merge, bitset_mask): Likewise.
30275 [!(__GNUC__ > 3)] (inline): Remove macro.
30276 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30277 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30278 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30279 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30280 * string/memcmp.c (memcmp_bytes): Likewise.
30281 * locale/programs/locarchive.c (compute_hashval): Likewise.
30282 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30283 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30284 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30285 * nss/getent.c (print_rpc, print_protocols): Likewise.
30286 (print_passwd, print_group, print_aliases): Likewise.
30287 * nis/nss-nisplus.h (niserr2nss): Likewise.
30288 * nscd/connections.c (restart_p): Likewise.
30289 Change return type to bool.
30291 2013-02-05 Roland McGrath <roland@hack.frob.com>
30293 * Makeconfig (all-Depend-files): Add existing
30294 $(sorted-subdirs:=/Depend) files.
30295 (all-subdirs): Remove nss.
30296 * sysdeps/unix/inet/Subdirs: Add it here instead.
30297 * hesiod/Depend: New file.
30299 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30300 instead of calling alloca.
30302 * io/lseek.c (__lseek): Rename to __libc_lseek.
30303 Define __lseek as an alias.
30305 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30307 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30309 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30310 else clause and remove check for non-standard endianness.
30312 2013-02-04 David S. Miller <davem@davemloft.net>
30314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30316 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30319 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30320 (__ubp_memchr): Remove prototype.
30321 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30322 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30323 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30324 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30325 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30327 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30328 (__ubp_memchr): Likewise.
30329 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30330 (__ubp_memchr): Likewise.
30331 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30332 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30333 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30334 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30336 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30337 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30338 (__getcwd): Do not use CHECK_STRING.
30339 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30341 (__real_chown): Do not use CHECK_STRING.
30342 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30344 (fchownat): Do not use CHECK_STRING.
30345 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30347 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30349 (__lchown): Do not use CHECK_STRING.
30350 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30351 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30352 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30353 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30355 include <bp-checks.h>.
30356 (truncate64): Do not use CHECK_STRING.
30357 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30359 (__real_chown): Do not use CHECK_STRING.
30360 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30362 (__lchown): Do not use CHECK_STRING.
30363 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30365 (__chown): Do not use CHECK_STRING.
30366 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30368 (truncate64): Do not use CHECK_STRING.
30369 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30371 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30372 (__xmknod): Do not use CHECK_STRING.
30373 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30375 (__xmknodat): Do not use CHECK_STRING.
30376 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30377 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30379 2013-02-04 Andreas Schwab <schwab@suse.de>
30382 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30383 * include/netdb.h: Likewise for h_errno.
30384 * elf/tst-stackguard1.c: Include <tls.h>.
30386 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30388 * elf/link.h (struct link_map): Extend the l_addr comment.
30389 * include/link.h (struct link_map): Likewise.
30391 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30394 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30395 (BOUNDED_1): Remove macro.
30396 * debug/backtrace.c: Don't include <bp-checks.h>.
30397 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30398 (__backtrace): Likewise.
30399 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30401 (__backtrace): Don't use BOUNDED_1.
30402 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30404 (__backtrace): Don't use BOUNDED_1.
30405 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30406 (__backtrace): Don't use BOUNDED_1.
30407 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30408 (shmat): Don't use BOUNDED_N.
30410 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30413 * sysdeps/generic/bp-start.h: Remove file.
30414 * csu/libc-start.c: Don't include <bp-start.h>.
30415 (LIBC_START_MAIN): Set up __environ directly instead of using
30416 INIT_ARGV_and_ENVIRON.
30417 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30421 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30423 (CHECK_FCNTL): Likewise.
30424 (CHECK_N_PAGES): Likewise.
30427 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30429 (CHECK_SIGSET_NULL_OK): Likewise.
30430 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30432 (sigpending): Don't use CHECK_SIGSET.
30433 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30435 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30436 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30438 (do_sigsuspend): Don't use CHECK_SIGSET.
30439 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30441 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30442 (do_sigwait): Don't use CHECK_SIGSET.
30443 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30445 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30446 include <bp-checks.h>.
30447 (sigpending): Don't use CHECK_SIGSET.
30448 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30449 include <bp-checks.h>.
30450 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30451 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30453 (sigpending): Don't use CHECK_SIGSET.
30454 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30456 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30459 * sysdeps/generic/bp-semctl.h: Remove file.
30460 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30461 <bp-checks.h> and <bp-semctl.h>.
30462 (__old_semctl): Don't use CHECK_SEMCTL.
30463 (__new_semctl): Likewise.
30464 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30466 (__old_semctl): Don't use CHECK_SEMCTL.
30467 (__new_semctl): Likewise.
30468 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30469 <bp-checks.h> and <bp-semctl.h>.
30470 (__old_semctl): Don't use CHECK_SEMCTL.
30471 (__new_semctl): Likewise.
30472 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30473 <bp-checks.h> and <bp-semctl.h>.
30474 (semctl): Don't use CHECK_SEMCTL.
30477 * Makerules (elide-bp-thunks): Remove variable.
30478 (elide-routines.oS): Don't use $(elide-bp-thunks).
30479 (elide-routines.os): Likewise.
30480 (elide-routines.o): Likewise.
30481 (elide-routines.op): Likewise.
30482 (elide-routines.og): Likewise.
30483 (objects): Don't use $(bp-thunks).
30484 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30486 (common-generated): Do not add s-proto-bp.d.
30487 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30490 Do not generate makefile rules for bounded-pointer thunks.
30491 * sysdeps/generic/bp-thunks.h: Remove file.
30492 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30493 * sysdeps/unix/s-proto-bp.S: Likewise.
30496 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30497 parts of result separately when argument is not close to line from
30498 -i to i and one part of argument is small.
30499 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30500 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30501 * math/libm-test.inc (cacos_test): Add more tests.
30502 (casin_test): Likewise.
30503 (casinh_test): Likewise.
30504 * sysdeps/i386/fpu/libm-test-ulps: Update.
30505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30507 2013-01-31 David S. Miller <davem@davemloft.net>
30509 * po/de.po: Update from translation team.
30511 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30513 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30515 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30517 * configure.in (_AC_PROG_CC_C89): New definition.
30518 * configure: Regenerate.
30520 * configure.in (AC_PROG_CPP): New definition.
30521 * configure: Regenerate.
30523 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30525 * debug/tst-backtrace.h: New file.
30526 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30527 (ret): Remove variable.
30529 (FAIL): Remove macro.
30530 (NO_INLINE): Likewise.
30531 (fn1): Use match function instead of strstr.
30532 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30533 (ret): Remove variable.
30535 (FAIL): Remove macro.
30536 (NO_INLINE): Likewise.
30537 (fn): Use match function instead of strstr.
30538 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30539 (ret): Remove variable.
30541 (FAIL): Remove macro.
30542 (NO_INLINE): Likewise.
30543 (handle_signal): Use match function instead of strstr.
30544 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30545 (ret): Remove variable.
30547 (FAIL): Remove macro.
30548 (NO_INLINE): Likewise.
30549 (handle_signal): Use match function instead of strstr.
30551 2013-01-23 Roland McGrath <roland@hack.frob.com>
30553 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30555 2013-01-23 David S. Miller <davem@davemloft.net>
30557 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30558 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30559 argument of CAS if possible.
30560 * sysdeps/sparc/sparc64/bits/atomic.h
30561 (__arch_compare_and_exchange_val_32_acq): Likewise.
30562 (__arch_compare_and_exchange_val_64_acq): Likewise.
30564 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30566 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30567 * sysdeps/posix/ulimit.c: ... this.
30568 Include <limits.h>.
30569 * sysdeps/unix/bsd/ulimit.c: Remove file.
30571 2013-01-23 Adam Conrad <adconrad@0c3.net>
30573 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30574 (LDFLAGS-tst-array5): Likewise.
30576 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30579 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30580 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30581 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30582 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30584 2013-01-21 David S. Miller <davem@davemloft.net>
30586 * sysdeps/sparc/backtrace.c: New file.
30587 * sysdeps/sparc/sparc32/backtrace.h: New file.
30588 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30589 * sysdeps/sparc/sparc64/backtrace.h: New file.
30590 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30591 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30594 2013-01-21 Andreas Schwab <schwab@suse.de>
30597 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30600 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30606 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30607 Mark Mitchell <mark@codesourcery.com>
30608 Tom de Vries <tom@codesourcery.com>
30609 Paul Pluzhnikov <ppluzhnikov@google.com>
30611 * debug/tst-backtrace2.c: New file.
30612 * debug/tst-backtrace3.c: Likewise.
30613 * debug/tst-backtrace4.c: Likewise.
30614 * debug/tst-backtrace5.c: Likewise.
30615 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30616 (CFLAGS-tst-backtrace3.c): Likewise.
30617 (CFLAGS-tst-backtrace4.c): Likewise.
30618 (CFLAGS-tst-backtrace5.c): Likewise.
30619 (LDFLAGS-tst-backtrace2): Likewise.
30620 (LDFLAGS-tst-backtrace3): Likewise.
30621 (LDFLAGS-tst-backtrace4): Likewise.
30622 (LDFLAGS-tst-backtrace5): Likewise.
30623 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30624 tst-backtrace4 and tst-backtrace5.
30626 2013-01-18 Anton Blanchard <anton@samba.org>
30627 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30629 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30630 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30631 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30632 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30634 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30635 "+r" and remove output regs list as redundant. Add explicit inline
30636 asm to specify register of return val to work around compiler codegen
30637 bug. Remove (int) cast on return value. Add return type parameter to
30638 use in macro so that this macro does not truncate return value for
30640 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30641 pass to INTERNAL_VSYSCALL_NCS.
30642 (INLINE_VSYSCALL): Add 'long int' as return type to
30643 INTERNAL_VSYSCALL_NCS macro invocation.
30644 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30645 INTERNAL_VSYSCALL_NCS macro invocation.
30646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30648 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30651 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30652 Fix application of SIMD FP exception mask.
30654 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30655 mp_no from a power of two.
30656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30657 __mpexp_twomm1. Use __pow_mp.
30659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30662 2013-01-17 David S. Miller <davem@davemloft.net>
30664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30666 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30669 * include/complex.h: Condition contents on [!_COMPLEX_H].
30670 (__kernel_casinhf): New prototype.
30671 (__kernel_casinh): Likewise.
30672 (__kernel_casinhl): Likewise.
30673 * math/Makefile (libm_calls): Add k_casinh.
30674 * math/k_casinh.c: New file.
30675 * math/k_casinhf.c: Likewise.
30676 * math/k_casinhl.c: Likewise.
30677 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30678 finite nonzero arguments.
30679 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30680 finite nonzero arguments.
30681 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30682 finite nonzero arguments.
30683 * math/s_casinh.c: Do not include <float.h>.
30684 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30685 * math/s_casinhf.c: Do not include <float.h>.
30686 (__casinhf): Move code for finite nonzero arguments to
30688 * math/s_casinhl.c: Do not include <float.h>.
30689 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30691 (__casinhl): Move code for finite nonzero arguments to
30693 * math/libm-test.inc (cacos_test): Add more tests.
30694 * sysdeps/i386/fpu/libm-test-ulps: Update.
30695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30697 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30699 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30700 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30701 [!HAVE_MREMAP]: Remove [defined linux] case.
30702 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30704 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30706 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30708 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
30710 * elf/elf.h (R_386_SIZE32): New relocation.
30711 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30713 (elf_machine_rela): Likewise.
30714 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30715 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30717 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30719 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30720 (FP_FAST_FMA): Do not define.
30721 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30722 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30723 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30724 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30725 !_SOFT_FLOAT]: Likewise.
30726 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30727 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30729 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30730 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30731 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30732 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30733 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30734 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30737 2013-01-16 Andreas Schwab <schwab@suse.de>
30740 * include/stdlib.h (__mktemp): Add declaration.
30741 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30742 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30744 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30746 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30748 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30749 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30750 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30752 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30753 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30755 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30757 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30758 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30759 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30761 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30762 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30764 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30766 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30768 2013-01-15 David S. Miller <davem@davemloft.net>
30770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30771 trunc{,f} to libm-sysdep_routes.
30772 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30782 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30783 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30784 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30785 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30786 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30787 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30790 nearbyint{,f} to libm-sysdep_routes.
30791 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30802 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30804 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30805 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30807 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30808 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30809 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30811 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30812 libc_feholdexcept and libc_fesetenv.
30814 2013-01-15 Mike Frysinger <vapier@gentoo.org>
30816 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30818 2013-01-14 David S. Miller <davem@davemloft.net>
30820 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30821 (SPARC_ASM_VIS2_IFUNC): Likewise.
30822 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30824 use of 'siam' instruction.
30825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30858 routines to libm-sysdep_routines.
30859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30862 fdim/fdimf to libm-sysdep_routines.
30863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30871 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30872 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30873 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30874 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30876 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30878 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30879 to optimize copies.
30881 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30886 local variable MPTWO.
30887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30890 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30892 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30895 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30897 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30899 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30901 * manual/pattern.texi (glob_t): Document gl_flags.
30902 (glob64_t): Likewise.
30904 2013-01-11 David S. Miller <davem@davemloft.net>
30906 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30907 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30908 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
30909 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30910 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30911 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30912 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30913 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30914 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30915 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30916 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30917 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30918 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30920 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30921 sparc V9 rather than using V8 code.
30922 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30923 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30925 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30927 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30930 2013-01-11 Roland McGrath <roland@hack.frob.com>
30932 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30933 not in the main loop.
30934 * configure: Regenerated.
30936 2013-01-11 Joseph Myers <joseph@codesourcery.com>
30938 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30939 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30941 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30942 [!__GLIBC_HAVE_LONG_LONG] case.
30943 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30944 condition to just #else.
30945 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30946 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30947 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30948 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30950 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30951 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30952 #elif condition to just #else.
30953 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30954 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30955 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30956 #elif condition to just #else.
30958 2013-01-11 Steve Ellcey <sellcey@mips.com>
30960 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30961 (EF_MIPS_ARCH_64): Fix value.
30962 (EF_MIPS_ARCH_32R2): New.
30963 (EF_MIPS_ARCH_64R2): New.
30965 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30967 * Makeconfig (+link-pie-before-libc): New.
30968 (+link-pie-after-libc): Likewise.
30969 (+link-pie-tests): Likewise.
30970 (+link-pie): Rewritten.
30971 (link-before-libc): Remove $(config-LDFLAGS).
30972 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30973 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30974 (config-LDFLAGS): Renamed to ...
30975 (rtld-LDFLAGS): This.
30976 (rtld-tests-LDFLAGS): New macro.
30977 (link-libc-rpath-link): Likewise.
30978 (link-libc-tests-rpath-link): Likewise.
30979 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30980 (link-libc): Prepand $(link-libc-rpath-link).
30981 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30982 (test-program-prefix): New macro.
30983 (test-via-rtld-prefix): Likewise.
30984 (test-program-cmd): Likewise.
30985 (host-test-program-cmd): Likewise.
30986 * Makefile ($(common-objpfx)testrun.sh): Replace
30987 $(run-program-prefix) with $(test-program-prefix).
30988 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30990 ($(common-objpfx)shlib.lds): Likewise.
30991 (build-module-helper): Likewise.
30992 ($(common-objpfx)format.lds): Likewise.
30993 * Rules (binaries-pie-tests): New.
30994 (binaries-pie-notests): Likewise.
30995 (binaries-pie): Rewritten.
30996 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30997 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30998 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30999 (make-test-out): Replace $(host-built-program-cmd) with
31000 $(host-test-program-cmd).
31001 * config.make.in (build-hardcoded-path-in-tests): New variable.
31002 * configure.in (--enable-hardcoded-path-in-tests): New configure
31004 (hardcoded_path_in_tests): New AC_SUBST.
31005 * configure: Regenerated.
31006 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31007 $(built-program-cmd) with $(test-program-cmd).
31008 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31009 (test_program_cmd): This.
31010 * elf/Makefile ($(objpfx)order.out): Run test with
31011 $(test-program-prefix).
31012 ($(objpfx)order2.out): Likewise.
31013 ($(objpfx)tst-initorder.out): Likewise.
31014 ($(objpfx)tst-initorder2.out): Likewise.
31015 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31016 $(test-program-cmd).
31017 ($(objpfx)tst-array1-static.out): Likewise.
31018 ($(objpfx)tst-array2.out): Likewise.
31019 ($(objpfx)tst-array3.out): Likewise.
31020 ($(objpfx)tst-array4.out): Likewise.
31021 ($(objpfx)tst-array5.out): Likewise.
31022 ($(objpfx)tst-array5-static.out): Likewise.
31023 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31024 $(test-program-cmd).
31025 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31026 $(run-program-prefix) with $(test-program-prefix).
31027 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31028 (test_program_prefix): This.
31029 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31030 $(run-program-prefix) with $(test-program-prefix).
31031 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31032 (test_program_prefix): This.
31033 * iconvdata/tst-tables.sh: Likewise.
31034 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31035 $(run-program-prefix) with $(test-program-prefix).
31036 ($(objpfx)tst-translit.out): Likewise.
31037 ($(objpfx)tst-gettext2.out): Likewise.
31038 ($(objpfx)tst-gettext4.out): Likewise.
31039 ($(objpfx)tst-gettext6.out): Likewise.
31040 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31041 (test_program_prefix): This.
31042 * intl/tst-gettext2.sh: Likewise.
31043 * intl/tst-gettext4.sh Likewise.
31044 * intl/tst-gettext6.sh: Likewise.
31045 * intl/tst-translit.sh: Likewise.
31046 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31047 with $(test-program-cmd).
31048 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31049 $(run-program-prefix) with $(test-program-prefix).
31050 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31051 (test_program_prefix): This.
31052 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31053 $(run-program-prefix) with $(test-program-prefix).
31054 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31055 (test_program_prefix): This.
31056 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31057 * posix/Makefile ($(objpfx)globtest.out): Replace
31058 $(run-via-rtld-prefix) and $(test-wrapper) with
31059 $(test-program-prefix) and $(test-via-rtld-prefix).
31060 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31061 $(test-program-prefix).
31062 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31063 $(host-test-program-cmd).
31064 (tst-spawn-ARGS): Likewise.
31065 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31066 $(test-program-prefix).
31067 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31068 (test_via_rtld_prefix): This.
31069 (test_wrapper): Renamed to ...
31070 (test_program_prefix): This.
31071 (run_program_prefix): Replaced by test_program_prefix.
31072 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31073 (test_program_prefix): This.
31074 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31075 with $(host-test-program-cmd).
31076 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31077 $(run-program-prefix) with $(test-program-prefix).
31078 ($(objpfx)tst-printf.out): Likewise.
31079 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31080 $(test-program-cmd).
31081 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31082 (test_program_prefix): This.
31083 * stdio-common/tst-unbputc.sh: Likewise.
31084 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31085 $(run-program-prefix) with $(test-program-prefix).
31086 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31087 (test_program_prefix): This.
31088 * string/Makefile ($(objpfx)tst-svc.out): Replace
31089 $(built-program-cmd) with $(test-program-cmd).
31091 2013-01-11 Andreas Jaeger <aj@suse.de>
31094 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31095 value. Sync with Linux 3.7.
31097 2013-01-10 David S. Miller <davem@davemloft.net>
31099 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31100 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31101 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31103 2013-01-10 Roland McGrath <roland@hack.frob.com>
31105 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31107 * configure: Regenerated.
31109 2013-01-10 David S. Miller <davem@davemloft.net>
31111 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31112 sparc V9 rather than using V8 code.
31113 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31114 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31116 2013-01-10 Roland McGrath <roland@hack.frob.com>
31118 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31119 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31120 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31121 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31122 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31123 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31124 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31125 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31126 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31127 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31128 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31129 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31130 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31131 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31132 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31133 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31134 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31135 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31136 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31137 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31138 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31139 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31140 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31141 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31142 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31143 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31144 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31146 2013-01-10 David S. Miller <davem@davemloft.net>
31148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31150 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31152 * posix/Makefile (tests-static): New variable.
31153 (tests): Add $(tests-static).
31154 (tst-exec-static-ARGS): New variable.
31155 (tst-spawn-static-ARGS): Likewise.
31156 * posix/tst-exec-static.c: New file.
31157 * posix/tst-spawn-static.c: Likewise.
31158 * posix/tst-exec.c: Support run directly.
31159 * posix/tst-spawn.c: Likewise.
31161 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31163 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31165 * math/bits/mathcalls.h (llrint): Likewise.
31166 (llround): Likewise.
31167 * stdlib/stdlib.h (struct drand48_data): Likewise.
31168 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31169 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31170 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31172 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31174 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31175 (elf_greg_t): Likewise.
31176 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31177 (__jmp_buf): Likewise.
31178 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31180 (llrint): Likewise, for all definitions.
31181 (llrintl): Likewise.
31183 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31184 Remove [__GNUC__] condition.
31185 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31186 condition to just [__USE_ISOC99].
31187 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31189 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31192 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31193 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31195 (_POSIX_V6_ILP32_OFF32): Likewise.
31196 (_XBS5_ILP32_OFF32): Likewise.
31197 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31198 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31200 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31202 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31204 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31205 doubles __mpexp_twomm1. Adjust usage.
31206 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31209 2013-01-10 Andreas Schwab <schwab@suse.de>
31212 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31213 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31215 2013-01-09 David S. Miller <davem@davemloft.net>
31218 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31219 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31220 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31221 (TCP_FASTOPEN): Define.
31222 (tcp_repair_opt): New structure.
31223 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31225 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31226 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31227 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31228 (tcp_cookie_transactions): New structure.
31230 2013-01-09 Anton Blanchard <anton@samba.org>
31232 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31233 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31234 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31235 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31237 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31239 * include/features.h (__USE_ANSI): Remove.
31241 2013-01-09 Roland McGrath <roland@hack.frob.com>
31243 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31245 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31247 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31249 * sysdeps/s390/fpu/libm-test-ulps: Update.
31251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31253 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31257 (denorm): Likewise.
31258 (__mp_dbl): Likewise.
31259 (__dbl_mp): Likewise.
31260 (add_magnitudes): Likewise.
31261 (sub_magnitudes): Likewise.
31267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31271 (denorm): Likewise.
31272 (__mp_dbl): Likewise.
31273 (__dbl_mp): Likewise.
31274 (add_magnitudes): Likewise.
31275 (sub_magnitudes): Likewise.
31281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31285 (denorm): Likewise.
31286 (__mp_dbl): Likewise.
31287 (__dbl_mp): Likewise.
31288 (add_magnitudes): Likewise.
31289 (sub_magnitudes): Likewise.
31296 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31298 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31299 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31300 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31301 2 && __USE_EXTERN_INLINES]: Likewise.
31303 2013-01-08 Andreas Jaeger <aj@suse.de>
31306 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31308 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31309 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31311 2013-01-07 Anton Blanchard <anton@samba.org>
31313 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31314 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31315 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31316 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31317 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31318 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31319 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31320 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31322 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31323 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31324 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31325 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31326 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31327 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31328 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31329 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31330 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31331 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31332 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31333 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31334 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31335 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31336 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31337 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31338 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31339 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31340 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31342 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31343 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31345 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31346 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31347 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31348 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31349 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31350 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31351 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31352 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31353 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31354 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31355 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31357 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31359 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31360 (__MALLOC_PMT): Likewise.
31361 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31362 [__GNUC__], only on [_LIBC].
31363 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31364 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31365 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31366 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31367 forward declaration.
31368 (realloc_hook_ini): Likewise.
31369 (memalign_hook_ini): Likewise.
31370 (__libc_memalign): Do not use __MALLOC_PMT in variable
31372 (__libc_valloc): Likewise.
31373 (__libc_pvalloc): Likewise.
31374 (__libc_calloc): Likewise.
31375 (__posix_memalign): Likewise.
31378 * math/s_casinh.c: Include <float.h>.
31379 (__casinh): Do not do computation with squaring and square root
31380 for large arguments.
31381 * math/s_casinhf.c: Include <float.h>.
31382 (__casinhf): Do not do computation with squaring and square root
31383 for large arguments.
31384 * math/s_casinhl.c: Include <float.h>.
31385 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31386 (__casinhl): Do not do computation with squaring and square root
31387 for large arguments.
31388 * math/libm-test.inc (casin_test): Add more tests.
31389 (casinh_test): Likewise.
31390 * sysdeps/i386/fpu/libm-test-ulps: Update.
31391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31393 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31395 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31396 (__x86_64_raw_data_cache_size): Likewise.
31397 (__x86_64_data_cache_size_half): Likewise.
31398 (__x86_64_raw_data_cache_size_half): Likewise.
31399 (__x86_64_shared_cache_size): Likewise.
31400 (__x86_64_raw_shared_cache_size): Likewise.
31401 (__x86_64_shared_cache_size_half): Likewise.
31402 (__x86_64_raw_shared_cache_size_half): Likewise.
31403 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31405 (__x86_data_cache_size): This.
31406 (__x86_64_raw_data_cache_size): Renamed to ...
31407 (__x86_raw_data_cache_size): This.
31408 (__x86_64_data_cache_size_half): Renamed to ...
31409 (__x86_data_cache_size_half): This.
31410 (__x86_64_raw_data_cache_size_half): Renamed to ...
31411 (__x86_raw_data_cache_size_half): This.
31412 (__x86_64_shared_cache_size): Renamed to ...
31413 (__x86_shared_cache_size): This.
31414 (__x86_64_raw_shared_cache_size): Renamed to ...
31415 (__x86_raw_shared_cache_size): This.
31416 (__x86_64_shared_cache_size_half): Renamed to ...
31417 (__x86_shared_cache_size_half): This.
31418 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31419 (__x86_raw_shared_cache_size_half): This.
31420 * sysdeps/x86_64/memcpy.S: Updated.
31421 * sysdeps/x86_64/memset.S: Likewise.
31422 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31424 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31426 2013-01-04 David S. Miller <davem@davemloft.net>
31428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31430 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31432 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31433 1 to avoid redefinition warning.
31434 (__USE_GNU): Don't define.
31435 (init_signaling_nan): Protoize.
31437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31439 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31441 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31443 (__cpymn): Likewise.
31444 (norm): Remove commented code.
31445 (denorm): Likewise.
31446 (__mp_dbl): Likewise.
31448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31449 (__cpymn): Likewise.
31450 (norm): Remove commented code.
31451 (denorm): Likewise.
31452 (__mp_dbl): Likewise.
31455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31456 mp_no value for 1.0 and 2.0.
31457 (norm): Use RADIXI instead of radixi.d.
31458 (denorm): Likewise.
31459 (__mul): Use 0.0 instead of zero.d.
31460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31461 mp_no value for 1.0 and 2.0.
31462 (norm): Use RADIXI instead of radixi.d.
31463 (denorm): Likewise.
31464 (__mul): Use 0.0 instead of zero.d.
31466 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31469 * math/s_casinh.c (__casinh): Reduce finite argument to first
31470 quadrant then set signs of results at the end.
31471 * math/s_casinhf.c (__casinhf): Likewise.
31472 * math/s_casinhl.c (__casinhl): Likewise.
31473 * math/libm-test.inc (casin_test): Add more tests.
31474 (casinh_test): Likewise.
31475 * sysdeps/i386/fpu/libm-test-ulps: Update.
31476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31478 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31480 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31482 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31484 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31486 (denorm): Likewise.
31487 (__mp_dbl): Likewise.
31490 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31491 and adjust the header comment.
31493 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31494 variable name from declaration.
31496 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31499 Initialize COMMON_CPUID_INDEX_7 element.
31500 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31501 (CPUID_RTM): Likewise.
31502 (HAS_RTM): Likewise.
31503 (COMMON_CPUID_INDEX_7): New enum.
31505 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31508 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31509 size is zero, record memory as freed.
31511 2013-01-03 Andreas Jaeger <aj@suse.de>
31513 * po/ia.po: Add new Interlingua translation.
31515 2012-01-03 Allan McRae <allan@archlinux.org>
31517 * locale/programs/localedef.c: Fix description of '--posix' flag.
31519 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31521 * NEWS: Update dates in second copyright notice.
31522 * README: Update copyright dates in example.
31523 * manual/libc.texinfo: Update copyright dates.
31524 * scripts/test-installation.pl: Update copyright date in --version
31527 * hurd/ctty-input.c: Fix copyright notice formatting.
31528 * hurd/ctty-output.c: Likewise.
31529 * hurd/dtable.c: Likewise.
31530 * hurd/hurd-raise.c: Likewise.
31531 * hurd/hurdprio.c: Likewise.
31532 * hurd/msgportdemux.c: Likewise.
31533 * misc/sys/file.h: Likewise.
31534 * misc/sys/ioctl.h: Likewise.
31535 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31536 * sysdeps/mach/hurd/chdir.c: Likewise.
31537 * sysdeps/mach/hurd/fchdir.c: Likewise.
31538 * sysdeps/mach/hurd/rename.c: Likewise.
31539 * sysdeps/mach/hurd/rmdir.c: Likewise.
31540 * sysdeps/mach/hurd/seekdir.c: Likewise.
31541 * sysdeps/mach/hurd/setsid.c: Likewise.
31542 * sysdeps/posix/wait3.c: Likewise.
31544 * All files with FSF copyright notices: Update copyright dates
31545 using scripts/update-copyrights.
31546 * intl/plural.c: Regenerated.
31547 * locale/programs/charmap-kw.h: Likewise.
31548 * locale/programs/locfile-kw.h: Likewise.
31550 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31552 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31555 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31556 calculation loop and add branch prediction.
31558 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31559 check access beyond bounds of m1np.
31561 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31563 (__inv): Remove local variable MPTWO to use the global
31565 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31566 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31568 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31569 MP3HALFS static const.
31571 2013-01-01 David S. Miller <davem@davemloft.net>
31573 * po/ca.po: Update from translation team.
31575 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31577 * scripts/update-copyrights: New file.
31578 * Makeconfig: Reformat copyright notice.
31579 * ctype/ctype.h: Likewise.
31580 * debug/swprintf_chk.c: Likewise.
31581 * elf/dl-cache.c: Likewise.
31582 * elf/dl-debug.c: Likewise.
31583 * elf/dl-object.c: Likewise.
31584 * grp/initgroups.c: Likewise.
31585 * hurd/Makefile: Likewise.
31586 * hurd/hurd/signal.h: Likewise.
31587 * hurd/hurdfault.c: Likewise.
31588 * hurd/hurdioctl.c: Likewise.
31589 * hurd/hurdlookup.c: Likewise.
31590 * hurd/intr-msg.c: Likewise.
31591 * iconv/gconv_open.c: Likewise.
31592 * libio/swprintf.c: Likewise.
31593 * locale/lc-ctype.c: Likewise.
31594 * locale/nl_langinfo.c: Likewise.
31595 * mach/Machrules: Likewise.
31596 * mach/Makefile: Likewise.
31597 * malloc/obstack.h: Likewise.
31598 * manual/Makefile: Likewise.
31599 * manual/tsort.awk: Likewise.
31600 * misc/bits/stab.def: Likewise.
31601 * nis/nis_print_group_entry.c: Likewise.
31602 * nis/nis_table.c: Likewise.
31603 * nis/nss_compat/compat-pwd.c: Likewise.
31604 * nis/nss_compat/compat-spwd.c: Likewise.
31605 * po/Makefile: Likewise.
31606 * posix/fnmatch.c: Likewise.
31607 * posix/regex.h: Likewise.
31608 * resolv/Makefile: Likewise.
31609 * resolv/nss_dns/dns-network.c: Likewise.
31610 * resolv/res_hconf.c: Likewise.
31611 * scripts/gen-sorted.awk: Likewise.
31612 * soft-fp/soft-fp.h: Likewise.
31613 * stdio-common/printf.h: Likewise.
31614 * stdlib/monetary.h: Likewise.
31615 * stdlib/random.c: Likewise.
31616 * stdlib/random_r.c: Likewise.
31617 * sysdeps/generic/Makefile: Likewise.
31618 * sysdeps/gnu/Makefile: Likewise.
31619 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31621 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31623 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31625 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31626 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31627 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31629 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31630 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31631 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31632 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31633 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31634 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31636 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31637 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31639 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31640 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31641 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31642 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31643 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31644 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31645 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31646 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31647 * sysdeps/mach/hurd/errnos.awk: Likewise.
31648 * sysdeps/mach/hurd/fork.c: Likewise.
31649 * sysdeps/mach/hurd/getcwd.c: Likewise.
31650 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31651 * sysdeps/mach/hurd/mmap.c: Likewise.
31652 * sysdeps/mach/hurd/utimes.c: Likewise.
31653 * sysdeps/mach/hurd/xmknod.c: Likewise.
31654 * sysdeps/posix/profil.c: Likewise.
31655 * sysdeps/posix/readdir_r.c: Likewise.
31656 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31657 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31658 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31659 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31661 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31662 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31663 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31665 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31666 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31667 * sysdeps/pthread/lio_listio.c: Likewise.
31668 * sysdeps/sparc/dl-procinfo.h: Likewise.
31669 * sysdeps/unix/i386/sysdep.S: Likewise.
31670 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31671 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31672 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31673 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31675 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31676 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31677 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31678 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31679 * sysdeps/wordsize-32/divdi3.c: Likewise.
31680 * time/sys/time.h: Likewise.
31681 * wcsmbs/Makefile: Likewise.
31683 2013-01-01 David S. Miller <davem@davemloft.net>
31685 * po/fr.po: Update from translation team.
31687 * catgets/gencat.c: Update copyright year.
31688 * csu/version.c: Likewise.
31689 * debug/catchsegv.sh: Likewise.
31690 * debug/pcprofiledump.c: Likewise.
31691 * debug/xtrace.sh: Likewise.
31692 * elf/ldconfig.c: Likewise.
31693 * elf/ldd.bash.in: Likewise.
31694 * elf/pldd.c: Likewise.
31695 * elf/sotruss.ksh: Likewise.
31696 * elf/sprof.c: Likewise.
31697 * iconv/iconv_prog.c: Likewise.
31698 * iconv/iconvconfig.c: Likewise.
31699 * locale/programs/locale.c: Likewise.
31700 * locale/programs/localedef.c: Likewise.
31701 * login/programs/pt_chown.c: Likewise.
31702 * malloc/memusage.sh: Likewise.
31703 * malloc/memusagestat.c: Likewise.
31704 * malloc/mtrace.pl: Likewise.
31705 * nscd/nscd.c: Likewise.
31706 * nss/getent.c: Likewise.
31707 * nss/makedb.c: Likewise.
31708 * posix/getconf.c: Likewise.
31710 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31712 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31715 2012-12-30 Mike Frysinger <vapier@gentoo.org>
31717 * math/bits/mathcalls.h (modf): Use __nonnull.
31719 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31721 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31722 (split): Use macro CN instead of the bare value.
31723 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31726 instead of the bare value.
31727 (power1): Likewise.
31729 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31731 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31733 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31735 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31737 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31738 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31739 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31740 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31742 2012-12-28 Andreas Jaeger <aj@suse.de>
31744 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
31745 values are from Linux 3.7.
31747 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31748 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31750 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31752 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31755 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31757 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31758 variables with preprocessor constants.
31759 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31760 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31761 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31763 2012-12-27 Bruno Haible <bruno@clisp.org>
31766 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31769 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31772 and use variable directly.
31773 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31775 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31777 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31778 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31780 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31781 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31782 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31783 include directive. Remove local variable MPONE.
31784 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31785 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31786 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31788 2012-12-25 David S. Miller <davem@davemloft.net>
31790 * version.h (RELEASE): Set to "development".
31791 (VERSION): Set to "2.17.90".
31792 * NEWS: Add 2.18 section.
31794 2012-12-21 David S. Miller <davem@davemloft.net>
31796 * po/hr.po: Update from translation team.
31798 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31800 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31802 2012-12-19 Steve Ellcey <sellcey@mips.com>
31804 * NEWS: Mention new memcpy for MIPS.
31806 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31808 * manual/contrib.texi (Contributors): Spelling correction.
31810 2012-12-15 David S. Miller <davem@davemloft.net>
31812 * po/ru.po: Update from translation team.
31814 2012-12-13 David S. Miller <davem@davemloft.net>
31816 * NEWS: Mention IFUNC testsuite enhancements.
31818 * po/pl.po: Update from translation team.
31819 * po/bg.po: Likewise.
31821 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31822 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31824 2012-12-11 David S. Miller <davem@davemloft.net>
31826 * po/sv.po: Update from translation team.
31828 * po/vi.po: Update from translation team.
31830 * po/cs.po: Update from translation team.
31832 * po/de.po: Update from translation team.
31833 * po/eo.po: Likewise.
31834 * po/nl.po: Likewise.
31836 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31839 * manual/argp.texi (Argp Helper Functions): Move node to follow
31840 Argp Parsing State.
31843 * manual/conf.texi (Limits on File System Capacity): Mention if
31844 terminating null is included in the max size.
31846 2012-12-10 Andreas Jaeger <aj@suse.de>
31848 * po/cs.po: Update from translation team.
31850 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31852 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31853 void pointer and cast to uintptr_t.
31854 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31856 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31857 * sysdeps/s390/s390-64/memset.S: Likewise.
31859 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
31862 * menual/message.texi (Message Translation): Fix typos.
31863 (Helper programs for gettext): Likewise.
31865 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31868 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31871 2012-12-07 David S. Miller <davem@davemloft.net>
31873 * po/libc.pot: Update.
31875 2012-12-07 Richard Henderson <rth@redhat.com>
31878 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31879 normal/normal case to before the switch.
31880 (_FP_DIV): Likewise.
31882 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31883 Mike Frysinger <vapier@gentoo.org>
31885 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31886 check for __NR_fadvise64_64.
31888 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31890 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31891 0, not just to plain "0" as a statement.
31892 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31895 2012-12-06 Joseph Myers <joseph@codesourcery.com>
31897 * NEWS: Use sourceware.org in Bugzilla URL.
31899 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31902 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31904 * stdio-common/tst-put-error.c (do_test): Add newline to the
31905 padded test to ensure flush.
31907 2012-12-05 Jeff Law <law@redhat.com>
31909 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31911 2012-12-05 Joseph Myers <joseph@codesourcery.com>
31913 * README: Don't refer to ports add-on as distributed separately.
31914 Mention AArch64 in list of systems supported in the ports add-on.
31916 * LICENSES: Add more non-FSF copyright and license notices.
31918 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31921 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31923 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31924 10000 as width of padded output.
31926 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31928 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31930 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31931 variable LX with __attribute__ ((unused)).
31932 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31934 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31936 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31937 with __attribute__ ((unused)).
31939 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
31941 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31943 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31945 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31946 (CFLAGS-nldbl-acos.c): New variable.
31947 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31948 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31949 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31950 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31951 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31952 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31953 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31954 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31955 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31956 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31957 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31958 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31959 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31960 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31961 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31962 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31963 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31964 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31965 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31966 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31967 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31968 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31969 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31970 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31971 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31972 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31973 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31974 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31975 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31976 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31977 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31978 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31979 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31980 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31981 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31982 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31983 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31984 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31985 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31986 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31987 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31988 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31989 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31990 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31991 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31992 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31993 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31994 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31995 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31996 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31997 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31998 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31999 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32000 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32001 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32002 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32003 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32004 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32005 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32006 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32007 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32008 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32009 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32010 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32011 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32012 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32013 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32014 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32015 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32016 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32017 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32018 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32019 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32020 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32021 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32022 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32023 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32024 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32025 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32026 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32027 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32028 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32029 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32030 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32031 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32032 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32033 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32034 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32035 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32036 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32037 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32038 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32039 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32040 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32041 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32042 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32043 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32046 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32050 whole low double instead of just low 47 bits when splitting values
32053 2012-12-03 Allan McRae <allan@archlinux.org>
32055 * manual/stdio.texi (Predefined Printf Handlers): Remove
32056 @hsep and @vsep usage.
32058 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32060 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32061 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32063 2012-12-03 Jeff Law <law@redhat.com>
32065 * time/sys/time.h (settimeofday): Do not mark TV argument
32068 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32070 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32071 when currently writing and seek to current position when not.
32072 * libio/Makefile (tests): Remove bug-fclose1.
32073 * libio/bug-fclose1.c: Delete.
32075 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32077 * manual/arith.texi (feenableexcept): Fix typo.
32078 (fedisableexcept): Likewise.
32080 2012-11-30 Roland McGrath <roland@hack.frob.com>
32082 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32083 second, differently-typed declaration, rather than a cast.
32085 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32087 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32088 * include/rpc/svc.h: ... here.
32090 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32093 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32094 depending n and resplen2 to catch cases where answer
32097 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32099 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32100 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32102 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32104 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32106 2012-11-29 Roland McGrath <roland@hack.frob.com>
32108 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32110 2012-11-28 Jeff Law <law@redhat.com>
32113 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32114 dataset_temporary. Track alloca usage into alloca_used.
32115 If dataset is large allocate and release it via malloc/free.
32117 2012-06-04 Florian Weimer <fweimer@redhat.com>
32120 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32122 2012-11-28 David S. Miller <davem@davemloft.net>
32124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32126 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32129 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32130 of pi/2 rounded to nearest to 64 bits.
32131 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32132 nearest to 64 bits.
32133 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32136 2012-11-28 Jeff Law <law@redhat.com>
32137 Martin Osvald <mosvald@redhat.com>
32140 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32141 * sunrpc/svc.c: Include time.h.
32142 (__svc_accept_failed): New function.
32143 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32144 any reason other than EINTR, call __svc_accept_failed.
32145 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32146 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32148 2012-11-28 Andreas Schwab <schwab@suse.de>
32150 * scripts/abilist.awk: Also handle indirect functions in .opd
32153 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32156 * sysdeps/x86/fpu/powl_helper.c: New file.
32157 * sysdeps/x86/fpu/Makefile: Likewise.
32158 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32160 (__ieee754_powl): Use __powl_helper for finite arguments except
32161 integer exponents below 8.
32162 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32164 (__ieee754_powl): Use __powl_helper for finite arguments except
32165 integer exponents below 8.
32166 * math/libm-test.inc (pow_test): Add more tests and enable some
32167 previously disabled tests.
32168 * sysdeps/i386/fpu/libm-test-ulps: Update.
32169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32171 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32172 Carlos O'Donell <carlos_odonell@mentor.com>
32174 * nss/makedb.c (is_prime): Assert that input is odd and greater
32175 than 4. Note that fact in a comment too.
32176 (next_prime): Add 4 to input.
32178 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32181 * libio/Makefile (tests): Add test case tst-fwrite-error.
32182 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32183 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32184 * libio/tst-fwrite-error.c: New test case.
32186 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32188 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32189 before casting to void *.
32190 * include/libc-internal.h (__pointer_type): New macro.
32191 (__integer_if_pointer_type_sub): Likewise.
32192 (__integer_if_pointer_type): Likewise.
32193 (cast_to_integer): Likewise.
32194 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32195 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32196 before casting to atomic64_t.
32197 (atomic_exchange_acq): Likewise.
32198 (__arch_exchange_and_add_body): Likewise.
32199 (__arch_add_body): Likewise.
32200 (atomic_add_negative): Likewise.
32201 (atomic_add_zero): Likewise.
32203 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32205 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32206 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32207 (add_fdes): Likewise.
32208 (linear_search_fdes): Likewise.
32209 (binary_search_unencoded_fdes): Likewise.
32211 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32213 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32215 2012-11-24 Adam Conrad <adconrad@0c3.net>
32217 * configure.in: Autodetect C++ header directories.
32218 * configure: Regenerated.
32220 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32222 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32224 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32228 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32230 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32231 LDBL_MANT_DIG == 106]: Disable some tests.
32232 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32234 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32238 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32239 input for small inputs. Return +/- pi/2 for large inputs.
32240 * math/libm-test.inc (atan_test): Add more tests.
32242 * sysdeps/generic/unwind-dw2-fde-glibc.c
32243 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32244 __attribute__ ((unused)).
32247 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32248 x * y if x and y are nonzero and z is zero.
32251 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32252 nonzero exponents with absolute value below 0x1p-117 to +/-
32256 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32257 up arguments below 2**-450, not just those below 2**-500.
32258 * math/libm-test.inc (hypot_test): Add another test.
32261 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32262 Return a+b for ratio over 2**120, not 2**60.
32263 * math/libm-test.inc (hypot_test): Add another test.
32265 * math/libm-test.inc (clog_test): Use
32266 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32267 (clog10_test): Likewise.
32270 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32272 2012-11-22 Andreas Schwab <schwab@suse.de>
32274 * sysdeps/i386/fpu/libm-test-ulps: Update.
32276 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32278 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32279 printf output with newline.
32281 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32284 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32285 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32286 -z nodlopen, -z initfirst and -z execstack support.
32287 * configure: Regenerated.
32289 * elf/elf.h (DF_1_NODIRECT): New macro.
32290 (DF_1_IGNMULDEF): Likewise.
32291 (DF_1_NOKSYMS): Likewise.
32292 (DF_1_NOHDR): Likewise.
32293 (DF_1_EDITED): Likewise.
32294 (DF_1_NORELOC): Likewise.
32295 (DF_1_SYMINTPOSE): Likewise.
32296 (DF_1_GLOBAUDIT): Likewise.
32297 (DF_1_SINGLETON): Likewise.
32298 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32299 DT_1_SUPPORTED_MASK bits.
32300 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32302 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32304 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32306 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32308 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32311 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32312 (sendmmsg): Move declarations...
32313 * socket/sys/socket.h: ... here.
32314 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32315 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32317 * socket/recvmmsg.c: ... this new file.
32318 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32319 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32320 definition of __sendmmsg hidden.
32321 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32322 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32323 Move ENOSYS stub into and include it from...
32324 * socket/sendmmsg.c: ... this new file.
32325 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32326 (sysdep_routines): Move recvmmsg and sendmmsg...
32327 * socket/Makefile (routines): ... here.
32328 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32329 (GLIBC_PRIVATE): Add __sendmmsg.
32330 * include/sys/socket.h (__sendmmsg): Add declarations.
32331 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32334 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32336 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32337 variable I1 with __attribute__ ((unused)).
32338 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32340 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32342 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32343 DUMMY variables with __attribute__ ((unused)).
32345 * bits/byteswap.h: Include <bits/types.h>.
32346 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32348 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32350 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32351 string_t. Do not manually set errno.
32352 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32353 length with __strnlen. Make sure to both set errno and return it on
32356 2012-11-19 David S. Miller <davem@davemloft.net>
32358 With help from Joseph Myers.
32359 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32360 very large arguments properly.
32361 * math/libm-test.inc (atan_test): New tests.
32362 (atan2_test): New tests.
32363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32366 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32369 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32372 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32373 [POSIX] (EADDRNOTAVAIL): Likewise.
32374 [POSIX] (EAFNOSUPPORT): Likewise.
32375 [POSIX] (EALREADY): Likewise.
32376 [POSIX] (ECONNABORTED): Likewise.
32377 [POSIX] (ECONNREFUSED): Likewise.
32378 [POSIX] (ECONNRESET): Likewise.
32379 [POSIX] (EDESTADDRREQ): Likewise.
32380 [POSIX] (EDQUOT): Likewise.
32381 [POSIX] (EHOSTUNREACH): Likewise.
32382 [POSIX] (EIDRM): Likewise.
32383 [POSIX] (EISCONN): Likewise.
32384 [POSIX] (ELOOP): Likewise.
32385 [POSIX] (EMULTIHOP): Likewise.
32386 [POSIX] (ENETDOWN): Likewise.
32387 [POSIX] (ENETUNREACH): Likewise.
32388 [POSIX] (ENOBUFS): Likewise.
32389 [POSIX] (ENODATA): Likewise.
32390 [POSIX] (ENOLINK): Likewise.
32391 [POSIX] (ENOMSG): Likewise.
32392 [POSIX] (ENOPROTOOPT): Likewise.
32393 [POSIX] (ENOSR): Likewise.
32394 [POSIX] (ENOSTR): Likewise.
32395 [POSIX] (ENOTCONN): Likewise.
32396 [POSIX] (ENOTSOCK): Likewise.
32397 [POSIX] (EOPNOTSUPP): Likewise.
32398 [POSIX] (EOVERFLOW): Likewise.
32399 [POSIX] (EPROTO): Likewise.
32400 [POSIX] (EPROTONOSUPPORT): Likewise.
32401 [POSIX] (EPROTOTYPE): Likewise.
32402 [POSIX] (ESTALE): Likewise.
32403 [POSIX] (ETIME): Likewise.
32404 [POSIX] (ETXTBSY): Likewise.
32405 [POSIX] (EWOULDBLOCK): Likewise.
32406 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32407 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32408 [POSIX] (SEEK_CUR): Likewise.
32409 [POSIX] (SEEK_END): Likewise.
32410 [POSIX || UNIX98] (mode_t): Do not require.
32411 [POSIX] (off_t): Likewise.
32412 [POSIX] (pid_t): Likewise.
32413 [POSIX] (sys/stat.h): Do not allow header.
32414 [POSIX] (unistd.h): Likewise.
32415 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32416 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32417 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32418 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32420 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32421 sigevent): Specify elements.
32422 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32424 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32425 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32427 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32428 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32429 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32430 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32431 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32432 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32433 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32434 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32435 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32436 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32437 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32438 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32439 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32440 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32442 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32444 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32446 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32448 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32449 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32450 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32451 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32452 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32453 Specify lower bound on value.
32454 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32455 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32456 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32457 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32458 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32459 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32460 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32461 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32463 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32465 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32466 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32467 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32468 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32469 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32470 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32471 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32472 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32473 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32474 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32475 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32476 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32477 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32478 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32479 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32480 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32482 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32484 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32485 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32486 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32487 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32488 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32489 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32491 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32492 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32493 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32494 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32495 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32496 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32497 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32499 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32500 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32501 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32502 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32503 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32504 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32505 specify as optional.
32506 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32507 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32508 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32509 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32510 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32511 [XPG3] (NL_LANGMAX): Likewise.
32512 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32513 [POSIX || XPG3] (NL_NMAX): Likewise.
32514 [POSIX || XPG3] (NL_SETMAX): Likewise.
32515 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32516 [XPG3] (NZERO): Likewise.
32517 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32518 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32519 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32520 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32521 (REG_ERANGE): Expect.
32522 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32524 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32525 Use (void) in prototype.
32526 [POSIX] (*_t): Allow.
32527 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32528 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32529 (WRDE_BADVAL): Expect.
32531 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32533 [XPG3 || XPG4] (O_RSYNC): Likewise.
32534 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32536 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32537 [XPG3 || XPG4] (sigqueue): Likewise.
32538 [XPG3 || XPG4] (sigtimedwait): Likewise.
32539 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32540 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32541 [XPG3 || XPG4] (vsnprintf): Likewise.
32542 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32544 [XPG3 || XPG4] (blksize_t): Likewise.
32545 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32547 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32548 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32549 [XPG3 || XPG4] (struct itimerspec): Likewise.
32550 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32551 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32552 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32553 [XPG3 || XPG4] (clockid_t): Likewise.
32554 [XPG3 || XPG4] (timer_t): Likewise.
32555 [XPG3 || XPG4] (clock_getres): Likewise.
32556 [XPG3 || XPG4] (clock_gettime): Likewise.
32557 [XPG3 || XPG4] (clock_settime): Likewise.
32558 [XPG3 || XPG4] (nanosleep): Likewise.
32559 [XPG3 || XPG4] (timer_create): Likewise.
32560 [XPG3 || XPG4] (timer_delete): Likewise.
32561 [XPG3 || XPG4] (timer_gettime): Likewise.
32562 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32563 [XPG3 || XPG4] (timer_settime): Likewise.
32564 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32565 [XPG3 || XPG4] (getlogin_r): Likewise.
32566 [XPG3 || XPG4] (pread): Likewise.
32567 [XPG3 || XPG4] (pthread_atfork): Likewise.
32568 [XPG3 || XPG4] (pwrite): Likewise.
32571 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32574 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32576 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32577 finalizing MALLSTREAM.
32579 * sysdeps/mach/hurd/syncfs.c: New file.
32581 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32584 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32585 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32586 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32587 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32588 (_nss_dns_gethostbyname4_r): Likewise.
32589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32590 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32592 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32595 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32597 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32599 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32600 * elf/cache.c (print_entry): Print ",AArch64" for
32603 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32604 * elf/cache.c (print_entry): Print ",hard-float" for
32607 2012-11-18 David S. Miller <davem@davemloft.net>
32609 With help from Joseph Myers.
32610 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32612 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32614 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32615 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32617 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32618 * math/libm-test.inc (y0_test): New tests.
32619 (y1_test): New tests.
32620 * sysdeps/i386/fpu/libm-test-ulps: Update.
32621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32624 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32626 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32628 * configure: Regenerated.
32630 2012-11-17 David S. Miller <davem@davemloft.net>
32633 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32634 nonzero exponents with absolute value below 0x1p-128 to +/-
32637 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32639 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32641 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32643 * posix/getconf-speclist.c: New file.
32644 * posix/posix-envs.def: Likewise.
32645 * posix/confstr.c (START_ENV_GROUP): New macro.
32646 (END_ENV_GROUP): Likewise.
32647 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32648 (KNOWN_PRESENT_ENV_STRING): Likewise.
32649 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32650 (UNKNOWN_ENVIRONMENT): Likewise.
32651 (confstr): Include posix-envs.def instead of handling
32652 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32653 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32654 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32655 (END_ENV_GROUP): Likewise.
32656 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32657 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32658 (UNKNOWN_ENVIRONMENT): Likewise.
32659 (__sysconf): Include posix-envs.def instead of handling associated
32660 cases directly here.
32661 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32662 preprocessing getconf-speclist.c rather than running getconf or
32663 generating empty file.
32665 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32667 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32669 2012-11-16 Andrej Lajovic <natrij@gmail.com>
32672 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32674 2012-11-16 David S. Miller <davem@davemloft.net>
32676 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32677 smaller than LDBL_EPSILON/2.0L, just return xm1.
32679 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32681 * elf/tst-array1.c (init): Set constructor priority to 1000.
32682 (fini): Set destructor priority to 1000.
32683 * elf/tst-array2dep.c: Likewise.
32685 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32688 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32689 (_IO_new_file_xsputn): Also return EOF if none of the input
32690 data was written when overflow failed.
32691 * libio/iopadn.c (_IO_padn): Likewise.
32692 * libio/iowpadn.c (_IO_wpadn): Likewise.
32693 * stdio-common/tst-put-error.c: Add copyright notice.
32694 (do_test): Add case for printing padded string.
32695 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32696 _IO_padn returned error.
32697 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32698 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32701 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32703 * libio/libioP.h: Add comment note that the references to C++
32704 bits are now obsolete.
32706 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32708 * math/libm-test.inc (check_complex): Use asprintf.
32710 2012-11-14 Joseph Myers <joseph@codesourcery.com>
32712 * debug/pcprofiledump.c (print_version): Update copyright year.
32713 * malloc/memusagestat.c (print_version): Likewise.
32715 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32718 * elf/Makefile (tests): Add tst-audit8.
32719 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32720 ($(objpfx)tst-audit8.out): New target.
32721 (tst-audit8-ENV): New variable.
32722 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32723 audit if l_reloc_result is NULL.
32724 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32725 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32726 * elf/tst-audit8.c: New file.
32728 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32730 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32731 * misc/Makefile (CFLAGS-select.c): Define.
32732 * posix/Makefile (CFLAGS-pause.c): Define.
32734 2012-11-13 David S. Miller <davem@davemloft.net>
32736 * crypt/Makefile: Move test targets after toplevel Rules
32737 inclusion. Grab any necessary sysdep routines when linking.
32738 * crypt/md5.c (md5_process_block): Remove define, we will always
32739 name it __md5_process_block.
32740 (md5_finish_ctx): Update md5_process_block call.
32741 (md5_stream): Likewise.
32742 (md5_process_bytes): Likewise.
32743 (md5_process_block): Rename to __md5_process_block and move to ...
32744 * crypt/md5-block.c: ... here.
32745 * crypt/sha256.c (sha256_process_block): Move to ...
32746 * crypt/sha256-block.c: ... here.
32747 * crypt/sha512.c (sha512_process_block): Move to ...
32748 * crypt/sha512-block.c: ... here.
32749 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32751 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32752 * sysdeps/sparc/sparc64/multiarch/Makefile
32753 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32755 (localedef-aux): Add md5 crypto assembler when in locale subdir.
32756 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32758 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32759 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32760 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32761 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32762 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32763 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32764 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32765 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32766 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32768 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32769 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32771 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32773 2012-11-13 Joseph Myers <joseph@codesourcery.com>
32775 * timezone/tzselect.ksh: Update from tzcode git revision
32776 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32777 * timezone/zdump.c: Likewise.
32778 * timezone/zic.c: Likewise.
32779 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32780 in TZVERSION setting, not $(PKGVERSION).
32781 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32782 REPORT_BUGS_TO settings.
32785 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32788 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32790 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32791 detection to immediately after _FP_ROUND().
32792 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32795 2012-11-11 David S. Miller <davem@davemloft.net>
32797 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32799 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32800 __close rather than their public counterparts.
32802 2012-11-10 Joseph Myers <joseph@codesourcery.com>
32804 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32806 [UNIX98] (sem_timedwait): Do not expect.
32807 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32808 [XPG4 || UNIX98] (sockatmark): Do not expect.
32809 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32810 (clock_getcpuclockid): Do not expect.
32811 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32812 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32814 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32815 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32816 [UNIX98] (vwscanf): Likewise.
32817 [UNIX98] (vswscanf): Likewise.
32819 2012-11-09 Joseph Myers <joseph@codesourcery.com>
32821 * timezone/version.h: Remove file.
32822 * timezone/README: Do not refer to version.h.
32823 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32824 $(objpfx)version.h.
32825 ($(objpfx)zdump.o): Likewise.
32826 ($(objpfx)version.h): New target.
32828 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32830 * timezone/README: Don't mention modification to tzselect.ksh.
32831 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32832 work on unmodified tzselect.ksh. Substitute version numbers in
32835 * Makefile (format-me): Remove.
32836 (INSTALL): Adjust indentation. Use commands directly instead of
32837 using $(format-me).
32839 * aclocal.m4 (ACX_PKGVERSION): New macro.
32840 (ACX_BUGURL): Likewise.
32841 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32842 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32843 (REPORT_BUGS_TO): Likewise.
32844 * configure: Regenerated.
32845 * config.h.in (PKGVERSION): New macro.
32846 (REPORT_BUGS_TO): Likewise.
32847 * config.make.in (PKGVERSION): New variable.
32848 (PKGVERSION_TEXI): Likewise.
32849 (REPORT_BUGS_TO): Likewise.
32850 (REPORT_BUGS_TEXI): Likewise.
32851 * Makefile (format-me): Use -I$(common-objpfx)manual.
32852 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32853 ($(common-objpfx)manual/%): New target.
32854 (manual/%): Remove target.
32855 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32856 (print_version): Use PKGVERSION.
32857 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32858 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32859 and REPORT_BUGS_TO.
32860 ($(objpfx)xtrace): Likewise.
32861 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32862 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32863 (print_version): Use PKGVERSION.
32864 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32865 (do_version): Use PKGVERSION.
32866 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32868 (common-ldd-rewrite): Likewise.
32869 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32870 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32871 (print_version): Use PKGVERSION.
32872 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32873 * elf/pldd.c (argp_program_bug_address): Remove variable.
32874 (more_help): New function.
32875 (argp): Use more_help.
32876 (print_version): Use PKGVERSION.
32877 * elf/sln.c (main): Use PKGVERSION.
32878 (usage): Use REPORT_BUGS_TO.
32879 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32880 (top level): Use PKGVERSION.
32881 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32882 (print_version): Use PKGVERSION.
32883 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32884 (print_version): Use PKGVERSION.
32885 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32886 (print_version): Use PKGVERSION.
32887 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32888 (print_version): Use PKGVERSION.
32889 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32890 (print_version): Use PKGVERSION.
32891 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32892 (print_version): Use PKGVERSION.
32893 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32895 ($(objpfx)memusage): Likewise.
32896 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32897 (do_version): Use PKGVERSION.
32898 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32899 (print_version): Use PKGVERSION.
32900 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32901 ($PKGVERSION): New variable.
32902 ($REPORT_BUGS_TO): Likewise.
32903 (usage): Use $REPORT_BUGS_TO.
32904 (top level): Use $PKGVERSION.
32905 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32906 ($(objpfx)pkgvers.texi): New rule.
32907 ($(objpfx)stamp-pkgvers): Likewise.
32908 * manual/install.texi: Include pkgvers.texi.
32909 (--with-pkgversion): Document new configure option.
32910 (--with-bugurl): Likewise.
32911 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32912 than necessarily for this particular distribution. Use
32913 REPORT_BUGS_TO for where to report bugs.
32914 * INSTALL: Regenerated.
32915 * manual/libc.texinfo: Include pkgvers.texi.
32916 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32917 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32918 (print_version): Use PKGVERSION.
32919 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32920 (print_version): Use PKGVERSION.
32921 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32922 (print_version): Use PKGVERSION.
32923 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32924 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32926 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32927 (print_version): Use PKGVERSION.
32928 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32929 (print_version): Use PKGVERSION.
32930 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32933 * timezone/checktab.awk: Update from tzcode 2012i.
32934 * timezone/ialloc.c: Likewise.
32935 * timezone/private.h: Likewise.
32936 * timezone/scheck.c: Likewise.
32937 * timezone/tzfile.h: Likewise.
32938 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32939 (TZVERSION): Hardcode tzcode version number.
32940 * timezone/zdump.c: Update from tzcode 2012i.
32941 * timezone/zic.c: Likewise.
32942 * timezone/version.h: New file.
32943 * timezone/README: Describe version.h. Update upstream location.
32946 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32947 (mktemp): Enable declaration.
32948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32951 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32953 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32955 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32957 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32959 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32961 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32965 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32966 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32967 for copies of such integer values.
32968 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32969 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32971 2012-11-09 Andreas Jaeger <aj@suse.de>
32973 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32974 definitions and declarations that are provided by
32975 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32977 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32979 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32980 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32981 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32984 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32986 * elf/elf.h: Update comment before AArch64 relocations.
32988 2012-11-07 David S. Miller <davem@davemloft.net>
32990 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32991 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32992 (__start_context): Declare.
32993 (__makecontext_ret): Delete.
32994 (__makecontext): Hook up __start_context instead of
32996 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32997 (sysdep_routines): Add __start_context when in stdlib.
32999 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33001 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33002 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33003 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33005 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33006 (READELF): New variable. Use it instead of hardcoded "readelf".
33008 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33010 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33011 * sysdeps/x86/Makefile: Here.
33012 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33013 * sysdeps/x86/tst-xmmymm.sh: This.
33015 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33017 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33019 [UNIX98] (pthread_barrier_t): Do not expect.
33020 [UNIX98] (pthread_barrierattr_t): Likewise.
33021 [UNIX98] (pthread_spinlock_t): Likewise.
33022 [UNIX98] (pthread_barrier_destroy): Likewise.
33023 [UNIX98] (pthread_barrier_init): Likewise.
33024 [UNIX98] (pthread_barrier_wait): Likewise.
33025 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33026 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33027 [UNIX98] (pthread_barrierattr_init): Likewise.
33028 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33029 [UNIX98] (pthread_getcpuclockid): Likewise.
33030 [UNIX98] (pthread_mutex_timedlock): Likewise.
33031 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33032 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33033 [UNIX98] (pthread_sigmask): Likewise.
33034 [UNIX98] (pthread_spin_destroy): Likewise.
33035 [UNIX98] (pthread_spin_init): Likewise.
33036 [UNIX98] (pthread_spin_lock): Likewise.
33037 [UNIX98] (pthread_spin_trylock): Likewise.
33038 [UNIX98] (pthread_spin_unlock): Likewise.
33039 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33041 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33042 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33043 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33044 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33045 [XPG3 || XPG4] (pthread_key_t): Likewise.
33046 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33047 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33048 [XPG3 || XPG4] (pthread_once_t): Likewise.
33049 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33050 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33051 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33052 [XPG3 || XPG4] (pthread_t): Likewise.
33054 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33056 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33058 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33059 Change function return type to int.
33061 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33062 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33063 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33064 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33065 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33066 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33067 [!POSIX] (posix_madvise): Likewise.
33068 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33070 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33071 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33072 (mode_t): Likewise.
33073 (posix_mem_offset): Likewise.
33074 (posix_typed_mem_get_info): Likewise.
33075 (posix_typed_mem_open): Likewise.
33077 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33078 Change condition to [XOPEN2K8].
33080 * conform/conformtest.pl: Preprocess allow-header data with -x c
33081 instead of from stdin.
33082 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33083 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33084 [C99-based standards] (cerfc): Likewise.
33085 [C99-based standards] (cexp2): Likewise.
33086 [C99-based standards] (cexpm1): Likewise.
33087 [C99-based standards] (clog10): Likewise.
33088 [C99-based standards] (clog1p): Likewise.
33089 [C99-based standards] (clog2): Likewise.
33090 [C99-based standards] (clgamma): Likewise.
33091 [C99-based standards] (ctgamma): Likewise.
33092 [C99-based standards] (cerff): Likewise.
33093 [C99-based standards] (cerfcf): Likewise.
33094 [C99-based standards] (cexp2f): Likewise.
33095 [C99-based standards] (cexpm1f): Likewise.
33096 [C99-based standards] (clog10f): Likewise.
33097 [C99-based standards] (clog1pf): Likewise.
33098 [C99-based standards] (clog2f): Likewise.
33099 [C99-based standards] (clgammaf): Likewise.
33100 [C99-based standards] (ctgammaf): Likewise.
33101 [C99-based standards] (cerfl): Likewise.
33102 [C99-based standards] (cerfcl): Likewise.
33103 [C99-based standards] (cexp2l): Likewise.
33104 [C99-based standards] (cexpm1l): Likewise.
33105 [C99-based standards] (clog10l): Likewise.
33106 [C99-based standards] (clog1pl): Likewise.
33107 [C99-based standards] (clog2l): Likewise.
33108 [C99-based standards] (clgammal): Likewise.
33109 [C99-based standards] (ctgammal): Likewise.
33110 * conform/data/inttypes.h-data [C99-based standards]: Include
33111 stdint.h-data. Remove all expectations for stdint.h contents.
33112 [C99-based standards] (PRI*): Do not allow.
33113 [C99-based standards] (SCN*): Likewise.
33114 [C99-based standards] (*_t): Likewise.
33115 [C99-based-standards] (PRId8): Expect macro.
33116 [C99-based-standards] (PRIi8): Likewise.
33117 [C99-based-standards] (PRIo8): Likewise.
33118 [C99-based-standards] (PRIu8): Likewise.
33119 [C99-based-standards] (PRIx8): Likewise.
33120 [C99-based-standards] (PRIX8): Likewise.
33121 [C99-based-standards] (SCNd8): Likewise.
33122 [C99-based-standards] (SCNi8): Likewise.
33123 [C99-based-standards] (SCNo8): Likewise.
33124 [C99-based-standards] (SCNu8): Likewise.
33125 [C99-based-standards] (SCNx8): Likewise.
33126 [C99-based-standards] (PRIdLEAST8): Likewise.
33127 [C99-based-standards] (PRIiLEAST8): Likewise.
33128 [C99-based-standards] (PRIoLEAST8): Likewise.
33129 [C99-based-standards] (PRIuLEAST8): Likewise.
33130 [C99-based-standards] (PRIxLEAST8): Likewise.
33131 [C99-based-standards] (PRIXLEAST8): Likewise.
33132 [C99-based-standards] (SCNdLEAST8): Likewise.
33133 [C99-based-standards] (SCNiLEAST8): Likewise.
33134 [C99-based-standards] (SCNoLEAST8): Likewise.
33135 [C99-based-standards] (SCNuLEAST8): Likewise.
33136 [C99-based-standards] (SCNxLEAST8): Likewise.
33137 [C99-based-standards] (PRIdFAST8): Likewise.
33138 [C99-based-standards] (PRIiFAST8): Likewise.
33139 [C99-based-standards] (PRIoFAST8): Likewise.
33140 [C99-based-standards] (PRIuFAST8): Likewise.
33141 [C99-based-standards] (PRIxFAST8): Likewise.
33142 [C99-based-standards] (PRIXFAST8): Likewise.
33143 [C99-based-standards] (SCNdFAST8): Likewise.
33144 [C99-based-standards] (SCNiFAST8): Likewise.
33145 [C99-based-standards] (SCNoFAST8): Likewise.
33146 [C99-based-standards] (SCNuFAST8): Likewise.
33147 [C99-based-standards] (SCNxFAST8): Likewise.
33148 [C99-based-standards] (PRId16): Likewise.
33149 [C99-based-standards] (PRIi16): Likewise.
33150 [C99-based-standards] (PRIo16): Likewise.
33151 [C99-based-standards] (PRIu16): Likewise.
33152 [C99-based-standards] (PRIx16): Likewise.
33153 [C99-based-standards] (PRIX16): Likewise.
33154 [C99-based-standards] (SCNd16): Likewise.
33155 [C99-based-standards] (SCNi16): Likewise.
33156 [C99-based-standards] (SCNo16): Likewise.
33157 [C99-based-standards] (SCNu16): Likewise.
33158 [C99-based-standards] (SCNx16): Likewise.
33159 [C99-based-standards] (PRIdLEAST16): Likewise.
33160 [C99-based-standards] (PRIiLEAST16): Likewise.
33161 [C99-based-standards] (PRIoLEAST16): Likewise.
33162 [C99-based-standards] (PRIuLEAST16): Likewise.
33163 [C99-based-standards] (PRIxLEAST16): Likewise.
33164 [C99-based-standards] (PRIXLEAST16): Likewise.
33165 [C99-based-standards] (SCNdLEAST16): Likewise.
33166 [C99-based-standards] (SCNiLEAST16): Likewise.
33167 [C99-based-standards] (SCNoLEAST16): Likewise.
33168 [C99-based-standards] (SCNuLEAST16): Likewise.
33169 [C99-based-standards] (SCNxLEAST16): Likewise.
33170 [C99-based-standards] (PRIdFAST16): Likewise.
33171 [C99-based-standards] (PRIiFAST16): Likewise.
33172 [C99-based-standards] (PRIoFAST16): Likewise.
33173 [C99-based-standards] (PRIuFAST16): Likewise.
33174 [C99-based-standards] (PRIxFAST16): Likewise.
33175 [C99-based-standards] (PRIXFAST16): Likewise.
33176 [C99-based-standards] (SCNdFAST16): Likewise.
33177 [C99-based-standards] (SCNiFAST16): Likewise.
33178 [C99-based-standards] (SCNoFAST16): Likewise.
33179 [C99-based-standards] (SCNuFAST16): Likewise.
33180 [C99-based-standards] (SCNxFAST16): Likewise.
33181 [C99-based-standards] (PRId32): Likewise.
33182 [C99-based-standards] (PRIi32): Likewise.
33183 [C99-based-standards] (PRIo32): Likewise.
33184 [C99-based-standards] (PRIu32): Likewise.
33185 [C99-based-standards] (PRIx32): Likewise.
33186 [C99-based-standards] (PRIX32): Likewise.
33187 [C99-based-standards] (SCNd32): Likewise.
33188 [C99-based-standards] (SCNi32): Likewise.
33189 [C99-based-standards] (SCNo32): Likewise.
33190 [C99-based-standards] (SCNu32): Likewise.
33191 [C99-based-standards] (SCNx32): Likewise.
33192 [C99-based-standards] (PRIdLEAST32): Likewise.
33193 [C99-based-standards] (PRIiLEAST32): Likewise.
33194 [C99-based-standards] (PRIoLEAST32): Likewise.
33195 [C99-based-standards] (PRIuLEAST32): Likewise.
33196 [C99-based-standards] (PRIxLEAST32): Likewise.
33197 [C99-based-standards] (PRIXLEAST32): Likewise.
33198 [C99-based-standards] (SCNdLEAST32): Likewise.
33199 [C99-based-standards] (SCNiLEAST32): Likewise.
33200 [C99-based-standards] (SCNoLEAST32): Likewise.
33201 [C99-based-standards] (SCNuLEAST32): Likewise.
33202 [C99-based-standards] (SCNxLEAST32): Likewise.
33203 [C99-based-standards] (PRIdFAST32): Likewise.
33204 [C99-based-standards] (PRIiFAST32): Likewise.
33205 [C99-based-standards] (PRIoFAST32): Likewise.
33206 [C99-based-standards] (PRIuFAST32): Likewise.
33207 [C99-based-standards] (PRIxFAST32): Likewise.
33208 [C99-based-standards] (PRIXFAST32): Likewise.
33209 [C99-based-standards] (SCNdFAST32): Likewise.
33210 [C99-based-standards] (SCNiFAST32): Likewise.
33211 [C99-based-standards] (SCNoFAST32): Likewise.
33212 [C99-based-standards] (SCNuFAST32): Likewise.
33213 [C99-based-standards] (SCNxFAST32): Likewise.
33214 [C99-based-standards] (PRId64): Likewise.
33215 [C99-based-standards] (PRIi64): Likewise.
33216 [C99-based-standards] (PRIo64): Likewise.
33217 [C99-based-standards] (PRIu64): Likewise.
33218 [C99-based-standards] (PRIx64): Likewise.
33219 [C99-based-standards] (PRIX64): Likewise.
33220 [C99-based-standards] (SCNd64): Likewise.
33221 [C99-based-standards] (SCNi64): Likewise.
33222 [C99-based-standards] (SCNo64): Likewise.
33223 [C99-based-standards] (SCNu64): Likewise.
33224 [C99-based-standards] (SCNx64): Likewise.
33225 [C99-based-standards] (PRIdLEAST64): Likewise.
33226 [C99-based-standards] (PRIiLEAST64): Likewise.
33227 [C99-based-standards] (PRIoLEAST64): Likewise.
33228 [C99-based-standards] (PRIuLEAST64): Likewise.
33229 [C99-based-standards] (PRIxLEAST64): Likewise.
33230 [C99-based-standards] (PRIXLEAST64): Likewise.
33231 [C99-based-standards] (SCNdLEAST64): Likewise.
33232 [C99-based-standards] (SCNiLEAST64): Likewise.
33233 [C99-based-standards] (SCNoLEAST64): Likewise.
33234 [C99-based-standards] (SCNuLEAST64): Likewise.
33235 [C99-based-standards] (SCNxLEAST64): Likewise.
33236 [C99-based-standards] (PRIdFAST64): Likewise.
33237 [C99-based-standards] (PRIiFAST64): Likewise.
33238 [C99-based-standards] (PRIoFAST64): Likewise.
33239 [C99-based-standards] (PRIuFAST64): Likewise.
33240 [C99-based-standards] (PRIxFAST64): Likewise.
33241 [C99-based-standards] (PRIXFAST64): Likewise.
33242 [C99-based-standards] (SCNdFAST64): Likewise.
33243 [C99-based-standards] (SCNiFAST64): Likewise.
33244 [C99-based-standards] (SCNoFAST64): Likewise.
33245 [C99-based-standards] (SCNuFAST64): Likewise.
33246 [C99-based-standards] (SCNxFAST64): Likewise.
33247 [C99-based-standards] (PRIdMAX): Likewise.
33248 [C99-based-standards] (PRIiMAX): Likewise.
33249 [C99-based-standards] (PRIoMAX): Likewise.
33250 [C99-based-standards] (PRIuMAX): Likewise.
33251 [C99-based-standards] (PRIxMAX): Likewise.
33252 [C99-based-standards] (PRIXMAX): Likewise.
33253 [C99-based-standards] (SCNdMAX): Likewise.
33254 [C99-based-standards] (SCNiMAX): Likewise.
33255 [C99-based-standards] (SCNoMAX): Likewise.
33256 [C99-based-standards] (SCNuMAX): Likewise.
33257 [C99-based-standards] (SCNxMAX): Likewise.
33258 [C99-based-standards] (PRIdPTR): Likewise.
33259 [C99-based-standards] (PRIiPTR): Likewise.
33260 [C99-based-standards] (PRIoPTR): Likewise.
33261 [C99-based-standards] (PRIuPTR): Likewise.
33262 [C99-based-standards] (PRIxPTR): Likewise.
33263 [C99-based-standards] (PRIXPTR): Likewise.
33264 [C99-based-standards] (SCNdPTR): Likewise.
33265 [C99-based-standards] (SCNiPTR): Likewise.
33266 [C99-based-standards] (SCNoPTR): Likewise.
33267 [C99-based-standards] (SCNuPTR): Likewise.
33268 [C99-based-standards] (SCNxPTR): Likewise.
33269 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33271 * conform/data/stdint.h-data: Update comments to clarify
33273 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33275 [C99-based standards] (INT8_MAX): Likewise.
33276 [C99-based standards] (INT16_MIN): Likewise.
33277 [C99-based standards] (INT16_MAX): Likewise.
33278 [C99-based standards] (INT32_MIN): Likewise.
33279 [C99-based standards] (INT32_MAX): Likewise.
33280 [C99-based standards] (INT64_MIN): Likewise.
33281 [C99-based standards] (INT64_MAX): Likewise.
33282 [C99-based standards] (UINT8_MAX): Likewise.
33283 [C99-based standards] (UINT16_MAX): Likewise.
33284 [C99-based standards] (UINT32_MAX): Likewise.
33285 [C99-based standards] (UINT64_MAX): Likewise.
33286 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33287 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33288 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33289 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33290 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33291 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33292 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33293 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33294 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33295 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33296 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33297 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33298 [C99-based standards] (INT_FAST8_MIN): Likewise.
33299 [C99-based standards] (INT_FAST8_MAX): Likewise.
33300 [C99-based standards] (INT_FAST16_MIN): Likewise.
33301 [C99-based standards] (INT_FAST16_MAX): Likewise.
33302 [C99-based standards] (INT_FAST32_MIN): Likewise.
33303 [C99-based standards] (INT_FAST32_MAX): Likewise.
33304 [C99-based standards] (INT_FAST64_MIN): Likewise.
33305 [C99-based standards] (INT_FAST64_MAX): Likewise.
33306 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33307 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33308 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33309 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33310 [C99-based standards] (INTPTR_MIN): Likewise.
33311 [C99-based standards] (INTPTR_MAX): Likewise.
33312 [C99-based standards] (UINTPTR_MAX): Likewise.
33313 [C99-based standards] (INTMAX_MIN): Likewise.
33314 [C99-based standards] (INTMAX_MAX): Likewise.
33315 [C99-based standards] (UINTMAX_MAX): Likewise.
33316 [C99-based standards] (PTRDIFF_MIN): Likewise.
33317 [C99-based standards] (PTRDIFF_MAX): Likewise.
33318 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33319 [C99-based standards] (SIZE_MAX): Likewise.
33320 [C99-based standards] (WCHAR_MAX): Likewise.
33321 [C99-based standards] (WINT_MAX): Likewise.
33322 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33323 constraint on value.
33324 [C99-based standards] (WCHAR_MIN): Likewise.
33325 [C99-based standards] (WINT_MIN): Likewise.
33326 [C99-based standards] (*_t): Allow.
33327 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33328 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33329 Include math.h-data and complex.h-data. Remove all expectations
33330 of math.h and complex.h contents.
33331 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33333 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33334 (struct tm): Expect tag.
33335 [C99-based-standards] (wcstof): Expect function.
33336 [C99-based-standards] (wcstold): Likewise.
33337 [C99-based-standards] (wcstoll): Likewise.
33338 [C99-based-standards] (wcstoull): Likewise.
33339 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33340 macro-int-constant. Specify type.
33341 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33342 constraint on value.
33343 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33345 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33347 [ISO C standards]: Do not allow headers.
33348 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33349 wcs[abcdefghijklmnopqrstuvwxyz]*.
33350 [ISO C standards] (*_t): Do not allow.
33351 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33353 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33354 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33356 [ISO C standards]: Do not allow headers.
33357 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33358 is[abcdefghijklmnopqrstuvwxyz]*.
33359 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33360 to[abcdefghijklmnopqrstuvwxyz]*.
33361 [ISO C standards] (*_t): Do not allow.
33362 * conform/data/stdalign.h-data: New file.
33363 * conform/data/stdbool.h-data: Likewise.
33364 * conform/data/stdnoreturn.h-data: Likewise.
33366 2012-11-07 Roland McGrath <roland@hack.frob.com>
33369 * manual/filesys.texi (Directory Entries): Typo fix.
33370 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33372 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33374 * elf/elf.h (EM_AARCH64): New macro.
33375 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33376 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33377 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33378 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33379 (R_AARCH64_TLSDESC): Likewise.
33380 (NT_ARM_TLS): Likewise.
33381 (NT_ARM_HW_BREAK): Likewise.
33382 (NT_ARM_HW_WATCH): Likewise.
33384 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33387 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33388 (__ieee754_powl): Saturate nonzero exponents with absolute value
33389 below 0x1p-79 to +/- 0x1p-79.
33390 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33391 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33392 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33393 nonzero exponents with absolute value below 0x1p-32 to +/-
33395 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33396 (__ieee754_powl): Saturate nonzero exponents with absolute value
33397 below 0x1p-79 to +/- 0x1p-79.
33398 * math/libm-test.inc (pow_test): Add more tests.
33400 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33402 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33403 _dl_s390_cap_flags with kernel. Increase string length.
33404 (_dl_s390_platforms): Add z196 and zEC12.
33406 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33408 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33409 Change XOPEN21K to XOPEN2K.
33411 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33413 * string/memmove.c: Use memcpy when possible.
33415 2012-11-06 Andreas Jaeger <aj@suse.de>
33417 * po/eo.po: Update from translation team.
33419 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33423 exponent and small x and y exponents, scale x or y up. Increase
33424 by 2 the exponent used in scaling up.
33425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33427 * math/libm-test.inc (fma_test): Add more tests.
33428 (fma_test_towardzero): Likewise.
33429 (fma_test_downward): Likewise.
33430 (fma_test_upward): Likewise.
33432 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33435 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33439 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33440 namespace for names of struct fields.
33441 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33443 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33444 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33446 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33449 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33451 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33453 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33457 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33460 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33464 definitely overflow as x * y not x * y + z.
33465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33467 * math/libm-test.inc (fma_test): Add more tests.
33468 (fma_test_towardzero): Likewise.
33469 (fma_test_downward): Likewise.
33470 (fma_test_upward): Likewise.
33472 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33476 * include/stub-tag.h: Remove file.
33477 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33479 * manual/maint.texi (Porting): Don't reference it.
33480 * Makerules ($(objpfx)stubs): Likewise.
33481 * dirent/closedir.c: Don't include <stub-tag.h>.
33482 * dirent/dirfd.c: Likewise.
33483 * dirent/fdopendir.c: Likewise.
33484 * dirent/getdents.c: Likewise.
33485 * dirent/getdents64.c: Likewise.
33486 * dirent/opendir.c: Likewise.
33487 * dirent/readdir.c: Likewise.
33488 * dirent/readdir64.c: Likewise.
33489 * dirent/readdir64_r.c: Likewise.
33490 * dirent/readdir_r.c: Likewise.
33491 * dirent/rewinddir.c: Likewise.
33492 * dirent/seekdir.c: Likewise.
33493 * dirent/telldir.c: Likewise.
33494 * gmon/profil.c: Likewise.
33495 * grp/setgroups.c: Likewise.
33496 * inet/if_index.c: Likewise.
33497 * io/access.c: Likewise.
33498 * io/chdir.c: Likewise.
33499 * io/chmod.c: Likewise.
33500 * io/chown.c: Likewise.
33501 * io/close.c: Likewise.
33502 * io/dup.c: Likewise.
33503 * io/dup2.c: Likewise.
33504 * io/dup3.c: Likewise.
33505 * io/euidaccess.c: Likewise.
33506 * io/faccessat.c: Likewise.
33507 * io/fchdir.c: Likewise.
33508 * io/fchmod.c: Likewise.
33509 * io/fchmodat.c: Likewise.
33510 * io/fchown.c: Likewise.
33511 * io/fchownat.c: Likewise.
33512 * io/fcntl.c: Likewise.
33513 * io/flock.c: Likewise.
33514 * io/fstatfs.c: Likewise.
33515 * io/fstatfs64.c: Likewise.
33516 * io/fstatvfs.c: Likewise.
33517 * io/fstatvfs64.c: Likewise.
33518 * io/futimens.c: Likewise.
33519 * io/fxstat.c: Likewise.
33520 * io/fxstat64.c: Likewise.
33521 * io/fxstatat.c: Likewise.
33522 * io/fxstatat64.c: Likewise.
33523 * io/getcwd.c: Likewise.
33524 * io/isatty.c: Likewise.
33525 * io/lchmod.c: Likewise.
33526 * io/lchown.c: Likewise.
33527 * io/link.c: Likewise.
33528 * io/linkat.c: Likewise.
33529 * io/lseek.c: Likewise.
33530 * io/lseek64.c: Likewise.
33531 * io/lxstat64.c: Likewise.
33532 * io/mkdir.c: Likewise.
33533 * io/mkdirat.c: Likewise.
33534 * io/mkfifo.c: Likewise.
33535 * io/mkfifoat.c: Likewise.
33536 * io/open.c: Likewise.
33537 * io/open64.c: Likewise.
33538 * io/openat.c: Likewise.
33539 * io/openat64.c: Likewise.
33540 * io/pipe.c: Likewise.
33541 * io/pipe2.c: Likewise.
33542 * io/poll.c: Likewise.
33543 * io/posix_fadvise.c: Likewise.
33544 * io/posix_fadvise64.c: Likewise.
33545 * io/posix_fallocate.c: Likewise.
33546 * io/posix_fallocate64.c: Likewise.
33547 * io/read.c: Likewise.
33548 * io/readlink.c: Likewise.
33549 * io/readlinkat.c: Likewise.
33550 * io/rmdir.c: Likewise.
33551 * io/sendfile.c: Likewise.
33552 * io/sendfile64.c: Likewise.
33553 * io/statfs.c: Likewise.
33554 * io/statfs64.c: Likewise.
33555 * io/statvfs.c: Likewise.
33556 * io/statvfs64.c: Likewise.
33557 * io/symlink.c: Likewise.
33558 * io/symlinkat.c: Likewise.
33559 * io/ttyname.c: Likewise.
33560 * io/ttyname_r.c: Likewise.
33561 * io/umask.c: Likewise.
33562 * io/unlink.c: Likewise.
33563 * io/unlinkat.c: Likewise.
33564 * io/utime.c: Likewise.
33565 * io/utimensat.c: Likewise.
33566 * io/write.c: Likewise.
33567 * io/xmknod.c: Likewise.
33568 * io/xmknodat.c: Likewise.
33569 * io/xstat.c: Likewise.
33570 * io/xstat64.c: Likewise.
33571 * login/getpt.c: Likewise.
33572 * login/grantpt.c: Likewise.
33573 * login/unlockpt.c: Likewise.
33574 * math/e_acoshl.c: Likewise.
33575 * math/e_acosl.c: Likewise.
33576 * math/e_asinl.c: Likewise.
33577 * math/e_atan2l.c: Likewise.
33578 * math/e_atanhl.c: Likewise.
33579 * math/e_coshl.c: Likewise.
33580 * math/e_expl.c: Likewise.
33581 * math/e_fmodl.c: Likewise.
33582 * math/e_gammal_r.c: Likewise.
33583 * math/e_hypotl.c: Likewise.
33584 * math/e_j0l.c: Likewise.
33585 * math/e_j1l.c: Likewise.
33586 * math/e_jnl.c: Likewise.
33587 * math/e_lgammal_r.c: Likewise.
33588 * math/e_log10l.c: Likewise.
33589 * math/e_log2l.c: Likewise.
33590 * math/e_logl.c: Likewise.
33591 * math/e_powl.c: Likewise.
33592 * math/e_rem_pio2l.c: Likewise.
33593 * math/e_sinhl.c: Likewise.
33594 * math/e_sqrtl.c: Likewise.
33595 * math/fclrexcpt.c: Likewise.
33596 * math/fedisblxcpt.c: Likewise.
33597 * math/feenablxcpt.c: Likewise.
33598 * math/fegetenv.c: Likewise.
33599 * math/fegetexcept.c: Likewise.
33600 * math/fegetround.c: Likewise.
33601 * math/feholdexcpt.c: Likewise.
33602 * math/fesetenv.c: Likewise.
33603 * math/fesetround.c: Likewise.
33604 * math/feupdateenv.c: Likewise.
33605 * math/fgetexcptflg.c: Likewise.
33606 * math/fraiseexcpt.c: Likewise.
33607 * math/fsetexcptflg.c: Likewise.
33608 * math/ftestexcept.c: Likewise.
33609 * math/k_cosl.c: Likewise.
33610 * math/k_rem_pio2l.c: Likewise.
33611 * math/k_sinl.c: Likewise.
33612 * math/k_tanl.c: Likewise.
33613 * math/s_asinhl.c: Likewise.
33614 * math/s_atanl.c: Likewise.
33615 * math/s_cbrtl.c: Likewise.
33616 * math/s_erfl.c: Likewise.
33617 * math/s_expm1l.c: Likewise.
33618 * math/s_log1pl.c: Likewise.
33619 * math/s_tanhl.c: Likewise.
33620 * misc/acct.c: Likewise.
33621 * misc/brk.c: Likewise.
33622 * misc/chflags.c: Likewise.
33623 * misc/chroot.c: Likewise.
33624 * misc/fchflags.c: Likewise.
33625 * misc/fgetxattr.c: Likewise.
33626 * misc/flistxattr.c: Likewise.
33627 * misc/fremovexattr.c: Likewise.
33628 * misc/fsetxattr.c: Likewise.
33629 * misc/fsync.c: Likewise.
33630 * misc/ftruncate.c: Likewise.
33631 * misc/futimes.c: Likewise.
33632 * misc/futimesat.c: Likewise.
33633 * misc/getdomain.c: Likewise.
33634 * misc/getdtsz.c: Likewise.
33635 * misc/gethostid.c: Likewise.
33636 * misc/gethostname.c: Likewise.
33637 * misc/getloadavg.c: Likewise.
33638 * misc/getpagesize.c: Likewise.
33639 * misc/getsysstats.c: Likewise.
33640 * misc/getxattr.c: Likewise.
33641 * misc/gtty.c: Likewise.
33642 * misc/ioctl.c: Likewise.
33643 * misc/lgetxattr.c: Likewise.
33644 * misc/listxattr.c: Likewise.
33645 * misc/llistxattr.c: Likewise.
33646 * misc/lremovexattr.c: Likewise.
33647 * misc/lsetxattr.c: Likewise.
33648 * misc/lutimes.c: Likewise.
33649 * misc/madvise.c: Likewise.
33650 * misc/mincore.c: Likewise.
33651 * misc/mlock.c: Likewise.
33652 * misc/mlockall.c: Likewise.
33653 * misc/mmap.c: Likewise.
33654 * misc/mprotect.c: Likewise.
33655 * misc/msync.c: Likewise.
33656 * misc/munlock.c: Likewise.
33657 * misc/munlockall.c: Likewise.
33658 * misc/munmap.c: Likewise.
33659 * misc/preadv.c: Likewise.
33660 * misc/preadv64.c: Likewise.
33661 * misc/ptrace.c: Likewise.
33662 * misc/pwritev.c: Likewise.
33663 * misc/pwritev64.c: Likewise.
33664 * misc/readv.c: Likewise.
33665 * misc/reboot.c: Likewise.
33666 * misc/remap_file_pages.c: Likewise.
33667 * misc/removexattr.c: Likewise.
33668 * misc/revoke.c: Likewise.
33669 * misc/select.c: Likewise.
33670 * misc/setdomain.c: Likewise.
33671 * misc/setegid.c: Likewise.
33672 * misc/seteuid.c: Likewise.
33673 * misc/sethostid.c: Likewise.
33674 * misc/sethostname.c: Likewise.
33675 * misc/setregid.c: Likewise.
33676 * misc/setreuid.c: Likewise.
33677 * misc/setxattr.c: Likewise.
33678 * misc/sstk.c: Likewise.
33679 * misc/stty.c: Likewise.
33680 * misc/swapoff.c: Likewise.
33681 * misc/swapon.c: Likewise.
33682 * misc/sync.c: Likewise.
33683 * misc/syncfs.c: Likewise.
33684 * misc/syscall.c: Likewise.
33685 * misc/truncate.c: Likewise.
33686 * misc/ualarm.c: Likewise.
33687 * misc/usleep.c: Likewise.
33688 * misc/ustat.c: Likewise.
33689 * misc/utimes.c: Likewise.
33690 * misc/vhangup.c: Likewise.
33691 * misc/writev.c: Likewise.
33692 * posix/_exit.c: Likewise.
33693 * posix/alarm.c: Likewise.
33694 * posix/execve.c: Likewise.
33695 * posix/fexecve.c: Likewise.
33696 * posix/fork.c: Likewise.
33697 * posix/fpathconf.c: Likewise.
33698 * posix/getaddrinfo.c: Likewise.
33699 * posix/getegid.c: Likewise.
33700 * posix/geteuid.c: Likewise.
33701 * posix/getgid.c: Likewise.
33702 * posix/getgroups.c: Likewise.
33703 * posix/getlogin.c: Likewise.
33704 * posix/getlogin_r.c: Likewise.
33705 * posix/getpgid.c: Likewise.
33706 * posix/getpid.c: Likewise.
33707 * posix/getppid.c: Likewise.
33708 * posix/getresgid.c: Likewise.
33709 * posix/getresuid.c: Likewise.
33710 * posix/getsid.c: Likewise.
33711 * posix/getuid.c: Likewise.
33712 * posix/glob64.c: Likewise.
33713 * posix/nanosleep.c: Likewise.
33714 * posix/pathconf.c: Likewise.
33715 * posix/pause.c: Likewise.
33716 * posix/posix_madvise.c: Likewise.
33717 * posix/pread.c: Likewise.
33718 * posix/pread64.c: Likewise.
33719 * posix/pwrite.c: Likewise.
33720 * posix/pwrite64.c: Likewise.
33721 * posix/sched_getaffinity.c: Likewise.
33722 * posix/sched_getp.c: Likewise.
33723 * posix/sched_gets.c: Likewise.
33724 * posix/sched_primax.c: Likewise.
33725 * posix/sched_primin.c: Likewise.
33726 * posix/sched_rr_gi.c: Likewise.
33727 * posix/sched_setaffinity.c: Likewise.
33728 * posix/sched_setp.c: Likewise.
33729 * posix/sched_sets.c: Likewise.
33730 * posix/sched_yield.c: Likewise.
33731 * posix/setgid.c: Likewise.
33732 * posix/setlogin.c: Likewise.
33733 * posix/setpgid.c: Likewise.
33734 * posix/setresgid.c: Likewise.
33735 * posix/setresuid.c: Likewise.
33736 * posix/setsid.c: Likewise.
33737 * posix/setuid.c: Likewise.
33738 * posix/sleep.c: Likewise.
33739 * posix/spawni.c: Likewise.
33740 * posix/sysconf.c: Likewise.
33741 * posix/times.c: Likewise.
33742 * posix/wait.c: Likewise.
33743 * posix/wait3.c: Likewise.
33744 * posix/wait4.c: Likewise.
33745 * posix/waitpid.c: Likewise.
33746 * resolv/gai_sigqueue.c: Likewise.
33747 * resource/getpriority.c: Likewise.
33748 * resource/getrlimit.c: Likewise.
33749 * resource/getrusage.c: Likewise.
33750 * resource/nice.c: Likewise.
33751 * resource/setpriority.c: Likewise.
33752 * resource/setrlimit.c: Likewise.
33753 * resource/ulimit.c: Likewise.
33754 * rt/aio_cancel.c: Likewise.
33755 * rt/aio_fsync.c: Likewise.
33756 * rt/aio_read.c: Likewise.
33757 * rt/aio_sigqueue.c: Likewise.
33758 * rt/aio_suspend.c: Likewise.
33759 * rt/aio_write.c: Likewise.
33760 * rt/clock_getres.c: Likewise.
33761 * rt/clock_gettime.c: Likewise.
33762 * rt/clock_nanosleep.c: Likewise.
33763 * rt/clock_settime.c: Likewise.
33764 * rt/lio_listio.c: Likewise.
33765 * rt/mq_close.c: Likewise.
33766 * rt/mq_getattr.c: Likewise.
33767 * rt/mq_notify.c: Likewise.
33768 * rt/mq_open.c: Likewise.
33769 * rt/mq_receive.c: Likewise.
33770 * rt/mq_send.c: Likewise.
33771 * rt/mq_setattr.c: Likewise.
33772 * rt/mq_timedreceive.c: Likewise.
33773 * rt/mq_timedsend.c: Likewise.
33774 * rt/mq_unlink.c: Likewise.
33775 * rt/shm_open.c: Likewise.
33776 * rt/shm_unlink.c: Likewise.
33777 * rt/timer_create.c: Likewise.
33778 * rt/timer_delete.c: Likewise.
33779 * rt/timer_getoverr.c: Likewise.
33780 * rt/timer_gettime.c: Likewise.
33781 * rt/timer_settime.c: Likewise.
33782 * setjmp/__longjmp.c: Likewise.
33783 * setjmp/setjmp.c: Likewise.
33784 * signal/kill.c: Likewise.
33785 * signal/killpg.c: Likewise.
33786 * signal/raise.c: Likewise.
33787 * signal/sigaction.c: Likewise.
33788 * signal/sigaltstack.c: Likewise.
33789 * signal/sigblock.c: Likewise.
33790 * signal/sigignore.c: Likewise.
33791 * signal/sigintr.c: Likewise.
33792 * signal/signal.c: Likewise.
33793 * signal/sigpause.c: Likewise.
33794 * signal/sigpending.c: Likewise.
33795 * signal/sigqueue.c: Likewise.
33796 * signal/sigreturn.c: Likewise.
33797 * signal/sigset.c: Likewise.
33798 * signal/sigsetmask.c: Likewise.
33799 * signal/sigstack.c: Likewise.
33800 * signal/sigsuspend.c: Likewise.
33801 * signal/sigtimedwait.c: Likewise.
33802 * signal/sigvec.c: Likewise.
33803 * signal/sigwait.c: Likewise.
33804 * signal/sigwaitinfo.c: Likewise.
33805 * signal/sysv_signal.c: Likewise.
33806 * socket/accept.c: Likewise.
33807 * socket/accept4.c: Likewise.
33808 * socket/bind.c: Likewise.
33809 * socket/connect.c: Likewise.
33810 * socket/getpeername.c: Likewise.
33811 * socket/getsockname.c: Likewise.
33812 * socket/getsockopt.c: Likewise.
33813 * socket/isfdtype.c: Likewise.
33814 * socket/listen.c: Likewise.
33815 * socket/recv.c: Likewise.
33816 * socket/recvfrom.c: Likewise.
33817 * socket/recvmsg.c: Likewise.
33818 * socket/send.c: Likewise.
33819 * socket/sendmsg.c: Likewise.
33820 * socket/sendto.c: Likewise.
33821 * socket/setsockopt.c: Likewise.
33822 * socket/shutdown.c: Likewise.
33823 * socket/sockatmark.c: Likewise.
33824 * socket/socket.c: Likewise.
33825 * socket/socketpair.c: Likewise.
33826 * stdio-common/ctermid.c: Likewise.
33827 * stdio-common/cuserid.c: Likewise.
33828 * stdio-common/remove.c: Likewise.
33829 * stdio-common/rename.c: Likewise.
33830 * stdio-common/renameat.c: Likewise.
33831 * stdio-common/tempname.c: Likewise.
33832 * stdlib/getcontext.c: Likewise.
33833 * stdlib/makecontext.c: Likewise.
33834 * stdlib/setcontext.c: Likewise.
33835 * stdlib/swapcontext.c: Likewise.
33836 * stdlib/system.c: Likewise.
33837 * streams/fattach.c: Likewise.
33838 * streams/fdetach.c: Likewise.
33839 * streams/getmsg.c: Likewise.
33840 * streams/getpmsg.c: Likewise.
33841 * streams/putmsg.c: Likewise.
33842 * streams/putpmsg.c: Likewise.
33843 * sysdeps/unix/bsd/getpt.c: Likewise.
33844 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33845 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33846 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33849 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33850 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33851 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33852 * sysvipc/msgctl.c: Likewise.
33853 * sysvipc/msgget.c: Likewise.
33854 * sysvipc/msgrcv.c: Likewise.
33855 * sysvipc/msgsnd.c: Likewise.
33856 * sysvipc/semctl.c: Likewise.
33857 * sysvipc/semget.c: Likewise.
33858 * sysvipc/semop.c: Likewise.
33859 * sysvipc/semtimedop.c: Likewise.
33860 * sysvipc/shmat.c: Likewise.
33861 * sysvipc/shmctl.c: Likewise.
33862 * sysvipc/shmdt.c: Likewise.
33863 * sysvipc/shmget.c: Likewise.
33864 * termios/tcdrain.c: Likewise.
33865 * termios/tcflow.c: Likewise.
33866 * termios/tcflush.c: Likewise.
33867 * termios/tcgetattr.c: Likewise.
33868 * termios/tcgetpgrp.c: Likewise.
33869 * termios/tcsendbrk.c: Likewise.
33870 * termios/tcsetattr.c: Likewise.
33871 * termios/tcsetpgrp.c: Likewise.
33872 * time/adjtime.c: Likewise.
33873 * time/clock.c: Likewise.
33874 * time/getitimer.c: Likewise.
33875 * time/gettimeofday.c: Likewise.
33876 * time/setitimer.c: Likewise.
33877 * time/settimeofday.c: Likewise.
33878 * time/stime.c: Likewise.
33879 * time/time.c: Likewise.
33881 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
33883 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33886 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33888 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33890 2012-11-03 Joseph Myers <joseph@codesourcery.com>
33893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33894 FE_TONEAREST before applying Dekker multiplication and Knuth
33895 addition. Clear inexact exceptions and check for exact zero
33896 results afterwards.
33897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33898 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33899 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33900 * math/libm-test.inc (fma_test): Add more tests.
33901 (fma_test_towardzero): Likewise.
33902 (fma_test_downward): Likewise.
33903 (fma_test_upward): Likewise.
33904 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33906 (libc_fesetround): New macro.
33907 (libc_fesetroundf): Likewise.
33908 (libc_fesetroundl): Likewise.
33909 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33911 (libc_fesetround_387): Likewise.
33912 (libc_fesetroundf): New macro.
33913 (libc_fesetround): Likewise.
33914 (libc_fesetroundl): Likewise.
33915 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33917 (libc_fesetroundf): New macro.
33918 (libc_fesetround): Likewise.
33919 (libc_fesetroundl): Likewise.
33920 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33921 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33922 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33924 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33925 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33927 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33928 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33930 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33934 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33935 integer constant usable in #if and use that to give value to enum
33937 (FE_DIVBYZERO): Likewise.
33938 (FE_UNDERFLOW): Likewise.
33939 (FE_OVERFLOW): Likewise.
33940 (FE_INVALID): Likewise.
33941 (FE_INVALID_SNAN): Likewise.
33942 (FE_INVALID_ISI): Likewise.
33943 (FE_INVALID_IDI): Likewise.
33944 (FE_INVALID_ZDZ): Likewise.
33945 (FE_INVALID_IMZ): Likewise.
33946 (FE_INVALID_COMPARE): Likewise.
33947 (FE_INVALID_SOFTWARE): Likewise.
33948 (FE_INVALID_SQRT): Likewise.
33949 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33950 (FE_TONEAREST): Likewise.
33951 (FE_TOWARDZERO): Likewise.
33952 (FE_UPWARD): Likewise.
33953 (FE_DOWNWARD): Likewise.
33954 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33955 (FE_DIVBYZERO): Likewise.
33956 (FE_OVERFLOW): Likewise.
33957 (FE_UNDERFLOW): Likewise.
33958 (FE_INEXACT): Likewise.
33959 (FE_TONEAREST): Likewise.
33960 (FE_DOWNWARD): Likewise.
33961 (FE_UPWARD): Likewise.
33962 (FE_TOWARDZERO): Likewise.
33963 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33964 (FE_UNDERFLOW): Likewise.
33965 (FE_OVERFLOW): Likewise.
33966 (FE_DIVBYZERO): Likewise.
33967 (FE_INVALID): Likewise.
33968 (FE_TONEAREST): Likewise.
33969 (FE_TOWARDZERO): Likewise.
33970 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33971 (FE_OVERFLOW): Likewise.
33972 (FE_UNDERFLOW): Likewise.
33973 (FE_DIVBYZERO): Likewise.
33974 (FE_INEXACT): Likewise.
33975 (FE_TONEAREST): Likewise.
33976 (FE_TOWARDZERO): Likewise.
33977 (FE_UPWARD): Likewise.
33978 (FE_DOWNWARD): Likewise.
33979 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33980 (FE_DIVBYZERO): Likewise.
33981 (FE_OVERFLOW): Likewise.
33982 (FE_UNDERFLOW): Likewise.
33983 (FE_INEXACT): Likewise.
33984 (FE_TONEAREST): Likewise.
33985 (FE_DOWNWARD): Likewise.
33986 (FE_UPWARD): Likewise.
33987 (FE_TOWARDZERO): Likewise.
33989 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33991 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33993 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33995 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33996 commands. Quote $PWD.
33997 (blacklist_exports): Don't use remove_newlines. Replace "declare
33999 (remove_newlines): Remove.
34001 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34003 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34004 * stdlib/stdlib.h (atof): Moved to ...
34005 * include/bits/stdlib-float.h: Here. New file.
34006 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34007 * stdlib/bits/stdlib-float.h: New file.
34008 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34010 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34013 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34015 * conform/conformtest.pl (@headers): Add fenv.h.
34016 * conform/data/fenv.h-data: New file.
34017 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34018 include of <math/fenv.h>.
34020 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34021 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34022 && !UNIX98]. Enables tests for XOPEN2K8.
34023 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34024 POSIX2008]: Likewise.
34026 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34027 (struct rusage): Do not expect type or its members.
34030 * math/math.h (FP_NAN): Define macro to integer constant usable in
34031 #if and use that to give value to enum constant.
34032 (FP_INFINITE): Likewise.
34033 (FP_ZERO): Likewise.
34034 (FP_SUBNORMAL): Likewise.
34035 (FP_NORMAL): Likewise.
34037 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34039 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34040 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34043 2012-11-02 Roland McGrath <roland@hack.frob.com>
34045 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34046 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34047 autoconf-time if not.
34048 * configure.in: Remove AC_PREREQ.
34050 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34052 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34053 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34054 of the internal implementation.
34056 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34058 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34059 except include of <misc/sys/syslog.h>.
34061 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34064 function returns with a NULL context exit with zero.
34066 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34068 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34070 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34072 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34073 (run_program_cmd): This.
34074 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34075 (tst_langinfo): New variable. Use it.
34077 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34079 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34080 floating point opcodes.
34082 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34084 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34087 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34089 * sysdeps/mach/hurd/powerpc: Remove directory.
34090 * sysdeps/mach/powerpc: Likewise.
34092 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34094 * scripts/check-local-headers.sh: Ignore c++ headers.
34096 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34098 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34099 __libc_cleanup_region_start argument.
34101 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34106 x * y using scaling, not as x * y + z.
34107 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34108 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34109 * math/libm-test.inc (fma_test): Add more tests.
34110 (fma_test_towardzero): Likewise.
34111 (fma_test_downward): Likewise.
34112 (fma_test_upward): Likewise.
34114 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34116 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34118 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34120 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34123 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34125 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34127 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34134 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34137 Fix the order of the list for glibc 2.17.
34138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34141 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34145 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34148 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34149 for low part of x being zero before using __atanl (y).
34150 * math/libm-test.inc (atan2_test): Add another test.
34152 * manual/install.texi (Configuring and compiling): Document
34153 general use of test-wrapper and test-wrapper-env.
34154 * INSTALL: Regenerated.
34156 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34157 (__fma): Do not extract and scale down low bits on after-rounding
34158 systems when result rounded to normal precision would have normal
34160 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34161 (__fmal): Do not extract and scale down low bits on after-rounding
34162 systems when result rounded to normal precision would have normal
34164 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34165 (__fmal): Do not extract and scale down low bits on after-rounding
34166 systems when result rounded to normal precision would have normal
34168 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34170 (fma_test): Add more tests.
34171 (fma_test_towardzero): Likewise.
34172 (fma_test_downward): Likewise.
34173 (fma_test_upward): Likewise.
34175 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34177 * sysdeps/i386/tininess.h: Renamed to ...
34178 * sysdeps/x86/tininess.h: This.
34179 * sysdeps/x86_64/tininess.h: Removed.
34181 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34183 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34184 input. Use $(build-program-cmd).
34185 ($(objpfx)tst-array1-static.out): Likewise.
34186 ($(objpfx)tst-array2.out): Likewise.
34187 ($(objpfx)tst-array3.out): Likewise.
34188 ($(objpfx)tst-array4.out): Likewise.
34189 ($(objpfx)tst-array5.out): Likewise.
34190 ($(objpfx)tst-array5-static.out): Likewise.
34192 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34194 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34197 * nss/nsswitch.h (nss_interface_function): Provide new
34198 macro for use with NSS functions.
34199 * grp/initgroups.c: Use new macro.
34200 * nss/getXXbyYY.c: Likewise.
34201 * nss/getXXbyYY_r.c: Likewise.
34202 * nss/getXXent.c: Likewise.
34203 * nss/getXXent_r.c: Likewise.
34204 * sysdeps/posix/getaddrinfo.c: Likewise.
34206 2012-10-30 Andreas Jaeger <aj@suse.de>
34208 * po/ru.po: Update Russion translation from translation project.
34210 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34215 result and shift together with sticky bit instead of replicating
34216 round-to-nearest rounding.
34217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34219 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34220 missing underflow exceptions.
34221 (fma_test_towardzero): Add more tests.
34222 (fma_test_downward): Likewise.
34223 (fma_test_upward): Likewise.
34226 * sysdeps/generic/tininess.h: New file.
34227 * sysdeps/i386/tininess.h: Likewise.
34228 * sysdeps/sh/tininess.h: Likewise.
34229 * sysdeps/x86_64/tininess.h: Likewise.
34230 * stdlib/tst-strtod-underflow.c: Likewise.
34231 * stdlib/tst-tininess.c: Likewise.
34232 * stdlib/strtod_l.c: Include <tininess.h>.
34233 (round_and_return): Do not set errno for exact underflow cases.
34234 Force an underflow exception when setting errno for underflow.
34235 Determine underflow based on rounding to normal precision if
34236 TININESS_AFTER_ROUNDING.
34237 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34238 ERANGE for exact underflow cases.
34239 * stdlib/Makefile (tests): Add tst-tininess and
34240 tst-strtod-underflow.
34241 ($(objpfx)tst-tininess): Use $(link-libm).
34242 ($(objpfx)tst-strtod-underflow): Likewise.
34244 2012-10-30 Andreas Jaeger <aj@suse.de>
34247 * elf/Makefile (tests): Remove conditional for have-initfini-array
34248 since this is now always required and the variable does not exist
34250 (tests-static): Likewise.
34251 (modules-names): Likewise.
34253 * po/eo.po: Add Esperanto translation from translation project.
34255 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34256 merged with constructor/destructor.
34257 (init_array): Likewise.
34258 * elf/tst-array2dep.c (fini_array): Likewise.
34259 (init_array): Likewise.
34261 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34263 * manual/message.texi: Delete @cartouche tags.
34265 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34267 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34269 * sysdeps/mach/hurd/fsync.c: Likewise.
34271 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34272 [_POSIX_REALTIME_SIGNALS]: Change condition to
34273 [_POSIX_REALTIME_SIGNALS > 0].
34275 2012-10-27 Andreas Jaeger <aj@suse.de>
34277 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34278 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34279 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34280 [__WORDSIZE != 64]: Likewise.
34282 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34284 * iconvdata/tst-table.sh: Remove ${SHELL}.
34285 * iconvdata/tst-tables.sh: Likewise.
34287 2012-10-25 David S. Miller <davem@davemloft.net>
34289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34290 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34295 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34296 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34297 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34300 2012-10-25 Roland McGrath <roland@hack.frob.com>
34302 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34303 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34306 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34307 Jim Blandy <jimb@codesourcery.com>
34309 * scripts/cross-test-ssh.sh: New file.
34310 * manual/install.texi (Configuring and compiling): Document use of
34312 * INSTALL: Regenerated.
34314 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34316 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34319 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34321 * Makeconfig (run-program-prefix): Fix comment.
34323 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34324 Jim Blandy <jimb@codesourcery.com>
34326 * Makeconfig (test-wrapper): New variable,
34327 (test-wrapper-env): Likewise.
34328 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34329 (run-built-tests): Define to yes.
34330 (run-program-prefix): Use $(test-wrapper).
34331 (built-program-cmd): Likewise.
34332 * Rules (make-test-out): Use $(test-wrapper-env) and
34333 $(host-built-program-cmd).
34334 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34335 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34337 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34338 $(test-wrapper-env) to tst-rtld-load-self.sh.
34339 ($(objpfx)order2.out): Use $(test-wrapper).
34340 ($(objpfx)tst-initorder.out): Likewise.
34341 ($(objpfx)tst-initorder2.out): Likewise.
34342 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34343 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34344 (test_wrapper_env): New variable. Use it to run ld.so.
34345 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34346 Use it to run ld.so.
34347 (test_wrapper_env): Likewise.
34348 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34349 $(test-wrapper) to run-iconv-test.sh.
34350 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34351 (ICONV): Use $test_wrapper.
34352 * posix/Makefile ($(objpfx)globtest.out): Pass
34353 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34354 globtest.sh, not $(run-program-prefix).
34355 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34356 (test_wrapper): Likewise.
34357 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34358 set together with run_via_rtld_prefix.
34359 (run_program_prefix): Define in terms of test_wrapper and
34360 run_via_rtld_prefix.
34362 2012-10-24 Roland McGrath <roland@hack.frob.com>
34364 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34365 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34369 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34370 Declare __clock_getres, __clock_gettime, __clock_settime,
34371 __clock_nanosleep, and __clock_getcpuclockid.
34372 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34373 Remove librt_hidden_def (clock_gettime).
34374 * sysdeps/unix/clock_gettime.c: Likewise.
34375 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34376 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34377 * rt/clock_getres.c: Define __clock_getres as an alias.
34378 * sysdeps/posix/clock_getres.c: Likewise.
34379 * rt/clock_settime.c: Define __clock_settime as an alias.
34380 * sysdeps/unix/clock_settime.c: Likewise.
34381 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34382 * sysdeps/unix/clock_nanosleep.c: Likewise.
34383 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34384 * rt/clock-compat.c: New file.
34385 * rt/Makefile (librt-routines): Add clock-compat and move
34386 $(clock-routines) to ...
34387 (routines): ... here, new variable.
34388 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34389 Don't add get_clockfreq here.
34390 * rt/Versions (libc: GLIBC_2.17): New version set.
34391 Add clock_* symbols here.
34392 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34393 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34394 (GLIBC_2.17): Add clock_* symbols.
34395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34406 * NEWS: Mention the move.
34408 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34409 Use __open, __read, __close rather than their public counterparts.
34410 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34411 (__get_clockfreq_via_cpuinfo): Likewise.
34412 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34413 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34415 * config.h.in (HAVE_IFUNC): New #undef.
34416 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34418 * configure: Regenerated.
34420 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34422 * configure.in: Move READELF check to start of file.
34423 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34424 libc_cv_asm_gnu_indirect_function in the process.
34425 * configure: Regenerated.
34427 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34429 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34430 send the output to /dev/null.
34431 (libc_cv_cc_with_libunwind): Likewise.
34432 (libc_cv_as_noexecstack): Likewise.
34433 * configure: Regenerate.
34435 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34437 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34439 * posix/globtest.sh (TMPDIR): Do not set.
34440 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34441 (testout): Likewise.
34443 2012-10-24 Andreas Jaeger <aj@suse.de>
34445 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34446 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34447 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34448 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34449 posix_fadvise64, posix_fallocate64.
34451 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34452 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34453 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34455 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34457 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34460 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34461 <bits/fcntl-linux.h>.
34462 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34465 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34466 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34467 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34468 [__WORDSIZE != 64]: Likewise.
34470 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34472 * Makeconfig (run-built-tests): New variable.
34473 * Rules [$(cross-compiling) = yes]: Change condition to
34474 [$(run-built-tests) = no].
34475 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34476 to [$(run-built-tests) = yes].
34477 * elf/Makefile [$(cross-compiling) = no]: Likewise
34478 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34479 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34480 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34481 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34482 * io/Makefile [$(cross-compiling) = no]: Likewise.
34483 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34484 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34485 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34486 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34487 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34488 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34489 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34490 * string/Makefile [$(cross-compiling) = no]: Likewise.
34492 * posix/Makefile ($(objpfx)globtest.out): Pass
34493 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34494 $(rtld-installed-name).
34495 * posix/globtest.sh (elf_objpfx): Remove variable.
34496 (rtld_installed_name): Likewise.
34497 (library_path): Likewise.
34498 (run_program_prefix): New variable. Use for running globtest
34501 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34502 Joseph Myers <joseph@codesourcery.com>
34504 * Makeconfig (host-built-program-cmd): New variable.
34505 * elf/Makefile (tst-stackguard1-ARGS): Use
34506 $(host-built-program-cmd).
34507 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34508 (tst-spawn-ARGS): Likewise.
34509 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34511 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34512 Jim Blandy <jimb@codesourcery.com>
34514 * Makeconfig (run-via-rtld-prefix): New variable.
34515 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34516 (built-program-cmd): Likewise.
34518 2012-10-22 Andreas Jaeger <aj@suse.de>
34520 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34521 __O_RSYNC if it exists, otherwise to O_SYNC.
34523 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34524 Joseph Myers <joseph@codesourcery.com>
34526 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34528 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34530 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34533 2012-10-22 Andreas Jaeger <aj@suse.de>
34535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34540 bits/fcntl-linux.h.
34542 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34543 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34550 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34551 Joseph Myers <joseph@codesourcery.com>
34553 * config.make.in (NM): New variable.
34555 2012-10-21 Andreas Jaeger <aj@suse.de>
34557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34558 definitions and declarations that are provided by
34559 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34561 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34564 * elf/Makefile (tests-static): Add tst-leaks1-static.
34565 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34566 ($(objpfx)tst-leaks1-static): New rule.
34567 ($(objpfx)tst-leaks1-static-mem): Likewise.
34568 (tst-leaks1-static-ENV): New macro.
34569 * elf/dl-open.c (dl_open_worker): Check the main application
34570 only if SHARED is defined.
34571 * elf/tst-leaks1-static.c: New file.
34573 2012-10-20 Andreas Jaeger <aj@suse.de>
34575 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34576 generic values for Linux.
34577 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34578 and declarations that are provided by <bits/fcntl-linux.h> and
34579 include <bits/fcntl-linux.h>.
34580 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34583 2012-10-20 Roland McGrath <roland@hack.frob.com>
34585 * io/fcntl.h: Move include of <bits/types.h> to the top and
34586 include it unconditionally.
34588 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34590 * wcsmbs/Makefile (tests-ifunc): New variable.
34591 (tests): Add $(tests-ifunc).
34592 * wcsmbs/test-wcschr-ifunc.c: New file.
34593 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34594 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34595 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34596 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34597 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34599 * string/Makefile (tests-ifunc): New variable.
34600 (tests): Add $(tests-ifunc).
34601 * string/test-memccpy.c (TEST_NAME): New macro.
34602 * string/test-memchr.c (TEST_NAME): Likewise.
34603 * string/test-memcmp.c (TEST_NAME): Likewise.
34604 * string/test-memcpy.c (TEST_NAME): Likewise.
34605 * string/test-memmem.c (TEST_NAME): Likewise.
34606 * string/test-memmove.c (TEST_NAME): Likewise.
34607 * string/test-memset.c (TEST_NAME): Likewise.
34608 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34609 * string/test-stpcpy.c (TEST_NAME): Likewise.
34610 * string/test-stpncpy.c (TEST_NAME): Likewise.
34611 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34612 * string/test-strcasestr.c (TEST_NAME): Likewise.
34613 * string/test-strcat.c (TEST_NAME): Likewise.
34614 * string/test-strchr.c (TEST_NAME): Likewise.
34615 * string/test-strcmp.c(TEST_NAME): Likewise.
34616 * string/test-strcpy.c (TEST_NAME): Likewise.
34617 * string/test-strcspn.c (TEST_NAME): Likewise.
34618 * string/test-strlen.c (TEST_NAME): Likewise.
34619 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34620 * string/test-strncmp.c (TEST_NAME): Likewise.
34621 * string/test-strncpy.c (TEST_NAME): Likewise.
34622 * string/test-strnlen.c (TEST_NAME): Likewise.
34623 * string/test-strpbrk.c (TEST_NAME): Likewise.
34624 * string/test-strrchr.c (TEST_NAME): Likewise.
34625 * string/test-strspn.c (TEST_NAME): Likewise.
34626 * string/test-strstr.c (TEST_NAME): Likewise.
34627 * string/test-bcopy-ifunc.c: New file.
34628 * string/test-bzero-ifunc.c: Likewise.
34629 * string/test-memccpy-ifunc.c: Likewise.
34630 * string/test-memchr-ifunc.c: Likewise.
34631 * string/test-memcmp-ifunc.c: Likewise.
34632 * string/test-memcpy-ifunc.c: Likewise.
34633 * string/test-memmem-ifunc.c: Likewise.
34634 * string/test-memmove-ifunc.c: Likewise.
34635 * string/test-mempcpy-ifunc.c: Likewise.
34636 * string/test-memset-ifunc.c: Likewise.
34637 * string/test-rawmemchr-ifunc.c: Likewise.
34638 * string/test-stpcpy-ifunc.c: Likewise.
34639 * string/test-stpncpy-ifunc.c: Likewise.
34640 * string/test-strcasecmp-ifunc.c: Likewise.
34641 * string/test-strcasestr-ifunc.c: Likewise.
34642 * string/test-strcat-ifunc.c: Likewise.
34643 * string/test-strchr-ifunc.c: Likewise.
34644 * string/test-strchrnul-ifunc.c: Likewise.
34645 * string/test-strcmp-ifunc.c: Likewise.
34646 * string/test-strcpy-ifunc.c: Likewise.
34647 * string/test-strcspn-ifunc.c: Likewise.
34648 * string/test-strlen-ifunc.c: Likewise.
34649 * string/test-strncasecmp-ifunc.c: Likewise.
34650 * string/test-strncat-ifunc.c: Likewise.
34651 * string/test-strncmp-ifunc.c: Likewise.
34652 * string/test-strncpy-ifunc.c: Likewise.
34653 * string/test-strnlen-ifunc.c: Likewise.
34654 * string/test-strpbrk-ifunc.c: Likewise.
34655 * string/test-strrchr-ifunc.c: Likewise.
34656 * string/test-strspn-ifunc.c: Likewise.
34657 * string/test-strstr-ifunc.c: Likewise.
34659 * debug/Makefile (tests-ifunc): New variable.
34660 (tests): Add $(tests-ifunc).
34661 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34662 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34663 * debug/test-stpcpy_chk-ifunc.c: New file.
34664 * debug/test-strcpy_chk-ifunc.c: Likewise.
34666 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34669 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34670 header is not read in.
34672 2012-10-19 Joseph Myers <joseph@codesourcery.com>
34674 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34675 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34676 directly. Pass built executable to script as
34677 $(built-program-cmd).
34678 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34679 $testprogram without using LD_LIBRARY_PATH and $ldso.
34681 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34682 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34683 $(rtld-installed-name).
34684 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34685 (rtld_installed_name): Likewise.
34686 (library_path): Likewise.
34687 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34688 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34689 $(run-program-prefix) to tst-tables.sh.
34690 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34691 it to run tst-table-from and tst-table-to.
34692 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34693 Pass it to tst-table.sh.
34694 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34695 $(run-program-prefix) to tst-gettext.sh.
34696 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34698 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34700 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34701 to run tst-gettext.
34702 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34703 to run tst-gettext2.
34704 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34705 to run tst-translit.
34706 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34707 $(run-program-prefix) to tst-mtrace.sh.
34708 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34710 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34711 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34712 $(rtld-installed-name).
34713 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34714 (rtld_installed_name): Likewise.
34715 (run_program_prefix): New variable. Use it to run wordexp-test.
34717 * Makeconfig (ARCH): Remove all definitions.
34718 (machine): Likewise.
34719 [ARCH]: Remove conditional code.
34720 [!objdir]: Give error.
34721 [!objdir] (objpfx): Remove.
34722 [!objdir] (common-objpfx): Likewise.
34723 [!objdir] (common-objdir): Likewise.
34724 * configure.in (config_makefile): Remove. Hardcode Makefile in
34725 AC_CONFIG_FILES call.
34726 * configure: Regenerated.
34729 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34731 (testout): Likewise.
34733 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34734 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34735 $(rtld-installed-name).
34736 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34737 (rtld_installed_name): Likwise.
34738 (runit): Remove function.
34739 (run_getconf): New variable, Use it for running getconf binary.
34741 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34744 * string/test-memmem.c (check_result): New function.
34745 (do_one_test): Use it.
34746 (check1): New function.
34747 (test_main): Use it.
34749 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
34751 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34753 2012-10-18 Joseph Myers <joseph@codesourcery.com>
34755 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34756 (_G_LSEEK64): Likewise.
34757 (_G_MMAP64): Likewise.
34758 (_G_FSTAT64): Likewise.
34759 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34760 (_G_LSEEK64): Likewise.
34761 (_G_MMAP64): Likewise.
34762 (_G_FSTAT64): Likewise.
34763 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34764 unconditional. Call __mmap64 directly.
34765 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34766 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34767 __lseek64 directly.
34768 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34769 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34771 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34772 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34773 __lseek64 directly.
34774 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34775 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34776 __lseek64 directly.
34777 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34778 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34779 __lseek64 directly.
34780 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34781 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34782 __fxstat64 directly.
34783 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34784 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34786 (freopen64) [!_G_OPEN64]: Remove conditional code.
34787 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34789 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34790 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34792 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34793 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34795 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34796 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34798 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34799 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34801 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34802 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34804 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34805 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34807 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34809 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34812 * manual/memory.texi (Malloc Tunable Parameters): Add note
34813 about free list pointers overwriting some perturb bytes.
34814 Wording suggested by Roland McGrath.
34816 2012-10-17 Joseph Myers <joseph@codesourcery.com>
34818 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34819 (lgamma_test): Likewise.
34820 (tgamma_test): Likewise.
34822 2012-10-16 Florian Weimer <fweimer@redhat.com>
34825 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34826 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34828 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34830 * NEWS: Mention BZ #14716.
34831 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34832 when removing AVAILABLE1_USES_J macro.
34834 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34836 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34837 (__bswap_64): __uint64_t for unsigned 64-bit int.
34839 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34841 * include/string.h (memmem): Declare libc hidden alias.
34842 * string/memmem.c (memmem): Define libc hidden alias.
34843 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34844 __read, __close instead of open, read, close.
34846 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34848 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34849 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34851 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34852 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34853 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34855 (__rawmemchr_sse2): Likewise.
34856 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34857 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34858 (__strchr_sse2): Likewise.
34859 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34860 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34861 (__strcasecmp_sse2): Likewise.
34862 (__strncasecmp_sse2): Likewise.
34863 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34864 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34865 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34866 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34867 (__strrchr_sse2): Likewise.
34868 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34870 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34871 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34872 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34873 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34874 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34875 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34876 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34877 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34878 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34879 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34880 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34881 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34882 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34883 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34884 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34885 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34886 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34887 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34888 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34889 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34890 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34891 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34892 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34893 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34894 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34895 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34896 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34897 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34898 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34899 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34901 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34903 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34904 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34905 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34906 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34908 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34910 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34911 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34912 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34913 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34915 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34916 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34917 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34918 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34919 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34920 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34921 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34922 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34923 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34924 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34925 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34926 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34927 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34928 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34929 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34930 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34931 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34932 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34933 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34934 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34935 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34936 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34937 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34938 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34939 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34940 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34941 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34942 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34943 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34944 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34945 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34946 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34947 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34948 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34949 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34950 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34951 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34952 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34953 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34954 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34955 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34957 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34958 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34959 * include/ifunc-impl-list.h: New file.
34960 * misc/ifunc-impl-list.c: Likewise.
34961 * misc/Makefile (routines): Add ifunc-impl-list.
34962 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34963 * string/test-string.h: Include <ifunc-impl-list.h>.
34964 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34965 TEST_NAME]: New variables.
34966 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34968 (test_init): Call __libc_ifunc_impl_list to initialize
34969 func_list if TEST_IFUNC and TEST_NAME are defined.
34971 * string/Makefile (strop-tests): Add bcopy and bzero.
34972 * string/test-bcopy.c: New file.
34973 * string/test-bzero.c: Likewise.
34974 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34976 * string/test-memset.c: Support bzero test if TEST_BZERO is
34978 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34980 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34982 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34985 2012-10-10 Joseph Myers <joseph@codesourcery.com>
34987 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34988 * configure: Regenerated.
34990 * Makeconfig (+link-static-before-libc): Don't include
34991 $(link-static-libc).
34993 * libio/libio.h (_IO_pos_t): Remove.
34995 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34997 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35000 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35002 * crypt/crypt-entry.c: Include fips-private.h.
35003 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35004 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35005 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35006 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35008 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35010 * crypt/crypt-private.h: Include stdbool.h.
35011 (_ufc_setup_salt_r): Return bool.
35012 * crypt/crypt-entry.c: Include errno.h.
35013 (__crypt_r): Return NULL with EINVAL for bad salt.
35014 * crypt/crypt_util.c (bad_for_salt): New.
35015 (_ufc_setup_salt_r): Check that salt is long enough and within
35016 the specified alphabet.
35017 * crypt/badsalttest.c: New file.
35018 * crypt/Makefile (tests): Add it.
35019 ($(objpfx)badsalttest): New.
35021 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35023 * NEWS: Add entry for BZ #14602.
35025 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35027 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35029 * math/libm-test.inc: Update comment listing what functions and
35031 (isgreater_test): New function.
35032 (isgreaterequal_test): Likewise.
35033 (isless_test): Likewise.
35034 (islessequal_test): Likewise.
35035 (islessgreater_test): Likewise.
35036 (isunordered_test): Likewise.
35037 (main): Call the new functions.
35039 2012-10-09 Roland McGrath <roland@hack.frob.com>
35041 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35042 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35043 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35044 * sysdeps/i386/configure: Regenerated.
35045 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35046 * sysdeps/mach/configure: Regenerated.
35047 * sysdeps/mach/hurd/configure: Regenerated.
35048 * sysdeps/powerpc/configure: Regenerated.
35049 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35050 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35051 * sysdeps/s390/s390-32/configure: Regenerated.
35052 * sysdeps/s390/s390-64/configure: Regenerated.
35053 * sysdeps/sh/configure: Regenerated.
35054 * sysdeps/sparc/configure: Regenerated.
35055 * sysdeps/unix/sysv/linux/configure: Regenerated.
35056 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35057 * sysdeps/x86_64/configure: Regenerated.
35059 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35060 defined. Don't check if MAP is NULL.
35062 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35064 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35065 (_G_stat64): Likewise.
35066 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35067 (_G_stat64): Likewise.
35068 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35069 instead of struct _G_stat64.
35070 * libio/fileops.c (mmap_remap_check): Likewise.
35071 (decide_maybe_mmap): Likewise.
35072 (_IO_new_file_seekoff): Likewise.
35073 (_IO_file_stat): Likewise.
35074 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35076 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35077 instead of struct _G_stat64.
35078 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35080 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35083 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35085 (CHECK_EOL): New macro.
35086 (two_way_short_needle): Check beginning of haystack for EOL. Use
35088 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35089 Replace with CHECK_EOL.
35090 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35091 Replace with CHECK_EOL.
35093 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35095 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35097 * math/libm-test.inc: Update comment listing what functions and
35099 (finite_test): New function.
35100 (isinf_test): Likewise.
35101 (isnan_test): Likewise.
35102 (fpclassify_test): Test subnormal input.
35103 (isfinite_test): Likewise.
35104 (isnormal_test): Likewise.
35105 (main): Call the new functions.
35107 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35110 * Makerules (%.dynsym): Force C locale when running
35111 $(OBJDUMP) --dynamic-syms.
35113 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35115 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35118 2012-10-06 David S. Miller <davem@davemloft.net>
35120 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35121 upper 32-bits of the length value in %o2 since we use branch-on-register
35122 tests which consider the entire 64-bit register.
35124 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35126 * string/test-strstr.c (check2): Add a test for page boundary.
35128 2012-10-05 David S. Miller <davem@davemloft.net>
35130 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35131 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35133 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35135 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35136 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35137 and bzero when HWCAP_SPARC_CRYPTO is present.
35139 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35142 * string/test-strstr.c (check2): New function.
35143 (test_main): Call check2.
35145 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35147 * string/bug-strcasestr1.c (do_test): Moved to ...
35148 * string/test-strcasestr.c (check1): Here. New function.
35149 (do_one_test): Break out result checking code into ...
35150 (check_result): This. New function.
35151 (do_one_test): Call check_result.
35152 (test_main): Call check1.
35153 * string/bug-strchr1.c (do_test): Moved to ...
35154 * string/test-strchr.c (check1): Here. New function.
35155 (do_one_test): Break out result checking code into ...
35156 (check_result): This. New function.
35157 (do_one_test): Call check_result.
35158 (test_main): Call check1.
35159 * string/bug-strstr1.c (main): Moved to ...
35160 * string/test-strstr.c (check1): Here. New function.
35161 (do_one_test): Break out result checking code into ...
35162 (check_result): This. New function.
35163 (do_one_test): Call check_result.
35164 (test_main): Call check1.
35165 * string/bug-strcasestr1.c: Removed.
35166 * string/bug-strchr1.c: Likewise.
35167 * string/bug-strstr1.c: Likewise.
35169 * elf/Makefile (dl-routines): Add hwcaps.
35170 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35171 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35172 (_dl_important_hwcaps): Moved to ...
35173 * elf/dl-hwcaps.c: Here. New file.
35174 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35177 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35178 if IS_IN_rtld isn't defined.
35180 * elf/dl-support.c (_dl_sysinfo_map): New.
35181 Include "get-dynamic-info.h" and "setup-vdso.h".
35182 (_dl_non_dynamic_init): Call setup_vdso.
35183 * elf/dynamic-link.h: Don't include <assert.h>.
35184 (elf_get_dynamic_info): Moved to ...
35185 * elf/get-dynamic-info.h: Here. New file.
35186 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35187 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35188 * elf/setup-vdso.h: Here. New file.
35189 * elf/rtld.c: Include "setup-vdso.h".
35190 (dl_main): Call setup_vdso.
35192 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35194 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35195 creal in comment listing functions tested. List finite, isinf,
35196 isnan, isless, islessequal, isgreater, isgreaterequal,
35197 islessgreater, isunordered, lgamma_r and pow10 as functions and
35198 macros not tested. Mention which functions not tested are aliases
35199 for other functions. Fix typo. Note that signs of NaNs are not
35202 * scripts/config.guess: Update from config.git.
35203 * scripts/config.sub: Likewise.
35205 2012-10-04 Roland McGrath <roland@hack.frob.com>
35207 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35208 * misc/madvise.c (madvise): Renamed to __madvise.
35209 Make madvise a weak alias.
35210 * include/sys/mman.h: Declare __madvise.
35211 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35212 * sysdeps/unix/syscalls.list
35213 (madvise): Make __madvise the strong name, and madvise a weak alias.
35214 * sysdeps/unix/sysv/linux/syscalls.list
35215 (madvise, mmap): Remove redundant entries.
35216 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35217 * malloc/malloc.c (mtrim): Likewise.
35218 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35220 2012-10-03 Roland McGrath <roland@hack.frob.com>
35222 * sysdeps/mach/hurd/dl-cache.c: File removed.
35223 * config.h.in (USE_LDCONFIG): New #undef.
35224 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35225 * configure: Regenerated.
35226 * elf/Makefile (dl-routines): Add dl-cache only under
35227 [$(use-ldconfig) = yes].
35228 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35229 cache on [USE_LDCONFIG].
35230 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35232 * elf/rtld.c (dl_main): Likewise.
35234 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35236 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35237 _SC_LEVEL4_CACHE_LINESIZE.
35239 2012-10-03 Roland McGrath <roland@hack.frob.com>
35241 * sysdeps/unix/bsd/confstr.h: File removed.
35243 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35245 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35248 2012-10-02 Roland McGrath <roland@hack.frob.com>
35250 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35251 Make 'mapoff' field ElfW(Off) rather than off_t.
35253 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35255 * nscd/Makefile: Remove nscd-cflags and all its users.
35256 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35257 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35260 * malloc.c (malloc_printerr): Clarify error message.
35262 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35266 Set bit_FMA_Usable if FMA is supported.
35267 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35269 (bit_FMA4_Usable): Updated.
35270 (index_FMA_Usable): New macro.
35271 (CPUID_FMA): Likewise
35272 (HAS_FMA): Defined with bit_FMA_Usable.
35274 2012-10-01 Roland McGrath <roland@hack.frob.com>
35276 * bits/types.h (__swblk_t): Type removed.
35277 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35278 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35279 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35280 (__SWBLK_T_TYPE): Likewise.
35281 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35282 (__SWBLK_T_TYPE): Likewise.
35283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35284 (__SWBLK_T_TYPE): Likewise.
35285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35286 (__SWBLK_T_TYPE): Likewise.
35288 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35289 Honza Horak <hhorak@redhat.com>
35291 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35292 (xdr_mapname): Use YPMAXMAP as maxsize.
35293 (xdr_peername): Use YPMAXPEER as maxsize.
35294 (xdr_keydat): Use YPAXRECORD as maxsize.
35295 (xdr_valdat): Use YPMAXRECORD as maxsize.
35297 2012-10-01 Roland McGrath <roland@hack.frob.com>
35299 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35301 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35302 * csu/init-first.c: ... here.
35303 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35304 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35305 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35306 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35307 * sysdeps/i386/init-first.c: File removed.
35308 * sysdeps/sh/init-first.c: File removed.
35310 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35314 if x * y might underflow to zero and z is zero.
35315 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35316 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35317 * math/libm-test.inc (min_subnorm_value): New variable.
35318 (fma_test): Add more tests.
35319 (fma_test_towardzero): Likewise.
35320 (fma_test_downward): Likewise
35321 (fma_test_upward): Likewise.
35322 (initialize): Set min_subnorm_value.
35324 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35330 mode for addition resulting in exact zero.
35331 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35334 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35335 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35336 * math/libm-test.inc (fma_test): Add more tests.
35337 (fma_test_towardzero): New function.
35338 (fma_test_downward): Likewise.
35339 (fma_test_upward): Likewise.
35340 (main): Call the new functions.
35342 2012-09-28 David S. Miller <davem@davemloft.net>
35344 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35346 2012-09-28 Roland McGrath <roland@hack.frob.com>
35348 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35349 instead of SIGALRM.
35351 * sysdeps/gnu/_G_config.h: Moved to ...
35352 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35353 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35354 * sysdeps/generic/_G_config.h: ... here.
35356 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35358 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35360 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35361 Conditionalize target on [libnss_test1.so-version].
35363 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35365 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35366 (elfobjdir): Move out of conditionals.
35368 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35369 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35370 (__nss_lookup_function): Conditionalize label remove_from_tree on
35371 [!DO_STATIC_NSS || SHARED], matching its only use.
35373 2012-09-28 David S. Miller <davem@davemloft.net>
35375 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35376 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35378 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35380 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35382 when HWCAP_SPARC_CRYPTO is present.
35384 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35386 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35388 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35391 * stdio-common/vfprintf.c (process_string_arg): Revert
35394 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35396 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35398 * stdio-common/tst-sprintf.c: Include <locale.h>
35399 (main): Test sprintf's handling of incomplete multibyte
35402 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35404 * elf/dl-runtime.c (VERSYMIDX): Removed.
35405 * elf/dl-version.c (VERSYMIDX): Likewise.
35406 * elf/do-rel.h (VERSYMIDX): Likewise.
35407 (VALIDX): Likewise.
35408 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35409 * elf/rtld.c (VALIDX): Likewise.
35410 (ADDRIDX): Likewise.
35411 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35412 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35413 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35414 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35415 (VALIDX): Likewise.
35416 (ADDRIDX): Likewise.
35418 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35420 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35422 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35425 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35427 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35428 addresses are in the same scope as 192.0.2/24.
35429 * posix/gai.conf: Document new scope table defaults.
35431 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35434 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35435 for ftell. Compute offsets from write pointers instead.
35436 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35438 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35441 * libio/Makefile (tests): New test case tst-fseek.
35442 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35443 combination works in wide mode.
35444 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35445 state when the external buffer state changes.
35447 2012-09-27 David S. Miller <davem@davemloft.net>
35450 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35451 pass reloc->r_addend in as the 'high' argument to
35452 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35456 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35458 * rt/tst-aio2.c: Include <pthread.h>.
35459 * rt/tst-aio3.c: Likewise.
35461 2012-09-27 Steve Ellcey <sellcey@mips.com>
35463 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35465 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35467 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35468 contents on [SHARED].
35470 2012-09-26 Marek Polacek <polacek@redhat.com>
35474 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35475 for C++ and GCC <4.3 as well as for non GCC compilers.
35477 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35481 2012-09-25 Roland McGrath <roland@hack.frob.com>
35483 * Makefile.in (all, install): Declare with .PHONY.
35484 Reported by Michael Hope <michael.hope@linaro.org>.
35486 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35488 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35489 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35491 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35493 (sydep_routines): Add the new and the internal functions.
35494 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35495 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35497 (GLIBC_2.17): Add the new function.
35498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35499 (GLIBC_2.17): Likewise.
35500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35501 (GLIBC_2.17): Likewise.
35502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35503 (GLIBC_2.17): Likewise.
35504 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35506 2012-09-25 Alan Modra <amodra@gmail.com>
35508 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35509 Add release barrier before setting once_control to say
35510 initialisation is done. Add hints on lwarx. Use macro in
35512 (clear_once_control): Add release barrier.
35514 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35517 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35519 * math/s_clog10.c (__clog10): Likewise.
35520 * math/s_clog10f.c (__clog10f): Likewise.
35521 * math/s_clog10l.c (__clog10l): Likewise.
35522 * math/s_clogf.c (__clogf): Likewise.
35523 * math/s_clogl.c (__clogl): Likewise.
35524 * math/Makefile (libm-calls): Add x2y2m1.
35525 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35526 (__x2y2m1): Likewise.
35527 (__x2y2m1l): Likewise.
35528 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35529 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35530 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35531 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35532 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35533 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35534 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35535 * sysdeps/i386/fpu/libm-test-ulps: Update.
35536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35539 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35540 int as type of variable DEPTH.
35541 (glob): Use size_t instead of int as type of variables NEWCOUNT
35544 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35546 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35547 Add s_sincosf-sse2.
35548 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35549 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35550 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35551 macros for using routine as __sincosf_ia32.
35552 Use macro for function declaration and weak_alias.
35553 * sysdeps/i386/fpu/libm-test-ulps: Update.
35555 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35558 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35559 subnormal argument.
35560 * math/s_cexpf.c (__cexpf): Likewise.
35561 * math/s_csinf.c (__csinf): Likewise.
35562 * math/s_csinhf.c (__csinhf): Likewise.
35563 * math/s_ctanf.c (__ctanf): Likewise.
35564 * math/s_ctanhf.c (__ctanhf): Likewise.
35565 * math/s_ccosh.c (__ccoshf): Likewise.
35566 * math/s_cexp.c (__cexpl): Likewise.
35567 * math/s_csin.c (__csin): Likewise.
35568 * math/s_csinh.c (__csinh): Likewise.
35569 * math/s_ctan.c (__ctan): Likewise.
35570 * math/s_ctanh.c (ctanh): Likewise.
35571 * math/s_ccoshl.c (__ccoshl): Likewise.
35572 * math/s_cexpl.c (__cexpl): Likewise.
35573 * math/s_csinl.c (__csinl): Likewise.
35574 * math/s_csinhl.c (__csinhl): Likewise.
35575 * math/s_ctanl.c (__ctanl): Likewise.
35576 * math/s_ctanhl.c (__ctanhl): Likewise.
35578 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35580 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35581 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35582 (_IO_off_t): Define to __off_t, not _G_off_t.
35583 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35584 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35585 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35586 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35587 type of __dummy and __dummy2 fields.
35588 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35589 (_G_ssize_t): Likewise.
35590 (_G_off_t): Likewise.
35591 (_G_pid_t): Likewise.
35592 (_G_uid_t): Likewise.
35593 (_G_wchar_t): Likewise.
35594 (_G_wint_t): Likewise.
35595 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35596 (_G_ssize_t): Likewise.
35597 (_G_off_t): Likewise.
35598 (_G_pid_t): Likewise.
35599 (_G_uid_t): Likewise.
35600 (_G_wchar_t): Likewise.
35601 (_G_wint_t): Likewise.
35602 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35603 (_G_ssize_t): Likewise.
35604 (_G_off_t): Likewise.
35605 (_G_pid_t): Likewise.
35606 (_G_uid_t): Likewise.
35607 (_G_wchar_t): Likewise.
35608 (_G_wint_t): Likewise.
35610 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35612 * malloc/arena.c: Include malloc-sysdep.h.
35613 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35614 is sufficient to shrink the heap or an unmap is needed.
35615 * sysdeps/generic/malloc-sysdep.h: New file. Define
35616 new function check_may_shrink_heap.
35617 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35618 new function check_may_shrink_heap.
35620 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35622 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35625 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35627 * catgets/test-gencat.sh: Add "set -e".
35628 * elf/tst-pathopt.sh: Likewise.
35629 * grp/tst_fgetgrent.sh: Likewise.
35630 * iconvdata/run-iconv-test.sh: Likewise.
35631 * intl/tst-gettext.sh: Likewise.
35632 * intl/tst-gettext2.sh: Likewise.
35633 * intl/tst-gettext4.sh: Likewise.
35634 * intl/tst-gettext6.sh: Likewise.
35635 * intl/tst-translit.sh: Likewise.
35636 * io/ftwtest-sh: Likewise.
35637 * libio/test-freopen.sh: Likewise.
35638 * malloc/tst-mtrace.sh: Likewise.
35639 * posix/globtest.sh: Likewise.
35640 * posix/tst-getconf.sh: Likewise.
35641 * posix/wordexp-tst.sh: Likewise.
35642 * stdio-common/tst-printf.sh: Likewise.
35643 * stdio-common/tst-unbputc.sh: Likewise.
35644 * stdlib/tst-fmtmsg.sh: Likewise.
35645 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35646 * catgets/Makefile: Do not specify -e option when running
35647 testsuite shell scripts.
35648 * elf/Makefile: Likewise.
35649 * grp/Makefile: Likewise.
35650 * iconvdata/Makefile: Likewise.
35651 * intl/Makefile: Likewise.
35652 * io/Makefile: Likewise.
35653 * libio/Makefile: Likewise.
35654 * malloc/Makefile: Likewise.
35655 * posix/Makefile: Likewise.
35656 * stdio-common/Makefile: Likewise.
35657 * stdlib/Makefile: Likewise.
35658 * sysdeps/x86_64/Makefile: Likewise.
35660 * io/ftwtest-sh: Add copyright header.
35661 * posix/globtest.sh: Likewise.
35662 * posix/tst-getconf.sh: Likewise.
35663 * posix/wordexp-tst.sh: Likewise.
35664 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35666 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35669 * Makeconfig (+link): Defined as $(+link-static) if
35670 $(build-shared) isn't yes.
35671 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35673 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35675 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35678 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35679 new chunk size with MALLOC_ALIGN_MASK.
35681 2012-09-24 Joseph Myers <joseph@codesourcery.com>
35684 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35686 (__printf_fphex): Determine rounding using get_rounding_mode and
35688 * stdio-common/tst-printf-round.c (struct hex_test): New
35690 (hex_tests): New variable.
35691 (test_hex_in_one_mode): New function.
35692 (do_test): Also run tests for hex float output.
35694 2012-09-21 Joseph Myers <joseph@codesourcery.com>
35696 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35697 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35698 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35699 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35700 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35701 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35702 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35703 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35705 2012-09-20 Joseph Myers <joseph@codesourcery.com>
35707 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35708 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35709 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35710 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35712 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35715 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35717 * elf/tst-rtld-load-self.sh: New test.
35718 * elf/Makefile: Run it.
35720 2012-09-18 Joseph Myers <joseph@codesourcery.com>
35722 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35723 (tst-writev-ENV): Remove.
35724 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35726 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35728 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35730 2012-09-17 Joseph Myers <joseph@codesourcery.com>
35732 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35734 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35736 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35737 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35738 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35741 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35744 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35745 * config.make.in (have-cpp-asm-debuginfo): Removed.
35746 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35747 * configure: Regenerated.
35749 2012-09-14 Joseph Myers <joseph@codesourcery.com>
35752 * stdio-common/printf_fp.c: Include <stdbool.h> and
35754 (___printf_fp): Determine rounding using get_rounding_mode and
35756 * stdio-common/tst-printf-round.c: New file.
35757 * stdio-common/Makefile (tests): Add tst-printf-round.
35758 (link-libm): New variable.
35759 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35761 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35764 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35765 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35767 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35770 2012-09-13 Joseph Myers <joseph@codesourcery.com>
35772 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35773 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35774 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35775 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35777 2012-09-12 Joseph Myers <joseph@codesourcery.com>
35780 * include/rounding-mode.h: New file.
35781 * sysdeps/generic/get-rounding-mode.h: Likewise.
35782 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35783 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35784 (MAX_VALUE): New macro.
35785 (MIN_VALUE): Likewise.
35786 (overflow_value): New function.
35787 (underflow_value): Likewise.
35788 (round_and_return): Use overflow_value and underflow_value to
35789 determine return values in overflow and underflow cases. Use
35790 round_away to determine rounding depending on rounding mode.
35791 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35792 determine return values in overflow and underflow cases.
35793 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35794 (struct test_results): New structure.
35795 (struct test): Use struct test_results to store expected results
35796 for all rounding modes.
35797 (TEST): Include expected results for all rounding modes.
35798 (test_in_one_mode): New function.
35799 (do_test): Use test_in_one_mode to compute and check results.
35800 Check results for all rounding modes.
35801 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35804 2012-12-09 Allan McRae <allan@archlinux.org>
35806 * sysdeps/i386/fpu/libm-test-ulps: Update
35808 2012-09-11 Joseph Myers <joseph@codesourcery.com>
35810 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35811 (_G_int32_t): Likewise.
35812 (_G_uint16_t): Likewise.
35813 (_G_uint32_t): Likewise.
35814 (_G_HAVE_BOOL): Likewise.
35815 (_G_HAVE_ATEXIT): Likewise.
35816 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35817 (_G_HAVE_IO_FILE_OPEN): Likewise.
35818 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35819 (_G_int32_t): Likewise.
35820 (_G_uint16_t): Likewise.
35821 (_G_uint32_t): Likewise.
35822 (_G_HAVE_BOOL): Likewise.
35823 (_G_HAVE_ATEXIT): Likewise.
35824 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35825 (_G_HAVE_IO_FILE_OPEN): Likewise.
35826 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35827 (_G_int32_t): Likewise.
35828 (_G_uint16_t): Likewise.
35829 (_G_uint32_t): Likewise.
35830 (_G_HAVE_BOOL): Likewise.
35831 (_G_HAVE_ATEXIT): Likewise.
35832 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35833 (_G_HAVE_IO_FILE_OPEN): Likewise.
35835 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35837 * csu/libc-tls.c: Update copyright years.
35839 2012-09-10 Joseph Myers <joseph@codesourcery.com>
35841 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35842 [!_G_USING_THUNKS]: Remove conditional code.
35843 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35844 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35846 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35847 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35848 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35849 (_G_VTABLE_LABEL_PREFIX): Likewise.
35850 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35851 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35852 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35853 (_G_VTABLE_LABEL_PREFIX): Likewise.
35854 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35855 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35856 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35857 (_G_VTABLE_LABEL_PREFIX): Likewise.
35858 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35860 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35862 * libio/Makefile: Include ../Makeconfig before tests.
35863 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35864 only if $(build-shared) is yes.
35866 * iconv/gconv_db.c: Update copyright years.
35868 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35870 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35871 unwind info if defined PIC. Fix special cases description.
35872 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35874 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35876 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35878 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35880 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35882 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35885 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35886 (LDLIBS-tst-chk4): This.
35887 (LDFLAGS-tst-chk5): Renamed to ...
35888 (LDLIBS-tst-chk5): This.
35889 (LDFLAGS-tst-chk6): Renamed to ...
35890 (LDLIBS-tst-chk6): This.
35891 (LDFLAGS-tst-lfschk4): Renamed to ...
35892 (LDLIBS-tst-lfschk4): This.
35893 (LDFLAGS-tst-lfschk5): Renamed to ...
35894 (LDLIBS-tst-lfschk5): This.
35895 (LDFLAGS-tst-lfschk6): Renamed to ...
35896 (LDLIBS-tst-lfschk6): This.
35898 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35899 on $(common-objpfx)soversions.mk.
35901 2012-09-07 Joseph Myers <joseph@codesourcery.com>
35904 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35907 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35909 * malloc/arena.c (arena_get_retry): New function that gets
35910 another arena for the caller to try its request on.
35911 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35912 current arena cannot fulfill the request.
35913 (__libc_memalign): Likewise.
35914 (__libc_memalign): Likewise.
35915 (__libc_pvalloc): Likewise.
35916 (__libc_calloc): Likewise.
35918 2012-09-05 John Tobey <john.tobey@gmail.com>
35921 * manual/arith.texi (Operations on Complex): Fix description
35922 of carg branch cut.
35924 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35927 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35931 * manual/memory.texi (Memory): Make order of menu items match
35934 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35936 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35937 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35938 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35940 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35942 * csu/libc-tls.c (static_dtv): Renamed to ...
35943 (_dl_static_dtv): This. Make it global.
35944 (_dl_initial_dtv): Removed.
35945 (__libc_setup_tls): Updated.
35946 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35947 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35950 2012-09-06 Petr Machata <pmachata@redhat.com>
35952 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35953 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35954 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35955 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35957 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35960 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35961 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35964 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35967 * Makeconfig (link-static-before-libc): Replace $(+prector)
35969 (link-static-after-libc): Replace $(+postctor) with
35971 (link-bounded): Replace $(+prector)/$(+postctor) with
35972 $(+prectorT)/$(+postctorT).
35973 (+prectorT): New macro.
35974 (+postctorT): Likewise.
35976 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35978 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35979 (round_str): Handle values above the maximum for IBM long double
35981 * stdlib/tst-strtod-round.c (tests): Regenerated.
35983 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35985 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35987 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35988 zarch_nohighgprs around the zarch optimized routines.
35989 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35990 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35991 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35994 2012-09-05 David S. Miller <davem@davemloft.net>
35996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35998 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35999 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36000 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36001 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36004 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36006 * malloc/arena.c: Fold copyright years.
36007 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36009 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36011 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36013 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36015 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36017 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36019 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36020 change internal state upon failure.
36022 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36024 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36025 * malloc/memusage.c (mmap): Likewise.
36026 (mmap64, mremap): Likewise. Adjust name in comment.
36028 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36030 * libio/fileops.c: Fix typos in comments.
36031 * libio/oldfileops.c: Likewise.
36032 * libio/wfileops.c: Likewise.
36034 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36037 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36038 (tst-malloc-usable-ENV): Set environment for test case.
36039 * malloc/hooks.c (malloc_check_get_size): New function to get
36041 * malloc/malloc.c (musable): Use malloc_check_get_size.
36042 * malloc/tst-malloc-usable.c: New test case.
36044 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36046 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36048 2012-09-05 Allan McRae <allan@archlinux.org>
36051 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36052 determine header location.
36053 * configure: Regenerated.
36055 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36057 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36059 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36060 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36062 (test): Regenerate.
36064 2012-09-04 David S. Miller <davem@davemloft.net>
36066 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36067 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36068 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36070 2012-09-04 Florian Weimer <fweimer@redhat.com>
36072 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36075 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36077 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36080 * libio/iogetdelim.c: Include <limits.h>.
36081 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36082 + len + 1 would overflow.
36084 2012-09-03 Andreas Jaeger <aj@suse.de>
36086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36087 * sysdeps/i386/fpu/libm-test-ulps: Update.
36089 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36091 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36092 Add s_sinf-sse2, s_conf-sse2.
36094 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36095 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36096 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36097 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36099 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36100 for using routine as __sinf_ia32.
36101 Use macro for function declaration and weak_alias.
36102 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36103 for using routine as __cosf_ia32.
36104 Use macro for function declaration and weak_alias.
36106 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36107 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36109 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36110 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36113 * math/libm-test.inc (cos_test): Add more test cases.
36114 (sin_test): Likewise.
36115 (sincos_test): Likewise.
36117 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36119 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36120 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36122 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36124 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36127 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36128 first element of the GOT.
36129 (elf_machine_load_address): Return the difference between
36130 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36132 2012-09-01 Allan McRae <allan@archlinux.org>
36135 * configure.in (AWK): Require gawk version 3.0 or later.
36136 * configure: Regenerated.
36138 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36140 * sysdeps/unix/sysv/linux/kernel-features.h
36141 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36142 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36143 [__NR_clock_getres]: Make code unconditional.
36144 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36145 (clock_getcpuclockid): Remove code left unreachable by removal of
36147 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36148 code unconditional.
36149 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36150 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36151 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36152 Make code unconditional.
36153 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36154 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36155 * sysdeps/unix/sysv/linux/clock_settime.c
36156 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36158 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36159 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36161 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36164 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36165 scripts/test-installation.pl.
36167 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36168 and $ld_so_version if it is set.
36170 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36173 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36174 failure if reading from procfs failed.
36175 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36177 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36179 * sysdeps/unix/sysv/linux/kernel-features.h
36180 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36181 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36182 Remove conditional code.
36183 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36184 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36185 Remove conditional code.
36186 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36187 * sysdeps/unix/sysv/linux/i386/fxstat.c
36188 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36189 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36190 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36191 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36192 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36193 * sysdeps/unix/sysv/linux/i386/lxstat.c
36194 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36195 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36196 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36197 Remove conditional code.
36198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36199 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36200 Remove conditional code.
36201 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36202 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36203 <kernel-features.h>.
36204 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36206 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36207 Remove conditional code.
36208 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36209 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36210 Remove conditional.
36212 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36215 * NEWS: Add fixed bug number.
36217 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36220 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36221 underflowing exponent in case of negative sign.
36222 * stdlib/tst-strtod-round-data: Add more tests.
36223 * stdlib/tst-strtod-round.c (tests): Regenerated.
36226 * stdlib/strtod_l.c (NDIG): Remove.
36227 (HEXNDIG): Likewise.
36228 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36229 smallest representable value.
36230 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36231 lie within an exact representation of 1/2 ulp of the result.
36232 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36234 (TENS_P9_IDX): Define unconditionally.
36235 (TENS_P9_SIZE): Likewise.
36236 (TENS_P10_IDX): Likewise.
36237 (TENS_P10_SIZE): Likewise.
36238 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36239 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36240 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36241 entries for 10^2^13 and 10^2^14.
36242 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36243 (TENS_P13_IDX): Define.
36244 (TENS_P13_SIZE): Likewise.
36245 (TENS_P14_IDX): Likewise.
36246 (TENS_P14_SIZE): Likewise.
36247 (_fpioconst_pow10): Change array size to
36248 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36250 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36251 1024]: Add entries for 10^2^13 and 10^2^14.
36252 [LAST_POW10 > _LAST_POW10]: Remove #error.
36253 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36254 (_fpioconst_pow10): Change array size to
36255 FPIOCONST_POW10_ARRAY_SIZE.
36256 * stdlib/gen-fpioconst.c: New file.
36257 * stdlib/gen-tst-strtod-round.c: Likewise.
36258 * stdlib/tst-strtod-round-data: Likewise.
36259 * stdlib/tst-strtod-round.c: Likewise.
36260 * stdlib/Makefile (tests): Add tst-strtod-round.
36263 * stdlib/strtod_l.c: Include <stdint.h>.
36264 (NDEBUG): Do not define.
36265 (round_and_return): Change EXPONENT parameter to type intmax_t.
36266 Rearrange calculations to avoid internal overflow possibilities.
36267 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36268 Rearrange calculations to avoid internal overflow possibilities.
36269 Assert that number fits inside MPNSIZE limbs.
36270 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36271 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36272 calculations and add assertions to avoid internal overflow
36273 possibilities. Add casts to avoid signed/unsigned operations.
36274 * stdlib/tst-strtod-overflow.c: New file.
36275 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36277 2012-08-25 Marek Polacek <polacek@redhat.com>
36279 * time/time.h: Fix some typos in comments.
36281 2012-08-23 Roland McGrath <roland@hack.frob.com>
36283 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36284 * posix/tst-rfc3484-2.c: Likewise.
36285 * posix/tst-rfc3484-3.c: Likewise.
36287 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36289 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36290 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36292 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36294 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36295 #include of fxstatat64.c.
36297 2012-08-22 Roland McGrath <roland@hack.frob.com>
36299 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36300 * shadow/getspent_r.c: Likewise.
36301 * shadow/getspnam.c: Likewise.
36302 * shadow/getspnam_r.c: Likewise.
36303 * gshadow/getsgent.c: Likewise.
36304 * gshadow/getsgent_r.c: Likewise.
36305 * gshadow/getsgnam.c: Likewise.
36306 * gshadow/getsgnam_r.c: Likewise.
36307 * inet/getnetbyad.c: Likewise.
36308 * inet/getnetbyad_r.c: Likewise.
36309 * inet/getnetbynm.c: Likewise.
36310 * inet/getnetbynm_r.c: Likewise.
36311 * inet/getnetent.c: Likewise.
36312 * inet/getnetent_r.c: Likewise.
36313 * inet/getproto.c: Likewise.
36314 * inet/getproto_r.c: Likewise.
36315 * inet/getprtent.c: Likewise.
36316 * inet/getprtent_r.c: Likewise.
36317 * inet/getprtname.c: Likewise.
36318 * inet/getprtname_r.c: Likewise.
36319 * inet/getrpcbyname.c: Likewise.
36320 * inet/getrpcbyname_r.c: Likewise.
36321 * inet/getrpcbynumber.c: Likewise.
36322 * inet/getrpcbynumber_r.c: Likewise.
36323 * inet/getrpcent.c: Likewise.
36324 * inet/getrpcent_r.c: Likewise.
36325 * inet/getaliasent.c: Likewise.
36326 * inet/getaliasent_r.c: Likewise.
36327 * inet/getaliasname.c: Likewise.
36328 * inet/getaliasname_r.c: Likewise.
36329 * nscd/getgrgid_r.c: Likewise.
36330 * nscd/getgrnam_r.c: Likewise.
36331 * nscd/gethstbyad_r.c: Likewise.
36332 * nscd/gethstbynm3_r.c: Likewise.
36333 * nscd/getpwnam_r.c: Likewise.
36334 * nscd/getpwuid_r.c: Likewise.
36335 * nscd/getsrvbynm_r.c: Likewise.
36336 * nscd/getsrvbypt_r.c: Likewise.
36337 * nscd/gai.c: Likewise.
36339 * configure.in (build_nscd): New substituted variable, set
36340 by --disable-build-nscd and defaults to $use_nscd.
36341 * configure: Regenerated.
36342 * config.make.in (build-nscd): New substituted variable.
36343 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36344 Change conditional to require [$(build-nscd) = yes] as well.
36345 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36348 * configure.in (use_nscd): New substituted variable, set by
36349 --disable-nscd. If enabled, define USE_NSCD.
36350 * configure: Regenerated.
36351 * config.h.in: Add USE_NSCD.
36352 * config.make.in (use-nscd): New substituted variable.
36353 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36354 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36355 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36356 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36357 (CFLAGS-getgrnam_r.c): Likewise.
36358 (CFLAGS-initgroups.c): Likewise.
36359 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36360 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36362 * inet/getnetgrent_r.c
36363 (nscd_setnetgrent): New function, broken out of ...
36364 (setnetgrent): ... here. Call it.
36365 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36366 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36367 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36368 * nscd/Makefile (routines, aux): Move definitions after include of
36369 Makeconfig. Conditionalize on [$(use-nscd) != no].
36370 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36371 Conditionalize on [USE_NSCD].
36372 (is_nscd, nscd_init_cb): Likewise.
36373 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36374 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36375 * nss/nss_db/db-init.c: Likewise.
36376 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36378 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36379 (make_request): Use it.
36380 (cache_valid_p): New function.
36381 (__check_pf): Use it.
36382 * NEWS: Add item for --disable-nscd.
36384 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36386 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36387 to support sed >= 4.2.1-20-ga9bf076.
36388 * configure: Regenerated.
36390 2012-08-22 Roland McGrath <roland@hack.frob.com>
36392 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36393 Conditionalize whole body on [IREL].
36395 2012-08-22 Jeff Law <law@redhat.com>
36398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36399 if the family is PF_UNSPEC.
36401 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36403 * Makerules (lib-version): Rename from V.
36404 (install-lib-nosubdir): Change V to lib-version.
36406 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36409 * powerpc32/power6/wcschr.c: New file.
36410 * powerpc32/power6/wcscpy.c: New file.
36411 * powerpc32/power6/wcsrchr.c: New file.
36412 * powerpc64/power6/wcschr.c: New file.
36413 * powerpc64/power6/wcscpy.c: New file.
36414 * powerpc64/power6/wcsrchr.c: New file.
36416 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36418 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36419 (two_way_short_needle): Use it.
36420 * string/strstr.c (AVAILABLE1_USES_J): Define.
36421 * string/strcasestr.c: Likewise.
36423 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36425 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36428 * NEWS: Add an entry.
36429 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36430 define their defaults.
36431 (two_way_short_needle): Detect end-of-string on-the-fly.
36432 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36433 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36434 * string/bug-strcasestr1.c: New test.
36435 * string/Makefile: Run it.
36437 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36440 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36441 the first character.
36443 2012-08-21 Roland McGrath <roland@hack.frob.com>
36445 * csu/elf-init.c (__libc_csu_irel): Function removed.
36446 * csu/libc-start.c (apply_irel): New function.
36447 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36449 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36451 * sysdeps/unix/sysv/linux/kernel-features.h
36452 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36453 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36454 <kernel-features.h>.
36455 [__NR_fadvise64_64]: Make code unconditional.
36456 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36457 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36458 !__NR_fadvise64_64)]: Likewise.
36459 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36460 !__NR_fadvise64_64))]: Likewise.
36461 [__NR_fadvise64]: Make code unconditional.
36462 [!__NR_fadvise64]: Remove conditional code.
36463 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36464 <kernel-features.h>.
36465 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36467 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36470 not include <kernel-features.h>.
36471 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36473 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36475 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36476 include <kernel-features.h>.
36477 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36479 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36482 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36484 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36485 slight instruction rearrangements per scrollpipe analysis.
36486 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36488 2012-08-20 Roland McGrath <roland@hack.frob.com>
36490 * manual/syslog.texi (syslog; vsyslog, closelog):
36491 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36492 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36494 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36495 DSOCAPS to match condition on defining it.
36497 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36499 * sysdeps/unix/sysv/linux/kernel-features.h
36500 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36502 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36503 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36505 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36506 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36508 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36509 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36511 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36512 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36514 * sysdeps/unix/sysv/linux/kernel-features.h
36515 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36516 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36518 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36519 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36520 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36521 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36522 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36523 Make code unconditional.
36524 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36525 (__mmap64) [!__NR_mmap2]: Likewise.
36526 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36527 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36528 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36529 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36530 [__NR_mmap2]: Make code unconditional.
36531 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36532 (__mmap64) [!__NR_mmap2]: Likewise.
36534 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36536 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36538 2012-08-18 Andreas Jaeger <aj@suse.de>
36540 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36542 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36544 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36545 * include/unistd.h (__have_sock_cloexec): Likewise.
36546 (__have_pipe2): Likewise.
36547 (__have_dup3): Likewise.
36549 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36552 * include/unistd.h (__have_pipe2): Change define into an extern int.
36553 (__have_dup3): Likewise.
36554 * socket/have_sock_cloexec.c: Include fcntl.h.
36555 (__have_pipe2): New variable.
36556 (__have_dup3): Likewise.
36558 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36560 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36562 2012-08-17 Marek Polacek <polacek@redhat.com>
36564 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36565 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36567 2012-08-17 Roland McGrath <roland@hack.frob.com>
36569 * configure.in: Add AC_SUBST for sysheaders.
36570 * configure: Regenerated.
36571 * config.make.in (sysheaders): New substituted variable.
36573 * sysdeps/unix/mkfifo.c: Moved ...
36574 * sysdeps/posix/mkfifo.c: ... here.
36575 * sysdeps/unix/mkfifoat.c: Moved ...
36576 * sysdeps/posix/mkfifoat.c: ... here.
36578 * sysdeps/unix/utime.c: Moved ...
36579 * sysdeps/posix/utime.c: ... here.
36581 * sysdeps/unix/time.c: Moved ...
36582 * sysdeps/posix/time.c: ... here.
36583 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36584 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36586 * sysdeps/unix/nice.c: Moved ...
36587 * sysdeps/posix/nice.c: ... here.
36589 * sysdeps/unix/alarm.c: Moved ...
36590 * sysdeps/posix/alarm.c: ... here.
36592 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36594 2012-08-17 Jeff Law <law@redhat.com>
36596 * intl/Makefile (codeset_mo): New variable.
36597 ($(codeset_mo)): New target.
36598 (tst-codeset.out): Depend on that. Remove explicit rule.
36599 (tst-gettext3.out, tst-gettext5.out): Likewise.
36600 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36601 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36602 * intl/tst-codeset.sh: Remove.
36603 * intl/tst-gettext3.sh: Likewise.
36604 * intl/tst-gettext5.sh: Likewise.
36606 2012-08-17 Roland McGrath <roland@hack.frob.com>
36608 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36609 * sysdeps/unix/syscalls.list: ... here.
36611 * sysdeps/posix/getaddrinfo.c
36612 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36613 (gaiconf_init, gaiconf_reload): Use them.
36614 [!_STATBUF_ST_NSEC]
36615 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36616 Define using time_t rather than struct timespec.
36618 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36619 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36621 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36623 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36624 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36627 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36628 __libc_cleanup_push argument.
36630 * bits/param.h: New file.
36631 * misc/sys/param.h: New file.
36632 * include/sys/param.h: New file.
36633 * misc/Makefile (headers): Add bits/param.h.
36634 * sysdeps/generic/sys/param.h: File removed.
36635 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36636 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36637 * sysdeps/mach/hurd/bits/param.h: New file.
36638 * sysdeps/mach/hurd/sys/param.h: File removed.
36640 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36643 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36645 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36646 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36649 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36650 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36651 rather than -D_IO_MTSAFE_IO conditionally.
36652 * stdio-common/Makefile (CPPFLAGS): Likewise.
36653 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36654 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36655 Use $(libio-mtsafe).
36656 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36657 of -D_IO_MTSAFE_IO.
36658 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36659 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36660 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36661 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36662 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36663 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36664 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36665 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36666 (CFLAGS-fread_u_chk.c): Likewise.
36667 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36668 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36669 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36670 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36671 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36672 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36673 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36674 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36675 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36677 * libio/Makefile: Test [$(libc-reentrant) = yes]
36678 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36681 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36682 * sysdeps/pthread/configure: File removed.
36683 * sysdeps/pthread/Makeconfig: New file.
36684 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36685 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36687 2012-08-16 Gary Benson <gbenson@redhat.com>
36689 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36690 unmapping the first object in a namespace.
36692 2012-08-16 Roland McGrath <roland@hack.frob.com>
36694 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36695 (__internal_setnetgrent): ... this. Add internal_function to
36696 definition. Add libc_hidden_def.
36697 (setnetgrent): Update caller.
36698 (internal_endnetgrent): Renamed to ...
36699 (__internal_endnetgrent): ... this. Add internal_function to
36700 definition. Add libc_hidden_def.
36701 (endnetgrent): Update caller.
36702 (internal_getnetgrent_r): Renamed to ...
36703 (__internal_getnetgrent_r): ... this. Add internal_function to
36704 definition. Add libc_hidden_def.
36705 (__getnetgrent_r): Update caller.
36706 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36708 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36710 * stdlib/longlong.h: Update from GCC.
36712 2012-08-16 Roland McGrath <roland@hack.frob.com>
36714 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36715 on _QL, which is set by umul_ppmm but never used.
36716 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36717 variables, which are set by GMP macros but never used.
36718 * stdio-common/_itowa.c (_itowa): Likewise.
36719 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36720 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36722 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36724 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36725 struct La_sh_regs is not constant.
36726 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36727 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36728 and struct La_sparc64_regs are not constant.
36730 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36732 * sysdeps/unix/sysv/linux/kernel-features.h
36733 (__ASSUME_POSIX_TIMERS): Remove.
36734 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36735 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36736 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36737 Make code unconditional.
36738 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36739 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36740 Make code unconditional.
36741 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36742 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36743 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36744 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36745 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36746 Make code unconditional.
36747 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36748 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36749 (__libc_missing_posix_timers): Remove.
36751 2012-08-15 Roland McGrath <roland@hack.frob.com>
36753 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36754 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36756 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36758 * elf/dl-sym.c: Include <stdlib.h>.
36760 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36761 constants, which avoids warnings in 32-bit builds.
36763 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36764 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36766 * misc/lseek.c: File moved to ...
36767 * io/lseek.c: ... here.
36769 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36771 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36772 shifting LEN more than 31 bits at once.
36774 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36777 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36778 segmentation fault for a case of two empty input strings.
36779 * string/test-strncasecmp.c (check1): Renamed to...
36780 (bz12205): ...this.
36781 (bz14195): Add new testcase for two empty input strings and N > 0.
36782 (test_main): Call new testcase, adapt for renamed function.
36784 2012-08-15 Andreas Jaeger <aj@suse.de>
36787 * crypt/md5test2.c: New test, based on test supplied by Serge
36788 Belyshev <belyshev@depni.sinp.msu.ru>.
36789 * crypt/Makefile (xtests): Add md5test-giant..
36790 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36792 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36795 * crypt/md5.c (md5_process_block): Don't assume the buffer
36796 length is less than 2**32.
36797 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36798 length is less than 2**64.
36800 2012-08-15 Roland McGrath <roland@hack.frob.com>
36802 * string/str-two-way.h: Include <sys/param.h>.
36803 (MAX): Macro removed.
36805 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36806 Move #define and #undef of memmove to just before and after
36807 including <string.h>.
36809 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36810 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36811 and after including <string.h>. Move declarations of
36812 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36813 to before #include "string/memmove.c".
36815 * include/dirent.h: Declare __getdirentries.
36817 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36818 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36820 2012-08-14 Mike Frysinger <vapier@gentoo.org>
36822 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36823 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36824 * sysdeps/i386/configure: Regenerated.
36825 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36826 STABS_CURRENT_FILE, and STABS_FUN.
36827 (END): Remove call to STABS_FUN_END.
36828 (STABS_CURRENT_FILE1): Delete.
36829 (STABS_CURRENT_FILE): Likewise.
36830 (STABS_FUN): Likewise.
36831 (STABS_FUN_END): Likewise.
36832 (STABS_FUN2): Likewise.
36833 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36834 * sysdeps/x86_64/configure: Regenerated.
36836 2012-08-14 Roland McGrath <roland@hack.frob.com>
36838 * elf/dl-open.c: Include <atomic.h>.
36839 * elf/dl-lookup.c: Likewise.
36841 2012-08-14 Joseph Myers <joseph@codesourcery.com>
36843 * sysdeps/unix/sysv/linux/kernel-features.h
36844 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36845 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36847 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36849 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36850 condition on __ASSUME_CLONE_THREAD_FLAGS.
36852 2012-08-14 Andreas Jaeger <aj@suse.de>
36854 * sysdeps/i386/fpu/libm-test-ulps: Update.
36856 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36858 * include/atomic.h (atomic_exchange_and_add): Split into ...
36859 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36862 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36866 2012-08-13 Jeff Law <law@redhat.com>
36868 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36869 null byte in the output string.
36871 2012-08-10 Joseph Myers <joseph@codesourcery.com>
36873 * sysdeps/unix/sysv/linux/kernel-features.h
36874 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36875 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36876 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36877 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36878 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36879 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36880 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36882 2012-08-09 Jeff Law <law@redhat.com>
36885 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36886 When avoid_arena is set, don't retry in the that arena. Pick the
36887 next one, whatever it might be.
36888 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36889 (arena_lock): Pass in new parameter to arena_get2.
36890 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36892 (__libc_malloc): Unify retrying after main arena failure with
36893 __libc_memalign version.
36894 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36896 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36899 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36900 to __redirect_strstr.
36901 (__strstr_sse42): Use typeof __redirect_strstr.
36902 (__strstr_ia32): Likewise.
36903 (__libc_strstr): New prototype.
36904 (strstr): Renamed to ...
36905 (__libc_strstr): This.
36906 (strstr): New strong alias of __libc_strstr.
36907 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36908 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36911 (__libc_time): New prototype.
36912 (time_ifunc): Replace time with __libc_time.
36913 (time): New strong alias and hidden definition of __libc_time.
36914 (__GI_time): Remove strong alias.
36915 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36916 Include <stddef.h>.
36917 (memmove): Redefined to __redirect_memmove.
36918 (__memmove_sse2): Use typeof __redirect_memmove.
36919 (__memmove_ssse3): Likewise.
36920 (__memmove_ssse3_back): Likewise.
36921 (__libc_memmove): New prototype.
36922 (memmove): Renamed to ...
36923 (__libc_memmove): This.
36924 (memmove): New strong alias of __libc_memmove.
36926 2012-08-08 Mark Salter <msalter@redhat.com>
36929 (R_MN10300_TLS_GD): Define.
36930 (R_MN10300_TLS_LD): Likewise.
36931 (R_MN10300_TLS_LDO): Likewise.
36932 (R_MN10300_TLS_GOTIE): Likewise.
36933 (R_MN10300_TLS_IE): Likewise.
36934 (R_MN10300_TLS_LE): Likewise.
36935 (R_MN10300_TLS_DTPMOD): Likewise.
36936 (R_MN10300_TLS_DTPOFF): Likewise.
36937 (R_MN10300_TLS_TPOFF): Likewise.
36938 (R_MN10300_SYM_DIFF): Likewise.
36939 (R_MN10300_ALIGN): Likewise.
36940 (R_MN10300_NUM): Update.
36942 2012-08-08 Joseph Myers <joseph@codesourcery.com>
36944 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36947 2012-08-08 Roland McGrath <roland@hack.frob.com>
36949 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36951 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36952 sysdeps/unix -> sysdeps/posix move.
36953 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36955 2012-08-07 Allan McRae <allan@archlinux.org>
36958 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36959 (SUNOS_CPP): Likewise.
36960 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36962 (open_input): Call CPP using execvp.
36964 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36966 * sysdeps/unix/sysv/linux/kernel-features.h
36967 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36968 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36969 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36970 (__ASSUME_WAITID_SYSCALL): Likewise.
36971 * sysdeps/unix/sysv/linux/dl-execstack.c
36972 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36973 code unconditional.
36974 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36976 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36977 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36978 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36980 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36982 [__ASSUME_WAITID_SYSCALL]: Likewise.
36983 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36985 2012-08-07 Roland McGrath <roland@hack.frob.com>
36987 * sysdeps/unix/closedir.c: Renamed to ...
36988 * sysdeps/posix/closedir.c: ... here.
36989 * sysdeps/unix/dirfd.c: Renamed to ...
36990 * sysdeps/posix/dirfd.c: ... here.
36991 * sysdeps/unix/dirstream.h: Renamed to ...
36992 * sysdeps/posix/dirstream.h: ... here.
36993 * sysdeps/unix/fdopendir.c: Renamed to ...
36994 * sysdeps/posix/fdopendir.c: ... here.
36995 * sysdeps/unix/opendir.c: Renamed to ...
36996 * sysdeps/posix/opendir.c: ... here.
36997 * sysdeps/unix/readdir.c: Renamed to ...
36998 * sysdeps/posix/readdir.c: ... here.
36999 * sysdeps/unix/readdir_r.c: Renamed to ...
37000 * sysdeps/posix/readdir_r.c: ... here.
37001 * sysdeps/unix/rewinddir.c: Renamed to ...
37002 * sysdeps/posix/rewinddir.c: ... here.
37003 * sysdeps/unix/seekdir.c: Renamed to ...
37004 * sysdeps/posix/seekdir.c: ... here.
37005 * sysdeps/unix/telldir.c: Renamed to ...
37006 * sysdeps/posix/telldir.c: ... here.
37007 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37008 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37009 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37010 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37012 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37013 * bits/fcntl.h: ... here.
37015 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37017 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37018 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37019 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37020 (struct flock): Move l_start, l_len to the beginning.
37021 Use __pid_t for l_pid.
37022 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37023 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37024 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37025 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37026 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37027 [__USE_LARGEFILE64] (struct flock64): New type.
37028 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37030 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37031 * bits/dirent.h: ... here.
37033 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37034 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37036 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37038 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37039 Change from 2.6.0 to 2.6.16.
37040 * sysdeps/unix/sysv/linux/configure: Regenerated.
37041 * sysdeps/unix/sysv/linux/kernel-features.h
37042 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37043 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37045 (__ASSUME_UTIMES): Likewise.
37046 (__ASSUME_CLONE_STOPPED): Remove.
37047 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37048 architectures, not kernel version.
37049 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37050 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37051 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37052 (__ASSUME_WAITID_SYSCALL): Likewise.
37053 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37054 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37055 * README: State 2.6.16 as minimum Linux kernel version. Do not
37056 refer to older versions.
37058 2012-08-06 Roland McGrath <roland@hack.frob.com>
37060 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37061 Define alphasort64 as an alias.
37062 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37063 Define versionsort64 as an alias.
37064 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37065 Define scandir64 as an alias.
37066 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37067 Define scandirat64 as an alias.
37068 * dirent/alphasort64.c (alphasort64):
37069 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37070 * dirent/versionsort64.c: Likewise.
37071 * dirent/scandir64.c: Likewise.
37072 * dirent/scandirat64.c: Likewise.
37073 * sysdeps/wordsize-64/alphasort.c: File removed.
37074 * sysdeps/wordsize-64/alphasort64.c: File removed.
37075 * sysdeps/wordsize-64/scandir.c: File removed.
37076 * sysdeps/wordsize-64/scandir64.c: File removed.
37077 * sysdeps/wordsize-64/scandirat.c: File removed.
37078 * sysdeps/wordsize-64/scandirat64.c: File removed.
37079 * sysdeps/wordsize-64/versionsort.c: File removed.
37080 * sysdeps/wordsize-64/versionsort64.c: File removed.
37081 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37082 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37083 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37084 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37085 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37086 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37087 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37088 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37090 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37091 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37092 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37093 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37094 [defined __arch64__ || defined __sparcv9]
37095 (__INO_T_MATCHES_INO64_T): New macro.
37096 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37097 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37098 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37099 * sysdeps/unix/sysv/linux/bits/dirent.h
37100 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37101 (_DIRENT_MATCHES_DIRENT64): New macro.
37103 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37104 Define lockf64 as an alias.
37105 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37106 Define fseeko64 as an alias.
37107 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37108 Define ftello64 as an alias.
37109 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37110 Define _IO_fgetpos64 and fgetpos64 as aliases.
37111 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37112 Define _IO_fsetpos64 and fsetpos64 as aliases.
37113 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37114 Conditionalize body on this.
37115 * libio/fseeko64.c: Likewise.
37116 * libio/ftello64.c: Likewise.
37117 * libio/iofgetpos64.c: Likewise.
37118 * libio/iofsetpos64.c: Likewise.
37119 * sysdeps/wordsize-64/lockf.c: File removed.
37120 * sysdeps/wordsize-64/lockf64.c: File removed.
37121 * sysdeps/wordsize-64/fseeko.c: File removed.
37122 * sysdeps/wordsize-64/fseeko64.c: File removed.
37123 * sysdeps/wordsize-64/ftello.c: File removed.
37124 * sysdeps/wordsize-64/ftello64.c: File removed.
37125 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37126 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37127 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37128 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37129 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37130 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37131 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37132 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37133 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37134 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37135 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37136 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37137 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37138 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37140 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37142 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37144 [defined __arch64__ || defined __sparcv9]
37145 (__OFF_T_MATCHES_OFF64_T): New macro.
37146 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37147 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37148 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37149 (__OFF_T_MATCHES_OFF64_T): New macro.
37151 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37153 * stdlib/secure-getenv.c (__secure_getenv): Replace
37154 GLIBC_2_16 with GLIBC_2_17.
37156 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37158 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37159 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37161 2012-08-03 David S. Miller <davem@davemloft.net>
37163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37165 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37167 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37169 (__ASSUME_CORRECT_SI_PID): Likewise.
37170 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37171 (__ASSUME_TMPFS_NAME): Likewise.
37172 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37173 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37174 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37175 (HAVE_AUX_SECURE): Make definition unconditional.
37176 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37177 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37179 2012-08-03 Roland McGrath <roland@hack.frob.com>
37181 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37182 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37183 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37184 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37185 __eloop_threshold instead of SYMLOOP_MAX.
37187 * sysdeps/generic/eloop-threshold.h: New file.
37188 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37190 * elf/chroot_canon.c (chroot_canon): Likewise.
37192 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37195 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37196 Change to 2.6.0 everywhere.
37197 * sysdeps/unix/sysv/linux/configure: Regenerated.
37198 * sysdeps/unix/sysv/linux/kernel-features.h
37199 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37200 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37202 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37203 (__ASSUME_FUTEX_REQUEUE): Remove.
37204 (__ASSUME_STATFS64): Define unconditionally.
37205 (__ASSUME_AT_SECURE): Likewise.
37206 (__ASSUME_CORRECT_SI_PID): Likewise.
37207 (__ASSUME_TGKILL): Define without depending on kernel version for
37209 (__ASSUME_UTIMES): Likewise.
37210 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37212 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37213 (__ASSUME_TMPFS_NAME): Likewise.
37214 * README: Update reference to Linux kernel versions.
37216 2012-08-02 Marek Polacek <polacek@redhat.com>
37219 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37220 libc_cv_asm_type_prefix with %.
37221 * configure: Regenerated.
37222 * include/libc-symbols.h: Remove comment about
37223 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37224 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37225 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37226 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37227 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37228 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37229 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37230 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37231 * elf/tst-unique2mod1.c: Likewise.
37232 * elf/tst-unique1mod2.c: Likewise.
37233 * elf/tst-unique1mod1.c: Likewise.
37234 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37235 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37236 Replace ASM_TYPE_DIRECTIVE with .type.
37237 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37238 * sysdeps/i386/sysdep.h: Likewise.
37239 * sysdeps/x86_64/sysdep.h: Likewise.
37240 * sysdeps/sh/sysdep.h: Likewise.
37241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37242 Do not define ASM_TYPE_DIRECTIVE.
37243 * sysdeps/powerpc/sysdep.h: Likewise.
37244 * sysdeps/powerpc/powerpc32/sysdep.h:
37245 Replace ASM_TYPE_DIRECTIVE with .type.
37246 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37247 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37248 * sysdeps/i386/fpu/e_powf.S: Likewise.
37249 * sysdeps/i386/fpu/e_expl.S: Likewise.
37250 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37251 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37252 * sysdeps/i386/fpu/e_pow.S: Likewise.
37253 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37254 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37255 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37256 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37257 * sysdeps/i386/fpu/e_log2.S: Likewise.
37258 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37259 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37260 * sysdeps/i386/fpu/e_powl.S: Likewise.
37261 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37262 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37263 * sysdeps/i386/fpu/e_logl.S: Likewise.
37264 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37265 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37266 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37267 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37268 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37269 * sysdeps/i386/fpu/e_log.S: Likewise.
37270 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37271 * sysdeps/i386/fpu/e_logf.S: Likewise.
37272 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37273 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37274 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37275 * sysdeps/i386/fpu/e_log10.S: Likewise.
37276 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37277 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37278 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37279 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37280 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37281 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37282 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37283 * sysdeps/i386/i686/strtok.S: Likewise.
37284 * sysdeps/i386/i386-mcount.S: Likewise.
37285 * sysdeps/i386/strtok.S: Likewise.
37286 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37287 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37288 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37289 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37290 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37291 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37292 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37293 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37294 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37295 * sysdeps/x86_64/_mcount.S: Likewise.
37296 * sysdeps/x86_64/strtok.S: Likewise.
37297 * sysdeps/sh/_mcount.S: Likewise.
37299 2012-08-01 Roland McGrath <roland@hack.frob.com>
37301 * libio/iofopen.c: Include <fcntl.h>.
37302 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37303 (_IO_fopen64, fopen64): Define as aliases.
37304 * libio/iofopen64.c: Include <fcntl.h>.
37305 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37306 Conditionalize body on this.
37307 * sysdeps/wordsize-64/iofopen.c: File removed.
37308 * sysdeps/wordsize-64/iofopen64.c: File removed.
37310 2012-08-01 Marek Polacek <polacek@redhat.com>
37312 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37313 Use dlfcn directly instead of a variable.
37314 (binfmt-subdir): Do not define.
37317 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37319 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37320 Remove all definitions.
37321 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37322 <kernel-features.h>.
37323 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37324 (miss_F_GETOWN_EX): Remove all definitions.
37325 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37327 [!__ASSUME_FCNTL64]: Remove conditional code.
37328 [__ASSUME_FCNTL64]: Make code unconditional.
37329 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37330 <kernel-features.h>.
37331 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37332 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37333 (lockf64) [__NR_fcntl64]: Make code unconditional.
37334 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37336 * sysdeps/unix/sysv/linux/kernel-features.h
37337 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37338 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37339 Make code unconditional.
37340 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37341 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37343 [__NR_vfork]: Make code unconditional.
37344 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37345 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37347 [__NR_vfork]: Make code unconditional.
37348 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37349 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37351 2012-08-01 Roland McGrath <roland@hack.frob.com>
37353 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37354 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37356 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37357 Define mkstemp64 as an alias.
37358 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37359 Define mkstemps64 as an alias.
37360 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37361 Define mkostemp64 as an alias.
37362 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37363 Define mkostemps64 as an alias.
37364 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37365 Conditionalize body on this.
37366 * misc/mkostemp64.c: Likewise.
37367 * misc/mkostemps64.c: Likewise.
37368 * misc/mkstemps64.c: Likewise.
37369 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37370 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37371 * sysdeps/wordsize-64/mkostemp.c: File removed.
37372 * sysdeps/wordsize-64/mkstemp.c: File removed.
37373 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37374 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37375 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37376 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37379 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37380 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37381 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37382 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37384 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37385 compat_symbol macros from <shlib-compat.h> rather than the underlying
37386 default_symbol_version and symbol_version macros, so that DEFAULT
37387 lines in shlib-versions are respected.
37388 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37390 2012-08-01 Florian Weimer <fweimer@redhat.com>
37392 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37393 Declare with warn_unused_result.
37394 (setgid, setregid, setegid, setresgid): Likewise.
37395 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37397 * WUR-REPORT: Remove set*id functions.
37399 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37401 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37403 2012-07-31 Roland McGrath <roland@hack.frob.com>
37406 * include/sys/socket.h (__libc_accept, __libc_accept4):
37407 Add attribute_hidden.
37408 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37410 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37412 * inet/getnetgrent_r.c (setup): Likewise.
37414 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37416 2012-07-31 David S. Miller <davem@davemloft.net>
37418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37420 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37423 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37424 value between 1.0 and 2.0 and smaller part has absolute value less
37426 * math/s_clog10.c (__clog10): Likewise.
37427 * math/s_clog10f.c (__clog10f): Likewise.
37428 * math/s_clog10l.c (__clog10l): Likewise.
37429 * math/s_clogf.c (__clogf): Likewise.
37430 * math/s_clogl.c (__clogl): Likewise.
37431 * math/libm-test.inc (clog_test): Add more tests.
37432 (clog10_test): Likewise.
37433 * sysdeps/i386/fpu/libm-test-ulps: Update.
37434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37436 2012-07-31 Florian Weimer <fweimer@redhat.com>
37438 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37439 Exit with zero in case no suitable GID is found, and write a
37440 message to standard error.
37442 2012-07-30 Roland McGrath <roland@hack.frob.com>
37444 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37446 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37447 (MAXPATHLEN): Removed.
37448 (NOGROUP, NODEV): New macros.
37449 (setbit, clrbit, isset, isclr): New macros.
37450 (howmany, roundup, powerof2): New macros.
37451 (DEV_BSIZE): New macro.
37453 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37454 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37456 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37457 definition on [!__NO_LONG_DOUBLE_MATH].
37459 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37460 PTR_MANGLE and PTR_DEMANGLE.
37462 * socket/accept4.c (accept4): Rename to __libc_accept4.
37463 Define accept4 as a weak alias.
37465 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37466 on [_DIRENT_HAVE_D_TYPE].
37467 * io/ftw.c (ftw_dir): Likewise.
37469 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37471 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37473 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37474 Use the BSD numbers rather than the arbitrary ones we had.
37475 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37476 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37477 (SIGXCPU, SIGXFSZ): New macros.
37480 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37481 initializer on [_LIBC_REENTRANT].
37483 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37484 definitions inside [_POSIX_MAPPED_FILES].
37486 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37488 * dirent/opendir.c: Include <fcntl.h>.
37490 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37491 (__libc_getspecific): Likewise.
37492 (__libc_key_create): Likewise.
37494 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37495 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37496 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37497 (tmpfile64): Define as alias.
37498 * sysdeps/wordsize-64/tmpfile.c: File removed.
37499 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37500 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37501 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37503 * stdio-common/vfscanf.c: Include <stdbool.h>.
37504 * nss/makedb.c: Likewise.
37505 * stdio-common/_i18n_number.h: Likewise.
37506 * argp/argp-help.c: Likewise.
37507 * posix/wordexp.c: Likewise.
37508 * sysdeps/posix/spawni.c: Likewise.
37509 * nss/nss_files/files-initgroups.c: Likewise.
37510 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37511 * nss/nss_files/files-initgroups.c: Likewise.
37512 * nss/nss_db/db-netgrp.c: Likewise.
37513 * nss/nss_db/db-initgroups.c: Likewise.
37514 * io/fchmodat.c: Include <sys/stat.h>.
37516 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37517 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37519 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37522 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37523 Add multiple inclusion protection.
37525 2012-07-27 David S. Miller <davem@davemloft.net>
37527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37529 2012-07-27 Gary Benson <gbenson@redhat.com>
37532 * elf/rtld.c: Include <stap-probe.h>.
37533 (dl_main): Added static probes "init_start" and "init_complete".
37534 * elf/dl-load.c: Include <stap-probe.h>.
37535 (lose): Take new parameter "nsid".
37536 Added static probe "map_failed".
37537 (_dl_map_object_from_fd): Pass namespace id to lose.
37538 Added static probe "map_start".
37539 (open_verify): Pass namespace id to lose.
37540 * elf/dl-open.c: Include <stap-probe.h>.
37541 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37542 and "reloc_complete".
37543 * elf/dl-close.c: Include <stap-probe.h>.
37544 (_dl_close_worker): Added static probes "unmap_start" and
37546 * elf/rtld-debugger-interface.txt: New file documenting the above.
37548 2012-07-26 Roland McGrath <roland@hack.frob.com>
37550 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37551 rather than a string variable.
37552 * sunrpc/rpc_main.c (h_output): Likewise.
37553 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37555 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37557 * inet/check_native.c: New file.
37559 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37562 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37563 if larger part has absolute value 1.0.
37564 * math/s_clog10.c (__clog10): Likewise.
37565 * math/s_clog10f.c (__clog10f): Likewise.
37566 * math/s_clog10l.c (__clog10l): Likewise.
37567 * math/s_clogf.c (__clogf): Likewise.
37568 * math/s_clogl.c (__clogl): Likewise.
37569 * math/libm-test.inc (clog_test): Add more tests.
37570 (clog10_test): Likewise.
37571 * sysdeps/i386/fpu/libm-test-ulps: Update.
37572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37574 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37575 (pltexit): Likewise.
37576 (La_regs): Likewise.
37577 (La_retval): Likewise.
37578 (int_retval): Likewise.
37579 Update #error for removed macros to refer only to definitions in
37581 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37583 (pltexit): Likewise.
37584 (La_regs): Likewise.
37585 (La_retval): Likewise.
37586 (int_retval): Likewise.
37587 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37589 (pltexit): Likewise.
37590 (La_regs): Likewise.
37591 (La_retval): Likewise.
37592 (int_retval): Likewise.
37593 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37595 (pltexit): Likewise.
37596 (La_regs): Likewise.
37597 (La_retval): Likewise.
37598 (int_retval): Likewise.
37599 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37601 (pltexit): Likewise.
37602 (La_regs): Likewise.
37603 (La_retval): Likewise.
37604 (int_retval): Likewise.
37605 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37607 (pltexit): Likewise.
37608 (La_regs): Likewise.
37609 (La_retval): Likewise.
37610 (int_retval): Likewise.
37611 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37613 (pltexit): Likewise.
37614 (La_regs): Likewise.
37615 (La_retval): Likewise.
37616 (int_retval): Likewise.
37617 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37618 macro definitions in tst-audit.h.
37619 * sysdeps/i386/tst-audit.h: New file.
37620 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37621 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37622 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37623 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37624 * sysdeps/sh/tst-audit.h: Likewise.
37625 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37626 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37627 * sysdeps/x86_64/tst-audit.h: Likewise.
37629 2012-07-26 Andreas Jaeger <aj@suse.de>
37631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37634 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37635 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37636 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37638 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37639 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37640 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37642 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37645 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37647 (si_call_addr, si_syscall, si_arch): Define new macro.
37648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37650 (si_call_addr, si_syscall, si_arch): Define new marcro.
37651 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37653 (si_call_addr, si_syscall, si_arch): Define new macro.
37654 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37656 (si_call_addr, si_syscall, si_arch): Define new macro.
37658 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37661 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37662 Change to 2.4.21 where previously 2.4.1.
37663 * sysdeps/unix/sysv/linux/configure: Regenerated.
37664 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37665 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37666 Linux kernel version.
37667 (__ASSUME_STD_AUXV): Remove.
37668 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37670 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37671 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37672 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37673 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37674 (__ASSUME_NETLINK_SUPPORT): Likewise.
37675 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37676 (__no_netlink_support): Remove conditional definition.
37677 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37679 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37680 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37681 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37682 (if_nameindex_ioctl): Remove.
37683 (if_nameindex_netlink): Do not handle __no_netlink_support.
37684 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37686 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37687 Remove conditional code.
37688 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37690 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37692 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37693 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37694 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37696 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37697 [!__ASSUME_STD_AUXV]: Remove conditional code.
37698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37699 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37700 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37702 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37703 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37705 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37707 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37708 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37710 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37712 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37715 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37718 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37719 code unconditional.
37720 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37722 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37724 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37727 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37729 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37732 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37733 code unconditional.
37734 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37736 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37738 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37741 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37742 code unconditional.
37743 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37745 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37747 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37750 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
37752 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37753 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37754 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37755 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37756 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37757 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37758 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37759 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37760 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37761 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37762 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37763 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37764 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37765 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37766 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37767 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37768 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37769 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37770 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37772 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37773 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37774 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37776 2012-07-25 Florian Weimer <fweimer@redhat.com>
37778 * Versions.def: Add GLIBC_2.17.
37779 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37780 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37781 Introduce __libc_secure_getenv.
37782 * stdlib/Versions (2.17): Add secure_getenv
37783 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37784 * stdlib/secure-getenv.c: Rename __secure_getenv to
37785 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37786 symbol __secure_getenv for GLIBC_2.0.
37787 * stdlib/tst-secure-getenv.c: New.
37788 * stdlib/Makefile (tests): Add testcase.
37789 * manual/startup.texi (Environment Access): Document
37791 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37792 __libc_secure_getenv.
37793 * inet/ruserpass.c (ruserpass): Likewise.
37794 * malloc/mtrace.c (mtrace): Likewise.
37795 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37796 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37797 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37798 * sysdeps/posix/tempname.c: Likewise. Evaluate
37799 HAVE_SECURE_GETENV.
37800 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37801 __secure_getenv to __libc_secure_getenv.
37802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37815 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37817 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37818 (struct La_i86_retval): Likewise.
37819 (struct La_x86_64_regs): Likewise.
37820 (struct La_x86_64_retval): Likewise.
37821 (struct La_x32_regs): Likewise.
37822 (struct La_x32_retval): Likewise.
37823 (struct La_ppc32_regs): Likewise.
37824 (struct La_ppc32_retval): Likewise.
37825 (struct La_ppc64_regs): Likewise.
37826 (struct La_ppc64_retval): Likewise.
37827 (struct La_sh_regs): Likewise.
37828 (struct La_sh_retval): Likewise.
37829 (struct La_s390_32_regs): Likewise.
37830 (struct La_s390_32_retval): Likewise.
37831 (struct La_s390_64_regs): Likewise.
37832 (struct La_s390_64_retval): Likewise.
37833 (struct La_sparc32_regs): Likewise.
37834 (struct La_sparc32_retval): Likewise.
37835 (struct La_sparc64_regs): Likewise.
37836 (struct La_sparc64_retval): Likewise.
37837 (struct audit_ifaces): Remove architecture-specific pltenter and
37839 * sysdeps/i386/ldsodefs.h: New file.
37840 * sysdeps/powerpc/ldsodefs.h: Likewise.
37841 * sysdeps/s390/ldsodefs.h: Likewise.
37842 * sysdeps/sh/ldsodefs.h: Likewise.
37843 * sysdeps/sparc/ldsodefs.h: Likewise.
37844 * sysdeps/x86_64/ldsodefs.h: Likewise.
37846 2012-07-25 Marek Polacek <polacek@redhat.com>
37849 * math/libm-test.inc (yn_test): Add another test.
37850 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37851 to ERANGE when the result is +-Inf.
37852 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37853 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37854 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37855 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37857 2012-07-24 Joseph Myers <joseph@codesourcery.com>
37859 * conform/data/time.h-data (NULL): Use macro-constant. Require
37861 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37863 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37865 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37867 * configure.in <sysdeps resolving>: Correct printing
37869 * configure: Regenerate.
37871 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37873 * math/w_ilogb.c: Include <limits.h>.
37874 * math/w_ilogbl.c: Likewise.
37876 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37878 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37879 va_copy. Document allowing for unavailable va_copy only as
37880 pre-C99 compatibility.
37881 * manual/string.texi (Copying and Concatenation): Use va_copy
37882 instead of __va_copy in concat example.
37884 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37886 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37887 (__sendto): Use create_address_port. Initialize APORT and deallocate
37890 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37891 with O_NOLINK passed to __file_name_lookup.
37893 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37894 with O_NOLINK passed to __file_name_lookup.
37896 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37897 negative N or less than NGIDS.
37899 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37900 type to string_t. Set ERANGE as errno and return it if NAME is not big
37901 enough. Use memcpy instead of strncpy.
37903 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37905 * elf/Makefile (check-data): Remove.
37906 (localplt.data): New vpath directive.
37907 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37908 instead of $(check-data).
37909 * scripts/data/localplt-generic.data: Move to ...
37910 * sysdeps/generic/localplt.data: ... here.
37911 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37912 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37913 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37916 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37919 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37922 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37925 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37928 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37932 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37934 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37935 PPC32 and PPC64 files.
37936 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37937 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37939 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37941 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37942 __makecontext_ret to ...
37943 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37944 ... here and call exit if uc_link is NULL. New file.
37945 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37946 __makecontext_ret.S.
37947 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37948 __makecontext_ret to ...
37949 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37950 ... here and call exit if uc_link is NULL. New file.
37951 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37952 __makecontext_ret.S.
37954 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37956 * elf/elf.h (R_390_IRELATIVE): New definition.
37957 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37958 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37959 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37960 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37961 (elf_machine_lazy_rel): Likewise.
37962 * sysdeps/s390/dl-irel.h: New file.
37963 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37964 * sysdeps/s390/s390-64/memset.S: New asm code.
37965 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37966 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37967 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37968 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37969 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37970 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37971 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37972 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37973 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37974 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37975 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37976 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37977 * sysdeps/s390/s390-32/memset.S: New asm code.
37978 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37980 2012-07-17 Marek Polacek <polacek@redhat.com>
37983 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37984 * sysdeps/s390/s390-64/configure.in: Likewise.
37985 * sysdeps/sparc/configure.in: Likewise.
37986 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37987 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37988 * sysdeps/i386/configure.in: Likewise.
37989 * sysdeps/x86_64/configure.in: Likewise.
37990 * sysdeps/sh/configure.in: Likewise.
37991 * sysdeps/s390/s390-32/configure: Regenerated.
37992 * sysdeps/s390/s390-64/configure: Likewise.
37993 * sysdeps/x86_64/configure: Likewise.
37994 * sysdeps/sh/configure: Likewise.
37995 * sysdeps/powerpc/powerpc64/configure: Likewise.
37996 * sysdeps/powerpc/powerpc32/configure: Likewise.
37997 * sysdeps/sparc/configure: Likwise.
37998 * sysdeps/i386/configure: Likewise.
38000 * elf/dl-open.c: Comment fixes.
38002 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38004 * Makefile [CXX] (check-data): Remove.
38005 [CXX] (c++-types.data): New vpath directive.
38006 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38007 vpath. Do not allow for C++ type data being missing.
38008 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38009 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38010 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38011 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38012 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38013 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38014 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38017 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38020 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38023 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38026 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38029 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38032 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38035 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38038 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38039 definitions to architecture-specific files.
38040 (TLS_IE): Likewise.
38041 (TLS_LD): Likewise.
38042 (TLS_GD): Likewise.
38043 * sysdeps/i386/tls-macros.h: New file.
38044 * sysdeps/powerpc/tls-macros.h: Likewise.
38045 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38046 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38047 * sysdeps/sh/tls-macros.h: Likewise.
38048 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38049 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38050 * sysdeps/x86_64/tls-macros.h: Likewise.
38052 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38055 zero value for regular exit case.
38057 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38058 (__start_context): Preserve zero value for regular exit case.
38060 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38061 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38063 * manual/setjmp.texi (setcontext): Clarify normal process
38064 termination when uc_link is the null pointer.
38065 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38068 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38070 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38071 preprocessor. Test for each exception mask separately.
38073 2012-07-16 Andreas Jaeger <aj@suse.de>
38075 * po/ru.po: Update from translation team.
38077 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38079 * conform/data/string.h-data (NULL): Use macro-constant. Require
38081 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38082 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38083 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38084 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38087 2012-07-13 Andreas Jaeger <aj@suse.de>
38089 * po/fr.po: Update from translation team.
38091 2012-07-12 Marek Polacek <polacek@redhat.com>
38094 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38095 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38098 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38101 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38102 Change to 2.4.1 where previously 2.4.0.
38103 * sysdeps/unix/sysv/linux/configure: Regenerated.
38104 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38105 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38107 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38108 (__ASSUME_AT_CLKTCK): Remove.
38109 (__ASSUME_AT_PAGESIZE): Likewise.
38110 (__ASSUME_AT_XID): Likewise.
38111 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38112 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38113 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38115 (HAVE_AUX_PAGESIZE): Likewise.
38116 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38117 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38118 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38120 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38124 the temporary buffer used to invoke __gethostbyname2_r,
38125 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38126 host_data / struct gaih_addrtuple.
38127 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38128 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38129 header file nss/nsswitch.h.
38130 * nss/nsswitch.h (global scope): Add definition of implementation
38131 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38132 resolv/nss_dns/dns-host.c).
38134 2012-07-11 Andreas Jaeger <aj@suse.de>
38136 * po/fr.po: Update from translation team.
38138 * po/sv.po: Update from translation team
38139 * po/fr.po: Another update from translation team.
38141 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38143 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38144 for subnormals or multiply small sinh result by itself.
38145 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38148 2012-07-11 David S. Miller <davem@davemloft.net>
38150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38152 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38155 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38156 (INTERNAL_MARK): Shift it here.
38158 2012-07-10 Marek Polacek <polacek@redhat.com>
38161 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38162 libc_cv_asm_global_directive with .globl.
38163 * configure: Regenerated.
38164 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38166 * sysdeps/i386/configure: Regenerated.
38167 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38169 * sysdeps/x86_64/configure: Regenerated.
38170 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38171 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38172 * elf/tst-unique2mod2.c: Likewise.
38173 * elf/tst-unique2mod1.c: Likewise.
38174 * elf/tst-unique1mod2.c: Likewise.
38175 * elf/tst-unique1mod1.c: Likewise.
38176 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38177 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38178 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38179 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38180 * sysdeps/mach/sysdep.h: Likewise.
38181 * sysdeps/i386/sysdep.h: Likewise.
38182 * sysdeps/i386/i386-mcount.S: Likewise.
38183 * sysdeps/x86_64/_mcount.S: Likewise.
38184 * sysdeps/x86_64/sysdep.h: Likewise.
38185 * sysdeps/sh/_mcount.S: Likewise.
38186 * sysdeps/sh/sysdep.h: Likewise.
38187 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38188 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38189 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38190 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38191 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38192 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38193 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38194 * locale/localeinfo.h: Likewise.
38195 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38196 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38198 2012-07-09 Roland McGrath <roland@hack.frob.com>
38201 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38203 * manual/message.texi (The Uniforum approach): Likewise.
38204 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38205 (glibc iconv Implementation): Likewise.
38207 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38210 * math/s_clog.c (__clog): Avoid scaling a value down where that
38211 could result in underflow.
38212 * math/s_clog10.c (__clog10): Likewise.
38213 * math/s_clog10f.c (__clog10f): Likewise.
38214 * math/s_clog10l.c (__clog10l): Likewise.
38215 * math/s_clogf.c (__clogf): Likewise.
38216 * math/s_clogl.c (__clogl): Likewise.
38217 * math/libm-test.inc (clog_test): Add more tests.
38218 (clog10_test): Likewise.
38219 * sysdeps/i386/fpu/libm-test-ulps: Update.
38220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38222 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38225 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38226 by 7 not 8 to examine high bit of fractional part.
38229 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38230 for call to __mcount_internal.
38231 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38232 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38233 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38235 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38238 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38239 approximation for values within 0x1p-13f of an odd multiple of
38241 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38242 exception. Add more tests.
38243 * sysdeps/i386/fpu/libm-test-ulps: Update.
38246 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38247 inputs and return -1 for them. Do not check for +Inf in case not
38248 reachable for +Inf.
38249 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38250 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38251 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38252 and return -1 for them. Do not check for +Inf in case not
38253 reachable for +Inf.
38254 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38256 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38257 and return -1 for them. Do not check for +Inf in case not
38258 reachable for +Inf.
38259 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38260 spurious underflow.
38261 * sysdeps/i386/fpu/libm-test-ulps: Update.
38262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38264 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38266 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38268 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38272 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38273 could result in spurious underflow. Scale down values above
38274 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38275 * math/s_csqrtf.c (__csqrtf): Likewise.
38276 * math/s_csqrtl.c (__csqrtl): Likewise.
38277 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38278 spurious underflow.
38279 * sysdeps/i386/fpu/libm-test-ulps: Update.
38280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38282 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38284 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38286 * catgets/xopen-msg.awk: New file.
38287 * catgets/xopen-msg.sed: Removed.
38289 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38291 * intl/po2test.awk: New file.
38292 * intl/po2test.sed: Removed.
38294 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38297 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38298 or multiply small sinh result by itself.
38299 * math/s_ctanf.c (__ctanf): Likewise.
38300 * math/s_ctanh.c (__ctanh): Likewise.
38301 * math/s_ctanhf.c (__ctanhf): Likewise.
38302 * math/s_ctanhl.c (__ctanhl): Likewise.
38303 * math/s_ctanl.c (__ctanl): Likewise.
38304 * math/libm-test.inc (ctan_test_tonearest): New function.
38305 (ctan_test_towardzero): Likewise.
38306 (ctan_test_downward): Likewise.
38307 (ctan_test_upward): Likewise.
38308 (ctanh_test_tonearest): Likewise.
38309 (ctanh_test_towardzero): Likewise.
38310 (ctanh_test_downward): Likewise.
38311 (ctanh_test_upward): Likewise.
38312 (main): Call these new functions.
38313 * sysdeps/i386/fpu/libm-test-ulps: Update.
38314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38316 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38318 * .gitignore: Delete /ports entry.
38320 2012-07-03 Andreas Jaeger <aj@suse.de>
38322 * po/bg.po: Update from translation team.
38323 * po/cs.po: Likewise.
38324 * po/de.po: Likewise.
38325 * po/hr.po: Likewise.
38326 * po/nl.pl: Likewise.
38327 * po/pl.po: Likewise.
38328 * po/vi.po: Likewise.
38330 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38332 * Makeconfig [!+link] (+link-before-libc): New variable.
38333 [!+link] (+link-after-libc): Likewise.
38334 [!+link] (+link-tests): Likewise.
38335 [!+link] (+link): Define in terms of $(+link-before-libc) and
38336 $(+link-after-libc).
38337 [!+link-static] (+link-static-before-libc): New variable.
38338 [!+link-static] (+link-static-after-libc): Likewise.
38339 [!+link-static] (+link-static-tests): Likewise.
38340 [!+link-static] (+link-static): Define in terms of
38341 $(+link-static-before-libc) and $(+link-static-after-libc).
38342 [build-shared] (link-libc-before-gnulib): New variable.
38343 [build-shared] (link-libc-tests): Likewise.
38344 [build-shared] (link-libc): Define in terms of
38345 $(link-libc-before-gnulib).
38346 [!build-shared] (link-libc-tests): New variable.
38347 (link-libc-static-tests): New variable.
38348 [!gnulib] (gnulib-arch): New variable.
38349 [!gnulib] (gnulib-tests): Likewise.
38350 [!gnulib] (static-gnulib-arch): Likewise.
38351 [!gnulib] (static-gnulib-tests): Likewise.
38352 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38353 Define with "=" instead of ":=".
38354 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38355 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38356 * Rules (binaries-all-notests): New variable.
38357 (binaries-all-tests): Likewise.
38358 (binaries-static-notests): Likewise.
38359 (binaries-static-tests): Likewise.
38360 (binaries-all): Define using $(binaries-all-notests) and
38361 $(binaries-all-tests).
38362 (binaries-static): Define using $(binaries-static-notests) and
38363 $(binaries-static-tests).
38364 (binaries-shared-tests): New variable.
38365 (binaries-shared-notests): Likewise.
38366 (binaries-shared): Remove variable.
38367 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38368 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38369 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38370 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38371 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38372 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38373 * elf/Makefile (sln-modules): New variable.
38374 (extra-objs): Add $(sln-modules:=.o).
38375 (ldconfig-modules): Add static-stubs.
38376 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38377 * elf/static-stubs.c: New file.
38380 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38381 by 7 not 8 to examine high bit of fractional part. Use volatile
38382 variables when splitting into final array of floats if
38383 __FLT_EVAL_METHOD__ != 0.
38384 * math/libm-test.inc (cos_test): Add another test.
38385 (sin_test): Likewise.
38386 * sysdeps/i386/fpu/libm-test-ulps: Update.
38389 * math/libm-test.inc (cosh_test): Add more tests.
38391 * version.h (RELEASE): Set to "development".
38392 (VERSION): Set to "2.16.90".
38394 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38396 * NEWS: Update copyright. Remove last-updated date.
38397 Mention math library bug fixes and timezone data changes.
38398 * README: Mention GNU/Hurd, x32, and HPPA support status.
38400 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38402 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38404 2012-06-27 Andreas Jaeger <aj@suse.de>
38406 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38408 2012-06-25 Andreas Jaeger <aj@suse.de>
38410 * sysdeps/s390/fpu/libm-test-ulps: Update.
38412 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38413 Thomas Schwinge <thomas@codesourcery.com>
38415 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38416 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38420 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38422 * sysdeps/mach/start.c: Remove file.
38423 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38424 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38425 * sysdeps/sh/init-first.c: Likewise.
38427 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38428 registers for frame unwinding purposes, add CFI directives.
38429 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38430 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38431 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38434 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38435 __fortify_fail returning.
38436 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38438 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38439 sysdeps/sh/____longjmp_chk.S.
38440 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38441 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38442 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38443 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38445 * sysdeps/sh/abort-instr.h: New file.
38446 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38447 process in case exit returns.
38449 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38450 initialize the GOT register before use.
38452 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38453 calculation of ARGC > 4.
38455 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38456 meaningful names to some local labels.
38458 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38459 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38461 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38462 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38463 (__arch_compare_and_exchange_val_16_acq): Likewise.
38464 (__arch_compare_and_exchange_val_32_acq): Likewise.
38465 (atomic_exchange_and_add): Fix gUSA sequence.
38466 (atomic_add): Likewise.
38467 (atomic_add_negative): Likewise.
38468 (atomic_add_zero): Likewise.
38469 (atomic_bit_test_set): Likewise.
38471 2012-06-22 Andreas Schwab <schwab@redhat.com>
38474 * include/link.h (struct link_map): Add l_free_initfini.
38475 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38477 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38478 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38479 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38482 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38484 * configure.in: Use AC_LANG_SOURCE.
38485 * configure: Regenerate.
38487 2012-06-22 Roland McGrath <roland@hack.frob.com>
38489 * configure.in (libc_cv_localstatedir): New substituted variable.
38490 * configure: Regenerated.
38491 * config.make.in (localstatedir): New variable, substituted from
38492 libc_cv_localstatedir.
38493 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38494 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38495 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38496 * sysdeps/gnu/configure: Regenerated.
38498 2012-06-21 Jeff Law <law@redhat.com>
38501 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38502 free. Simplify list management for _LIBC case.
38504 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38507 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38508 Clear sign bit of 64-bit integer value before comparing against
38511 * sysdeps/mach/configure: Regenerated.
38513 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38516 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38518 2012-06-21 Jeff Law <law@redhat.com>
38521 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38522 uint16_t for elements in the "seen" array to avoid char overflows.
38523 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38524 * elf/dl-open.c (dl_open_worker): Likewise.
38526 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38528 * scripts/list-sources.sh: Scan PORTS for translations.
38529 * po/libc.pot: Regenerated.
38531 2012-06-21 Andreas Jaeger <aj@suse.de>
38534 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38536 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38537 * bits/byteswap-16.h (__bswap_16): Likewise.
38538 * bits/byteswap.h (__bswap_constant_16): Likewise.
38540 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38543 * sysdeps/i386/fpu_control.h: Removed.
38544 * sysdeps/x86_64/fpu_control.h: Moved to ...
38545 * sysdeps/x86/fpu_control.h: Here.
38547 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38548 (_FPU_SETCW): Likewise.
38550 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38553 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38554 * sysdeps/x86/fpu/bits/mathinline.h: This.
38555 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38559 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38560 functions if __x86_64__ is defined.
38562 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38564 * string/endian.h: Add !__ASSEMBLER__ condition for including
38565 conversion interfaces.
38567 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38570 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38571 of ABS(x) in calculating zero to negative powers other than odd
38573 * math/libm-test.inc (pow_test): Add more tests.
38575 2012-06-15 Andreas Jaeger <aj@suse.de>
38577 * manual/contrib.texi (Contributors): Update entry of Liubov
38578 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38581 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38583 * string/string.h: Add __wur to GNU version of strerror_r.
38585 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38588 * string/Makefile (tests): Add tst-strtok_r.
38589 * string/tst-strtok_r.c: New file.
38590 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38591 RAX_LP/RDX_LP on SAVE_PTR.
38593 2012-06-14 Roland McGrath <roland@hack.frob.com>
38595 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38597 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38599 * libm_test.inc (csqrt_test): Allow more spurious underflow
38601 (j0_test): Likewise.
38602 (j1_test): Likewise.
38603 (y0_test): Likewise.
38604 (y1_test): Likewise.
38606 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38608 * po/Makefile (libc.pot): Use UTF-8 charset.
38610 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38613 Suppress sign-conversion warning from FD_SET.
38614 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38615 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38616 not unsigned long int.
38617 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38619 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38623 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38624 __extern_always_inline instead of __extern_inline.
38625 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38626 (__signbit): Likewise.
38627 (__signbitl): Support C++ namespace.
38628 (lrintf): New inline function.
38630 (llrintf): Likewise.
38631 (llrint): Likewise.
38641 (floorf): Likewise.
38642 (nearbyint): Likewise.
38643 (nearbyintf): Likewise.
38645 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38647 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38648 non-default versions.
38650 2012-06-11 Roland McGrath <roland@hack.frob.com>
38653 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38655 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38657 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38658 (FE_UPWARD, FE_DOWNWARD): Don't define.
38659 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38662 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38664 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38665 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38667 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38669 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38671 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38672 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38674 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38677 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38678 * sysdeps/i386/fpu/Implies: New file.
38679 * sysdeps/x86_64/fpu/Implies: Likewise.
38680 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38681 * sysdeps/x86/fpu/bits/fenv.h: This.
38683 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38686 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38689 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38690 character 0xffff that matches the last element of the
38693 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38698 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38700 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38701 values higher than 25.6283.
38703 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38706 subnormal exponent extraction and add some __builtin_expect.
38707 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38708 Fix for subnormal mantissa calculation.
38710 2012-06-04 Mike Frysinger <vapier@gentoo.org>
38712 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38713 cpu2 is -1 and errno is not ENOSYS.
38715 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38718 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38719 * sysdeps/x86/bits/string.h: This.
38720 * sysdeps/x86_64/bits/string.h: Removed.
38722 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38723 if not compiling for x86-64, but compiling for >= i486.
38725 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38726 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38728 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38729 New macro from Linux kernel 3.4.0.
38730 (FP_XSTATE_MAGIC2): Likewise.
38731 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38732 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38733 (struct _fpx_sw_bytes): New struct.
38734 (struct _xsave_hdr): Likewise.
38735 (struct _ymmh_state): Likewise.
38736 (struct _xstate): Likewise.
38738 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38739 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38740 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38741 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38742 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38743 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38745 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38746 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38747 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38748 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38749 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38750 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38752 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38755 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38756 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38757 (sysdep_headers): Include sys/platform/ppc.h.
38758 * sysdeps/powerpc/test-gettimebase.c: Test for
38759 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38760 * manual/Makefile (appendices): Include platform.texi.
38761 * manual/contrib.texi (Contributors): Update @node pointers.
38762 * manual/maint.texi (Maintenance): Likewise.
38763 (Platform): New node.
38764 * manual/platform.texi: New file. Document the new features.
38766 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38767 Jakub Jelinek <jakub@redhat.com>
38770 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38771 where __builtin_expect is unavailable.
38773 2012-06-03 David S. Miller <davem@davemloft.net>
38775 * stdlib/longlong.h: Updated from GCC.
38777 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38780 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38781 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38784 (GLIBC_2.16): Likewise.
38786 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38788 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38790 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38793 (default-abi): New variable.
38794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38795 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38797 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38799 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38801 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38804 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38805 definition. Document in comment.
38807 2012-06-01 David S. Miller <davem@davemloft.net>
38809 * stdlib/longlong.h: Updated from GCC.
38811 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38814 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38815 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38816 sys/debugreg.h sys/io.h here.
38817 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38818 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38820 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38821 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38822 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38823 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38824 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38825 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38827 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38828 Define only if __x86_64__ is defined.
38830 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38833 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38834 Use int64_t for variable i.
38835 * math/libm-test.inc (fmod_test): Add more tests.
38837 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38838 z computation is not scheduled after fetestexcept.
38839 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38840 Use math_force_eval instead of asm to ensure calculation scheduled
38841 before exception test.
38842 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38843 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38845 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38848 computation is not scheduled after fetestexcept.
38850 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38853 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38854 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38856 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38858 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38859 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38861 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38864 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38866 (__WCHAR_MIN): Support __WORDSIZE == 64.
38867 (__WCHAR_MAX): Likewise.
38869 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38870 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38873 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38874 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38877 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38878 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38880 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38881 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38883 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38884 Defined to 1 if __x86_64__ isn't defined.
38885 (_STAT_VER_LINUX_OLD): New.
38886 (st_atime): Remove duplicate.
38887 (st_mtime): Likewise.
38888 (st_ctime): Likewise.
38890 2012-05-31 David S. Miller <davem@davemloft.net>
38892 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38895 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38897 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38901 * elf/dl-reloc.c: Include <_itoa.h>.
38902 (_dl_reloc_bad_type): Remove use of INTUSE.
38903 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38904 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38905 * stdio-common/psiginfo.c (psiginfo): Likewise.
38906 * stdio-common/psignal.c (psignal): Likewise.
38907 * string/strsignal.c (strsignal): Likewise.
38908 * include/signal.h (_sys_siglist): Declare hidden proto.
38909 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38910 INTVARDEF with libc_hidden_data_def.
38911 * stdio-common/itoa-udigits.c: Likewise.
38912 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38913 (_itoa_lower_digits_internal): Remove declaration.
38914 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38915 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38916 (_sys_sigabbrev_internal): Remove aliases.
38917 (_sys_siglist): Define hidden alias.
38919 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38924 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38927 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38928 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38930 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38931 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38932 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38933 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38934 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38935 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38937 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38938 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38939 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38941 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38949 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38950 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38951 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38953 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38954 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38955 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38956 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38957 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38958 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38960 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38961 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38963 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38964 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38966 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38967 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38968 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38970 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38971 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38973 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38975 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38976 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38977 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38979 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38981 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38983 2012-05-31 Joseph Myers <joseph@codesourcery.com>
38985 * math/math.h (M_El): Use two more decimal places.
38986 (M_LOG2El): Likewise.
38987 (M_LOG10El): Likewise.
38988 (M_LN2l): Likewise.
38989 (M_LN10l): Likewise.
38991 (M_PI_2l): Likewise.
38992 (M_PI_4l): Likewise.
38993 (M_1_PIl): Likewise.
38994 (M_2_PIl): Likewise.
38995 (M_2_SQRTPIl): Likewise.
38996 (M_SQRT2l): Likewise.
38997 (M_SQRT1_2l): Likewise.
38999 2012-05-31 David S. Miller <davem@davemloft.net>
39001 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39002 values between float registers.
39003 * sysdeps/sparc/sparc64/memset.S: Likewise.
39004 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39006 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39008 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39009 -D_FORTIFY_SOURCE=1.
39010 (CPPFLAGS-tst-longjmp_chk.c): Define.
39011 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39012 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39013 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39014 CFLAGS-tst-wchar-h.c.
39016 2012-05-31 Marek Polacek <polacek@redhat.com>
39019 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39020 __endmntent_internal): Remove declaration.
39021 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39022 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39023 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39025 2012-05-30 David S. Miller <davem@davemloft.net>
39027 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39028 (___Q_simulate_exceptions): Use real FP ops rather than writing
39030 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39033 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39036 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39037 * sysdeps/x86/bits/xtitypes.h: This.
39039 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39040 * sysdeps/x86/bits/wordsize.h: This.
39042 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39043 * sysdeps/x86/bits/huge_vall.h: This.
39045 * sysdeps/i386/bits/select.h: Removed.
39046 * sysdeps/x86_64/bits/select.h: Renamed to ...
39047 * sysdeps/x86/bits/select.h: This.
39049 * sysdeps/i386/bits/setjmp.h: Removed.
39050 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39051 * sysdeps/x86/bits/setjmp.h: This.
39053 * sysdeps/i386/bits/mathdef.h: Removed.
39054 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39055 * sysdeps/x86/bits/mathdef.h: This.
39057 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39060 * include/sys/socket.h (__connect_internal)
39061 (__libc_sa_len_internal): Remove declaration.
39062 (__connect, __libc_sa_len): Declare hidden_proto.
39063 (SA_LEN): Remove use of INTUSE.
39064 * socket/connect.c: Add libc_hidden_def.
39065 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39066 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39067 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39069 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39070 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39071 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39072 of adding _internal alias.
39074 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39077 * sysdeps/i386/bits/link.h: Removed.
39078 * sysdeps/i386/bits/linkmap.h: Likewise.
39079 * sysdeps/x86_64/bits/link.h: Renamed to ...
39080 * sysdeps/x86/bits/link.h: This.
39081 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39082 * sysdeps/x86/bits/linkmap.h: This.
39084 * sysdeps/i386/bits/endian.h: Removed.
39085 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39086 * sysdeps/x86/bits/endian.h: This.
39088 * sysdeps/i386/bits/byteswap.h: Removed.
39089 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39090 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39091 * sysdeps/x86/bits/byteswap.h: This.
39092 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39093 * sysdeps/x86/bits/byteswap-16.h: This.
39094 * sysdeps/i386/Implies: Add x86.
39095 * sysdeps/x86_64/Implies: Likewise.
39097 2012-05-30 David S. Miller <davem@davemloft.net>
39099 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39100 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39101 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39102 (FP_TRAPPING_EXCEPTIONS): Define.
39103 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39104 (FP_TRAPPING_EXCEPTIONS): Define.
39105 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39106 subnormals only when inexact has been signalled or underflow
39107 exceptions are enabled.
39108 (_FP_PACK_CANONICAL): Likewise.
39110 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39113 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39114 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39116 2012-05-30 Richard Henderson <rth@twiddle.net>
39118 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39119 with #ifndef NOT_IN_libc.
39121 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39122 marked to avoid plt entry.
39124 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39127 * Makeconfig (default-abi): New macro.
39128 (abi-includes): Likewise.
39129 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39130 $(abi-$(default-abi)-lib-soname) for soname if defined.
39131 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39133 * Makefile (installed-stubs): Likewise.
39134 * include/stubs-biarch.h: Removed.
39135 * scripts/lib-names.awk: Only handle one library at a time.
39136 * scripts/soversions.awk: Remove WORDSIZE support.
39137 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39139 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39141 (syscall-list-default-condition): Likewise.
39142 (syscall-list-default-condition): Likewise.
39143 (syscall-list-includes): Likewise.
39144 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39145 syscall-list-* with abi-*. Handle undefined abi-variants.
39146 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39147 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39148 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39149 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39150 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39151 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39153 (syscall-list-32-options): Likewise.
39154 (syscall-list-32-condition): Likewise.
39155 (syscall-list-64-options): Likewise.
39156 (syscall-list-64-condition): Likewise.
39157 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39159 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39162 (abi-64-ld-soname): New macro.
39163 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39164 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39167 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39168 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39170 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39172 * sysdeps/unix/sysv/linux/kernel-features.h
39173 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39174 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39175 include <kernel-features.h>.
39176 [!__NR_ftruncate64]: Remove conditional code.
39177 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39178 [__NR_ftruncate64]: Make code unconditional.
39179 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39180 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39181 include <kernel-features.h>.
39182 [!__NR_ftruncate64]: Remove conditional code.
39183 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39184 [__NR_ftruncate64]: Make code unconditional.
39185 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39187 include <kernel-features.h>.
39188 [!__NR_ftruncate64]: Remove conditional code.
39189 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39190 [__NR_ftruncate64]: Make code unconditional.
39191 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39193 include <kernel-features.h>.
39194 [!__NR_ftruncate64]: Remove conditional code.
39195 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39196 [__NR_ftruncate64]: Make code unconditional.
39197 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39199 * configure.in (libc_cv_fpie): Weaken to a compile test using
39200 LIBC_TRY_CC_OPTION.
39201 * configure: Regenerated.
39203 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39218 2012-05-27 David S. Miller <davem@davemloft.net>
39220 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39222 (__Q_simulate_exceptions): Return void. Change to simulate
39223 exceptions by writing into the %fsr.
39224 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39225 (__Qp_handle_exceptions): Likewise.
39227 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39228 __Qp_handle_exceptions.
39229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39230 __Qp_handle_exceptions.
39231 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39232 as unused and give dummy FP_RND_NEAREST initializer.
39233 (FP_INHIBIT_RESULTS): Define.
39234 (___Q_simulate_exceptions): Update declaration.
39235 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39237 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39238 as unused and give dummy FP_RND_NEAREST initializer.
39239 (__Qp_handle_exceptions): Update declaration.
39240 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39243 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39245 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39246 the temporary FPU control word.
39247 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39248 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39249 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39250 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39251 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39252 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39253 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39254 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39255 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39256 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39257 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39259 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39261 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39264 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39266 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39267 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39268 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39269 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39271 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39272 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39275 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39277 * po/h.po: Update from translation team.
39279 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39281 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39283 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39284 handling of denormals.
39285 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39286 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39287 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39288 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39289 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39291 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39294 2012-05-26 Marek Polacek <polacek@redhat.com>
39297 * math/libm-test.inc (fma_test): Don't always expect underflow
39300 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39303 * elf/tst-execstack.c: Include stackinfo.h.
39304 (do_test): Adjust test case to ensure that pthread_getattr_np
39305 behaviour remains the same after marking stack executable.
39307 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39309 * sysdeps/unix/sysv/linux/kernel-features.h
39310 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39311 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39313 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39314 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39315 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39317 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39318 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39320 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39322 * configure.in: Define the default includes to being none.
39323 * configure: Regenerated.
39325 2012-05-25 Roland McGrath <roland@hack.frob.com>
39327 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39328 * sysdeps/x86_64/setjmp.S: Likewise.
39329 * sysdeps/i386/bsd-setjmp.S: Likewise.
39330 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39331 * sysdeps/i386/setjmp.S: Likewise.
39332 * sysdeps/i386/__longjmp.S: Likewise.
39333 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39334 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39336 * include/stap-probe.h: New file.
39337 * configure.in: Handle --enable-systemtap.
39338 * configure: Regenerated.
39339 * config.h.in (USE_STAP_PROBE): New #undef.
39340 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39341 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39342 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39344 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39347 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39348 to 2.4.0 where earlier.
39349 * sysdeps/unix/sysv/linux/configure: Regenerated.
39350 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39351 <kernel-features.h>.
39352 [__ASSUME_32BITUIDS]: Make code unconditional.
39353 [!__ASSUME_32BITUIDS]: Remove conditional code.
39354 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39355 <kernel-features.h>.
39356 [__ASSUME_32BITUIDS]: Make code unconditional.
39357 [!__ASSUME_32BITUIDS]: Remove conditional code.
39358 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39359 [__ASSUME_32BITUIDS]: Make code unconditional.
39360 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39361 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39362 <kernel-features.h>.
39363 [__ASSUME_32BITUIDS]: Make code unconditional.
39364 [!__ASSUME_32BITUIDS]: Remove conditional code.
39365 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39366 <kernel-features.h>.
39367 [__ASSUME_32BITUIDS]: Make code unconditional.
39368 [!__ASSUME_32BITUIDS]: Remove conditional code.
39369 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39370 <kernel-features.h>.
39371 [__ASSUME_32BITUIDS]: Make code unconditional.
39372 [!__ASSUME_32BITUIDS]: Remove conditional code.
39373 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39374 <kernel-features.h>.
39375 [__ASSUME_32BITUIDS]: Make code unconditional.
39376 [!__ASSUME_32BITUIDS]: Remove conditional code.
39377 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39378 <kernel-features.h>.
39379 [__ASSUME_32BITUIDS]: Make code unconditional.
39380 [!__ASSUME_32BITUIDS]: Remove conditional code.
39381 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39382 <kernel-features.h>.
39383 [__ASSUME_32BITUIDS]: Make code unconditional.
39384 [!__ASSUME_32BITUIDS]: Remove conditional code.
39385 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39386 <kernel-features.h>.
39387 [__ASSUME_32BITUIDS]: Make code unconditional.
39388 [!__ASSUME_32BITUIDS]: Remove conditional code.
39389 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39390 <kernel-features.h>.
39391 [__ASSUME_32BITUIDS]: Make code unconditional.
39392 [!__ASSUME_32BITUIDS]: Remove conditional code.
39393 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39394 <kernel-features.h>.
39395 [__ASSUME_32BITUIDS]: Make code unconditional.
39396 [!__ASSUME_32BITUIDS]: Remove conditional code.
39397 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39398 <kernel-features.h>.
39399 [__ASSUME_32BITUIDS]: Make code unconditional.
39400 [!__ASSUME_32BITUIDS]: Remove conditional code.
39401 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39402 <kernel-features.h>.
39403 [__NR_setresgid] (__setresgid): Do not declare.
39404 [__ASSUME_32BITUIDS]: Make code unconditional.
39405 [!__ASSUME_32BITUIDS]: Remove conditional code.
39406 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39407 <kernel-features.h>.
39408 [__NR_setresuid] (__setresuid): Do not declare.
39409 [__ASSUME_32BITUIDS]: Make code unconditional.
39410 [!__ASSUME_32BITUIDS]: Remove conditional code.
39411 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39412 <kernel-features.h>.
39413 [__ASSUME_32BITUIDS]: Make code unconditional.
39414 [!__ASSUME_32BITUIDS]: Remove conditional code.
39415 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39416 <kernel-features.h>.
39417 [__ASSUME_32BITUIDS]: Make code unconditional.
39418 [!__ASSUME_32BITUIDS]: Remove conditional code.
39419 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39420 <kernel-features.h>.
39421 [__ASSUME_32BITUIDS]: Make code unconditional.
39422 [!__ASSUME_32BITUIDS]: Remove conditional code.
39423 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39424 <kernel-features.h>.
39425 [__ASSUME_32BITUIDS]: Make code unconditional.
39426 [!__ASSUME_32BITUIDS]: Remove conditional code.
39427 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39428 <kernel-features.h>.
39429 [__ASSUME_32BITUIDS]: Make code unconditional.
39430 [!__ASSUME_32BITUIDS]: Remove conditional code.
39431 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39432 <kernel-features.h>.
39433 [__ASSUME_32BITUIDS]: Make code unconditional.
39434 [!__ASSUME_32BITUIDS]: Remove conditional code.
39435 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39436 <kernel-features.h>.
39437 [__ASSUME_32BITUIDS]: Make code unconditional.
39438 [!__ASSUME_32BITUIDS]: Remove conditional code.
39439 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39440 <kernel-features.h>.
39441 [__ASSUME_32BITUIDS]: Make code unconditional.
39442 [!__ASSUME_32BITUIDS]: Remove conditional code.
39443 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39444 <kernel-features.h>.
39445 [__ASSUME_32BITUIDS]: Make code unconditional.
39446 [!__ASSUME_32BITUIDS]: Remove conditional code.
39447 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39448 <kernel-features.h>.
39449 [__ASSUME_32BITUIDS]: Make code unconditional.
39450 [!__ASSUME_32BITUIDS]: Remove conditional code.
39451 * sysdeps/unix/sysv/linux/kernel-features.h
39452 (__ASSUME_SETRESUID_SYSCALL): Remove.
39453 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39454 (__ASSUME_32BITUIDS): Likewise.
39455 (__ASSUME_LDT_WORKS): Likewise.
39456 (__ASSUME_O_DIRECTORY): Likewise.
39457 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39458 architecture but not kernel version.
39459 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39460 (__ASSUME_MMAP2_SYSCALL): Likewise.
39461 (__ASSUME_STAT64_SYSCALL): Likewise.
39462 (__ASSUME_IPC64): Likewise.
39463 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39464 <kernel-features.h>.
39465 [__ASSUME_32BITUIDS]: Make code unconditional.
39466 [!__ASSUME_32BITUIDS]: Remove conditional code.
39467 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39468 <kernel-features.h>.
39469 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39470 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39471 132096]: Remove conditional code.
39472 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39473 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39474 <kernel-features.h>.
39475 [__ASSUME_32BITUIDS]: Make code unconditional.
39476 [!__ASSUME_32BITUIDS]: Remove conditional code.
39477 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39478 <kernel-features.h>.
39479 [__ASSUME_32BITUIDS]: Make code unconditional.
39480 [!__ASSUME_32BITUIDS]: Remove conditional code.
39481 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39482 <kernel-features.h>.
39483 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39485 (__setresgid): Do not declare.
39486 [__ASSUME_32BITUIDS]: Make code unconditional.
39487 [!__ASSUME_32BITUIDS]: Remove conditional code.
39488 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39489 <kernel-features.h>.
39490 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39492 (__setresuid): Do not declare.
39493 [__ASSUME_32BITUIDS]: Make code unconditional.
39494 [!__ASSUME_32BITUIDS]: Remove conditional code.
39495 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39496 <kernel-features.h>.
39497 [__ASSUME_32BITUIDS]: Make code unconditional.
39498 [!__ASSUME_32BITUIDS]: Remove conditional code.
39499 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39500 <kernel-features.h>.
39501 [__ASSUME_32BITUIDS]: Make code unconditional.
39502 [!__ASSUME_32BITUIDS]: Remove conditional code.
39504 2012-05-25 Richard Henderson <rth@twiddle.net>
39506 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39507 dl_hwcap to ifunc resolver.
39508 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39510 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39511 dl_hwcap to ifunc resolver.
39512 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39514 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39517 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39518 for |x| <= 2**-26, not 2**-57.
39519 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39522 2012-05-24 Jeff Law <law@redhat.com>
39524 * stdio-common/Makefile (tests): Add bug25.
39525 * stdio-common/bug25.c: New test.
39527 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39530 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39531 multiple of MALLOC_ALIGNMENT in size.
39532 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39534 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39536 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39538 (FILENAME_MAX): Use macro-int-constant.
39539 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39540 (_IOFBF): Use macro-int-constant.
39541 (_IOLBF): Likewise.
39542 (_IONBF): Likewise.
39543 (SEEK_CUR): Likewise.
39544 (SEEK_END): Likewise.
39545 (SEEK_SET): Likewise.
39546 (TMP_MAX): Likewise.
39547 (EOF): Use macro-int-constant. Require < 0.
39548 (NULL): Use macro-constant. Require == 0.
39549 (stdin): Require type to be FILE *.
39550 (stdout): Likewise.
39551 (stderr): Likewise.
39552 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39553 macro-int-constant.
39554 (EXIT_SUCCESS): Likewise.
39555 (NULL): Use macro-constant. Require == 0.
39556 (RAND_MAX): Use macro-int-constant.
39557 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39558 [C99-based standards] (strtof): Require function.
39559 [C99-based standards] (strtold): Likewise.
39560 [C99-based standards] (strtoll): Likewise.
39561 [C99-based standards] (strtoull): Likewise.
39562 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39563 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39564 [ISO || ISO99 || ISO11] (math.h): Likewise.
39565 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39566 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39569 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39572 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39573 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39574 * intl/dgettext.c (DCGETTEXT): Likewise.
39575 * intl/gettext.c (DCGETTEXT): Likewise.
39576 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39577 * posix/regex_internal.h (gettext): Likewise.
39578 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39579 Remove declaration.
39580 * include/argz.h (__argz_count_internal)
39581 (__argz_stringify_internal): Remove declaration.
39582 (__argz_count, __argz_stringify): Declare hidden proto.
39583 * intl/dcgettext.c: Remove use of INTDEF.
39584 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39585 * string/argz-stringify.c: Likewise.
39586 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39587 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39588 Declare hidden proto.
39589 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39590 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39591 Declare hidden proto.
39592 * include/stdio.h (__asprintf_internal): Don't declare.
39593 (__asprintf): Don't define as macro. Declare hidden proto.
39594 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39595 (__fsetlocking): Declare hidden proto.
39596 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39597 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39599 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39600 (_IO_setlinebuf): Remove use of INTUSE.
39601 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39602 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39603 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39604 Remove declaration.
39605 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39606 (_IO_do_flush): Remove use of INTUSE.
39607 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39608 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39609 (_IO_adjust_column, _IO_least_wmarker)
39610 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39611 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39612 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39613 (_IO_default_doallocate, _IO_wdefault_doallocate)
39614 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39615 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39616 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39617 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39618 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39619 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39620 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39621 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39622 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39623 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39624 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39625 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39626 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39628 (_IO_flush_all_internal, _IO_adjust_column_internal)
39629 (_IO_default_uflow_internal, _IO_default_finish_internal)
39630 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39631 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39632 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39633 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39634 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39635 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39636 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39637 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39638 (_IO_file_close_internal, _IO_file_close_it_internal)
39639 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39640 (_IO_file_init_internal, _IO_file_attach_internal)
39641 (_IO_file_fopen_internal, _IO_file_read_internal)
39642 (_IO_file_sync_internal, _IO_file_seek_internal)
39643 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39644 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39645 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39646 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39647 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39648 (_IO_list_all_internal, _IO_link_in_internal)
39649 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39650 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39651 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39652 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39653 (_IO_do_write_internal, _IO_padn_internal)
39654 (_IO_getline_info_internal, _IO_getline_internal)
39655 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39656 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39657 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39658 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39659 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39660 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39661 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39662 with libc_hidden_ver, remove use of INTUSE.
39663 * libio/genops.c: Likewise.
39664 * libio/freopen.c: Likewise.
39665 * libio/freopen64.c: Likewise.
39666 * libio/iofclose.c: Likewise.
39667 * libio/iofdopen.c: Likewise.
39668 * libio/iofflush.c: Likewise.
39669 * libio/iofflush_u.c: Likewise.
39670 * libio/iofgets.c: Likewise.
39671 * libio/iofgets_u.c: Likewise.
39672 * libio/iofopen.c: Likewise.
39673 * libio/iofopncook.c: Likewise.
39674 * libio/iofread.c: Likewise.
39675 * libio/iofread_u.c: Likewise.
39676 * libio/ioftell.c: Likewise.
39677 * libio/iofwrite.c: Likewise.
39678 * libio/iogetline.c: Likewise.
39679 * libio/iogets.c: Likewise.
39680 * libio/iogetwline.c: Likewise.
39681 * libio/iopadn.c: Likewise.
39682 * libio/iopopen.c: Likewise.
39683 * libio/ioseekoff.c: Likewise.
39684 * libio/ioseekpos.c: Likewise.
39685 * libio/iosetbuffer.c: Likewise.
39686 * libio/iosetvbuf.c: Likewise.
39687 * libio/ioungetc.c: Likewise.
39688 * libio/ioungetwc.c: Likewise.
39689 * libio/iovdprintf.c: Likewise.
39690 * libio/iovsprintf.c: Likewise.
39691 * libio/iovsscanf.c: Likewise.
39692 * libio/memstream.c: Likewise.
39693 * libio/obprintf.c: Likewise.
39694 * libio/oldfileops.c: Likewise.
39695 * libio/oldiofclose.c: Likewise.
39696 * libio/oldiofdopen.c: Likewise.
39697 * libio/oldiofopen.c: Likewise.
39698 * libio/oldiopopen.c: Likewise.
39699 * libio/oldstdfiles.c: Likewise.
39700 * libio/putc.c: Likewise.
39701 * libio/setbuf.c: Likewise.
39702 * libio/setlinebuf.c: Likewise.
39703 * libio/stdfiles.c: Likewise.
39704 * libio/strops.c: Likewise.
39705 * libio/vasprintf.c: Likewise.
39706 * libio/vscanf.c: Likewise.
39707 * libio/vsnprintf.c: Likewise.
39708 * libio/vswprintf.c: Likewise.
39709 * libio/wfiledoalloc.c: Likewise.
39710 * libio/wfileops.c: Likewise.
39711 * libio/wgenops.c: Likewise.
39712 * libio/wmemstream.c: Likewise.
39713 * libio/wstrops.c: Likewise.
39714 * libio/__fpurge.c: Likewise.
39715 * libio/__fsetlocking.c: Likewise.
39716 * assert/assert.c: Likewise.
39717 * debug/fgets_chk.c: Likewise.
39718 * debug/fgets_u_chk.c: Likewise.
39719 * debug/fread_chk.c: Likewise.
39720 * debug/fread_u_chk.c: Likewise.
39721 * debug/gets_chk.c: Likewise.
39722 * debug/obprintf_chk.c: Likewise.
39723 * debug/vasprintf_chk.c: Likewise.
39724 * debug/vdprintf_chk.c: Likewise.
39725 * debug/vsnprintf_chk.c: Likewise.
39726 * debug/vsprintf_chk.c: Likewise.
39727 * malloc/mtrace.c: Likewise.
39728 * misc/error.c: Likewise.
39729 * misc/syslog.c: Likewise.
39730 * stdio-common/asprintf.c: Likewise.
39731 * stdio-common/fxprintf.c: Likewise.
39732 * stdio-common/getw.c: Likewise.
39733 * stdio-common/isoc99_fscanf.c: Likewise.
39734 * stdio-common/isoc99_scanf.c: Likewise.
39735 * stdio-common/isoc99_vfscanf.c: Likewise.
39736 * stdio-common/isoc99_vscanf.c: Likewise.
39737 * stdio-common/isoc99_vsscanf.c: Likewise.
39738 * stdio-common/printf-prs.c: Likewise.
39739 * stdio-common/printf_fp.c: Likewise.
39740 * stdio-common/printf_fphex.c: Likewise.
39741 * stdio-common/printf_size.c: Likewise.
39742 * stdio-common/putw.c: Likewise.
39743 * stdio-common/scanf.c: Likewise.
39744 * stdio-common/sprintf.c: Likewise.
39745 * stdio-common/tmpfile.c: Likewise.
39746 * stdio-common/vfprintf.c: Likewise.
39747 * stdio-common/vfscanf.c: Likewise.
39748 * stdlib/strfmon_l.c: Likewise.
39749 * sunrpc/openchild.c: Likewise.
39750 * sunrpc/xdr_stdio.c: Likewise.
39751 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39752 * sysdeps/mach/hurd/tmpfile.c: Likewise.
39754 2012-05-24 Roland McGrath <roland@hack.frob.com>
39756 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39758 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39759 in the third column, to generate for the shared library an IFUNC
39760 that uses _dl_vdso_vsym.
39761 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39762 * Makeconfig (object-suffixes-noshared): New variable.
39764 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39765 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39766 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39767 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39770 * include/sys/time.h (__gettimeofday): Remove macro.
39771 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39772 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39774 (__gettimeofday): Add libc_hidden_def.
39775 (gettimeofday): Add libc_hidden_weak.
39776 * sysdeps/mach/gettimeofday.c: Likewise.
39777 * sysdeps/posix/gettimeofday.c: Likewise.
39778 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39779 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39781 (__gettimeofday_internal): Remove strong_alias.
39782 (__gettimeofday): Add libc_hidden_def.
39783 (gettimeofday): Add libc_hidden_weak.
39784 * sysdeps/unix/syscalls.list (gettimeofday):
39785 Remove __gettimeofday_internal alias.
39787 2012-05-24 Daniel Jacobowitz <drow@false.org>
39788 H.J. Lu <hongjiu.lu@intel.com>
39791 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39792 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39793 (largebin_index_32_big): New.
39794 (largebin_index): Use it for 16-byte alignment.
39795 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39796 correction with front_misalign.
39798 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39826 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39827 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39829 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39833 * math/libm-test.inc (exp_test): Add test from bug 14036.
39834 (pow_test): Add test from bug 10846.
39836 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39838 (special_function): Do not include flags in test name.
39839 (parse_args): Likewise.
39840 * sysdeps/i386/fpu/libm-test-ulps: Update.
39841 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39842 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39843 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39846 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39848 * math/libm-test.inc ("Philosophy"): Update comment about
39850 (UNDERFLOW_EXCEPTION): New macro.
39851 (UNDERFLOW_EXCEPTION_OK): Likewise.
39852 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39853 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39854 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39855 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39856 (INVALID_EXCEPTION_OK): Update value.
39857 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39858 (OVERFLOW_EXCEPTION_OK): Likewise.
39859 (IGNORE_ZERO_INF_SIGN): Likewise.
39860 (test_exceptions): Handle underflow exceptions.
39861 (acos_test): Update for underflow exception expectations.
39862 (cexp_test): Likewise.
39863 (clog_test): Likewise.
39864 (clog10_test): Likewise.
39865 (csqrt_test): Likewise.
39866 (ctan_test): Likewise.
39867 (ctanh_test): Likewise.
39868 (exp_test): Likewise.
39869 (exp10_test): Likewise.
39870 (exp2_test): Likewise.
39871 (expm1_test): Likewise.
39872 (fma_test): Likewise.
39873 (j0_test): Likewise.
39874 (jn_test): Likewise.
39875 (nexttoward_test): Likewise.
39876 (pow_test): Likewise.
39877 (scalbn_test): Likewise.
39878 (scalbln_test): Likewise.
39879 (tan_test): Likewise.
39880 (y1_test): Likewise.
39881 * sysdeps/i386/fpu/libm-test-ulps: Update.
39882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39884 2012-05-23 David S. Miller <davem@davemloft.net>
39886 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39887 (__libc_sigaction): Remove unused local variables.
39889 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39891 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39893 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39895 mktime: avoid signed integer overflow
39896 * time/mktime.c (__mktime_internal): Do not mishandle the case
39897 where diff == INT_MIN.
39899 mktime: simplify computation of average
39900 * time/mktime.c (ranged_convert): Use new time_t_avg function
39901 instead of rolling our own (probably-slower) code.
39903 mktime: do not assume signed right shift propagates sign bit
39904 * time/mktime.c (isdst_differ): New static function.
39905 (__mktime_internal): No need to normalize tm_isdst now.
39906 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39909 mktime: merge another wrapv change from gnulib
39910 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39911 from some compilers.
39913 mktime: remove incorrect attempt at unusual arithmetics
39914 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39915 The code didn't really work on such machines anyway.
39916 (TYPE_MINIMUM): Assume two's complement.
39917 (twos_complement_arithmetic): Verify that long_int and time_t
39918 are two's complement (or unsigned, in the latter case).
39920 mktime: check signed shifts on long_int and time_t, too
39921 * time/mktime.c (SHR): Check that shifts work as desired
39922 on the types long_int and time_t too, as SHR is used on
39925 mktime: do not assume 'long' is wide enough
39926 * time/mktime.c (verify): Move decl up.
39927 (long_int): New type.
39928 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39929 to remove assumption in the code that 'long' is wide enough to
39930 store year values. This assumption is not true on x32 and on
39931 some non-glibc platforms.
39933 mktime: merge wrapv change from gnulib
39934 * time/mktime.c (WRAPV): New macro.
39935 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39936 (guess_time_tm, __mktime_internal): Do not assume that signed
39937 integer overflow wraps around; modern compilers generate code
39938 where this assumption is no longer valid.
39940 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39942 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39943 Replace "jmp L(pseudo_end)" with "ret".
39944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39947 2012-05-23 Andreas Jaeger <aj@suse.de>
39949 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39950 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39952 2012-05-23 Andreas Jaeger <aj@suse.de>
39953 Maximilian Attems <max@stro.at>
39955 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39958 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39960 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39961 code so that pseudo_end is just ret and the stack pointer is
39962 correct also for static library in error case.
39964 2012-05-23 Joseph Myers <joseph@codesourcery.com>
39966 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39967 move to syscalls.list.
39968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39973 * manual/install.texi (Running make install): Do not mention Linux
39974 kernel version for which pt_chown is not needed.
39975 (Linux): Do not mention problems with nscd with 2.0 kernels.
39976 * INSTALL: Regenerated.
39978 2012-05-23 Andreas Jaeger <aj@suse.de>
39980 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39981 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39983 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39984 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39985 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39986 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39987 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39988 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39990 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39991 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39992 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39993 * sysdeps/unix/sysv/linux/bits/in.h
39994 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39996 2012-05-22 Roland McGrath <roland@hack.frob.com>
39998 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39999 (PREPARE_VERSION): Just use assert instead, it will be elided
40000 under [NDEBUG] anyway.
40002 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40004 * sysdeps/unix/sysv/linux/Makefile: Include
40005 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40006 (sysdep_routines): Remove sysctl.
40007 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40008 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40009 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40010 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40011 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40013 2012-05-22 Andreas Jaeger <aj@suse.de>
40015 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40016 that pseudo_end is just ret and the stack pointer is correct also
40017 for static library in error case.
40019 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40022 * nss/nsswitch.c (defconfig_entries): New variable.
40023 (__nss_database_lookup): Don't leak defconfig entries.
40024 (nss_parse_service_list): Don't leak on error paths.
40025 (free_database_entries): New function.
40026 (free_defconfig): New function.
40027 (free_mem): Move common code to free_database_entries.
40029 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40031 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40033 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40035 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40036 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40039 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40040 (INTERNAL_SYSCALL_TYPES): Likewise.
40041 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40042 (LOAD_REGS_TYPES_[1-6]): Likewise.
40043 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40044 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40046 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40048 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40049 copysignl for GLIBC_2_0.
40050 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40051 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40053 logbl for GLIBC_2_0.
40054 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40055 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40057 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40060 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40062 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40065 * time/mktime.c: Update copyright years.
40067 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40069 mktime: merge comment-quoting-style change from gnulib
40070 * time/mktime.c: Quote 'like this' in comments.
40071 The GNU coding standards suggest that we no longer quote `like this',
40072 as "`" and "'" are typically rendered asymmetrically nowadays.
40073 The typical gnulib style is to quote 'like this' when quoting
40074 code, and "like this" when quoting English.
40076 * time/mktime.c (compile-command): Add "-I.".
40078 mktime: merge mktime-internal.h change from gnulib
40079 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40081 mktime: merge time_r change from gnulib
40082 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40084 mktime: merge DEBUG change from gnulib
40085 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40086 case system <time.h> has a #define.
40088 mktime: merge <sys/types.h> change from gnulib
40089 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40090 since <time.t> is now guaranteed to define time_t.
40092 mktime: merge HAVE_CONFIG_H change from gnulib
40093 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40095 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40100 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40102 (struct rusage): Use anonymous union to pad each field to
40105 2012-05-21 David S. Miller <davem@davemloft.net>
40107 * Makefules (o-iterator): Remove .s cases.
40108 (compile-command.s): Delete.
40109 (COMPILE.s): Delete.
40110 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40112 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40114 * configure.in (libc_cv_predef_stack_protector): Only consider
40115 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40116 * configure: Regenerated.
40118 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40121 New macro. Use R*LP on int and pointer.
40122 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40123 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40124 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40125 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40127 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40128 [__WORDSIZE_TIME64_COMPAT32] instead of
40129 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40130 (struct utmp): Likewise.
40131 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40132 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40134 (__WORDSIZE_TIME64_COMPAT32): This.
40135 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40136 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40137 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40138 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40139 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40140 (__WORDSIZE_TIME64_COMPAT32): New macro.
40142 2012-05-21 Andreas Jaeger <aj@suse.de>
40144 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40145 only if [SHARED]. Add prototype for __wcschr_ia32.
40147 2012-05-21 Roland McGrath <roland@hack.frob.com>
40149 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40150 of %rbp unmolested in the jmp_buf while mangling the low bits.
40151 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40152 unmolested high bits of %rbp while demangling the low bits.
40153 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40155 2012-05-21 Andreas Jaeger <aj@suse.de>
40157 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40158 * sunrpc/svc_simple.c: Use it for registerrpc.
40159 * sunrpc/xcrypt.c: Use it for passwd2des.
40161 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40163 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40165 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40166 Don't define if [__SYSCALL_WORDSIZE != 32].
40167 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40170 2012-05-21 Bruno Haible <bruno@clisp.org>
40171 Andreas Jaeger <aj@suse.de>
40173 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40174 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40175 inptr and inend for must_buffer_ch.
40176 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40177 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40178 * stdio-common/Makefile (tests): Remove bug15.
40179 (bug15-ENV): Remove macro.
40180 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40183 2012-05-19 Andreas Jaeger <aj@suse.de>
40184 Roland McGrath <roland@hack.frob.com>
40186 * manual/contrib.texi: Completely rewritten. It contains now an
40187 alphabetical list of contributors and their contributions.
40189 2012-05-21 Richard Henderson <rth@twiddle.net>
40191 * misc/getauxval.c (__getauxval): Use unsigned long int.
40192 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40193 (getauxval): Use unsigned long int.
40195 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40197 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40199 2012-05-21 Roland McGrath <roland@hack.frob.com>
40201 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40202 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40203 __alignof__ (long double).
40205 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40209 2012-05-20 Richard Henderson <rth@twiddle.net>
40211 * misc/getauxval.c: New file.
40212 * misc/sys/auxv.h: New file.
40213 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40214 (routines): Add getauxval.
40215 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40216 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40217 * elf/dl-sysdep.c (_dl_auxv): Remove.
40218 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40219 * elf/dl-support.c (_dl_auxv): New variable.
40220 (_dl_aux_init): Initialize it.
40221 * manual/startup.texi (Auxiliary Vector): New node.
40222 * sysdeps/generic/bits/hwcap.h: New file.
40223 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40224 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40225 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40226 * sysdeps/sparc/sysdep.h: ... here. Include it.
40227 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40228 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40240 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40244 2012-05-19 David S. Miller <davem@davemloft.net>
40246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40248 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40251 * math/s_ccosh.c: Include <float.h>
40252 (__ccosh): Avoid internal overflow calculating sinh and cosh
40253 values before multiplying by sin and cos values.
40254 * math/s_ccoshf.c: Likewise.
40255 * math/s_ccoshl.c: Likewise.
40256 * math/s_csin.c: Likewise.
40257 * math/s_csinf.c: Likewise.
40258 * math/s_csinl.c: Likewise.
40259 * math/s_csinh.c: Likewise.
40260 * math/s_csinhf.c: Likewise.
40261 * math/s_csinhl.c: Likewise.
40262 * math/libm-test.inc (ccos_test): Add more tests.
40263 (ccosh_test): Likewise.
40264 (csin_test): Likewise.
40265 (csinh_test): Likewise.
40266 * sysdeps/i386/fpu/libm-test-ulps: Update.
40267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40269 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40271 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40272 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40274 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40276 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40278 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40279 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40280 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40281 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40282 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40283 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40284 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40285 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40286 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40287 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40288 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40289 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40290 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40291 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40292 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40293 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40294 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40295 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40296 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40297 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40298 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40299 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40300 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40301 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40302 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40303 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40304 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40305 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40306 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40307 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40308 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40310 2012-05-18 Andreas Jaeger <aj@suse.de>
40312 * csu/.gitignore: Delete.
40314 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40316 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40317 (timex): Use __syscall_slong_t.
40319 2012-05-18 Andreas Jaeger <aj@suse.de>
40320 Carlos O'Donell <carlos_odonell@mentor.com>
40322 * manual/install.texi (Configuring and compiling): Update
40323 description about files modified in the source directory.
40324 * INSTALL: Regenerated.
40326 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40328 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40329 value. Use "or" to set return value to -1.
40330 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40331 negate return value.
40333 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40335 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40336 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40337 failure if the compiler has Graphite support disabled.
40338 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40340 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40341 (CFLAGS-memmove.c): Likewise.
40342 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40345 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40347 * sysdeps/x86_64/x32/_itoa.h: New file.
40349 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40350 getdents system call only if kernel and user dirents have the
40351 same d_ino and d_off.
40353 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40354 LLONG_MAX != LONG_MAX.
40355 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40356 (_fitoa_word): Likewise.
40358 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40360 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40361 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40362 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40364 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40365 include <bits/wordsize.h>. Check __x86_64__ instead of
40367 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40368 if __x86_64__ is defined. Use anonymous union on fpstate.
40370 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40373 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40375 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40376 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40377 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40378 Refer to _rtld_local_ro instead of _rtld_global_ro.
40379 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40381 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40383 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40385 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40386 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40387 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40389 * sysdeps/powerpc/powerpc32/dl-machine.c
40390 (__elf_machine_runtime_setup) [PROF]: Don't reference
40393 2012-05-18 Andreas Jaeger <aj@suse.de>
40395 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40396 function only available for GCCs before 3.4 since GCC 3.4
40397 introduced a builtin.
40399 (llrintf): Likewise.
40400 (llrint): Likewise.
40407 (nearbyint): Likewise.
40408 (nearbyintf): Likewise.
40412 (floorf): Likewise.
40414 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40416 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40417 on both fields and cast pointer to __syscall_ulong_t.
40419 * bits/types.h (__fsword_t): New type.
40420 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40421 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40423 (__FSWORD_T_TYPE): Likewise.
40424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40425 (__FSWORD_T_TYPE): Likewise.
40426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40427 (__FSWORD_T_TYPE): Likewise.
40428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40429 (__FSWORD_T_TYPE): Likewise.
40430 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40431 __SWORD_TYPE with __fsword_t.
40432 (statfs64): Likewise.
40434 2012-05-17 David S. Miller <davem@davemloft.net>
40436 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40438 2012-05-17 Andreas Jaeger <aj@suse.de>
40440 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40443 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40445 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40447 2012-05-17 Andreas Jaeger <aj@suse.de>
40449 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40452 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40454 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40456 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40458 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40459 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40461 2012-05-17 Andreas Jaeger <aj@suse.de>
40462 Carlos O'Donell <carlos_odonell@mentor.com>
40465 * sysdeps/x86_64/multiarch/init-arch.h
40466 (bit_YMM_Usable): Rename to...
40467 (bit_AVX_Usable): ... this.
40468 (bit_FMA4_Usable): New macro.
40469 (bit_XMM_state): New macro.
40470 (bit_YMM_state): New macro.
40471 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40472 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40473 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40474 (CPUID_OSXSAVE): New macro.
40475 (CPUID_AVX): New macro.
40476 (CPUID_FMA4): New macro.
40477 (index_YMM_Usable): Rename to...
40478 (index_AVX_Usable): ... this.
40479 (HAS_AVX): Use HAS_ARCH_FEATURE.
40480 (HAS_FMA4): Likewise.
40481 (HAS_YMM_USABLE): Remove.
40482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40483 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40485 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40486 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40487 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40488 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40489 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40491 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40493 * math/libm-test.c: Support platforms without multiple rounding modes.
40494 * math/bug-nextafter.c: Support platforms without FP exceptions.
40495 * math/bug-nexttoward.c: Likewise.
40496 * math/test-fenv.c: Likewise.
40497 * math/test-misc.c: Likewise.
40498 * stdlib/bug-getcontext.c: Likewise.
40500 2012-05-17 Andreas Jaeger <aj@suse.de>
40502 * manual/examples/search.c (critter_cmp): Change signature to
40504 * manual/string.texi (Collation Functions): Likewise.
40506 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40508 * bits/types.h: Fold copyright years.
40509 * bits/typesizes.h: Likewise.
40510 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40511 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40514 * time/time.h: Likewise.
40516 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40519 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40520 in instead of returning them. Return void.
40521 (__libc_mallinfo): Accumulate over all arenas.
40522 (__malloc_stats): Adjust for change in int_mallinfo interface.
40524 2012-05-16 Roland McGrath <roland@hack.frob.com>
40527 * configure.in (NM): Add AC_CHECK_TOOL for it.
40528 (libc_extra_cflags): New substituted variable.
40529 Check for -fstack-protector being used implicitly.
40530 * configure: Regenerated.
40531 * config.make.in (config-extra-cflags): New variable,
40532 gets @libc_extra_cflags@.
40533 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40536 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40537 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40538 * configure: Regenerated.
40539 * config.make.in (CPPUNDEFS): New substituted variable.
40540 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40541 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40542 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40544 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40546 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40547 (mq_attr): Use __syscall_slong_t.
40549 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40551 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40552 Check __x86_64__ instead of __WORDSIZE.
40553 (_STAT_VER_LINUX): Likewise.
40554 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40555 __syscall_ulong_t and __syscall_slong_t.
40556 (stat64): Likewise.
40558 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40560 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40562 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40564 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40566 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40568 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40571 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40572 include <bits/wordsize.h>. Check __x86_64__ instead of
40574 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40576 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40578 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40579 include <bits/wordsize.h>. Check __x86_64__ instead of
40581 (user_regs_struct): Use "__extension__ unsigned long long"
40582 instead of "unsigned long" if __x86_64__ is defined.
40583 (user): Likewise. Pad after pointer field if __ILP32__ is
40586 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40588 * configure.in (makeinfo): Require version 4.5 or later. Allow
40590 * configure: Regenerated.
40591 * manual/install.texi (texinfo): Increase version requirement to
40593 * INSTALL: Regenerated.
40595 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40597 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40599 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40601 * sysdeps/x86_64/x32/ffs.c: New file.
40603 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40605 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40606 defined. Use __syscall_ulong_t.
40607 (shminfo): Use __syscall_ulong_t.
40608 (shm_info): Likewise.
40610 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40613 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40615 (msgqnum_t): Use __syscall_ulong_t.
40616 (msglen_t): Likewise.
40617 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40620 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40621 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40623 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40625 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40626 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40628 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40631 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40632 include <bits/wordsize.h>. Check __x86_64__ instead of
40635 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40636 "unsigned long long int" if __x86_64__ is defined.
40637 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40639 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40640 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40641 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40643 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40645 (GET_PC): Cast to uintptr_t first.
40646 (GET_FRAME): Likewise.
40647 (GET_STACK): Likewise.
40649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40650 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40651 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40652 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40653 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40654 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40655 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40656 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40657 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40658 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40659 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40660 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40661 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40662 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40663 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40664 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40665 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40666 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40667 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40668 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40669 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40670 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40671 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40672 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40673 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40675 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40677 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40679 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40681 * Makerules (+depfiles): Also collect depfiles from .oS in
40683 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40684 .oS, $(libnldbl-routines)).
40686 * Makerules (native-compile-mkdep-flags): Define.
40687 * sunrpc/Makefile (extra-objs): Add $(addprefix
40688 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40689 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40690 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40691 calling $(make-target-directory).
40693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40695 * bits/types.h (__snseconds_t): Removed.
40696 * time/time.h (struct timespec): Replace __snseconds_t with
40698 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40699 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40701 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40702 (__SNSECONDS_T_TYPE): Likewise.
40703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40704 (__SNSECONDS_T_TYPE): Likewise.
40705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40706 (__SNSECONDS_T_TYPE): Likewise.
40708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40710 * sysdeps/mach/hurd/bits/typesizes.h
40711 (__SYSCALL_SLONG_TYPE): New macro.
40712 (__SYSCALL_ULONG_TYPE): Likewise.
40714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40716 * bits/types.h (__syscall_slong_t): New type.
40717 (__syscall_ulong_t): Likewise.
40719 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40720 (__SYSCALL_ULONG_TYPE): Likewise.
40721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40722 (__SYSCALL_SLONG_TYPE): Likewise.
40723 (__SYSCALL_ULONG_TYPE): Likewise.
40724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40725 (__SYSCALL_SLONG_TYPE): Likewise.
40726 (__SYSCALL_ULONG_TYPE): Likewise.
40727 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40728 (__SYSCALL_SLONG_TYPE): Likewise.
40729 (__SYSCALL_ULONG_TYPE): Likewise.
40731 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40733 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40734 Add sigaltstack-offsets.sym.
40735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40736 <sigaltstack-offsets.h>.
40737 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40738 longjmp_msg pointer.
40739 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40740 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40742 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40744 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40746 * elf/stackguard-macros.h: Remove file.
40747 * sysdeps/generic/stackguard-macros.h: New file.
40748 * sysdeps/i386/stackguard-macros.h: Likewise.
40749 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40750 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40751 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40752 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40753 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40754 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40755 * sysdeps/x86_64/stackguard-macros.h: Likewise.
40756 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40757 <elf/stackguard-macros.h>.
40760 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40761 __aligned__ in attribute.
40762 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40763 (gregset_t): Likewise.
40765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40767 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40768 * sysdeps/x86_64/64/Implies-after: Here. New file.
40769 * sysdeps/x86_64/x32/Implies-after: New file.
40771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40773 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40774 and access return value for _dl_profile_fixup. Use R10_LP to
40777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40779 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40783 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40784 * sysdeps/x86_64/x32/sysdep.h: New file.
40786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40788 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40789 * sysdeps/x86_64/setjmp.S: Likewise.
40791 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40793 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40794 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40795 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40796 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40797 remove unused global constant.
40799 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40801 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40802 include of <not-cancel.h>.
40804 2012-05-15 Roland McGrath <roland@hack.frob.com>
40806 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40808 2012-05-15 Jeff Law <law@redhat.com>
40809 Andreas Jaeger <aj@suse.de>
40812 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40814 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40815 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40816 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40817 code changing __hst_map_handle.map.
40819 2012-05-15 Roland McGrath <roland@hack.frob.com>
40821 * configure.in (sysnames): Look for Implies-before and Implies-after
40823 * configure: Regenerated.
40825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40827 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40828 8-byte data alignment with LP_SIZE alignment.
40830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40832 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40837 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40841 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40842 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40843 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40845 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40849 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40850 (stackinfo_sub_sp): Likewise.
40852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40854 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40864 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40869 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40873 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40874 into R11_LP and load __x86_64_shared_cache_size_half into
40877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40882 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40890 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40891 powerpc32/power7/fpu/s_logb.c via #include.
40892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40893 powerpc32/power7/fpu/s_logbf.c via #include.
40894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40895 powerpc32/power7/fpu/s_logbl.c via #include.
40897 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40899 * README.libm: Remove file.
40901 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40903 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40904 count for x32. Use R*_LP and omit operand-size suffix.
40906 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40908 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40909 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40910 * sysdeps/x86_64/x32/shlib-versions: New file.
40912 2012-05-14 Roland McGrath <roland@hack.frob.com>
40914 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40915 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40916 Use _dl_fatal_printf instead.
40918 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40920 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40921 set if not set by the user. Do not allow for being unset.
40922 * sysdeps/unix/sysv/linux/configure: Regenerated.
40924 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40926 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40927 the `q' suffix from lea and replace .quad with ASM_ADDR.
40929 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40932 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40934 (PTR_DEMANGLE): Likewise.
40936 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40938 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40940 (ASM_ADDR): Likewise.
40941 (RAX_LP): Likewise.
40942 (RBP_LP): Likewise.
40943 (RBX_LP): Likewise.
40944 (RCX_LP): Likewise.
40945 (RDI_LP): Likewise.
40946 (RSI_LP): Likewise.
40947 (RSP_LP): Likewise.
40950 (R10_LP): Likewise.
40951 (R10_LP): Likewise.
40952 (R11_LP): Likewise.
40953 (R12_LP): Likewise.
40954 (R13_LP): Likewise.
40955 (R14_LP): Likewise.
40956 (R15_LP): Likewise.
40958 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40960 * sysdeps/x86_64/x32/dl-machine.h: New file.
40962 2012-05-14 Andreas Jaeger <aj@suse.de>
40964 * manual/Makefile (subdir): Remove export of subdir.
40965 (all): Remove target.
40966 (.PHONY): Remove all from list.
40967 (mkinstalldirs): Remove.
40968 (.PHONY): Remove installdirs from list.
40969 ($(inst_infodir)/libc.info): Use make-target-directory.
40970 (installdirs): Remove.
40971 (subdir_%): Remove.
40972 (glibc-targets): Remove.
40975 ($(objpfx)stubs ../po/manual.pot): Remove.
40976 ($(objpfx)stamp%): Remove.
40977 (make-target-directory): Remove.
40978 (subdir_install): Remove.
40979 (routines): Remove.
40986 * manual/.gitignore: Remove, it's not needed anymore.
40987 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40989 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40991 (texis): Renamed to $(objpfx)texis.
40992 (texis-path): New, contains path to generated files.
40993 (chapters.%): Use texis-path for complete path, add extra argument
40995 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40996 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40997 (summary,texi, stamp-summary): Use complete path of
40998 files. Generate files in build dir.
40999 (dir-add.texi): Build in build dir.
41000 (libm-err.texi,stamp-libm-err): Likewise.
41001 (version.texi, stamp-version): Likewise.
41002 (.%c.texi): Likewise.
41003 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41004 (mostlyclean): Remove target.
41005 (realclean): Remove target.
41006 (generated): Add new variable with contents from mostlyclean and
41007 realclean, remove entries duplicated in common-mostlyclean, add
41008 stamp-libm-err and stamp-version.
41009 (generated-dirs): Add libc directory.
41010 ($(inst_infodir)/libc.info): Install files from build dir.
41012 * manual/install.texi (Configuring and compiling): Adjust since
41013 the info files are not part of the tar ball anymore.
41015 2012-05-14 Andreas Jaeger <aj@suse.de>
41017 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41020 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41024 to 2.2.0 where earlier.
41025 * sysdeps/unix/sysv/linux/configure: Regenerated.
41026 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41027 Remove conditional code.
41028 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41029 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41030 Remove conditional code.
41031 [!__NR_lchown]: Likewise.
41032 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41033 [__NR_lchown]: Likewise.
41034 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41035 comment referencing __ASSUME_LCHOWN_SYSCALL.
41036 * sysdeps/unix/sysv/linux/i386/sigaction.c
41037 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41038 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41039 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41040 Remove conditional code.
41041 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41042 (__protocol_available): Remove #if 0 code.
41043 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41045 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41046 * sysdeps/unix/sysv/linux/kernel-features.h
41047 (__ASSUME_GETCWD_SYSCALL): Don't define.
41048 (__ASSUME_REALTIME_SIGNALS): Likewise.
41049 (__ASSUME_PREAD_SYSCALL): Likewise.
41050 (__ASSUME_PWRITE_SYSCALL): Likewise.
41051 (__ASSUME_POLL_SYSCALL): Likewise.
41052 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41053 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41055 (__ASSUME_SIOCGIFNAME): Don't define.
41056 (__ASSUME_MSG_NOSIGNAL): Likewise.
41057 (__ASSUME_SENDFILE): Define unconditionally.
41058 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41059 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41061 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41062 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41063 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41064 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41065 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41066 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41067 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41069 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41072 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41075 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41078 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41081 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41082 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41084 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41087 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41088 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41090 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41092 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41093 Remove conditional code.
41094 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41095 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41096 Remove conditional code.
41097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41098 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41099 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41100 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41101 Remove conditional code.
41102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41103 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41104 Remove conditional code.
41105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41106 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41107 Remove conditional code.
41108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41109 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41110 Remove conditional code.
41111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41112 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41113 Remove conditional code.
41114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41115 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41116 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41118 * sysdeps/unix/sysv/linux/sigaction.c
41119 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41120 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41121 * sysdeps/unix/sysv/linux/sigpending.c
41122 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41123 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41124 * sysdeps/unix/sysv/linux/sigprocmask.c
41125 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41126 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41127 * sysdeps/unix/sysv/linux/sigsuspend.c
41128 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41129 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41130 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41131 (__libc_missing_rt_sigs): Remove.
41132 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41133 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41134 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41135 Remove conditional code.
41136 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41137 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41139 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41140 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41141 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41142 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41144 2012-05-14 Andreas Jaeger <aj@suse.de>
41146 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41147 it's not used in glibc.
41148 (__coshm1): Likewise.
41149 (__acosh1p): Likewise.
41152 * manual/string.texi (Copying and Concatenation): Add missing
41153 variable in concat example.
41154 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41156 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41159 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41160 __builtin_clzl with __builtin_clzll.
41162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41165 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41168 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41170 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41171 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41172 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41173 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41175 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41177 * NEWS: Update ia64 info.
41179 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41181 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41184 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41186 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41187 * sysdeps/unix/syscalls.list (dup3): Likewise.
41188 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41189 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41191 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41193 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41194 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41196 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41198 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41200 (TLS_IE): Use mov/add instead of movq/addq to load thread
41202 (TLS_GD_PREFIX): New.
41205 2012-05-11 David S. Miller <davem@davemloft.net>
41207 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41208 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41209 (_FPU_SETCW): Likewise.
41211 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41213 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41214 is 32-byte aligned.
41216 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41219 * iconvdata/gb18030.c: Update tables.
41220 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41221 characters specially.
41222 (BODY for TO_LOOP): Add encoding of missing ranges.
41224 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41227 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41228 * sysdeps/mach/hurd/dup3.c: Likewise.
41229 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41230 * sysdeps/powerpc/memmove.c:: Likewise.
41232 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41234 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41235 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41237 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41239 * elf/elf.h (R_X86_64_RELATIVE64): New.
41240 (R_X86_64_NUM): Updated.
41241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41242 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41243 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41244 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41245 tst-quad1pie tst-quad2pie
41246 (modules-names): Add tst-quadmod1 tst-quadmod2.
41247 ($(objpfx)tst-quad1): New dependency.
41248 ($(objpfx)tst-quad2): Likewise.
41249 ($(objpfx)tst-quad1pie): Likewise.
41250 ($(objpfx)tst-quad2pie): Likewise.
41251 * sysdeps/x86_64/tst-quad1.c: New file.
41252 * sysdeps/x86_64/tst-quad1pie.c: New file.
41253 * sysdeps/x86_64/tst-quad2.c: Likewise.
41254 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41255 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41256 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41257 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41258 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41260 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41262 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41263 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41264 * streams/stropts.h (t_scalar_t): Define type.
41266 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41267 (_PATH_PRESERVE): Set to "/var/lib".
41268 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41270 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41273 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41274 if __dir_mkfile succeeded.
41276 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41277 checking for _hurd_dtablesize. Unlock it right after having
41278 finished _hurd_dtable allocation.
41280 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41282 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41283 * sysdeps/mach/hurd/configure: Regenerated.
41284 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41285 special-casing to...
41286 * sysdeps/gnu/configure.in: ... this new file.
41287 * sysdeps/unix/sysv/linux/configure: Regenerated.
41288 * sysdeps/gnu/configure: New generated file.
41290 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41291 for Linux: use nsec instead of usec, as well as:
41292 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41293 members of type struct timespec.
41294 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41296 (struct stat64): Likewise.
41297 (_STATBUF_ST_NSEC): New macro.
41298 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41300 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41301 __strtoul_internal rather than strtoul.
41303 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41305 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41308 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41310 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41311 which preserves existing values.
41312 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41314 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41316 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41317 TIMEOUT values. Return EINVAL for NFDS values either negative or
41318 greater than FD_SETSIZE.
41320 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41322 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41323 allocated, call __vm_protect to finish enabling the existing space, and
41324 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41325 allocate the remainder.
41327 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41329 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41330 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41332 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41334 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41335 sysdeps/mach/hurd/readlink.c.
41337 * posix/tst-sysconf.c (posix_options): Only use
41338 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41339 _POSIX_SYNCHRONIZED_IO when they are defined
41340 * sysdeps/mach/hurd/bits/posix_opt.h:
41341 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41342 (_XOPEN_REALTIME): Undefine macro.
41343 (_XOPEN_REALTIME_THREADS): Undefine macro.
41344 (_XOPEN_SHM): Undefine macro.
41345 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41347 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41349 (_POSIX_ASYNC_IO): Undefine macro.
41350 (_POSIX_PRIORITIZED_IO): Undefine macro.
41351 (_POSIX_SPIN_LOCKS): Define macro to -1.
41353 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41354 SA_NODEFER, SA_RESETHAND.
41355 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41356 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41359 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41361 * elf/Makefile (pldd-modules): Define unconditionally.
41363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41365 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41367 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41369 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41370 Return ENOENT when name is empty.
41371 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41373 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41375 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41377 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41381 Fix mlock in all cases except non-readable pages.
41382 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41383 instead of VM_PROT_ALL as parameter to __vm_wire function.
41385 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41386 (__mkdir): When path is `/', just fail with EEXIST.
41387 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41389 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41391 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41392 <sys/uio.h> (for writev).
41393 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41394 and <sys/param.h> (for MIN).
41396 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41398 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41399 REQUESTED_TIME. Properly set the remaining time and return EINTR
41402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41404 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41405 Depend on against $(link-rpcuserlibs).
41407 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41409 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41410 (__libc_stack_end): Do not use attribute_relro.
41411 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41412 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41413 to libthread-provided value.
41414 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41420 * bits/libc-lock.h (__libc_once_get): New macro.
41421 * sysdeps/mach/bits/libc-lock.h: Likewise.
41422 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41423 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41424 instead of using implementation details.
41426 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41427 * libio/freopen.c: Likewise.
41428 * libio/freopen64.c: Likewise.
41429 * misc/syslog.c: Likewise.
41430 * nscd/connections.c: Likewise.
41431 * nscd/netgroupcache.c: Likewise.
41432 * sysdeps/posix/getcwd.c: Likewise.
41434 2012-05-10 Roland McGrath <roland@hack.frob.com>
41436 * math/w_ilogbf.c: Add #include <limits.h>.
41438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41440 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41441 path instead of returning without unlocking.
41443 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41444 immediate-write ioctls.
41445 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41447 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41449 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41450 __builtin_frame_address instead of making assumptions about the
41451 location of the return address relative to DATA. Force early load of
41452 the return address.
41453 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41454 __builtin_frame_address.
41457 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41458 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41459 implement dup3 and do some further code clean-ups.
41460 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41461 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41463 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41465 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41467 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41468 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41469 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41470 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41471 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41474 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41475 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41476 when handler == SIG_ERR, not when handler != SIG_ERR.
41478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41480 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41481 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41484 accept4 for GNU Hurd.
41485 * include/sys/socket.h (__libc_accept4): New prototype.
41486 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41487 to implement __libc_accept4.
41488 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41490 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41492 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41493 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41494 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41495 signal-defines.sym.
41497 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41499 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41501 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41503 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41504 assertion on O_CLOEXEC flag.
41505 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41506 * hurd/intern-fd.c: Likewise.
41507 * hurd/port2fd.c: Likewise.
41509 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41512 * bits/in.h (IPV6_PKTINFO): Define new macro.
41513 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41515 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41520 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41521 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41522 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41523 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41525 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41526 * math/libm-test.inc (logb_test) : Additional logb tests.
41528 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41529 Andreas Jaeger <aj@suse.de>
41531 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41532 * configure: Regenerated.
41533 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41534 * config.make.in (link-obsolete-rpc): New substituted variable.
41535 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41536 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41537 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41538 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41539 so that libc.a contains the symbols.
41540 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41541 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41542 * sunrpc/auth_none.c: Likewise.
41543 * sunrpc/auth_unix.c: Likewise.
41544 * sunrpc/authdes_prot.c: Likewise.
41545 * sunrpc/authuxprot.c: Likewise.
41546 * sunrpc/clnt_gen.c: Likewise.
41547 * sunrpc/clnt_perr.c: Likewise.
41548 * sunrpc/clnt_raw.c: Likewise.
41549 * sunrpc/clnt_simp.c: Likewise.
41550 * sunrpc/clnt_tcp.c: Likewise.
41551 * sunrpc/clnt_udp.c: Likewise.
41552 * sunrpc/clnt_unix.c: Likewise.
41553 * sunrpc/des_crypt.c: Likewise.
41554 * sunrpc/des_soft.c: Likewise.
41555 * sunrpc/get_myaddr.c: Likewise.
41556 * sunrpc/key_call.c: Likewise.
41557 * sunrpc/key_prot.c: Likewise.
41558 * sunrpc/netname.c: Likewise.
41559 * sunrpc/pm_getmaps.c: Likewise.
41560 * sunrpc/pm_getport.c: Likewise.
41561 * sunrpc/pmap_clnt.c: Likewise.
41562 * sunrpc/pmap_prot.c: Likewise.
41563 * sunrpc/pmap_prot2.c: Likewise.
41564 * sunrpc/pmap_rmt.c: Likewise.
41565 * sunrpc/publickey.c: Likewise.
41566 * sunrpc/rpc_cmsg.c: Likewise.
41567 * sunrpc/rpc_common.c: Likewise.
41568 * sunrpc/rpc_dtable.c: Likewise.
41569 * sunrpc/rpc_prot.c: Likewise.
41570 * sunrpc/rpc_thread.c: Likewise.
41571 * sunrpc/rtime.c: Likewise.
41572 * sunrpc/svc.c: Likewise.
41573 * sunrpc/svc_auth.c: Likewise.
41574 * sunrpc/svc_raw.c: Likewise.
41575 * sunrpc/svc_run.c: Likewise.
41576 * sunrpc/svc_tcp.c: Likewise.
41577 * sunrpc/svc_udp.c: Likewise.
41578 * sunrpc/svc_unix.c: Likewise.
41579 * sunrpc/svcauth_des.c: Likewise.
41580 * sunrpc/xcrypt.c: Likewise.
41581 * sunrpc/xdr.c: Likewise.
41582 * sunrpc/xdr_array.c: Likewise.
41583 * sunrpc/xdr_float.c: Likewise.
41584 * sunrpc/xdr_intXX_t.c: Likewise.
41585 * sunrpc/xdr_mem.c: Likewise.
41586 * sunrpc/xdr_rec.c: Likewise.
41587 * sunrpc/xdr_ref.c: Likewise.
41588 * sunrpc/xdr_sizeof.c: Likewise.
41589 * sunrpc/xdr_stdio.c: Likewise.
41591 2012-05-10 Roland McGrath <roland@hack.frob.com>
41593 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41594 change. Update copyright years.
41596 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41598 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41600 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41601 Joseph Myers <joseph@codesourcery.com>
41602 Paul Pluzhnikov <ppluzhnikov@google.com>
41605 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41607 [cross-compiling] (extra-libs): Likewise.
41608 [cross-compiling] (extra-libs-others): Likewise.
41609 [cross-compiling] (librpcsvc-routines): Likewise.
41610 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41611 [cross-compiling] (omit-deps): Likewise.
41612 (sunrpc-CPPFLAGS): New variable.
41613 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41614 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41615 (cross-rpcgen-objs): New variable.
41616 (extra-objs): Append $(cross-rpcgen-objs).
41617 ($(cross-rpcgen-objs)): New rule.
41618 ($(objpfx)cross-rpcgen): Likewise.
41619 (rpcgen-cmd): Define to use $(built-program-file). Expand
41621 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41622 ($(objpfx)x%.stmp): Likewise.
41623 * sunrpc/proto.h [IS_IN_build] (_): Define.
41624 [IS_IN_build] (_libc_intl_domainname): Likewise.
41626 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41628 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41629 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41630 and R_X86_64_TPOFF64.
41632 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41634 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41635 sysdeps/unix/sysv/syscalls.list.
41638 * sysdeps/unix/sysv/syscalls.list: Remove file.
41640 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41643 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41644 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41645 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41646 (__LC_IDENTIFICATION): Make these macros useful in #if
41647 expressions, as required by C99.
41649 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41651 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41652 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41655 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41657 * stdlib/longlong.h: Updated from GCC.
41659 2012-05-09 Andreas Jaeger <aj@suse.de>
41661 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41662 default is first entry.
41663 (run_mode): Set type.
41664 (main): Remove informal message about syslog.
41665 (options): Fix typo.
41668 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41671 (llrintf): Likewise.
41672 (llrint): Likewise.
41675 (nearbyint): Likewise.
41676 (nearbyintf): Likewise.
41678 2012-05-09 Andreas Jaeger <aj@suse.de>
41679 Pedro Alves <palves@redhat.com>
41681 * nscd/nscd.c (run_mode): Use enum.
41682 (main): Cleanup coding style issue.
41684 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
41685 Andreas Jaeger <aj@suse.de>
41687 * nscd/nscd.c (go_background): Replaced with...
41688 (run_mode): ... this.
41689 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41690 (options): Add -F --foreground.
41691 (main): Implement it.
41692 (parse_opt): Parse it.
41694 2012-05-09 Andreas Jaeger <aj@suse.de>
41697 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41698 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41699 -Wconversion warning.
41700 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41703 2012-05-09 Joseph Myers <joseph@codesourcery.com>
41705 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41707 (LC_ALL): Use macro-int-constant.
41708 (LC_COLLATE): Likewise.
41709 (LC_CTYPE): Likewise.
41710 (LC_MESSAGES): Likewise.
41711 (LC_MONETARY): Likewise.
41712 (LC_NUMERIC): Likewise.
41713 (LC_TIME): Likewise.
41714 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41715 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41716 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41717 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41719 [C99-based standards] (float_t): Expect type.
41720 [C99-based standards] (double_t): Expect type.
41721 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41723 [C99-based standards] (HUGE_VALL): Likewise.
41724 [C99-based standards] (INFINITY): Likewise.
41725 [C99-based standards] (NAN): Likewise.
41726 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41727 [C99-based standards] (FP_NAN): Likewise.
41728 [C99-based standards] (FP_NORMAL): Likewise.
41729 [C99-based standards] (FP_SUBNORMAL): Likewise.
41730 [C99-based standards] (FP_ZERO): Likewise.
41731 [C99-based standards] (FP_FAST_FMA): Use
41732 optional-macro-int-constant. Specify type. Require == 1.
41733 [C99-based standards] (FP_FAST_FMAF): Likewise.
41734 [C99-based standards] (FP_FAST_FMAL): Likewise.
41735 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41736 [C99-based standards] (FP_ILOGBNAN): Likewise.
41737 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41739 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41740 [C99-based standards] (math_errhandling): Specify type.
41741 [ISO99 || ISO11] (signgam): Do not allow.
41742 [non-C99-based standards] (copysignf): Do not allow.
41743 [non-C99-based standards] (exp2f): Likewise.
41744 [non-C99-based standards] (log2f): Likewise.
41745 [non-C99-based standards] (modff): Allow.
41746 [non-C99-based standards] (erff): Do not allow.
41747 [non-C99-based standards] (erfcf): Likewise.
41748 [non-C99-based standards] (gammaf): Likewise.
41749 [non-C99-based standards] (hypotf): Likewise.
41750 [non-C99-based standards] (j0f): Likewise.
41751 [non-C99-based standards] (j1f): Likewise.
41752 [non-C99-based standards] (jnf): Likewise.
41753 [non-C99-based standards] (lgammaf): Likewise.
41754 [non-C99-based standards] (tgammaf): Likewise.
41755 [non-C99-based standards] (y0f): Likewise.
41756 [non-C99-based standards] (y1f): Likewise.
41757 [non-C99-based standards] (ynf): Likewise.
41758 [non-C99-based standards] (isnanf): Likewise.
41759 [non-C99-based standards] (acoshf): Likewise.
41760 [non-C99-based standards] (asinhf): Likewise.
41761 [non-C99-based standards] (atanhf): Likewise.
41762 [non-C99-based standards] (cbrtf): Likewise.
41763 [non-C99-based standards] (expm1f): Likewise.
41764 [non-C99-based standards] (ilogbf): Likewise.
41765 [non-C99-based standards] (log1pf): Likewise.
41766 [non-C99-based standards] (logbf): Likewise.
41767 [non-C99-based standards] (nextafterf): Likewise.
41768 [non-C99-based standards] (remainderf): Likewise.
41769 [non-C99-based standards] (rintf): Likewise.
41770 [non-C99-based standards] (scalbf): Likewise.
41771 [non-C99-based standards] (copysignl): Likewise.
41772 [non-C99-based standards] (exp2l): Likewise.
41773 [non-C99-based standards] (log2l): Likewise.
41774 [non-C99-based standards] (modfl): Allow.
41775 [non-C99-based standards] (erfl): Do not allow.
41776 [non-C99-based standards] (erfcl): Likewise.
41777 [non-C99-based standards] (gammal): Likewise.
41778 [non-C99-based standards] (hypotl): Likewise.
41779 [non-C99-based standards] (j0l): Likewise.
41780 [non-C99-based standards] (j1l): Likewise.
41781 [non-C99-based standards] (jnl): Likewise.
41782 [non-C99-based standards] (lgammal): Likewise.
41783 [non-C99-based standards] (tgammal): Likewise.
41784 [non-C99-based standards] (y0l): Likewise.
41785 [non-C99-based standards] (y1l): Likewise.
41786 [non-C99-based standards] (ynl): Likewise.
41787 [non-C99-based standards] (isnanl): Likewise.
41788 [non-C99-based standards] (acoshl): Likewise.
41789 [non-C99-based standards] (asinhl): Likewise.
41790 [non-C99-based standards] (atanhl): Likewise.
41791 [non-C99-based standards] (cbrtl): Likewise.
41792 [non-C99-based standards] (expm1l): Likewise.
41793 [non-C99-based standards] (ilogbl): Likewise.
41794 [non-C99-based standards] (log1pl): Likewise.
41795 [non-C99-based standards] (logbl): Likewise.
41796 [non-C99-based standards] (nextafterl): Likewise.
41797 [non-C99-based standards] (remainderl): Likewise.
41798 [non-C99-based standards] (rintl): Likewise.
41799 [non-C99-based standards] (scalbl): Likewise.
41800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41801 [non-C99-based standards] (FP_*): Do not allow.
41802 [C99-based standards] (FP_*): Change to
41803 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41804 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41806 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41807 (SIG_ERR): Likewise.
41808 [X/Open-based standards] (SIG_HOLD): Likewise.
41809 (SIG_IGN): Likewise.
41810 (SIGABRT): Use macro-int-constant. Specify type. Require
41812 (SIGFPE): Likewise.
41813 (SIGILL): Likewise.
41814 (SIGINT): Likewise.
41815 (SIGSEGV): Likewise.
41816 (SIGTER): Likewise.
41817 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41818 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41819 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41820 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41821 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41822 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41823 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41824 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41825 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41826 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41827 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41828 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41829 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41830 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41831 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41832 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41833 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41834 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41835 [X/Open-based standards] (SIGTRAP): Likewise.
41836 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41837 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41838 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41839 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41840 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41843 2012-05-08 Ian Wienand <ianw@vmware.com>
41846 * time/tzset.c (__tzset_parse_tz): Update default rules for
41847 daylight time changes in the Energy Policy Act of 2005.
41849 2012-05-09 Andreas Jaeger <aj@suse.de>
41852 * elf/ldconfig.c (parse_conf): Change string to make clear that
41853 ldconfig only issued a warning if ld.so.conf does not exist.
41855 2012-05-08 David S. Miller <davem@davemloft.net>
41857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41858 movxtod instead of popping the value on the stack.
41860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41862 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41864 * config.h.in: Add HAVE_ARM_PCS_VFP.
41866 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
41869 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41870 checking but the checks are disabled for any reason.
41872 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41874 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41875 and ELF64_R_TYPE with ELFW(R_TYPE).
41877 2012-05-08 Joseph Myers <joseph@codesourcery.com>
41879 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41880 (ulimit): Likewise.
41882 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41883 (settimeofday): Likewise.
41885 2012-05-08 Mike Frysinger <vapier@gentoo.org>
41887 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41888 a struct th_u2 inside the union, and move tu_block/tu_code into
41889 a new th_u3 union of tu_block/tu_code inside of that. Move
41890 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41891 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41892 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41893 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41894 (th_stuff): Change to th_u1.tu_stuff.
41896 (th_msg): Change to th_u1.th_u2.tu_data.
41898 2012-05-07 David S. Miller <davem@davemloft.net>
41900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41903 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41904 (SETUP_PIC_REG): Use it.
41905 (SETUP_PIC_REG_LEAF): Use it.
41907 2012-05-07 Joseph Myers <joseph@codesourcery.com>
41911 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41913 (EXPL_FINITE): Likewise.
41914 (FLDLOG): Likewise.
41915 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41916 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41920 (EXPL_FINITE): Likewise.
41921 (FLDLOG): Likewise.
41922 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41923 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41925 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41926 test of -max_value argument for long double.
41927 * sysdeps/i386/fpu/libm-test-ulps: Update.
41928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41930 2012-05-06 David S. Miller <davem@davemloft.net>
41932 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41933 quad soft-float symbols whose references which are compiler
41935 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41937 2012-05-06 Joseph Myers <joseph@codesourcery.com>
41941 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41943 (EXPL_FINITE): Likewise.
41944 (FLDLOG): Likewise.
41947 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41948 Adjust comments for base varying.
41949 (__expl_finite): Change alias to EXPL_FINITE.
41950 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41952 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41953 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41954 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41955 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41956 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41958 (EXPL_FINITE): Likewise.
41959 (FLDLOG): Likewise.
41962 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41963 Adjust comments for base varying.
41964 (__expl_finite): Change alias to EXPL_FINITE.
41965 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41970 * math/libm-test.inc (check_float_internal): Correct ulp
41971 calculation for subnormal expected results.
41973 2012-05-06 Andreas Jaeger <aj@suse.de>
41975 * Makeconfig (+math-flags): New, set to -frounding-math.
41976 (+cflags): Add +math-flags so that all of glibc gets compiled with
41979 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41981 2012-05-05 Joseph Myers <joseph@codesourcery.com>
41983 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41989 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41990 (__ieee754_expl): Allow for and saturate large arguments.
41991 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41992 (u_threshold): Likewise.
41993 (__exp): Call __ieee754_exp before checking for overflow and
41995 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41996 (u_threshold): Likewise.
41997 (__expf): Call __ieee754_expf before checking for overflow and
41999 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42000 (u_threshold): Likewise.
42001 (__expl): Call __ieee754_expl before checking for overflow and
42003 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42004 (__ieee754_expl): Allow for and saturate large arguments.
42005 * math/libm-test.inc (exp_test): Add another test. Do not allow
42006 missing overflow exception on overflow.
42007 (expm1_test): Do not allow missing overflow exception on overflow.
42009 * sysdeps/i386/fpu/e_expl.c: Move to ...
42010 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42011 rather than using inline asm.
42012 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42013 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42014 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42016 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42019 (signal): Likewise.
42023 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42025 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42026 sysdeps/unix/common/syscalls.list.
42027 (fchmod): Likewise.
42028 (fchown): Likewise.
42029 (ftruncate): Likewise.
42030 (getrusage): Likewise.
42031 (gettimeofday): Likewise.
42032 (setpgid): Likewise.
42033 (setregid): Likewise.
42034 (setreuid): Likewise.
42035 (sigaction): Likewise.
42036 (truncate): Likewise.
42037 (vhangup): Likewise.
42038 * sysdeps/unix/common/syscalls.list: Remove file.
42039 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42040 * sysdeps/unix/sysv/linux/Implies: Likewise.
42042 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42044 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42046 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42050 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42053 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42056 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42059 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42062 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42065 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42068 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42072 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42076 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42079 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42083 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42087 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42089 * sysdeps/unix/common/bits/dirent.h: Remove file.
42090 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42092 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42093 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42094 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42095 * sysdeps/unix/bsd/isatty.c: Likewise.
42096 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42097 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42098 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42100 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42103 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42104 long double comparison inaccuracies.
42105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42108 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42110 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42113 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42116 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42117 nonzero digits before rounding a hex value.
42118 * stdlib/tst-strtod.c (tests): Add another test.
42120 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42122 * sysdeps/s390/fpu/libm-test-ulps: Update.
42124 2012-05-03 Andreas Jaeger <aj@suse.de>
42126 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42127 does not get optimized out.
42128 (malloc_opt_barrier): New.
42130 2012-05-03 Andreas Jaeger <aj@suse.de>
42131 Roland McGrath <roland@hack.frob.com>
42133 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42134 intermediate file deletion.
42135 (generated): Add .symlist files.
42137 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42140 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42141 Redirect under this condition.
42142 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42143 [__USE_GNU] (__dprintf_chk): Not under this condition.
42144 [__USE_GNU] (__vdprintf_chk): Likewise.
42145 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42146 under this condition.
42147 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42148 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42149 [__USE_XOPEN2K8] (vdprintf): Likewise.
42150 [__USE_GNU] (__dprintf_chk): Not under this condition.
42151 [__USE_GNU] (__vdprintf_chk): Likewise.
42152 [__USE_GNU] (dprintf): Likewise.
42153 [__USE_GNU] (vdprintf): Likewise.
42155 2012-05-03 Roland McGrath <roland@hack.frob.com>
42157 * elf/Makefile (common-generated): Set this instead of generated for
42158 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42159 $(all-built-dso)-derived lists.
42161 2012-05-03 Andreas Jaeger <aj@suse.de>
42163 * sysdeps/i386/fpu/libm-test-ulps: Update.
42166 * FAQ.in: Likewise.
42167 * scripts/gen-FAQ.pl: Likewise.
42168 * manual/install.texi (Installation): Point to online location of
42170 * Makefile (files-for-dist): Remove FAQ.
42173 2012-05-02 Allan McRae <allan@archlinux.org>
42175 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42176 (LDFLAGS-reldepmod5.so): Likewise.
42177 (LDFLAGS-reldep6mod1.so): Likewise.
42178 (LDFLAGS-reldep6mod4.so): Likewise.
42179 (LDFLAGS-reldep8mod3.so): Likewise.
42180 (LDFLAGS-unload4mod1.so): Likewise.
42181 (LDFLAGS-unload4mod2.so): Likewise.
42182 (LDFLAGS-tst-initorder): Likewise.
42183 (LDFLAGS-tst-initordera2.so): Likewise.
42184 (LDFLAGS-tst-initordera3.so): Likewise.
42185 (LDFLAGS-tst-initordera4.so): Likewise.
42186 (LDFLAGS-tst-initorderb2.so): Likewise.
42187 (LDFLAGS-noload): Likewise.
42188 (LDFLAGS-next): Likewise.
42189 (LDFLAGS-order2mod1.so): Likewise.
42190 (LDFLAGS-order2mod2.so): Likewise.
42191 (LDFLAGS-tst-initorder2): Likewise.
42192 (LDFLAGS-tst-initorder2a.so): Likewise.
42193 (LDFLAGS-tst-initorder2b.so): Likewise.
42194 (LDFLAGS-tst-initorder2c.so): Likewise.
42195 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42197 2012-05-02 David S. Miller <davem@davemloft.net>
42199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42201 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42204 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42206 2012-05-02 Andreas Jaeger <aj@suse.de>
42208 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42209 since we manipulate rounding mode.
42210 (CPPFLAGS-test-idouble.c): Likewise.
42211 (CPPFLAGS-test-ifloat.c): Likewise.
42212 (CFLAGS-test-ldouble.c): Likewise.
42213 (CFLAGS-test-double.c): Likewise.
42214 (CFLAGS-test-float.c): Likewise.
42215 (CFLAGS-test-misc.c): Likewise.
42216 (CFLAGS-test-test-fenv.c): Likewise.
42218 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42223 comparisons to determine direction to adjust input.
42225 2012-05-01 Roland McGrath <roland@hack.frob.com>
42227 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42228 output to the target.
42230 * scripts/localplt.awk: New file.
42231 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42232 (check-localplt-CFLAGS): Variable removed.
42233 ($(all-built-dso:=.jmprel)): New static pattern rule.
42234 (generated): Add those targets.
42235 (localplt-built-dso): New variable.
42236 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42238 * elf/check-localplt.c: File removed.
42240 * scripts/check-execstack.awk: New file.
42241 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42242 (check-execstack-CFLAGS): Variable removed.
42243 ($(objpfx)check-execstack.h): Target removed.
42244 ($(objpfx)execstack-default): New target.
42245 (generated): Add that instead of check-execstack.h.
42246 ($(all-built-dso:=.phdr)): New static pattern rule.
42247 (generated): Add those targets.
42248 * elf/check-execstack.c: File removed.
42250 * scripts/check-textrel.awk: New file.
42251 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42252 (check-textrel-CFLAGS): Variable removed.
42253 (all-built-dso): Use := to define.o
42254 ($(all-built-dso:=.dyn)): New static pattern rule.
42255 (generated): Add those targets.
42256 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42257 * config.make.in (READELF): New substituted variable.
42258 * elf/check-textrel.c: File removed.
42260 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42262 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42264 * conform/data/ctype.h-data [C99-based standards] (isblank):
42266 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42267 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42269 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42270 Specify type. Require positive value.
42271 (EILSEQ): Likewise.
42272 (ERANGE): Likewise.
42273 [ISO || POSIX] (EILSEQ): Do not expect.
42274 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42275 Specify type. Require positive value.
42276 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42277 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42278 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42279 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42280 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42281 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42282 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42283 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42284 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42285 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42286 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42287 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42288 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42289 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42290 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42291 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42292 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42293 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42294 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42295 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42296 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42297 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42298 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42299 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42300 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42301 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42302 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42303 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42304 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42305 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42306 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42307 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42308 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42309 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42310 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42311 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42312 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42313 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42314 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42315 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42316 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42317 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42318 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42319 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42320 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42321 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42322 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42323 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42324 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42325 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42326 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42327 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42328 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42329 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42330 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42331 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42332 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42333 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42334 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42335 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42336 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42337 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42338 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42339 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42340 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42341 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42342 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42343 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42344 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42345 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42346 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42347 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42348 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42349 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42350 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42351 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42352 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42354 (FLT_ROUNDS): Expect as macro, not constant.
42355 (FLT_MANT_DIG): Use macro-int-constant.
42356 (DBL_MANT_DIG): Likewise.
42357 (LDBL_MANT_DIG): Likewise.
42358 (FLT_DIG): Likewise.
42359 (DBL_DIG): Likewise.
42360 (LDBL_DIG): Likewise.
42361 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42362 (DBL_MIN_EXP): Likewise.
42363 (LDBL_MIN_EXP): Likewise.
42364 (FLT_MAX_EXP): Use macro-int-constant.
42365 (DBL_MAX_EXP): Likewise.
42366 (LDBL_MAX_EXP): Likewise.
42367 (FLT_MAX_10_EXP): Likewise.
42368 (DBL_MAX_10_EXP): Likewise.
42369 (LDBL_MAX_10_EXP): Likewise.
42370 (FLT_MAX): Use macro-constant.
42371 (DBL_MAX): Likewise.
42372 (LDBL_MAX): Likewise.
42373 (FLT_EPSILON): Use macro-constant. Give upper bound.
42374 (DBL_EPSILON): Likewise.
42375 (LDBL_EPSILON): Likewise.
42376 (FLT_MIN): Likewise.
42377 (DBL_MIN): Likewise.
42378 (LDBL_MIN): Likewise.
42379 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42380 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42381 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42382 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42383 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42384 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42385 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42386 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42387 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42388 [ISO11] (FLT_TRUE_MIN): Likewise.
42389 [ISO11] (LDBL_TRUE_MIN): Likewise.
42390 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42391 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42392 (SCHAR_MIN): Use macro-int-constant. Specify type.
42393 (SCHAR_MAX): Likewise.
42394 (UCHAR_MAX): Likewise.
42395 (CHAR_MIN): Likewise.
42396 (CHAR_MAX): Likewise.
42397 (MB_LEN_MAX): Use macro-int-constant.
42398 (SHRT_MIN): Use macro-int-constant. Specify type.
42399 (SHRT_MAX): Likewise.
42400 (USHRT_MAX): Likewise.
42401 (INT_MAX): Likewise.
42402 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42404 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42406 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42408 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42409 bound negative. Suffix upper bound with "L".
42410 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42412 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42414 [C99-based standards] (LLONG_MAX): Likewise.
42415 [C99-based standards] (ULLONG_MAX): Likewise.
42416 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42418 [ISO11] (max_align_t): Require type.
42419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42421 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42422 from $CFLAGS, without defining away __attribute__ calls.
42423 (checknamespace): Use $CFLAGS_namespace.
42425 * conform/conformtest.pl (@keywords): Only include C99 keywords
42426 for standards based on C99 or C11.
42428 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42430 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42433 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42434 usability of symbols in #if.
42436 * conform/conformtest.pl: If macro or constant types start
42437 "promoted:", expect the symbol to be of the following type
42438 promoted by the integer promotions.
42440 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42441 in one place. Also handle "macro-constant".
42443 * conform/conformtest.pl: Only accept expected macro values with
42444 "==". Parse all "macro" lines in one place.
42445 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42447 * conform/conformtest.pl: Handle braced types on "constant" lines
42448 instead of handling "typed-constant".
42449 * conform/data/signal.h-data: Use "constant" instead of
42452 * conform/conformtest.pl: Handle "optional-" at start of lines in
42453 one place rather than duplicating several cases. Handle each
42454 format of "macro" line with initial "optional-".
42456 * conform/conformtest.pl: Only accept expected constant or
42457 optional-constant values with "==". Parse all "constant" lines in
42458 one place. Parse all "optional-constant" lines in one place.
42459 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42460 * conform/data/fmtmsg.h-data: Likewise.
42461 * conform/data/netinet/in.h-data: Likewise.
42462 * conform/data/tar.h-data: Likewise.
42463 * conform/data/limits.h-data: Use "==" form on "constant" and
42464 "optional-constant" lines.
42466 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42467 Use -std=c99 for XOPEN2K.
42468 (@knownproblems): Remove.
42469 (newtoken): Don't check %isknown.
42471 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42472 Do not expect macro.
42473 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42474 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42475 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42476 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42477 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42478 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42479 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42480 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42481 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42482 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42483 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42484 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42485 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42486 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42487 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42488 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42489 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42490 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42491 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42492 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42493 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42494 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42495 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42496 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42497 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42498 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42499 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42500 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42501 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42502 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42503 [XPG3] (acosh): Likewise.
42504 [XPG3] (asinh): Likewise.
42505 [XPG3] (atanh): Likewise.
42506 [XPG3] (cbrt): Likewise.
42507 [XPG3] (expm1): Likewise.
42508 [XPG3] (ilogb): Likewise.
42509 [XPG3] (log1p): Likewise.
42510 [XPG3] (logb): Likewise.
42511 [XPG3] (nextafter): Likewise.
42512 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42513 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42514 [XPG3] (remainder): Likewise.
42515 [XPG3] (rint): Likewise.
42516 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42517 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42518 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42519 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42520 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42521 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42522 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42523 [UNIX98 || XOPEN2K] (scalb): Expect.
42524 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42525 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42526 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42527 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42528 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42529 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42530 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42531 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42532 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42533 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42534 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42535 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42536 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42537 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42538 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42539 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42540 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42541 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42542 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42543 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42544 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42545 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42546 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42547 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42548 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42549 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42550 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42551 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42552 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42553 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42554 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42555 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42556 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42557 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42558 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42559 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42560 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42561 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42562 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42563 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42564 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42565 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42566 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42567 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42568 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42569 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42570 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42571 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42572 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42573 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42574 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42575 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42576 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42577 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42578 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42579 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42580 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42581 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42582 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42583 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42584 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42585 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42586 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42587 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42588 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42589 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42590 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42591 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42592 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42593 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42594 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42595 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42596 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42597 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42598 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42599 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42600 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42601 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42602 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42603 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42604 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42605 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42606 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42607 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42608 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42609 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42610 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42611 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42612 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42613 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42614 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42615 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42616 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42617 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42618 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42619 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42620 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42621 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42622 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42623 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42624 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42625 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42626 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42627 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42628 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42629 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42630 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42631 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42632 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42633 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42634 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42635 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42636 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42637 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42638 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42639 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42640 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42641 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42642 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42643 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42644 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42645 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42646 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42647 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42648 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42649 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42650 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42651 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42652 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42653 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42654 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42655 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42656 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42657 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42658 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42659 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42660 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42662 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42663 _XOPEN_SOURCE_EXTENDED for XPG4.
42665 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42667 * Makeconfig (localtime): Remove variable.
42668 (inst_localtime-file): Likewise.
42670 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42691 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42695 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42696 comparisons to determine direction to adjust input.
42697 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42698 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42701 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42703 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42705 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42706 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42708 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42710 * math/libm-test.inc (nexttoward_test): Add more tests.
42712 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42716 in version GLIBC_2.1, not GLIBC_2.0.
42717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42720 2012-04-30 Joseph Myers <joseph@codesourcery.com>
42723 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42725 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42726 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42727 * math/libm-test.inc (acos_test): Add more tests.
42728 (asin_test): Likewise.
42729 * sysdeps/i386/fpu/libm-test-ulps: Update.
42730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42733 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42735 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42736 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42737 * math/libm-test.inc (acos_test_tonearest): New function.
42738 (acos_test_towardzero): Likewise.
42739 (acos_test_downward): Likewise.
42740 (acos_test_upward): Likewise.
42741 (asin_test_tonearest): Likewise.
42742 (asin_test_towardzero): Likewise.
42743 (asin_test_downward): Likewise.
42744 (asin_test_upward): Likewise.
42745 (main): Call the new functions.
42746 * sysdeps/i386/fpu/libm-test-ulps: Update.
42747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42751 * math/e_exp10.c: Include <float.h>.
42752 (__ieee754_exp10): Handle underflow here rather than multiplying
42753 large negative argument by M_LN10.
42754 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42756 * math/e_exp10l.c: Include <float.h>.
42757 (__ieee754_exp10l): Handle underflow here rather than multiplying
42758 large negative argument by M_LN10l.
42759 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42760 spurious overflow exception on underflow.
42762 2012-04-29 Marek Polacek <polacek@redhat.com>
42764 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42765 (__fortify_function): New macro.
42766 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42767 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42768 __extern_always_inline.
42769 * libio/bits/stdio2.h: Likewise.
42770 * libio/bits/stdio.h: Likewise.
42771 * string/string.h: Likewise.
42772 * string/bits/string3.h: Likewise.
42773 * include/stdio.h: Likewise.
42774 * stdlib/bits/stdlib.h: Likewise.
42775 * stdlib/stdlib.h: Likewise.
42776 * rt/bits/mqueue2.h: Likewise.
42777 * rt/mqueue.h: Likewise.
42778 * posix/bits/unistd.h: Likewise.
42779 * posix/unistd.h: Likewise.
42780 * io/bits/poll2.h: Likewise.
42781 * io/bits/fcntl2.h: Likewise.
42782 * io/fcntl.h: Likewise.
42783 * io/sys/poll.h: Likewise.
42784 * misc/bits/syslog.h: Likewise.
42785 * misc/bits/syslog-ldbl.h: Likewise.
42786 * misc/sys/syslog.h: Likewise.
42787 * socket/bits/socket2.h: Likewise.
42788 * socket/sys/socket.h: Likewise.
42789 * debug/tst-chk1.c: Likewise.
42790 * wcsmbs/bits/wchar2.h: Likewise.
42791 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42792 * wcsmbs/wchar.h: Likewise.
42794 2012-04-29 Andreas Jaeger <aj@suse.de>
42796 * Makerules (tests): Remove enable-check-abi protection.
42797 (check-abi-warn): Remove.
42798 (check-abi-%): Remove check-abi-warn usage.
42800 * configure.in: Remove check-abi configure option.
42801 * configure: Regenerated.
42802 * config.make.in (enable-check-abi): Remove.
42804 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42807 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42808 double functions to double *_finite functions.
42811 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42812 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42814 * stdio-common/Makefile (tests): Add tst-sprintf3.
42815 * stdio-common/tst-sprintf3.c: New file.
42817 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42818 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42820 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42822 * conform/conformtest.pl: Remove duplicate typed-constant
42825 2012-04-28 David S. Miller <davem@davemloft.net>
42827 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42828 (check-abi-%): Remove AWK script prerequisite and explicit
42830 (check-abi): Rewrite to just diff the symlist with the abilist.
42831 (config-tls, config-abi-config): Delete, no longer used.
42832 (update-abi-%): Remove AWK script and explicit abilist directory.
42833 (update-abi): Rewrite to simply compare and conditionally copy the
42834 symlist and the sysdep abilist file. Remove update-abi-config
42836 * abilist/ld.abilist: Remove.
42837 * abilist/libBrokenLocale.abilist: Remove.
42838 * abilist/libanl.abilist: Remove.
42839 * abilist/libcrypt.abilist: Remove.
42840 * abilist/libdl.abilist: Remove.
42841 * abilist/librt.abilist: Remove.
42842 * abilist/libthread_db.abilist: Remove.
42843 * abilist/libutil.abilist: Remove.
42844 * scripts/extract-abilist.awk: Remove.
42845 * scripts/merge-abilist.awk: Remove.
42846 * sysdeps/generic/libcidn.abilist: New file.
42847 * sysdeps/generic/libnss_compat.abilist: New file.
42848 * sysdeps/generic/libnss_db.abilist: New file.
42849 * sysdeps/generic/libnss_dns.abilist: New file.
42850 * sysdeps/generic/libnss_files.abilist: New file.
42851 * sysdeps/generic/libnss_hesiod.abilist: New file.
42852 * sysdeps/generic/libnss_nis.abilist: New file.
42853 * sysdeps/generic/libnss_nisplus.abilist: New file.
42854 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42855 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42856 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42858 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42859 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42860 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42861 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42862 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42863 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42864 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42865 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42866 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42868 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42869 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42870 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42871 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42873 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42874 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42875 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42876 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42877 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42878 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42880 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42881 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42882 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42884 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42987 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42988 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42989 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42992 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42993 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42994 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42995 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42996 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42997 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42998 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42999 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43000 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43052 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43054 * conform/conformtest.pl: Fix typo in handling typed-constant from
43057 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43059 * README: Cut down references to pre-2.6 Linux kernels and
43060 Linuxthreads. Update lists of configurations in libc and ports
43061 and sort alphabetically. Say "or newer" with Linux kernel version
43064 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43066 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43069 * math/libm-test.inc (logb_test_downward): New test to expose
43070 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43073 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43076 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43078 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43079 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43081 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43083 * sysdeps/unix/i386/brk.S: Remove file.
43084 * sysdeps/unix/i386/dl-brk.S: Likewise.
43085 * sysdeps/unix/i386/pipe.S: Likewise.
43086 * sysdeps/unix/i386/sigreturn.S: Likewise.
43087 * sysdeps/unix/i386/syscall.S: Likewise.
43088 * sysdeps/unix/i386/vfork.S: Likewise.
43089 * sysdeps/unix/i386/wait.S: Likewise.
43091 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43092 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43094 * configure.in (arm*-none*): Do not allow without
43095 --enable-hacker-mode.
43096 (netbsd*): Remove case setting base_os.
43097 (386bsd*): Likewise.
43098 (freebsd*): Likewise.
43101 (sunos*): Likewise.
43102 (ultrix*): Likewise.
43103 (newsos*): Likewise.
43104 (dynix*): Likewise.
43110 (minix*): Likewise.
43111 (irix4*): Likewise.
43112 (irix6*): Likewise.
43113 (solaris[2-9]*): Likewise.
43115 * configure: Regenerated.
43117 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43120 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43121 overflow or cancellation in calculating denominator.
43122 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43123 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43124 down expression to avoid unexpected rounding in newer GCCs.
43125 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43127 2012-04-26 David S. Miller <davem@davemloft.net>
43129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43130 long-double compat symbols.
43131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43145 2012-04-25 David S. Miller <davem@davemloft.net>
43147 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43148 HWCAP_* values only after the memory barriers have been defined.
43149 (atomic_full_barrier): Define.
43150 (atomic_read_barrier): Define.
43151 (atomic_write_barrier): Define.
43153 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43155 * shlib-versions: Add libgcc_s version information.
43156 * sysdeps/generic/libgcc_s.h: Remove.
43157 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43159 * sysdeps/gnu/unwind-resume.c: Likewise.
43160 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43162 2012-04-25 David S. Miller <davem@davemloft.net>
43164 * sysdeps/unix/sparc/brk.S: Delete.
43165 * sysdeps/unix/sparc/dl-brk.S: Delete.
43166 * sysdeps/unix/sparc/pipe.S: Delete.
43167 * sysdeps/unix/sparc/sysdep.S: Delete.
43168 * sysdeps/unix/sparc/sysdep.h: Delete.
43169 * sysdeps/unix/sparc/vfork.S: Delete.
43170 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43171 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43172 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43173 (ret_ERRVAL, r0, r1, MOVE): Define.
43174 (JUMPTARGET): Remove.
43175 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43176 sysdeps/unix/sparc/sysdep.h
43177 (ENTRY, END): Remove.
43178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43180 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43182 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43183 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43186 * timezone/README: Update upstream location and email address for
43188 * timezone/zdump.c: Update from tzcode 2012b.
43189 * timezone/zic.c: Likewise.
43191 * configure.in (libc_cv_as_needed): Remove test.
43192 * configure: Regenerated.
43193 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43194 conditional definition.
43195 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43196 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43197 * config.make.in (have-as-needed): Remove variable.
43199 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43200 Paul Pluzhnikov <ppluzhnikov@google.com>
43202 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43205 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43207 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43208 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43209 * sysdeps/sh/strlen.S: Likewise.
43211 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43213 * sysdeps/unix/fork.S: Remove file.
43214 * sysdeps/unix/i386/fork.S: Likewise.
43215 * sysdeps/unix/sparc/fork.S: Likewise.
43217 * sysdeps/unix/system.c: Remove file.
43218 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43220 * sysdeps/unix/getegid.S: Remove file.
43221 * sysdeps/unix/geteuid.S: Likewise.
43223 2012-04-24 Roland McGrath <roland@hack.frob.com>
43225 * scripts/check-localplt.awk: New file.
43226 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43228 * scripts/data/localplt-generic.data: Add a comment.
43230 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43231 NODE when __dir_mkfile failed.
43232 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43233 Reported by Ludovic Courtès <ludo@gnu.org>.
43235 2012-04-24 Andreas Jaeger <aj@suse.de>
43237 * Makerules (common-clean): Also remove gen-as-const-headers
43240 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43242 * Makerules (native-compile): Do not change working directory for
43243 build. Use $(OUTPUT_OPTION) in command.
43244 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43246 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43249 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43250 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43251 * math/libm-test.inc (floor_test): Add more tests.
43252 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43254 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43256 * sysdeps/unix/getdents.c: Remove file.
43257 * sysdeps/unix/sysv/getdents.c: Likewise.
43258 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43260 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43261 sysdeps/unix/mman/syscalls.list.
43263 (mprotect): Likewise.
43265 (munmap): Likewise.
43266 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43267 * sysdeps/unix/mman/syscalls.list: Remove.
43268 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43270 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43271 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43272 * configure: Regenerated.
43273 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43274 $(libgcc_s_suffix).
43275 * config.make.in (libgcc_s_suffix): Remove variable.
43277 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43279 * sysdeps/unix/sysv/gethostname.c: Move to ...
43280 * sysdeps/posix/gethostname.c: ... here.
43282 * sysdeps/unix/execve.S: Remove file.
43284 * sysdeps/unix/_exit.S: Remove file.
43286 2012-04-23 Andreas Jaeger <aj@suse.de>
43289 * manual/Makefile: Remove make dist support, there's no
43290 need for a stand-alone documentation tar ball.
43291 (TEXI2DVI): Define always, it's not in Makeconfig.
43294 (edition): Removed.
43295 (glibc-doc-$(edition).tar): Removed
43299 (ETAGS): Remove, it's in Makeconfig.
43300 (move-if-change): Remove, it's in Makeconfig.
43302 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43305 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43306 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43307 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43308 (strtod_l, strtof_l, strtold_l): Remove __wur.
43309 It is not necessarily an error to ignore strtol's return value.
43310 One can reliably look at the stored endptr to decide whether
43311 the number had valid syntax.
43313 2012-04-21 Andreas Jaeger <aj@suse.de>
43316 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43318 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43320 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43321 * sysdeps/unix/sysv/Versions: Remove file.
43323 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43328 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43331 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43332 version from __vm86.
43334 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43336 * sysdeps/unix/common/lxstat.c: Remove file.
43337 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43339 * sysdeps/unix/sysv/Makefile: Remove file.
43341 * sysdeps/unix/sysv/direct.h: Remove file.
43343 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43344 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43345 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43346 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43347 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43348 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43349 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43351 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43353 * sysdeps/unix/xmknod.c: Remove file.
43354 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43356 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43358 * sysdeps/unix/sysv/i386/time.S: Remove file.
43360 * sysdeps/unix/fxstat.c: Remove file.
43361 * sysdeps/unix/xstat.c: Likewise.
43362 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43364 * sysdeps/unix/sysv/sigaction.c: Remove file.
43366 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43367 (sysdep_headers): Remove variable.
43368 [termio.h not in sysdep_headers] (generated): Likewise.
43369 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43370 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43371 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43372 * sysdeps/unix/sysv/tcflow.c: Likewise.
43373 * sysdeps/unix/sysv/tcflush.c: Likewise.
43374 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43375 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43376 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43377 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43378 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43380 * sysdeps/unix/siglist.c: Remove file.
43382 * sysdeps/unix/getppid.S: Remove file.
43384 * sysdeps/unix/mkdir.c: Remove file.
43385 * sysdeps/unix/rmdir.c: Likewise.
43387 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43389 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43391 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43392 errlist-compat value.
43394 2012-04-18 David S. Miller <davem@davemloft.net>
43396 * sysdeps/generic/memcopy.h (reg_char): Delete.
43397 * debug/strcat_chk.c: Use char, not reg_char.
43398 * debug/strcpy_chk.c: Likewise.
43399 * debug/strncat_chk.c: Likewise.
43400 * debug/strncpy_chk.c: Likewise.
43401 * string/memchr.c: Likewise.
43402 * string/memrchr.c: Likewise.
43403 * string/rawmemchr.c: Likewise.
43404 * string/strcat.c: Likewise.
43405 * string/strchr.c: Likewise.
43406 * string/strchrnul.c: Likewise.
43407 * string/strcmp.c: Likewise.
43408 * string/strcpy.c: Likewise.
43409 * string/strncat.c: Likewise.
43410 * string/strncmp.c: Likewise.
43411 * string/strncpy.c: Likewise.
43413 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43415 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43416 __builtin_memcopy is called when src and dest ranges are known to not
43419 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43421 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43422 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43423 fwd_align_merge macro call.
43424 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43425 bwd_align_merge macro call.
43426 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43428 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43430 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43431 bwd_align_merge macros.
43432 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43433 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43434 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43436 2012-04-18 David S. Miller <davem@davemloft.net>
43438 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43440 2012-04-18 Andreas Jaeger <aj@suse.de>
43443 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43444 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43445 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43447 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43448 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43449 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43451 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43452 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43453 Adjust for changed ldbl-128 files.
43455 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43456 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43457 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43459 2012-04-17 David S. Miller <davem@davemloft.net>
43461 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43463 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43465 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43466 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43467 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43468 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43469 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43470 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43472 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43475 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43476 * math/libm-test.inc: Add ilogb errno and exception tests.
43477 * math/w_ilogb.c: New file: ilogb wrapper.
43478 * math/w_ilogbf.c: New file: ilogbf wrapper.
43479 * math/w_ilogbl.c: New file: ilogbl wrapper.
43480 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43481 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43482 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43483 exception being thrown with 0.0 as argument.
43484 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43485 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43486 exception being thrown with 0.0 as argument.
43487 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43488 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43489 exception being thrown with 0.0 as argument.
43490 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43491 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43492 exception being thrown with 0.0 as argument.
43493 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43494 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43495 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43496 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43497 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43498 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43499 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43500 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43501 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43503 2012-04-17 Petr Baudis <pasky@ucw.cz>
43505 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43508 2012-04-16 Marek Polacek <polacek@redhat.com>
43510 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43512 2012-04-16 Marek Polacek <polacek@redhat.com>
43514 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43515 operands of fdivp instruction.
43517 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43519 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43520 * elf/tst-auditmod3b.c: Likewise.
43521 * elf/tst-auditmod4b.c: Likewise.
43522 * elf/tst-auditmod5b.c: Likewise.
43523 * elf/tst-auditmod6b.c: Likewise.
43524 * elf/tst-auditmod6c.c: Likewise.
43525 * elf/tst-auditmod7b.c: Likewise.
43526 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43527 * sysdeps/x86_64/preconfigure.in: Likewise.
43528 * sysdeps/x86_64/preconfigure: Regenerated.
43530 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43532 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43535 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43538 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43540 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43543 * locale/iso-639.def: Fix gl language name. Spotted by
43546 2012-04-12 Roland McGrath <roland@hack.frob.com>
43549 * libio/libio.h (__io_write_fn): Update comment.
43551 2012-04-12 Petr Baudis <pasky@ucw.cz>
43554 * stdio.texi (Hook Functions): The user provided writer function
43555 is not allowed to return -1.
43557 2012-04-11 David S. Miller <davem@davemloft.net>
43559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43561 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43563 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43564 Add a leading slash to rtkaio.
43566 2012-04-11 Jim Meyering <meyering@redhat.com>
43569 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43570 It is not necessarily an error to ignore fwrite's return
43571 value. One can reliably use ferror to test for errors after
43574 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43576 * bits/types.h (__snseconds_t): New type.
43577 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43579 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43581 (__SNSECONDS_T_TYPE): Likewise.
43582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43583 (__SNSECONDS_T_TYPE): Likewise.
43584 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43585 (__SNSECONDS_T_TYPE): Likewise.
43587 2012-04-10 Andreas Jaeger <aj@suse.de>
43590 * manual/time.texi (Processor Time): Return type of times is
43591 elapsed real time since an arbitrary point in the past.
43592 (CPU Time): Move CLK_TCK from here...
43593 (Processor Time): ...to here. Correct description.
43594 * manual/conf.texi (Constants for Sysconf): Correct description of
43597 2012-04-10 David S. Miller <davem@davemloft.net>
43600 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43601 where the is a gap between DT_REL(A) and DT_JMPREL.
43603 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43605 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43606 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43607 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43609 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43611 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43612 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43613 (dl_main): Handle --inhibit-cache.
43614 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43616 * elf/dl-load.c (_dl_map_object): Use it.
43617 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43619 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43622 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43623 (__ieee754_powl): Saturate large exponents rather than testing for
43624 overflow of y*log2(x).
43625 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43626 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43630 * math/s_ctan.c: Include <float.h>.
43631 (__ctan): Avoid internal overflow or cancellation in calculating
43633 * math/s_ctanf.c: Likewise.
43634 * math/s_ctanl.c: Likewise.
43635 * math/s_ctanh.c: Likewise.
43636 * math/s_ctanhf.c: Likewise.
43637 * math/s_ctanhl.c: Likewise.
43638 * math/libm-test.inc (ctan_test): Add more tests.
43639 (ctanh_test): Likewise.
43640 * sysdeps/i386/fpu/libm-test-ulps: Update.
43641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43643 2012-04-09 Andreas Jaeger <aj@suse.de>
43646 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43647 is an optional BSD extension.
43650 * manual/stdio.texi (Opening Streams): Document additional fopen
43653 2012-04-09 Roland McGrath <roland@hack.frob.com>
43655 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43656 %eax without telling the compiler.
43658 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43661 * manual/install.texi: Use sourceware.org.
43663 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43666 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43667 (__ieee754_pow): Generate overflow and underflow using huge*huge
43668 and tiny*tiny rather than just returning constant infinity or zero
43669 for large exponents.
43670 * math/libm-test.inc (pow_test): Require overflow exceptions for
43671 applicable cases of large exponents.
43674 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43675 (__ieee754_pow): Use iterative multiplication algorithm only for
43676 integer exponents with absolute value below 1024. Check for odd
43677 integer exponents when using algorithm for real exponents.
43678 * math/libm-test.inc (pow_test): Add more tests.
43679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43681 2012-04-08 Joseph Myers <joseph@codesourcery.com>
43684 * math/libm-test.inc (exp_test): Do not allow overflow exception
43687 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43690 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43691 instead of __kernel_standard_f.
43693 2012-04-08 Mike Frysinger <vapier@gentoo.org>
43695 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43696 * sysdeps/x86_64/memset_chk.S: Likewise.
43698 2012-04-08 Andreas Jaeger <aj@suse.de>
43701 * manual/startup.texi (Environment Access): Describe return value
43702 for putenv and setenv.
43705 * manual/filesys.texi (Directory Entries): Add description for
43709 * manual/filesys.texi (Directory Entries): Clarify that it's file
43710 system not operating system in the description of DT_UNKNOWN.
43713 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43715 2012-04-08 Stephen Compall <s11@member.fsf.org>
43718 * manual/llio.texi (Opening and Closing Files): Add cross
43719 reference to explain mode argument.
43721 2012-04-07 Mike Frysinger <vapier@gentoo.org>
43723 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43724 * sysdeps/x86_64/memset_chk.S: Likewise.
43726 2012-04-07 David S. Miller <davem@davemloft.net>
43728 * elf/elf.h (R_SPARC_WDISP10): Define.
43729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43732 R_SPARC_SIZE64 and R_SPARC_H34.
43734 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43736 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43737 conditions and remove no longer applicable assertion.
43739 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43741 * bits/byteswap.h: Include <features.h>.
43742 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43743 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43745 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43747 * bits/byteswap.h (__bswap_16): Removed.
43748 Include <bits/byteswap-16.h> to get __bswap_16.
43749 * sysdeps/i386/bits/byteswap.h: Likewise.
43750 * sysdeps/s390/bits/byteswap.h: Likewise.
43751 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43752 * bits/byteswap-16.h: New file.
43753 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43754 * sysdeps/s390/bits/byteswap-16.h: Likewise.
43755 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43756 * string/Makefile (headers): Add bits/byteswap-16.h.
43758 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43761 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43763 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43764 * nss/tst-nss-static.c: New.
43766 2012-04-06 Robert Millan <rmh@gnu.org>
43769 * manual/llio.texi (File Position Primitive): lseek
43770 refers to WHENCE when it really means OFFSET.
43772 2012-04-06 Andreas Jaeger <aj@suse.de>
43774 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43775 strncmp declarations.
43777 * abilist/libc.abilist: Add __poll and __ppoll.
43779 2012-04-05 David S. Miller <davem@davemloft.net>
43781 * scripts/check-local-headers.sh: Accept a host triplet in the
43782 path matched by the exclude regexp.
43784 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43786 * sysdeps/powerpc/powerpc32/dl-machine.h
43787 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43788 * sysdeps/s390/s390-32/dl-machine.h
43789 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43790 * sysdeps/sparc/sparc32/dl-machine.h
43791 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43792 * sysdeps/sparc/sparc64/dl-machine.h
43793 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43795 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43797 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43798 undefined symbol errors.
43800 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43803 2012-04-05 Michael Matz <matz@suse.de>
43806 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43808 2012-04-05 Andreas Jaeger <aj@suse.de>
43811 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43814 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43816 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43817 which ROUND is no valid rounding mode.
43819 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43821 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43823 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43825 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43827 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43828 an exception using FPU order intentionally.
43830 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43832 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43833 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43834 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43835 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43837 2012-04-05 Simon Josefsson <simon@josefsson.org>
43840 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43841 EINVAL when BUFLEN is too smal.
43843 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43846 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43847 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43849 2012-04-03 Andreas Jaeger <aj@suse.de>
43852 * manual/setjmp.texi (System V contexts): Fix sentence.
43855 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43856 New macro for this case.
43857 [!__GNUC__] (__bswap_64): New inline function for this case.
43858 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43859 * bits/byteswap.h: Likewise.
43860 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43861 ull, guard with __GLIBC_HAVE_LONG_LONG.
43863 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43864 __GLIBC_HAVE_LONG_LONG.
43866 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43867 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43869 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43872 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43873 inptr and inend, rather than using last_ch.
43875 2012-04-02 David S. Miller <davem@davemloft.net>
43877 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43878 * stdio-common/printf-parse.h (read_int): Change return type to
43879 'int', return -1 on INT_MAX overflow.
43880 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43881 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43882 overflows INT_MAX. Check for overflow of in-format-string precision
43883 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43884 SIZE_MAX not INT_MAX for integer overflow test.
43885 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43886 skip the construct in the format string but do not record anything.
43887 * stdio-common/bug22.c: Adjust to test both width/prevision
43888 INT_MAX overflow as well as total length INT_MAX overflow. Check
43889 explicitly for proper errno values.
43891 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43893 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43895 * string/test-strcmp.c [! WIDE]: Likewise.
43896 * time/tst-mktime2.c: Likewise for INT_MAX.
43897 * string/test-string.h: #include <sys/param.h> for MIN.
43899 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43900 * sysdeps/i386/init-first.c (init): Likewise.
43901 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43902 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43903 * sysdeps/sh/init-first.c (init): Likewise.
43905 2012-04-01 Ulrich Drepper <drepper@gmail.com>
43907 * po/ru.po: Update from translation team.
43908 * po/vi.po: Likewise.
43910 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43912 * resolv/nss_dns/dns-host.c: Merge copyright years.
43914 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43916 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43917 Optimize memcpy with prefetch if
43918 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43919 src, dst pointers have unequal 16 byte alignments.
43921 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43924 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43925 from a CNAME entry and return the minimum ttl for the query.
43926 (gaih_getanswer_slice): Likewise.
43928 2012-03-30 Jeff Law <law@redhat.com>
43930 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43932 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43933 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43935 * resolv/nss_dns/dns-host.c: Update copyright year.
43937 2012-03-30 Ulrich Drepper <drepper@gmail.com>
43939 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43940 requests to save a system call. Fix check that all bytes are sent.
43942 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43943 comments for sendmmsg.
43945 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43948 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43949 with only 1 character between 0x0041 and 0x01b0.
43950 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43951 * wcsmbs/tst-mbsnrtowcs.c: New file.
43953 2012-03-29 David S. Miller <davem@davemloft.net>
43955 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43956 small copies by hand.
43958 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43961 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43962 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43965 2012-03-28 David S. Miller <davem@davemloft.net>
43967 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43968 that branches into memcpy.
43969 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43970 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43971 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43972 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43973 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43975 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43976 implementation too.
43977 * sysdeps/sparc/mempcpy.S: New file.
43979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43980 the IFUNC routine in the libc case.
43981 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43983 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43984 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43985 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43986 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43987 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43988 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43989 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43990 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43992 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43993 loop to 256 bytes instead of 64 bytes and fix test signedness.
43995 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43996 * sysdeps/sparc/sparc32/Makefile: rather than here...
43997 * sysdeps/sparc/sparc64/Makefile: and here.
43999 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44001 * malloc/mallocbug.c: Avoid warnings about unused variables.
44003 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44006 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44007 in the right place. Discard and retry query if response is
44008 larger than input buffer size.
44010 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44015 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44016 x for large integer exponent.
44017 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44018 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44019 sign of result as needed afterwards.
44020 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44021 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44022 result for underflowing pow the same as for overflow.
44023 (__kernel_standard_l): Handle powl overflow and underflow here
44024 rather than calling __kernel_standard.
44025 * math/libm-test.inc (pow_test): Add more tests.
44040 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44041 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44042 (__kernel_standard_l): New function.
44043 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44045 * math/w_acosl.c (__acosl): Likewise.
44046 * math/w_asinl.c (__asinl): Likewise.
44047 * math/w_atan2l.c (__atan2l): Likewise.
44048 * math/w_atanhl.c (__atanhl): Likewise.
44049 * math/w_coshl.c (__coshl): Likewise.
44050 * math/w_exp10l.c (__exp10l): Likewise.
44051 * math/w_exp2l.c (__exp2l): Likewise.
44052 * math/w_fmodl.c (__fmodl): Likewise.
44053 * math/w_hypotl.c (__hypotl): Likewise.
44054 * math/w_j0l.c (__j0l, __y0l): Likewise.
44055 * math/w_j1l.c (__j1l, __y1l): Likewise.
44056 * math/w_jnl.c (__jnl, __ynl): Likewise.
44057 * math/w_lgammal.c (__lgammal): Likewise.
44058 * math/w_log10l.c (__log10l): Likewise.
44059 * math/w_log2l.c (__log2l): Likewise.
44060 * math/w_logl.c (__logl): Likewise.
44061 * math/w_powl.c (__powl): Likewise.
44062 * math/w_remainderl.c (__remainderl): Likewise.
44063 * math/w_scalbl.c (sysv_scalbl): Likewise.
44064 * math/w_sinhl.c (__sinhl): Likewise.
44065 * math/w_sqrtl.c (__sqrtl): Likewise.
44066 * math/w_tgammal.c (__tgammal): Likewise.
44067 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44068 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44069 * math/libm-test.inc (acos_test): Add more tests.
44070 (acosh_test): Likewise.
44071 (asin_test): Likewise.
44072 (atanh_test): Likewise.
44073 (exp_test): Likewise.
44074 (exp10_test): Likewise.
44075 (exp2_test): Likewise.
44076 (expm1_test): Likewise.
44077 (lgamma_test): Likewise.
44078 (log_test): Likewise.
44079 (log10_test): Likewise.
44080 (log1p_test): Likewise.
44081 (log2_test): Likewise.
44082 (pow_test): Do not allow some spurious overflow exceptions.
44083 (sqrt_test): Add more tests.
44084 (tgamma_test): Likewise.
44085 (y0_test): Likewise.
44086 (y1_test): Likewise.
44087 (yn_test): Likewise.
44089 2012-03-27 Anton Blanchard <anton@samba.org>
44091 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44093 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44094 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44095 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44097 2012-03-27 David S. Miller <davem@davemloft.net>
44099 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44101 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44102 have-as-vis3 check.
44104 2012-03-27 Andreas Jaeger <aj@suse.de>
44106 * sysdeps/x86_64/elf/configure.in: Moved to ...
44107 * sysdeps/x86_64/configure.in: ... here.
44108 * sysdeps/x86_64/elf/start.S: Moved to ...
44109 * sysdeps/x86_64/start.S: ... here.
44110 * sysdeps/x86_64/elf/configure: Delete.
44112 * sysdeps/x86_64/configure.in: Merge contents from
44113 sysdeps/i386/configure.in (without i686 check).
44115 * sysdeps/i386/elf/Versions: Merge into ...
44116 * sysdeps/i386/Versions: ... this.
44117 * sysdeps/i386/elf/Versions: Delete file.
44118 * sysdeps/i386/elf/start.S: Moved to ...
44119 * sysdeps/i386/start.S: ...here.
44120 * sysdeps/i386/elf/configure.in: Merge into...
44121 * sysdeps/i386/configure.in: ...here.
44122 * sysdeps/i386/elf/configure.in: Delete file.
44123 * sysdeps/i386/elf/configure: Delete file.
44125 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44126 * debug/backtracesyms.c: ... here.
44127 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44128 * debug/backtracesymsfd.c: ... here.
44129 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44130 * sysdeps/generic/ifunc-sel.h: ... here.
44132 * sysdeps/unix/i386/start.c: Delete file.
44133 * sysdeps/unix/sparc/start.c: Delete file.
44134 * sysdeps/unix/start.c: Delete file.
44136 * sysdeps/sh/elf/configure.in: Moved to ...
44137 * sysdeps/sh/configure.in: ... here.
44138 * sysdeps/sh/elf/start.S: Moved to ...
44139 * sysdeps/sh/start.S: ... here.
44140 * sysdeps/sh/elf/configure: Delete file.
44142 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44143 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44144 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44145 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44146 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44147 * sysdeps/powerpc/powerpc64/start.S: here.
44148 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44149 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44150 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44151 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44152 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44154 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44155 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44156 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44157 * sysdeps/powerpc/powerpc32/start.S: ... here.
44158 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44159 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44160 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44162 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44163 * sysdeps/powerpc/ifunc-sel.h: ... here.
44164 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44165 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44167 * sysdeps/sparc/elf/configure.in: Moved to ...
44168 * sysdeps/sparc/configure.in: ... here.
44169 * sysdeps/sparc/elf/configure: Delete file.
44170 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44171 * sysdeps/sparc/sparc32/start.S: ... here.
44172 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44173 * sysdeps/sparc/sparc64/start.S: ... here.
44174 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44175 * sysdeps/sparc/sparc32/Makefile: ... this.
44176 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44177 * sysdeps/sparc/sparc64/Makefile: ... this.
44179 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44180 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44181 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44182 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44183 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44184 * sysdeps/s390/s390-32/setjmp.S: ... here.
44185 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44186 * sysdeps/s390/s390-32/configure.in: ... here.
44187 * sysdeps/s390/s390-32/elf/configure: Delete file.
44188 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44189 * sysdeps/s390/s390-32/start.S: ... here.
44191 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44192 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44193 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44194 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44195 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44196 * sysdeps/s390/s390-64/setjmp.S: ... here.
44197 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44198 * sysdeps/s390/s390-64/configure.in: ... here
44199 * sysdeps/s390/s390-64/elf/configure: Delete file.
44200 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44201 * sysdeps/s390/s390-64/start.S: ... here.
44202 * sysdeps/s390/s390-64/elf/configure: Delete.
44204 * configure.in: Remove support for elf directories in sysdeps.
44206 * configure: Regenerated.
44207 * sysdeps/i386/configure: Regenerated.
44208 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44209 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44210 * sysdeps/s390/s390-32/configure: Regenerated.
44211 * sysdeps/s390/s390-64/configure: Regenerated.
44212 * sysdeps/sh/configure: Regenerated.
44213 * sysdeps/sparc/configure: Regenerated.
44214 * sysdeps/x86_64/configure: Regenerated.
44216 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44220 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44221 denormal result into account.
44223 2012-03-25 Roland McGrath <roland@hack.frob.com>
44225 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44226 Reported by Allan McRae <allan@archlinux.org>.
44228 2012-03-23 Jeff Law <law@redhat.com>
44230 * nss/getnssent.c (__nss_getent): Fix typo.
44232 2012-03-23 David S. Miller <davem@davemloft.net>
44234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44236 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44238 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44239 to pad to uint64_t for each field.
44240 (dl_tls_index): Replace unsigned long with uint64_t.
44242 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44243 Paul Pluzhnikov <ppluzhnikov@google.com>
44246 * grp/Makefile (otherlibs): Don't set it.
44247 * inet/Makefile (otherlibs): Likewise.
44248 * login/Makefile (otherlibs): Likewise.
44249 * nscd/Makefile (otherlibs): Likewise.
44250 * posix/Makefile (otherlibs): Likewise.
44251 * pwd/Makefile (otherlibs): Likewise.
44252 * rt/Makefile (otherlibs): Likewise.
44253 * sunrpc/Makefile (otherlibs): Likewise.
44254 * nss/Makefile (otherlibs): Likewise.
44255 Add libnss_files to routines and static-only-routines.
44256 ($(objpfx)getent): Remove rule.
44257 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44258 static-only-routines.
44260 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44263 * math/s_cexp.c: Include <float.h>.
44264 (__cexp): Handle exp result overflowing not necessarily
44265 overflowing both real and imaginary parts of result.
44266 * math/s_cexpf.c: Likewise.
44267 * math/s_cexpl.c: Likewise.
44268 * math/libm-test.inc (cexp_test): Add more tests.
44269 * sysdeps/i386/fpu/libm-test-ulps: Update.
44270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44272 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44274 * include/link.h (ELFW): New macro.
44275 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44276 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44278 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44280 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44283 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44285 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44287 (struct La_x32_retval): Likewise.
44289 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44291 * sysdeps/x86_64/preconfigure.in: New file.
44292 * sysdeps/x86_64/preconfigure: New generated file.
44294 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44297 * math/e_exp2l.c: Include <float.h>.
44298 (__ieee754_exp2l): Handle overflow and underflow cases
44299 separately. Only pass fractional part of argument to
44301 * math/libm-test.inc (exp2_test): Add more tests.
44303 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44304 negating x to take absolute value.
44305 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44307 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44308 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44310 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44311 computing low part if x was negated.
44312 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44314 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44316 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44317 la_x32_gnu_pltexit.
44318 (pltexit): Cast int_retval to ptrdiff_t.
44319 * elf/tst-auditmod3b.c: Likewise.
44320 * elf/tst-auditmod4b.c: Likewise.
44321 * elf/tst-auditmod5b.c: Likewise.
44322 * elf/tst-auditmod6b.c: Likewise.
44323 * elf/tst-auditmod6c.c: Likewise.
44324 * elf/tst-auditmod7b.c: Likewise.
44326 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44327 and x32_gnu_pltexit.
44329 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44330 __ELF_NATIVE_CLASS.
44331 (La_x32_regs): New macro.
44332 (La_x32_retval): Likewise.
44333 (la_x32_gnu_pltenter): New function prototype.
44334 (la_x32_gnu_pltexit): Likewise.
44336 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44343 * configure.in (libc_cv_cc_nofma): Check for option to disable
44344 generation of FMA instructions.
44345 * configure: Regenerate.
44346 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44347 * sysdeps/ieee754/dbl-64/Makefile: New file.
44348 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44349 Remove brandred-fma4.
44350 (CFLAGS-brandred-fma4.c): Remove.
44351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44352 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44354 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44357 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44359 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44360 LLONG_MAX != LONG_MAX.
44361 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44362 (_fitoa_word): Likewise.
44363 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44364 LLONG_MAX != LONG_MAX.
44365 * stdio-common/_itowa.h: Include <_itoa.h>.
44366 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44367 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44368 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44369 only if not defined.
44370 (_ITOA_WORD_TYPE): Likewise.
44371 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44372 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44374 2012-03-21 David S. Miller <davem@davemloft.net>
44376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44378 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44380 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44381 of x86_64 when setting libc_cv_slibdir, libdir and
44383 * sysdeps/unix/sysv/linux/configure: Regenerated.
44385 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44387 * manual/lang.texi (Old Varargs): Remove section.
44388 (How Variadic): Update menu.
44389 (va_start): Do not mention varargs.h.
44391 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44392 Joseph Myers <joseph@codesourcery.com>
44394 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44396 * configure: Regenerated.
44398 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44400 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44401 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44404 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44407 * Makefile (files-for-dist): Remove NOTES.
44408 (NOTES): Remove rule.
44409 * README: Don't refer to NOTES.
44410 * manual/creature.texi: Don't include macros.texi.
44411 * manual/intro.texi (creature.texi): Remove comment referring to
44414 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44415 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44416 * configure: Regenerated.
44417 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44418 LIBC_TRY_CC_OPTION.
44419 (libc_cv_as_i686): Likewise.
44420 (libc_cv_cc_avx): Likewise.
44421 (libc_cv_cc_sse2avx): Likewise.
44422 (libc_cv_cc_fma4): Likewise.
44423 (libc_cv_cc_novzeroupper): Likewise.
44424 * sysdeps/i386/configure: Regenerated.
44427 * sysdeps/i386/fpu/s_cexp.S: Remove.
44428 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44429 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44430 * math/libm-test.inc (cexp_test): Add more tests.
44431 * sysdeps/i386/fpu/libm-test-ulps: Update.
44432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44434 2012-03-21 Allan McRae <allan@archlinux.org>
44436 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44438 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44441 * math/w_exp2.c: Do not include <float.h>.
44442 (o_threshold, u_threshold): Remove.
44443 (__exp2): Calculate result before checking finiteness and calling
44445 * math/w_exp2f.c: Likewise.
44446 * math/w_exp2l.c: Likewise.
44447 * math/libm-test.inc (exp2_test): Require overflow exception for
44451 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44452 range of signed 64-bit integers before using fistpll. Remove
44453 checks for whether integers fit in mantissa bits.
44454 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44455 the range of signed 32-bit integers before using fistpl. Remove
44456 checks for whether integers fit in mantissa bits.
44457 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44458 (__ieee754_powl): Test for y outside the range of signed 64-bit
44459 integers before using fistpll. Reduce 64-bit values to 63-bit
44461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44462 divide-by-zero is raised for zero to large negative powers.
44463 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44464 (__ieee754_powl): Test for y outside the range of signed 64-bit
44465 integers before using fistpll. Reduce 64-bit values to 63-bit
44467 * math/libm-test.inc (pow_test): Add more tests.
44469 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44471 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44472 <stdio-common/_itoa.h>.
44473 * debug/segfault.c: Likewise.
44474 * elf/dl-cache.c: Likewise.
44475 * elf/dl-minimal.c: Likewise.
44476 * elf/dl-misc.c: Likewise.
44477 * elf/dl-sysdep.c: Likewise.
44478 * elf/dl-version.c: Likewise.
44479 * elf/rtld.c: Likewise.
44480 * hurd/hurdsock.c: Likewise.
44481 * hurd/lookup-retry.c: Likewise.
44482 * malloc/malloc.c: Likewise.
44483 * malloc/mtrace.c: Likewise.
44484 * nscd/nscd_getgr_r.c: Likewise.
44485 * nscd/nscd_getpw_r.c: Likewise.
44486 * nscd/nscd_getserv_r.c: Likewise.
44487 * posix/getopt_init.c: Likewise.
44488 * posix/wordexp.c: Likewise.
44489 * stdio-common/_itoa.c: Likewise.
44490 * stdio-common/printf_fphex.c: Likewise.
44491 * stdio-common/vfprintf.c: Likewise.
44492 * string/_strerror.c: Likewise.
44493 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44494 * sysdeps/i386/i686/hp-timing.h: Likewise.
44495 * sysdeps/mach/_strerror.c: Likewise.
44496 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44497 * sysdeps/mach/hurd/sethostid.c: Likewise.
44498 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44499 * sysdeps/mach/xpg-strerror.c: Likewise.
44500 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44501 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44502 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44503 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44504 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44505 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44506 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44507 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44508 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44509 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44510 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44511 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44512 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44513 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44514 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44515 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44516 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44517 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44518 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44519 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44520 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44522 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44524 * stdio-common/_itoa.h: Moved to ...
44525 * sysdeps/generic/_itoa.h: Here.
44527 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44529 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44530 instead of "_itoa.h" and "_itowa.h".
44531 * stdio-common/vfprintf.: Likewise.
44533 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44535 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44537 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44538 (__signbit): Likwise.
44539 (llrintf): Likwise.
44542 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44544 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44547 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44549 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44550 OVERFLOW_EXCEPTION_OK.
44551 * math/libm-test.inc ("Philosophy"): Update comment about
44553 (OVERFLOW_EXCEPTION): Define.
44554 (OVERFLOW_EXCEPTION_OK): Likewise.
44555 (INVALID_EXCEPTION_OK): Renumber.
44556 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44557 (IGNORE_ZERO_INF_SIGN): Likewise.
44558 (test_exceptions): Handle FE_OVERFLOW.
44559 (exp10_test): Expect overflow exceptions.
44560 (exp2_test): Likewise.
44561 (expm1_test): Likewise.
44562 (nextafter_test): Likewise.
44563 (pow_test): Likewise.
44564 (scalbn_test): Likewise.
44565 (scalbln_test): Likewise.
44567 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44569 * sysdeps/x86_64/bits/atomic.h
44570 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44572 (atomic_exchange_acq): Likewise.
44573 (__arch_exchange_and_add_body): Likewise.
44574 (__arch_add_body): Likewise.
44575 (atomic_add_negative): Likewise.
44576 (atomic_add_zero): Likewise.
44578 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44580 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44581 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44583 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44585 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44586 Check __x86_64__ instead of __WORDSIZE.
44588 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44590 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44592 2012-03-19 David S. Miller <davem@davemloft.net>
44594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44596 * sysdeps/sparc/fpu/fenv_private.h: New file.
44597 * sysdeps/sparc/fpu/math_private.h: Use it.
44598 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44600 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44601 (libc_feholdexcept_setroundl): Remove.
44602 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44604 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44605 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44607 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44609 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44610 int64_t instead of long int.
44611 (INSERT_WORDS64): Likwise.
44613 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44615 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44616 _Unwind_GetCFA return to _Unwind_Ptr first.
44618 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44621 * math/s_clog.c: Include <float.h>.
44622 (__clog): Scale large or subnormal inputs.
44623 * math/s_clogf.c: Likewise.
44624 * math/s_clogl.c: Likewise.
44625 * math/s_clog10.c: Include <float.h>.
44626 (M_LOG10_2): Define.
44627 (__clog10): Scale large or subnormal inputs.
44628 * math/s_clog10f.c: Likewise.
44629 * math/s_clog10l.c: Likewise.
44630 * math/libm-test.inc (clog_test): Add more tests.
44631 (clog10_test): Likewise.
44632 * sysdeps/i386/fpu/libm-test-ulps: Update.
44633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44636 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44638 * math/libm-test.inc (atan2_test): Add another test.
44640 * Makerules (common-objdir-compile): Remove.
44641 * sysdeps/unix/Makefile (config-generated): Do not add
44642 $(unix-generated) to variable.
44643 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44644 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44646 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44648 [generic bits/local_lim.h] (before-compile): Do not append to
44650 [generic bits/local_lim.h] (common-generated): Likewise.
44651 [generic sys/param.h] (before-compile): Do not append to variable.
44652 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44653 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44654 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44655 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44657 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44658 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44659 [generic sys/param.h] ($(addprefix
44660 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44661 [generic sys/param.h] (common-generated): Do not append to
44663 [generic sys/param.h] (sysdep_headers): Likewise.
44664 [generic bits/errno.h] (before-compile): Do not append to
44666 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44668 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44669 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44670 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44671 [generic bits/errno.h] (common-generated): Do not append to
44673 [generic bits/ioctls.h] (before-compile): Do not append to
44675 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44677 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44678 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44679 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44681 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44682 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44683 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44684 [generic bits/ioctls.h] (common-generated): Do not append to
44686 [generic sys/syscall.h] (syscall.h): Remove variable.
44687 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44689 [generic sys/syscall.h] (before-compile): Do not append to
44691 [generic sys/syscall.h] (common-generated): Likewise.
44692 * sysdeps/unix/errnos-tmpl.c: Remove file.
44693 * sysdeps/unix/errnos.awk: Likewise.
44694 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44695 * sysdeps/unix/ioctls.awk: Likewise.
44696 * sysdeps/unix/mk-local_lim.c: Likewise.
44697 * sysdeps/unix/snarf-ioctls: Likewise.
44699 2012-03-19 Richard Henderson <rth@twiddle.net>
44701 * sysdeps/i386/fpu/fenv_private.h: New file.
44702 * sysdeps/i386/fpu/math_private.h: Use it.
44703 (math_opt_barrier, math_force_eval): Remove.
44704 (libc_feholdexcept_setround_53bit): Remove.
44705 (libc_feupdateenv_53bit): Remove.
44706 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44707 (math_opt_barrier, math_force_eval): Remove.
44708 (libc_feholdexcept): Remove.
44709 (libc_feholdexcept_setround): Remove.
44710 (libc_fetestexcept, libc_fesetenv): Remove.
44711 (libc_feupdateenv_test): Remove.
44712 (libc_feupdateenv, libc_feholdsetround): Remove.
44713 (libc_feresetround): Remove.
44715 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44716 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44718 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44719 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44720 (libc_feupdateenv_testl): New.
44721 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44722 (libc_feupdateenv_testf): New.
44723 (libc_feupdateenv): Use libc_feupdateenv_test.
44724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44725 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44727 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44728 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44729 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44730 (libc_feresetround_noex): New.
44731 (libc_feresetround_noexf): New.
44732 (libc_feresetround_noexl): New.
44733 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44734 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44735 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44736 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44739 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44741 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44742 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44743 SET_RESTORE_ROUND_NOEX.
44744 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44745 SET_RESTORE_ROUND_NOEXF.
44746 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44747 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44748 (libc_feholdsetroundf): New.
44749 (libc_feresetround, libc_feresetroundf): New.
44751 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44752 (libc_feholdexcept_setround_53bit): Convert from macro to function.
44753 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
44755 * sysdeps/generic/math_private.h: Include <fenv.h>.
44756 (default_libc_feholdexcept): New.
44757 (default_libc_feholdexcept_setround): New.
44758 (default_libc_fesetenv, default_libc_feupdateenv): New.
44759 (libc_feholdexcept): Only define if undefined.
44760 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44761 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44762 (libc_feholdexcept_setroundl): Likewise.
44763 (libc_feholdexcept_setround_53bit): Likewise.
44764 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44765 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44766 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44767 (libc_feupdateenv_53bit): Likewise.
44768 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44769 (libc_feholdexcept): Convert from macro to inline function.
44770 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44771 (libc_fesetenv, libc_feupdateenv): Likewise.
44773 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44774 not previously defined.
44775 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44776 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44777 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44778 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44779 * sysdeps/ieee754/flt-32/math_private.h: New file.
44780 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44781 math_private.h below SET_FLOAT_WORD.
44782 (__isnan, __isinf_ns, __finite): Remove.
44783 (__isnanf, __isinf_nsf, __finitef): Remove.
44785 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44789 2012-03-17 David S. Miller <davem@davemloft.net>
44792 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44795 2012-03-16 David S. Miller <davem@davemloft.net>
44797 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44801 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44803 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44804 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44805 sysdep_routines when subdir is sysvipc.
44806 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44807 __getshmlba helper.
44809 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44811 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44813 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44816 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44818 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44819 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44820 (__lround): Renamed to ...
44821 (__llround): This. Replace long int with long long int.
44822 Define lround functions as aliases of llround functions.
44823 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44825 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44827 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44828 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44829 adresses to uintptr_t. Replace "long int" and "unsigned long
44830 int" with "greg_t" on va_arg.
44832 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44834 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44835 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44837 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44838 Move e_machine check before EI_CLASS check. Handle x32
44839 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44840 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44841 SKIP_EM_IA_64 and include
44842 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44844 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44845 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44846 (add_system_dir): New macro.
44848 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44849 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44851 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44862 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44864 * math/w_j0f.c (j0f): Likewise.
44866 * math/w_j0l.c (__j0l): Likewise.
44868 * math/w_j1.c (j1): Likewise.
44870 * math/w_j1f.c (j1f): Likewise.
44872 * math/w_j1l.c (__j1l): Likewise.
44874 * math/w_jn.c (jn): Likewise.
44876 * math/w_jnf.c (jnf): Likewise.
44878 * math/w_jnl.c (__jnl): Likewise.
44880 * math/libm-test.inc (j0_test): Add more tests.
44881 (j1_test): Likewise.
44882 (jn_test): Likewise. Add trailing semicolon to existing test.
44883 (y0_test): Likewise.
44884 (y1_test): Likewise.
44885 * sysdeps/i386/fpu/libm-test-ulps: Update.
44886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44890 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44891 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44892 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44893 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44894 (__tanl): Set errno for infinite argument.
44895 * sysdeps/i386/fpu/mptan.c: Remove.
44896 * sysdeps/i386/fpu/s_tan.S: Likewise.
44897 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44898 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44899 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44900 * math/libm-test.inc (tan_test): Add more tests and enable more
44901 tests for double and long double.
44902 * sysdeps/i386/fpu/libm-test-ulps: Update.
44903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44905 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44907 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44908 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44910 2012-03-16 Roland McGrath <roland@hack.frob.com>
44912 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44913 * configure.in: Use it for both main tree and add-ons.
44914 * configure: Regenerated.
44916 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44918 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44920 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44922 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44926 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44927 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44928 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44929 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44930 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44932 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44933 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44934 != 0 for prec == 2.
44935 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44936 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44937 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44938 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44939 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44940 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44941 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44942 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44943 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44944 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44945 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44946 * math/libm-test.inc (cos_test): Add more tests and enable more
44947 tests for long double.
44948 (sin_test): Likewise.
44949 (sincos_test): Likewise.
44950 * sysdeps/i386/fpu/libm-test-ulps: Update.
44951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44953 2012-03-16 David S. Miller <davem@davemloft.net>
44955 * sysdeps/sparc/fpu/math_private.h: New file.
44957 2012-03-15 David S. Miller <davem@davemloft.net>
44959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44969 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44973 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44974 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44976 * sysdeps/sparc/sparc-ifunc.h: New file.
44977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45004 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45016 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45020 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45022 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45024 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45028 2012-03-15 Andreas Jaeger <aj@suse.de>
45031 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45032 ieee754/flt-32 implementation for sin, cos and sincos.
45033 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45034 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45035 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45036 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45037 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45038 ieee754/flt-32 implementation for tan.
45040 * math/libm-test.inc (cos_test): Enable some large input tests for
45042 (sin_test): Likewise.
45043 (sincos_test): Likewise.
45044 (tan_test): Add tests for large input.
45046 * sysdeps/i386/fpu/libm-test-ulps: Update.
45048 2012-03-15 Andreas Jaeger <aj@suse.de>
45051 * math/libm-test.inc (cos_test): Add more test cases.
45052 (sin_test): Likewise.
45053 (sincos_test): Likewise.
45055 2012-03-15 Andreas Jaeger <aj@suse.de>
45058 * math/libm-test.inc (cos_test): Add a test case for large input
45060 (sin_test): Likewise.
45061 (sincos_test): Likewise.
45063 2012-03-15 Andreas Jaeger <aj@suse.de>
45064 Joseph Myers <joseph@codesourcery.com>
45067 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45068 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45069 * sysdeps/i386/fpu/branred.c: Likewise.
45070 * sysdeps/i386/fpu/dosincos.c: Likewise.
45071 * sysdeps/i386/fpu/mpa.c: Likewise.
45072 * sysdeps/i386/fpu/s_cos.S: Likewise.
45073 * sysdeps/i386/fpu/s_sin.S: Likewise.
45074 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45075 * sysdeps/i386/fpu/sincos32.c: Likewise.
45077 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45079 (libc_feupdateenv_53bit): Define.
45080 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45082 (libc_feupdateenv_53bit): Define.
45084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45085 53 bit (without extend i386 double precision).
45087 * math/libm-test.inc (sincos_test): Add tests for large input.
45091 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45093 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45097 2012-03-15 David S. Miller <davem@davemloft.net>
45099 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45100 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45101 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45102 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45127 fmin/fmax sysdep routines.
45128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45130 2012-03-14 David S. Miller <davem@davemloft.net>
45132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45139 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45153 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45160 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45204 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45209 * sysdeps/sparc/configure.in: New file.
45210 * sysdeps/sparc/configure: Generate.
45211 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45212 * configure: Regenerate.
45213 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45214 * config.make.in (have-as-vis3): New.
45215 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45216 available use -Av9d instead of -Av9a.
45217 * sysdeps/sparc/sparc64/Makefile: Likewise.
45218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45233 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45234 fzeros/fnegs to load 0x80000000 into a float register instead of
45236 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45238 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45242 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45243 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45244 ($(inst_includedir)/bits/syscall.h): Remove rule.
45245 ($(objpfx)bits/syscall.d): Include instead of
45246 $(objpfx)syscall-list.d.
45247 (generated): Change syscall-list.h and syscall-list.d to
45248 bits/syscall.h and bits/syscall.d.
45250 2012-03-14 Roland McGrath <roland@hack.frob.com>
45253 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45255 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45258 * math/s_csqrt.c: Include <float.h>.
45259 (__csqrt): Scale large or subnormal inputs.
45260 * math/s_csqrtf.c: Likewise.
45261 * math/s_csqrtl.c: Likewise.
45262 * math/libm-test.inc (csqrt_test): Add more tests.
45263 * sysdeps/i386/fpu/libm-test-ulps: Update.
45264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45267 * math/libm-test.inc (hypot_test): Add more tests.
45269 2012-03-13 David S. Miller <davem@davemloft.net>
45272 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45273 double-precision for the calculation instead of scaling.
45275 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45277 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45278 manipulate bits before adding and subtracting TWO52[sx].
45279 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45280 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45282 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45284 2012-03-13 David S. Miller <davem@davemloft.net>
45286 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45287 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45289 rtld-global-offsets.h
45290 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45292 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45295 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45297 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45298 'err' in the ifdef scope in which it is actually used.
45300 * nss/nss_db/db-init.c: Include string.h
45302 2012-03-12 David S. Miller <davem@davemloft.net>
45304 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45305 masking out of the most significant byte of random value used.
45306 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45307 Fix coding style in previous change.
45309 * sysdeps/unix/sysv/linux/kernel-features.h
45310 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45311 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45313 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45316 2012-03-11 David S. Miller <davem@davemloft.net>
45318 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45319 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45321 for 'resultvar' otherwise things get truncated on 64-bit.
45323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45324 Fix masking out of the most significant byte of random value used.
45326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45328 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45332 2012-03-09 David S. Miller <davem@davemloft.net>
45334 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45335 variables with appropriate CPP guards.
45336 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45337 from the frame pointer, not the stack pointer. Correct layout
45338 comments. Fix test on resulting framesize and the management of
45339 the outregs buffer for pltexit. Preserve floating point return
45340 values across _dl_call_pltexit call.
45341 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45342 framesize and the management of the outregs buffer for pltexit.
45343 Preserve floating point return values across _dl_call_pltexit
45345 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45346 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45347 (la_sparc64_gnu_pltexit): New functions.
45348 (print_exit): Fix format string for return register value.
45350 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45352 * sunrpc/Makefile (others): Add rpcgen.
45353 ($(objpfx)rpcgen): Remove special build rule and dependency on
45355 * sunrpc/rpcgen.c: New file.
45357 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45360 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45361 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45362 * sysdeps/i386/crti.S: Likewise.
45363 * sysdeps/i386/crtn.S: Likewise.
45364 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45365 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45366 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45367 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45368 * sysdeps/sh/crti.S: Likewise.
45369 * sysdeps/sh/crtn.S: Likewise.
45370 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45373 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45375 * locale/programs/locfile-kw.gperf: Likewise.
45376 * locale/programs/charmap-kw.h: Regenerated.
45377 * locale/programs/locfile-kw.h: Likewise.
45380 * intl/plural.y: Replace FSF snail mail address with URL.
45381 * intl/plural.c: Regenerated.
45383 2012-03-09 Richard Henderson <rth@twiddle.net>
45385 * include/math_private.h: Remove file.
45386 * math/math_private.h: Move file ...
45387 * sysdeps/generic/math_private.h: ... here.
45389 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45390 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45391 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45393 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45394 and <math_private.h>.
45395 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45396 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45397 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45398 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45399 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45400 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45401 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45403 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45404 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45406 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45407 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45409 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45410 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45411 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45412 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45413 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45414 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45416 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45417 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45419 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45420 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45421 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45422 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45424 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45425 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45426 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45427 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45428 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45429 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45430 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45431 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45432 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45433 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45434 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45435 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45436 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45437 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45438 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45439 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45440 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45441 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45442 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45443 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45444 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45445 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45446 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45447 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45448 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45449 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45450 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45451 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45452 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45453 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45454 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45456 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45458 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45459 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45460 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45461 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45462 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45463 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45464 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45465 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45466 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45467 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45468 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45469 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45472 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45473 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45474 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45475 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45476 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45477 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45478 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45479 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45481 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45482 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45483 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45484 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45485 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45486 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45487 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45488 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45489 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45490 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45491 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45492 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45493 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45494 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45495 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45496 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45497 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45498 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45499 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45500 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45501 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45502 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45503 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45505 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45506 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45507 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45508 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45509 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45510 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45511 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45512 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45513 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45514 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45515 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45516 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45517 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45518 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45519 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45520 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45521 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45522 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45523 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45524 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45525 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45526 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45527 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45528 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45529 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45530 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45531 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45532 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45533 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45534 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45535 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45536 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45537 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45538 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45539 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45540 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45541 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45542 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45543 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45544 * sysdeps/ieee754/k_standard.c: Likewise.
45545 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45546 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45547 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45548 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45549 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45550 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45551 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45552 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45553 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45554 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45555 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45556 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45557 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45558 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45559 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45560 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45561 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45562 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45563 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45564 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45565 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45566 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45567 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45568 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45569 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45570 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45571 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45572 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45573 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45574 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45575 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45576 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45577 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45578 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45579 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45580 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45581 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45582 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45583 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45584 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45585 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45586 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45587 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45588 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45589 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45590 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45591 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45593 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45594 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45595 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45596 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45597 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45598 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45599 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45600 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45601 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45602 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45603 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45604 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45605 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45606 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45607 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45608 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45610 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45611 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45612 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45613 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45615 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45616 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45617 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45618 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45619 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45620 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45621 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45622 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45623 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45624 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45625 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45626 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45627 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45628 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45630 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45631 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45632 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45633 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45634 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45636 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45637 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45638 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45639 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45640 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45641 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45642 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45643 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45644 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45646 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45647 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45648 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45649 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45650 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45651 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45652 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45653 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45654 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45656 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45657 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45658 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45659 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45660 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45661 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45662 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45663 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45664 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45665 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45666 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45667 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45668 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45669 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45670 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45671 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45672 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45673 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45674 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45675 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45676 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45677 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45678 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45679 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45680 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45681 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45682 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45683 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45684 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45685 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45686 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45687 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45688 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45689 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45690 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45691 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45692 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45693 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45694 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45695 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45696 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45697 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45698 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45699 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45700 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45701 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45702 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45703 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45704 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45705 * sysdeps/ieee754/s_lib_version.c: Likewise.
45706 * sysdeps/ieee754/s_matherr.c: Likewise.
45707 * sysdeps/ieee754/s_signgam.c: Likewise.
45708 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45709 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45710 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45711 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45712 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45713 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45714 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45715 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45716 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45717 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45718 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45719 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45720 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45721 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45722 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45723 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45724 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45725 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45726 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45730 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45732 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45733 * sunrpc/rpc_main.c: Likewise.
45734 * sunrpc/rpc_svcout.c: Likewise.
45736 2012-03-09 David S. Miller <davem@davemloft.net>
45738 * include/math_private.h: New file.
45740 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45742 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45743 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45744 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45745 from <bits/socket_type.h>.
45746 (enum __socket_type): Don't define here.
45747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45749 bits/socket_type.h.
45752 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45753 checking __USE_GNU.
45755 * Makerules ($(inst_includedir)/%.h): New rule.
45756 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45757 (install-others): Remove variable setting.
45758 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45760 2012-03-08 Richard Henderson <rth@twiddle.net>
45762 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45763 from macro to inline function; merge with the
45764 !__LIBC_INTERNAL_MATH_INLINES version.
45765 (__ieee754_sqrtf): Likewise.
45767 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45768 to inline function.
45769 (__rintf, __floor, __floorf): Likewise.
45771 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45772 macro to inline function.
45773 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45775 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45776 not <math/math_private.h>.
45778 2012-03-08 David S. Miller <davem@davemloft.net>
45780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45782 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45784 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45786 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45788 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45789 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45791 2012-03-08 Ulrich Drepper <drepper@gmail.com>
45793 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45794 be defined individually, they must be defined as a block. Define
45795 S for printing a string instead of hidint the different by using a
45796 macro for adding the 'l'.
45797 * stdio-common/tst-fphex-wide.c: Adjust.
45799 2012-03-07 Marek Polacek <polacek@redhat.com>
45801 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45803 2012-03-08 Marek Polacek <polacek@redhat.com>
45806 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45807 * stdio-common/tst-fphex.c: Define a few macros to make the
45808 test reusable. Use them.
45809 * stdio-common/tst-fphex-wide.c: New file.
45811 2012-03-08 Joseph Myers <joseph@codesourcery.com>
45814 * manual/macros.texi (gnusystems): New macro.
45815 (nongnusystems): Likewise.
45816 (gnulinuxhurdsystems): Likewise.
45817 (gnuhurdsystems): Likewise..
45818 (gnulinuxsystems): Likewise.
45819 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45820 variants of the GNU system, not "GNU system".
45821 * manual/conf.texi: Likewise.
45822 * manual/errno.texi: Likewise. Update example of errno macro
45824 * manual/filesys.texi: Likewise.
45825 (getumask): Document as specific to GNU/Hurd.
45826 * manual/install.texi: Likewise. Reword some references to
45828 * manual/intro.texi: Likewise.
45829 * manual/io.texi: Likewise.
45830 (File Name Portability): Detail which constraints are inapplicable
45831 to all GNU systems and which are only inapplicable to GNU/Hurd.
45832 * manual/job.texi: Likewise.
45833 * manual/llio.texi: Likewise.
45834 (O_NOCTTY): Document as present on GNU/Linux.
45835 * manual/maint.texi: Likewise.
45836 * manual/memory.texi: Likewise.
45837 * manual/pattern.texi: Likewise.
45838 * manual/pipe.texi: Likewise.
45839 * manual/process.texi: Likewise.
45840 * manual/resource.texi: Likewise.
45841 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45843 * manual/setjmp.texi: Likewise.
45844 * manual/signal.texi: Likewise.
45845 * manual/startup.texi: Likewise.
45846 * manual/stdio.texi: Likewise.
45847 * manual/terminal.texi: Likewise.
45848 (ONLCR): Document as POSIX.
45849 (OXTABS): Document availability on GNU/Linux as XTABS.
45850 (ONOEOT): Document availability separately from other bits.
45851 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45852 * manual/time.texi: Likewise.
45853 * manual/users.texi: Likewise.
45854 * INSTALL: Regenerated.
45855 * sysdeps/gnu/errlist.c: Regenerated.
45857 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45858 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45859 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45861 * configure: Regenerated.
45863 2012-03-07 Joseph Myers <joseph@codesourcery.com>
45865 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45866 default includes instead of AC_HEADER_CHECK.
45867 * sysdeps/i386/configure: Regenerated.
45870 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45871 * math/s_cacoshf.c (__cacoshf): Likewise.
45872 * math/s_cacoshl.c (__cacoshl): Likewise.
45873 * math/s_casinh.c (__casinh): Set signs of result from argument.
45874 * math/s_casinhf.c (__casinhf): Likewise.
45875 * math/s_casinhl.c (__casinhl): Likewise.
45876 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45877 (casinh_test): Add more tests.
45878 * sysdeps/i386/fpu/libm-test-ulps: Update.
45879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45881 2012-03-07 Ulrich Drepper <drepper@gmail.com>
45883 * po/zh_TW.po: Update from translation team.
45885 * login/Makefile (distribute): Remove variable.
45886 * catgets/Makefile: Likewise.
45887 * mach/Makefile: Likewise.
45888 * malloc/Makefile: Likewise.
45889 * misc/Makefile: Likewise.
45890 * iconv/Makefile: Likewise.
45891 * nscd/Makefile: Likewise.
45892 * hurd/Makefile: Likewise.
45893 * manual/Makefile: Likewise.
45894 * locale/Makefile: Likewise.
45895 * intl/Makefile: Likewise.
45896 * conform/Makefile: Likewise.
45897 * nss/Makefile: Likewise.
45898 * time/Makefile: Likewise.
45899 * soft-fp/Makefile: Likewise.
45900 * dirent/Makefile: Likewise.
45901 * gmon/Makefile: Likewise.
45902 * po/Makefile: Likewise.
45903 * rt/Makefile: Likewise.
45904 * socket/Makefile: Likewise.
45905 * math/Makefile: Likewise.
45906 * signal/Makefile: Likewise.
45907 * debug/Makefile: Likewise.
45908 * elf/Makefile: Likewise.
45909 * timezone/Makefile: Likewise.
45910 * stdlib/Makefile: Likewise.
45911 * iconvdata/Makefile: Likewise.
45912 * sunrpc/Makefile: Likewise.
45913 * io/Makefile: Likewise.
45914 * argp/Makefile: Likewise.
45915 * inet/Makefile: Likewise.
45916 * hesiod/Makefile: Likewise.
45917 * grp/Makefile: Likewise.
45918 * csu/Makefile: Likewise.
45919 * wctype/Makefile: Likewise.
45920 * crypt/Makefile: Likewise.
45921 * libio/Makefile: Likewise.
45922 * string/Makefile: Likewise.
45923 * nis/Makefile: Likewise.
45924 * resolv/Makefile: Likewise.
45925 * stdio-common/Makefile: Likewise.
45926 * wcsmbs/Makefile: Likewise.
45927 * dlfcn/Makefile: Likewise.
45928 * posix/Makefile: Likewise.
45931 * timezone/Makefile: Don't install timezone files, just the programs
45934 2012-03-06 Ulrich Drepper <drepper@gmail.com>
45936 * nss/databases.def: Add missing gshadow entry.
45938 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45940 2012-03-06 Marek Polacek <polacek@redhat.com>
45943 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45944 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45945 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45946 * stdio-common/tst-long-dbl-fphex.c: New file.
45948 2012-03-06 David S. Miller <davem@davemloft.net>
45950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45951 (set_obp_int): New function.
45952 (get_obp_int): New function.
45953 (__get_clockfreq_via_dev_openprom): Likewise.
45954 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45955 Avoid unused variable warnings on 'val' and use builtin_expect.
45956 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45958 (INLINE_CLONE_SYSCALL): Likewise.
45960 2012-03-05 David S. Miller <davem@davemloft.net>
45962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45964 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45968 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45969 only for |x| >= 40.
45970 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45972 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
45974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45975 Replace gettimeofday with __vdso_gettimeofday.
45977 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45978 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45979 __vdso_clock_gettime and __vdso_getcpu.
45981 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45982 time with __vdso_time.
45984 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45986 * manual/lang.texi (size_t): Note types to which size_t may be
45987 equivalent with the GNU C Library, but do not describe when
45988 differences between them are significant.
45990 2012-03-05 Andreas Jaeger <aj@suse.de>
45992 * sysdeps/i386/fpu/libm-test-ulps: Update.
45994 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45997 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45998 (__ieee754_pow): Save and restore rounding mode and use
45999 round-to-nearest for main computations.
46000 * math/libm-test.inc (pow_test_tonearest): New function.
46001 (pow_test_towardzero): Likewise.
46002 (pow_test_downward): Likewise.
46003 (pow_test_upward): Likewise.
46004 (main): Call the new functions.
46005 * sysdeps/i386/fpu/libm-test-ulps: Update.
46006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46009 * math/libm-test.inc (cosh_test_tonearest): New function.
46010 (cosh_test_towardzero): Likewise.
46011 (cosh_test_downward): Likewise.
46012 (cosh_test_upward): Likewise.
46013 (sinh_test_tonearest): Likewise.
46014 (sinh_test_towardzero): Likewise.
46015 (sinh_test_downward): Likewise.
46016 (sinh_test_upward): Likewise.
46017 (main): Call the new functions.
46018 * sysdeps/i386/fpu/libm-test-ulps: Update.
46019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46021 2012-03-05 Tom de Vries <tom@codesourcery.com>
46023 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46024 default stack guard is set in last bytes.
46025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46027 2012-03-05 Kees Cook <keescook@chromium.org>
46029 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46032 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46033 possibly allocate from heap instead of stack.
46034 * stdio-common/bug-vfprintf-nargs.c: New file.
46035 * stdio-common/Makefile (tests): Add nargs overflow test.
46037 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46041 2012-03-03 Marek Polacek <polacek@redhat.com>
46043 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46044 * math/math_private.h: Likewise.
46045 * stdlib/tst-strtod.c: Likewise.
46046 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46047 * sysdeps/x86_64/bits/atomic.h: Likewise.
46049 2012-03-02 David S. Miller <davem@davemloft.net>
46051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46055 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46056 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46057 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46058 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46060 2012-03-02 Roland McGrath <roland@hack.frob.com>
46063 * manual/examples/README: New file, says the example source files
46064 can be used under GPL>=2.
46065 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46066 line containing just "*/".
46067 * manual/examples/add.c: Add copyright header (GPL>=2).
46068 * manual/examples/argp-ex1.c: Likewise.
46069 * manual/examples/argp-ex2.c: Likewise.
46070 * manual/examples/argp-ex3.c: Likewise.
46071 * manual/examples/argp-ex4.c: Likewise.
46072 * manual/examples/atexit.c: Likewise.
46073 * manual/examples/db.c: Likewise.
46074 * manual/examples/dir.c: Likewise.
46075 * manual/examples/dir2.c: Likewise.
46076 * manual/examples/execinfo.c: Likewise.
46077 * manual/examples/filecli.c: Likewise.
46078 * manual/examples/filesrv.c: Likewise.
46079 * manual/examples/fmtmsgexpl.c: Likewise.
46080 * manual/examples/genpass.c: Likewise.
46081 * manual/examples/inetcli.c: Likewise.
46082 * manual/examples/inetsrv.c: Likewise.
46083 * manual/examples/isockad.c: Likewise.
46084 * manual/examples/longopt.c: Likewise.
46085 * manual/examples/memopen.c: Likewise.
46086 * manual/examples/memstrm.c: Likewise.
46087 * manual/examples/mkfsock.c: Likewise.
46088 * manual/examples/mkisock.c: Likewise.
46089 * manual/examples/mygetpass.c: Likewise.
46090 * manual/examples/pipe.c: Likewise.
46091 * manual/examples/popen.c: Likewise.
46092 * manual/examples/rprintf.c: Likewise.
46093 * manual/examples/search.c: Likewise.
46094 * manual/examples/select.c: Likewise.
46095 * manual/examples/setjmp.c: Likewise.
46096 * manual/examples/sigh1.c: Likewise.
46097 * manual/examples/sigusr.c: Likewise.
46098 * manual/examples/stpcpy.c: Likewise.
46099 * manual/examples/strdupa.c: Likewise.
46100 * manual/examples/strftim.c: Likewise.
46101 * manual/examples/strncat.c: Likewise.
46102 * manual/examples/subopt.c: Likewise.
46103 * manual/examples/swapcontext.c: Likewise.
46104 * manual/examples/termios.c: Likewise.
46105 * manual/examples/testopt.c: Likewise.
46106 * manual/examples/testpass.c: Likewise.
46107 * manual/examples/timeval_subtract.c: Likewise.
46110 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46112 * manual/timeval_subtract.c.texi: ... here, new file.
46114 2012-03-02 David S. Miller <davem@davemloft.net>
46116 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46118 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46121 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46122 (__sin): Save and restore rounding mode and use round-to-nearest
46123 for all computations.
46124 (__cos): Save and restore rounding mode and use round-to-nearest
46125 for all computations.
46126 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46128 (tan): Save and restore rounding mode and use round-to-nearest for
46130 * math/libm-test.inc (cos_test_tonearest): New function.
46131 (cos_test_towardzero): Likewise.
46132 (cos_test_downward): Likewise.
46133 (cos_test_upward): Likewise.
46134 (sin_test_tonearest): Likewise.
46135 (sin_test_towardzero): Likewise.
46136 (sin_test_downward): Likewise.
46137 (sin_test_upward): Likewise.
46138 (tan_test_tonearest): Likewise.
46139 (tan_test_towardzero): Likewise.
46140 (tan_test_downward): Likewise.
46141 (tan_test_upward): Likewise.
46142 (main): Call the new functions.
46143 * sysdeps/i386/fpu/libm-test-ulps: Update.
46144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46147 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46148 small n, then large n, before computing and testing k+n.
46149 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46150 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46154 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46155 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46157 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46158 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46159 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46160 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46161 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46162 * math/libm-test.inc (scalbn_test): Add more tests.
46163 (scalbln_test): Likewise.
46165 * manual/filesys.texi (mode_t): Describe constraints on size and
46166 signedness, not exact equivalence to a particular type.
46168 (ino64_t): Likewise.
46170 (nlink_t): Likewise.
46171 (blkcnt_t): Likewise.
46172 (blkcnt64_t): Likewise.
46173 * manual/llio.texi (off_t): Likewise.
46176 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46177 (__ieee754_exp): Save and restore rounding mode and use
46178 round-to-nearest for all computations.
46179 * math/libm-test.inc (exp_test_tonearest): New function.
46180 (exp_test_towardzero): Likewise.
46181 (exp_test_downward): Likewise.
46182 (exp_test_upward): Likewise.
46183 (main): Call the new functions.
46184 * sysdeps/i386/fpu/libm-test-ulps: Update.
46185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46187 2012-03-01 Chris Demetriou <cgd@google.com>
46189 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46190 have predictable order.
46192 2012-03-01 David S. Miller <davem@davemloft.net>
46194 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46196 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46197 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46198 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46199 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46201 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46202 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46203 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46205 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46206 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46207 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46208 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46209 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46213 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46214 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46215 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46217 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46218 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46219 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46220 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46221 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46223 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46224 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46226 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46227 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46230 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46231 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46232 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46233 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46234 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46235 * sysdeps/sparc/elf/configure: Regenerated.
46237 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46239 * configure.in (AS, LD): Require binutils 2.20 or later.
46240 * configure: Regenerated.
46241 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46242 as required minimum version.
46243 * INSTALL: Regenerated.
46247 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46248 before squaring exponent.
46249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46250 bottom long double and 27 bits of top long double before squaring
46252 * math/libm-test.inc (erfc_test): Add more tests.
46253 * sysdeps/i386/fpu/libm-test-ulps: Update.
46254 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46257 2012-03-01 Kai Tietz <ktietz@redhat.com>
46259 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46260 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46261 containing bit-fields.
46262 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46263 * soft-fp/single.h (_FP_UNION_S): Likewise.
46264 * soft-fp/double.h (_FP_UNION_D): Likewise.
46266 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46269 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46270 not include ../strcmp.S.
46271 [USE_AS_STRNCASECMP_L]: Likewise.
46272 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46273 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46274 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46275 (__strncasecmp_l_ia32): Define as alias to
46276 __strncasecmp_l_nonascii.
46279 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46280 * sysdeps/i386/fpu/libm-test-ulps: Update.
46281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46283 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46286 2012-02-29 Jeff Law <law@redhat.com>
46288 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46289 out of bounds read.
46291 2012-02-29 Marek Polacek <polacek@redhat.com>
46294 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46295 * elf/Makefile: Add rules to run tst-unused-dep.out.
46297 2012-02-28 David S. Miller <davem@davemloft.net>
46299 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46300 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46301 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46302 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46303 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46304 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46306 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46308 * math/libm-test.inc (llround_test): Move one test from
46309 lround_test. Use TEST_f_L in moved test.
46310 (lround_test): Move misplaced test to llround_test. Add testcase
46313 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46315 * sysdeps/x86_64/fpu/e_expf.S: New file.
46316 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46318 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46321 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46322 of remain_len that may cause incomplete multi-byte character and
46324 * posix/bug-regex33.c: New file.
46325 * posix/Makefile (tests): Add bug-regex33.
46327 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46329 * manual/macros.texi: New file.
46330 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46331 * manual/libc.texinfo: Include macros.texi.
46332 * manual/creatute.texi: Likewise.
46333 * manual/install.texi: Likewise.
46334 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46335 @glibcadj{} in references to the GNU C Library.
46336 * manual/charset.texi: Likewise.
46337 * manual/conf.texi: Likewise.
46338 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46339 when not using those macros.
46340 * manual/creature.texi: Likewise.
46341 * manual/crypt.texi: Likewise.
46342 * manual/errno.texi: Likewise.
46343 * manual/filesys.texi: Likewise.
46344 * manual/header.texi: Likewise.
46345 * manual/install.texi: Likewise.
46346 * manual/intro.texi: Likewise.
46347 * manual/io.texi: Likewise.
46348 * manual/job.texi: Likewise.
46349 * manual/lang.texi: Likewise.
46350 * manual/libc.texiinfo: Likewise.
46351 * manual/llio.texi: Likewise.
46352 * manual/locale.texi: Likewise.
46353 * manual/maint.texi: Likewise.
46354 * manual/math.texi: Likewise.
46355 * manual/memory.texi: Likewise.
46356 * manual/message.texi: Likewise.
46357 * manual/nss.texi: Likewise.
46358 * manual/pattern.texi: Likewise.
46359 * manual/process.texi: Likewise.
46360 * manual/resource.texi: Likewise.
46361 * manual/search.texi: Likewise.
46362 * manual/setjmp.texi: Likewise.
46363 * manual/signal.texi: Likewise.
46364 * manual/socket.texi: Likewise.
46365 * manual/startup.texi: Likewise.
46366 * manual/stdio.texi: Likewise.
46367 * manual/string.texi: Likewise.
46368 * manual/sysinfo.texi: Likewise.
46369 * manual/syslog.texi: Likewise.
46370 * manual/terminal.texi: Likewise.
46371 * manual/time.texi: Likewise.
46372 * manual/users.texi: Likewise.
46373 * INSTALL: Regenerated.
46374 * NOTES: Regenerated.
46375 * sysdeps/gnu/errlist.c: Regenerated.
46377 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46379 * include/dirent.h: Include <dirstream.h> before
46382 2012-02-28 David S. Miller <davem@davemloft.net>
46384 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46385 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46386 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46387 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46389 2012-02-27 David S. Miller <davem@davemloft.net>
46391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46393 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46394 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46397 frame pointer instead of stack pointer relative arg slot.
46398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46399 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46400 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46402 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46405 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46407 2012-02-27 David S. Miller <davem@davemloft.net>
46409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46413 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46414 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46415 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46416 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46418 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46420 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46421 later. Allow versions 5-9.
46422 * configure: Regenerated.
46423 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46424 required minimum version and 4.6 as recommended version. Do not
46425 mention bugs in GCC 2.7 and 2.8.
46426 * INSTALL: Regenerated.
46428 2012-02-27 David S. Miller <davem@davemloft.net>
46430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46434 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46435 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46436 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46437 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46439 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46440 manipulate bits before adding and subtracting TWO112[sx].
46441 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46443 2012-02-27 Roland McGrath <roland@hack.frob.com>
46446 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46447 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46448 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46449 being in POSIX, because they are in 1003.1-2008.
46451 * rt/tst-aio.c: Include <fcntl.h>.
46452 * rt/tst-aio7.c: Likewise.
46453 * rt/tst-aio64.c: Likewise.
46455 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46457 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46459 * manual/install.texi (--with-headers): Describe headers as
46460 interface headers, not private headers.
46461 (Specific advice for GNU/Linux systems): Describe use of headers
46462 from "make headers_install", not private headers from older
46464 * INSTALL: Regenerated.
46465 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46467 * sysdeps/unix/sysv/linux/configure: Regenerated.
46469 * manual/llio.texi (fclean): Remove documentation.
46471 * manual/Makefile (libc-texi-generated): New variable. Include
46473 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46474 $(libc-texi-generated), not duplicated list of files.
46475 (version.texi, stamp-version): New rules.
46476 (realclean): Remove $(libc-texi-generated), not individual files
46477 from that list. Do not remove dir-add.texinfo.
46478 * manual/libc.texinfo: Comment out uses of edition numbers and
46479 references to printed manual. Remove last-updated dates.
46480 (EDITION): Comment out.
46482 (VERSION, UPDATED): Remove.
46483 (version.texi): Include.
46485 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46487 * sysdeps/posix/spawni.c: Include <signal.h>.
46488 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46489 * sysdeps/pthread/aio_fsync.c: Likewise.
46491 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46493 * conform/Makefile (tests): Run only when not cross-compiling and
46494 when fast-check is not defined.
46496 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46497 * conform/data/limits.h-data: Fixes for POSIX2008.
46498 * conform/run-conformtest.sh: Run all tests.
46499 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46501 * include/bits/dlfcn.h: Likewise.
46502 * include/langinfo.h: Likewise.
46503 * include/monetary.h: Likewise.
46504 * include/sys/poll.h: Likewise.
46506 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46508 * posix/spawn.h: Define __need_sigset_t.
46509 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46510 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46511 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46512 to get sigevent_t only.
46513 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46514 only for __USE_GNU.
46515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46516 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46517 process_vm_writev only for __USE_GNU.
46518 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46520 * conform/Makefile: For now ignore errors from run-conformtest.
46521 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46522 POSIX to avoid namespace pollution. Don't prepend headers.
46523 * conform/data/aio.h-data: Fixes for POSIX testing.
46524 * conform/data/fcntl.h-data: Likewise.
46525 * conform/data/glob.h-data: Likewise.
46526 * conform/data/grp.h-data: Likewise.
46527 * conform/data/pthread.h-data: Likewise.
46528 * conform/data/pwd.h-data: Likewise.
46529 * conform/data/signal.h-data: Likewise.
46530 * conform/data/spawn.h-data: Likewise.
46531 * conform/data/stdio.h-data: Likewise.
46532 * conform/data/stdlib.h-data: Likewise.
46533 * conform/data/stropts.h-data: Likewise.
46534 * conform/data/sys/mman.h-data: Likewise.
46535 * conform/data/sys/stat.h-data: Likewise.
46536 * conform/data/sys/types.h-data: Likewise.
46537 * conform/data/sys/wait.h-data: Likewise.
46538 * conform/data/time.h-data: Likewise.
46539 * conform/data/unistd.h-data: Likewise.
46540 * conform/data/utime.h-data: Likewise.
46542 * io/sys/stat.h: fchmod was always in POSIX.
46543 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46544 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46545 * rt/aio.h: Define __need_timespec before including <time.h>.
46546 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46547 struct. Add forward declaration of pthread_attr_t and use it in
46549 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46551 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46552 always remove CLK_TCK definition.
46554 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46556 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46558 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46560 * conform/run-conformtest.sh: New file.
46561 * conform/Makefile: Run run-conformtest for tests.
46562 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46565 * conform/data/uchar.h-data: New file.
46566 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46567 * conform/data/arpa/inet.h-data: Likewise.
46568 * conform/data/assert.h-data: Likewise.
46569 * conform/data/complex.h-data: Likewise.
46570 * conform/data/cpio.h-data: Likewise.
46571 * conform/data/ctype.h-data: Likewise.
46572 * conform/data/dirent.h-data: Likewise.
46573 * conform/data/dlfcn.h-data: Likewise.
46574 * conform/data/errno.h-data: Likewise.
46575 * conform/data/fcntl.h-data: Likewise.
46576 * conform/data/float.h-data: Likewise.
46577 * conform/data/fmtmsg.h-data: Likewise.
46578 * conform/data/fnmatch.h-data: Likewise.
46579 * conform/data/ftw.h-data: Likewise.
46580 * conform/data/glob.h-data: Likewise.
46581 * conform/data/grp.h-data: Likewise.
46582 * conform/data/iconv.h-data: Likewise.
46583 * conform/data/inttypes.h-data: Likewise.
46584 * conform/data/langinfo.h-data: Likewise.
46585 * conform/data/libgen.h-data: Likewise.
46586 * conform/data/limits.h-data: Likewise.
46587 * conform/data/locale.h-data: Likewise.
46588 * conform/data/math.h-data: Likewise.
46589 * conform/data/monetary.h-data: Likewise.
46590 * conform/data/mqueue.h-data: Likewise.
46591 * conform/data/ndbm.h-data: Likewise.
46592 * conform/data/net/if.h-data: Likewise.
46593 * conform/data/netdb.h-data: Likewise.
46594 * conform/data/netinet/in.h-data: Likewise.
46595 * conform/data/nl_types.h-data: Likewise.
46596 * conform/data/poll.h-data: Likewise.
46597 * conform/data/pthread.h-data: Likewise.
46598 * conform/data/pwd.h-data: Likewise.
46599 * conform/data/regex.h-data: Likewise.
46600 * conform/data/sched.h-data: Likewise.
46601 * conform/data/search.h-data: Likewise.
46602 * conform/data/semaphore.h-data: Likewise.
46603 * conform/data/setjmp.h-data: Likewise.
46604 * conform/data/signal.h-data: Likewise.
46605 * conform/data/spawn.h-data: Likewise.
46606 * conform/data/stdarg.h-data: Likewise.
46607 * conform/data/stdio.h-data: Likewise.
46608 * conform/data/stdlib.h-data: Likewise.
46609 * conform/data/string.h-data: Likewise.
46610 * conform/data/strings.h-data: Likewise.
46611 * conform/data/stropts.h-data: Likewise.
46612 * conform/data/sys/ipc.h-data: Likewise.
46613 * conform/data/sys/mman.h-data: Likewise.
46614 * conform/data/sys/msg.h-data: Likewise.
46615 * conform/data/sys/resource.h-data: Likewise.
46616 * conform/data/sys/select.h-data: Likewise.
46617 * conform/data/sys/sem.h-data: Likewise.
46618 * conform/data/sys/shm.h-data: Likewise.
46619 * conform/data/sys/socket.h-data: Likewise.
46620 * conform/data/sys/stat.h-data: Likewise.
46621 * conform/data/sys/statvfs.h-data: Likewise.
46622 * conform/data/sys/time.h-data: Likewise.
46623 * conform/data/sys/timeb.h-data: Likewise.
46624 * conform/data/sys/times.h-data: Likewise.
46625 * conform/data/sys/types.h-data: Likewise.
46626 * conform/data/sys/uio.h-data: Likewise.
46627 * conform/data/sys/un.h-data: Likewise.
46628 * conform/data/sys/utsname.h-data: Likewise.
46629 * conform/data/sys/wait.h-data: Likewise.
46630 * conform/data/syslog.h-data: Likewise.
46631 * conform/data/tar.h-data: Likewise.
46632 * conform/data/termios.h-data: Likewise.
46633 * conform/data/utime.h-data: Likewise.
46634 * conform/data/utmpx.h-data: Likewise.
46635 * conform/data/varargs.h-data: Likewise.
46636 * conform/data/wchar.h-data: Likewise.
46637 * conform/data/wctype.h-data: Likewise.
46638 * conform/data/wordexp.h-data: Likewise.
46640 * include/stropts.h: New file.
46641 * include/uchar.h: New file.
46642 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46643 * include/assert.h: Likewise.
46644 * include/ctype.h: Likewise.
46645 * include/dirent.h: Likewise.
46646 * include/dlfcn.h: Likewise.
46647 * include/fcntl.h: Likewise.
46648 * include/fnmatch.h: Likewise.
46649 * include/glob.h: Likewise.
46650 * include/grp.h: Likewise.
46651 * include/libio.h: Likewise.
46652 * include/locale.h: Likewise.
46653 * include/math.h: Likewise.
46654 * include/net/if.h: Likewise.
46655 * include/netdb.h: Likewise.
46656 * include/netinet/in.h: Likewise.
46657 * include/pthread.h: Likewise.
46658 * include/pwd.h: Likewise.
46659 * include/regex.h: Likewise.
46660 * include/sched.h: Likewise.
46661 * include/search.h: Likewise.
46662 * include/setjmp.h: Likewise.
46663 * include/signal.h: Likewise.
46664 * include/stdio.h: Likewise.
46665 * include/stdlib.h: Likewise.
46666 * include/string.h: Likewise.
46667 * include/sys/cdefs.h: Likewise.
46668 * include/sys/mman.h: Likewise.
46669 * include/sys/msg.h: Likewise.
46670 * include/sys/resource.h: Likewise.
46671 * include/sys/select.h: Likewise.
46672 * include/sys/socket.h: Likewise.
46673 * include/sys/stat.h: Likewise.
46674 * include/sys/statvfs.h: Likewise.
46675 * include/sys/time.h: Likewise.
46676 * include/sys/times.h: Likewise.
46677 * include/sys/uio.h: Likewise.
46678 * include/sys/utsname.h: Likewise.
46679 * include/sys/wait.h: Likewise.
46680 * include/termios.h: Likewise.
46681 * include/time.h: Likewise.
46682 * include/ulimit.h: Likewise.
46683 * include/unistd.h: Likewise.
46684 * include/utime.h: Likewise.
46685 * include/wchar.h: Likewise.
46686 * include/wctype.h: Likewise.
46687 * include/wordexp.h: Likewise.
46689 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46691 * time/time.h: TIME_UTC must be a macro.
46692 Make timespec_get available for ISO C11 only as well.
46694 2012-02-24 Ulrich Drepper <drepper@gmail.com>
46696 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46697 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46699 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46701 * configure.in: Use -o not -a in test for unsupported multi-arch.
46703 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46705 * manual/texinfo.tex: Update to version 2012-01-19.16.
46707 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46709 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46711 2012-02-24 Roland McGrath <roland@hack.frob.com>
46714 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46715 * manual/fdl-1.3.texi: New file.
46716 * manual/fdl-1.1.texi: File removed.
46719 * manual/libc.texinfo (FDL_VERSION): New @set.
46720 Use it for mention of FDL in cover text.
46721 (Documentation License): Use it in @include file name.
46723 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46724 Roland McGrath <roland@hack.frob.com>
46727 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46728 (not LONG_LONG_MAX and LONG_LONG_MIN.
46729 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46730 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46732 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46734 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46738 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46739 manipulate bits before adding and subtracting TWO23[sx].
46740 * math/libm-test.inc (nearbyint_test): Add more tests.
46742 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46745 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46746 bits before adding and subtracting TWO23[sx].
46747 * math/libm-test.inc (rint_test): Add more tests.
46748 (rint_test_tonearest): Likewise.
46749 (rint_test_towardzero): Likewise.
46750 (rint_test_downward): Likewise.
46751 (rint_test_upward: Likewise.
46753 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46756 * include/stdc-predef.h: New file. Extracted from features.h.
46757 * include/features.h: Include stdc-predef.h.
46758 * Makefile (headers): Add stdc-predef.h.
46759 * CONFORMANCE (Compiler limitations): Update.
46761 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46763 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46765 2012-02-21 David S. Miller <davem@davemloft.net>
46767 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46768 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46770 2012-02-20 David S. Miller <davem@davemloft.net>
46772 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46773 using a normal save/restore sequence, rather than allocating a
46774 dummy stack frame just to store a frame pointer and restore.
46775 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46777 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46779 * manual/install.texi: Fix stray word in line-wrapped comment.
46781 2012-02-20 David S. Miller <davem@davemloft.net>
46783 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46784 both binutils and gcc support GOTDATA.
46786 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46787 "rd %pc" in the PIC register setup sequences.
46789 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46790 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46791 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46792 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46793 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46795 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46798 (SYSCALL_ERROR_HANDLER): Likewise.
46799 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46800 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46801 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46802 (SYSCALL_ERROR_HANDLER): Likewise.
46804 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46805 (HAVE_GCC_GOTDATA): New.
46806 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46807 relocation support in both binutils and gcc.
46808 * sysdeps/sparc/elf/configure: Regenerate.
46810 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46811 * sysdeps/sparc/sparc32/elf/configure: Delete.
46812 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46813 * sysdeps/sparc/sparc64/elf/configure: Delete.
46814 * sysdeps/sparc/elf/configure.in: New file.
46815 * sysdeps/sparc/elf/configure: Generate.
46817 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46818 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46819 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46820 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46821 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46823 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46825 * manual/install.texi: Do not mention specific glibc version
46827 * manual/libc.texinfo (VERSION, UPDATED): Update.
46828 (@copying): Use @copyright{} and range of years.
46830 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46833 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46834 [crti.S not in sysdirs] (generated): Do not append.
46835 [crti.S not in sysdirs] (omit-deps): Likewise.
46836 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46837 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46838 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46839 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46840 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46842 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46843 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46844 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46845 * csu/defs.awk: Remove file.
46846 * sysdeps/generic/initfini.c: Likewise.
46847 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46849 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46852 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46854 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46855 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46856 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46857 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46859 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46861 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46862 (__EPOLL_PACKED): Define to empty if not defined by
46864 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46868 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46870 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46871 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46872 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46873 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46875 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46879 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46881 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46883 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46884 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46885 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46888 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46890 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46891 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46893 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46895 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46896 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46898 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46900 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46903 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46905 * math/w_acos.c: Use non-signaling floating-point comparisons.
46906 * math/w_acosf.c: Likewise.
46907 * math/w_acosh.c: Likewise.
46908 * math/w_acoshf.c: Likewise.
46909 * math/w_acoshl.c: Likewise.
46910 * math/w_acosl.c: Likewise.
46911 * math/w_asin.c: Likewise.
46912 * math/w_asinf.c: Likewise.
46913 * math/w_asinl.c: Likewise.
46914 * math/w_atanh.c: Likewise.
46915 * math/w_atanhf.c: Likewise.
46916 * math/w_atanhl.c: Likewise.
46917 * math/w_exp2.c: Likewise.
46918 * math/w_exp2f.c: Likewise.
46919 * math/w_exp2l.c: Likewise.
46920 * math/w_j0.c: Likewise.
46921 * math/w_j0f.c: Likewise.
46922 * math/w_j0l.c: Likewise.
46923 * math/w_j1.c: Likewise.
46924 * math/w_j1f.c: Likewise.
46925 * math/w_j1l.c: Likewise.
46926 * math/w_jn.c: Likewise.
46927 * math/w_jnf.c: Likewise.
46928 * math/w_log.c: Likewise.
46929 * math/w_log10.c: Likewise.
46930 * math/w_log10f.c: Likewise.
46931 * math/w_log10l.c: Likewise.
46932 * math/w_log2.c: Likewise.
46933 * math/w_log2f.c: Likewise.
46934 * math/w_log2l.c: Likewise.
46935 * math/w_logf.c: Likewise.
46936 * math/w_logl.c: Likewise.
46937 * math/w_sqrt.c: Likewise.
46938 * math/w_sqrtf.c: Likewise.
46939 * math/w_sqrtl.c: Likewise.
46940 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46941 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46942 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46943 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46944 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46946 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46949 * manual/string.texi (strnlen): Use correct parameter name in
46950 equivalent expression.
46952 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46955 * manual/users.texi (seteuid): Consistently use neweuid for
46958 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46961 * manual/nss.texi (Services in the NSS configuration): Correct
46962 list of services in example configuration file.
46964 2012-02-19 Nick Bowler <nbowler@draconx.ca>
46967 * manual/arith.texi: Remove statements about negative zero
46968 behaving identically to zero.
46970 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46973 * manual/install.texi: Do not document upgrading from libc5.
46975 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46978 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46980 2012-02-18 David S. Miller <davem@davemloft.net>
46982 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46983 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46984 %o7 across the call.
46985 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46988 SETUP_PIC_REG_LEAF.
46989 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46990 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46991 * sysdeps/sparc/crtn.S: Likewise.
46993 2012-02-17 Ulrich Drepper <drepper@gmail.com>
46995 * aout/Makefile: Remove.
46997 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47000 * manual/examples/argp-ex1.c (main): Format definition in GNU
47002 * manual/examples/argp-ex2.c (main): Likewise.
47003 * manual/examples/argp-ex3.c (main): Likewise.
47004 * manual/examples/argp-ex4.c (main): Likewise.
47005 * manual/examples/longopt.c (main): Use new-style prototype
47007 * manual/examples/strncat.c (main): Specify return type and use
47008 (void) for arguments.
47009 * manual/examples/subopt.c (main): Use char **argv argument.
47011 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47014 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47017 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47020 * manual/string.texi (strchr): Change when strchrnul is
47023 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47026 * manual/locale.texi (setlocale): Document LOCPATH.
47028 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47031 * manual/process.texi (execle): Move @dots{} before last argument.
47033 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47036 * manual/charset.texi (Generic Charset Conversion): Fix typo
47037 (LC_TYPE -> LC_CTYPE).
47039 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47042 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47043 (scalbnf): Likewise.
47044 (scalbnl): Likewise.
47045 (scalbln): Likewise.
47046 (scalblnf): Likewise.
47047 (scalblnl): Likewise.
47048 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47049 (vwarnx): Likewise.
47052 * manual/filesys.texi (telldir): Use braces around return type.
47053 * manual/llio.texi (mmap): Add space after comma.
47054 (mmap64): Likewise.
47055 * manual/math.texi (jn): Use @var{} on parameter names.
47061 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47063 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47065 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47066 (sched_get_priority_max): Likewise.
47067 * manual/signal.texi (sigvec): Add space after comma.
47068 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47070 (if_indextoname): Likewise.
47071 (if_freenameindex): Likewise.
47072 (sendto): Use ',' instead of '.' in prototype.
47073 * manual/startup.texi (syscall): Use @dots{} instead of literal
47075 * manual/stdio.texi (__fpending): Separate initial words of
47076 paragraph from @deftypefun line.
47077 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47079 (vsyslog): Use @var{} on parameter names.
47080 * manual/terminal.texi (stty): Use @var{} on parameter names.
47081 * manual/users.texi (getutmp): Use @var{} on parameter names.
47082 (getutmpx): Likewise.
47084 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47087 * manual/stdio.texi (fopen): Fix typos in description of
47090 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47093 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47094 get clock_id definition.
47096 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47099 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47100 (madvise): Cast every argument to void on its own.
47102 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47105 * manual/startup.texi (Exit Status): Fix typo.
47107 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47110 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47111 * manual/examples/argp-ex2.c: Likewise.
47112 * manual/examples/argp-ex3.c: Likewise.
47114 2012-02-16 Richard Henderson <rth@redhat.com>
47116 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47117 * sysdeps/s390/s390-32/initfini.c: Remove.
47118 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47119 * sysdeps/s390/s390-64/initfini.c: Remove.
47121 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47123 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47124 compiler output for sysdeps/generic/initfini.c.
47125 * sysdeps/sh/elf/initfini.c: Remove file.
47127 2012-02-16 David S. Miller <davem@davemloft.net>
47130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47132 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47133 * sysdeps/sparc/crti.S: New file.
47134 * sysdeps/sparc/crtn.S: New file.
47135 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47136 * sysdeps/sparc/sparc64/Makefile: Likewise.
47138 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47141 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47143 2012-02-15 Roland McGrath <roland@hack.frob.com>
47146 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47148 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47149 (write, read, close): Likewise.
47150 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47152 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47154 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47155 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47156 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47157 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47159 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47163 2012-02-14 Marek Polacek <polacek@redhat.com>
47165 * sysdeps/x86_64/crti.S: New file.
47166 * sysdeps/x86_64/crtn.S: New file.
47167 * sysdeps/x86_64/elf/initfini.c: Remove file.
47169 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47171 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47172 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47173 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47174 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47176 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47180 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47182 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47183 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47184 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47185 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47187 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47191 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47193 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47194 __feraiseexcept instead of feraiseexcept.
47196 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47197 nanosleep invocations.
47198 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47199 strings, and add error checking for a nanosleep invocations.
47201 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47203 Replace FSF snail mail address with URLs, as per GNU coding standards.
47204 Most of the snail mail addresses were wrong anyway, and omitting
47205 them makes the source code easier to maintain. Almost all of the
47206 changes are to license notices and to locale LC_IDENTIFICATION
47207 addresses, except for this one:
47208 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47209 not its snail mail address.
47211 2012-02-09 Richard Henderson <rth@twiddle.net>
47213 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47214 of kernel-features.h.
47216 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47218 2012-02-08 Marek Polacek <polacek@redhat.com>
47220 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47221 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47222 * sysdeps/gnu/_G_config.h: Likewise.
47223 * sysdeps/generic/_G_config.h: Likewise.
47225 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47227 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47231 * sysdeps/powerpc/powerpc32/crti.S: New file.
47232 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47233 * sysdeps/powerpc/powerpc64/crti.S: New file.
47234 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47236 * Makeconfig (have-initfini): Don't set.
47237 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47238 * configure.in (nopic_initfini): Don't substitute.
47239 * config.h.in (HAVE_INITFINI): Don't #undef.
47240 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47241 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47243 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47245 Support crti.S and crtn.S provided directly by architectures.
47246 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47247 [crti.S in sysdirs] (omit-deps): Likewise.
47248 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47249 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47250 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47251 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47252 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47253 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47254 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47255 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47256 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47257 compiler output for sysdeps/generic/initfini.c.
47258 * sysdeps/i386/elf/Makefile: Remove file.
47259 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47261 2012-02-07 Marek Polacek <polacek@redhat.com>
47263 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47264 * sysdeps/gnu/_G_config.h: Likewise.
47265 * sysdeps/mach/hurd/_G_config.h: Likewise.
47267 2012-02-07 Marek Polacek <polacek@redhat.com>
47269 * math/Makefile (tests): Add tst-CMPLX2.
47270 * math/tst-CMPLX2.c: New file.
47272 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47274 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47276 * math/libm-test.inc (jn_test): Add missing L suffix.
47278 2012-02-06 Marek Polacek <polacek@redhat.com>
47280 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47281 * sysdeps/i386/fpu/e_powf.S: Likewise.
47282 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47283 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47284 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47285 * sysdeps/i386/fpu/e_pow.S: Likewise.
47286 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47287 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47288 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47289 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47290 * sysdeps/i386/fpu/e_log2.S: Likewise.
47291 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47292 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47293 * sysdeps/i386/fpu/e_powl.S: Likewise.
47294 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47295 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47296 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47297 * sysdeps/i386/fpu/e_logl.S: Likewise.
47298 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47299 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47300 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47301 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47302 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47303 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47304 * sysdeps/i386/fpu/e_log.S: Likewise.
47305 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47306 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47307 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47308 * sysdeps/i386/fpu/e_logf.S: Likewise.
47309 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47310 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47311 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47312 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47313 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47314 * sysdeps/i386/fpu/e_log10.S: Likewise.
47315 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47316 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47317 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47318 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47319 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47320 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47321 * sysdeps/i386/asm-syntax.h: Likewise.
47322 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47323 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47324 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47325 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47326 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47327 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47328 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47329 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47330 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47331 * sysdeps/powerpc/sysdep.h: Likewise.
47332 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47333 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47335 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47338 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47340 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47342 * sysdeps/i386/sysdep.h: Include <features.h>.
47343 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47346 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47348 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47350 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47353 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47355 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47356 (SETUP_PIC_REG): Use GET_PC_THUNK.
47357 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47360 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47362 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47363 for non-PIC compilation.
47364 (SETUP_PIC_REG): Add .p2align directive.
47365 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47366 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47367 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47368 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47369 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47370 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47371 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47372 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47373 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47374 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47375 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47376 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47377 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47378 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47379 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47380 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47381 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47382 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47383 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47384 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47385 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47386 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47387 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47388 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47389 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47390 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47391 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47392 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47393 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47394 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47395 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47397 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47398 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47399 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47400 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47401 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47402 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47403 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47404 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47405 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47407 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47409 * math/tst-CMPLX.c: Include <stdio.h>.
47411 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47413 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47415 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47416 * sysdeps/sparc/bits/mathdef.h: Likewise.
47418 2012-01-31 Marek Polacek <polacek@redhat.com>
47420 * libio/libio.h: Don't define _PARAMS.
47421 * locale/programs/config.h: Don't define PARAMS.
47422 * stdlib/strtol_l.c: Likewise.
47423 (__strtol_l): Remove PARAMS from the prototype.
47425 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47427 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47428 names. Just use the correct names. Remove unnecessary wrapper
47430 * malloc/arena.c: Likewise.
47431 * malloc/hooks.c: Likewise.
47433 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47434 ARENA_TEST says not to. Simplify test for creation of a new arena.
47435 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47437 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47439 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47441 (update_get_addr): New function.
47442 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47443 GET_ADDR_MODULE parameter.
47445 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47447 * crypt/cert.c: Remove __STDC__ conditionals.
47448 * crypt/crypt-entry.c: Likewise.
47449 * crypt/crypt_util.c: Likewise.
47450 * libio/filedoalloc.c: Likewise.
47451 * libio/fileops.c: Likewise.
47452 * libio/genops.c: Likewise.
47453 * libio/iofclose.c: Likewise.
47454 * libio/iofdopen.c: Likewise.
47455 * libio/iofopen.c: Likewise.
47456 * libio/iofopen64.c: Likewise.
47457 * libio/iogetdelim.c: Likewise.
47458 * libio/iopopen.c: Likewise.
47459 * libio/obprintf.c: Likewise.
47460 * libio/oldfileops.c: Likewise.
47461 * libio/oldiofclose.c: Likewise.
47462 * libio/oldiofdopen.c: Likewise.
47463 * libio/oldiofopen.c: Likewise.
47464 * libio/oldiopopen.c: Likewise.
47465 * libio/wfiledoalloc.c: Likewise.
47466 * libio/wgenops.c: Likewise.
47467 * locale/programs/xmalloc.c: Likewise.
47468 * misc/syslog.c: Likewise.
47469 * stdio-common/xbug.c: Likewise.
47470 * string/memchr.c: Likewise.
47471 * string/memcmp.c: Likewise.
47472 * string/memrchr.c: Likewise.
47473 * string/rawmemchr.c: Likewise.
47474 * sysdeps/posix/getcwd.c: Likewise.
47475 * time/strftime_l.c: Likewise.
47477 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47479 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47480 * config.make.in (config-cflags-sse2avx): Define.
47481 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47484 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47486 * scripts/config.guess: Update from upstream config git repository.
47487 * scripts/config.sub: Likewise.
47489 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47491 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47493 (R_TILEPRO_*, R_TILEGX_*): New macros.
47495 * scripts/firstversions.awk: Fix bug in version range handling.
47497 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47499 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47501 * include/sys/epoll.h: New file.
47502 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47505 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47507 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47508 Avoid unnecessary __WORDSIZE == 64 test.
47509 (fmaxf): Use VEX format if possible.
47514 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47515 * math/math_private.h: Remove libc_fegetround* and
47517 * sysdeps/i386/configure.in: Check for -msse2avx.
47518 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47519 also if SSE2AVX is defined.
47520 Remove libc_fegetround* and libc_fesetround*.
47521 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47522 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47525 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47526 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47527 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47528 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47529 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47531 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47533 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47535 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47537 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47539 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47542 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47544 * Makeconfig (libm): Define.
47545 * elf/Makefile: Add rules to build and run tst-relsort1.
47546 * elf/tst-relsort1.c: New file.
47547 * elf/tst-relsort1mod1.c: New file.
47548 * elf/tst-relsort1mod2.c: New file.
47550 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47552 * math/s_ldexp.c: Remove __STDC__ conditionals.
47553 * math/s_ldexpf.c: Likewise.
47554 * math/s_ldexpl.c: Likewise.
47555 * math/s_nextafter.c: Likewise.
47556 * math/s_nexttowardf.c: Likewise.
47557 * math/s_significand.c: Likewise.
47558 * math/s_significandf.c: Likewise.
47559 * math/s_significandl.c: Likewise.
47560 * math/w_jnl.c: Likewise.
47561 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47562 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47563 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47564 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47565 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47567 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47568 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47569 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47570 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47571 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47572 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47573 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47574 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47575 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47576 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47577 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47578 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47580 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47581 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47582 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47587 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47588 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47589 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47590 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47591 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47592 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47593 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47594 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47595 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47596 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47597 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47598 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47599 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47600 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47601 * sysdeps/ieee754/k_standard.c: Likewise.
47602 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47603 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47604 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47605 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47606 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47607 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47608 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47609 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47610 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47611 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47612 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47613 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47614 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47615 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47616 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47617 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47618 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47620 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47621 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47623 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47624 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47625 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47626 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47627 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47631 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47632 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47633 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47634 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47635 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47636 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47637 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47638 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47639 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47640 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47641 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47642 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47644 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47645 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47646 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47647 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47648 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47649 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47650 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47651 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47652 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47656 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47657 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47658 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47659 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47660 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47661 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47662 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47663 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47664 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47665 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47666 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47667 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47668 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47669 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47670 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47671 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47672 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47673 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47674 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47675 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47676 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47677 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47678 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47679 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47680 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47681 * sysdeps/ieee754/s_matherr.c: Likewise.
47682 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47683 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47687 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47689 * crypt/md5.h: Remove __STDC__ conditionals.
47690 * libio/libioP.h: Likewise.
47691 * locale/programs/config.h: Likewise.
47692 * sysdeps/generic/sysdep.h: Likewise.
47693 * sysdeps/i386/asm-syntax.h: Likewise.
47694 * sysdeps/s390/asm-syntax.h: Likewise.
47695 * sysdeps/unix/sysdep.h: Likewise.
47696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47699 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47701 * libio/libio.h: Remove __STDC__ conditionals.
47702 * malloc/obstack.h: Likewise.
47703 * math/complex.h: Likewise.
47704 * math/math.h: Likewise.
47705 * sysdeps/generic/_G_config.h: Likewise.
47706 * sysdeps/gnu/_G_config.h: Likewise.
47707 * sysdeps/mach/hurd/_G_config.h: Likewise.
47708 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47709 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47710 * sysdeps/sparc/bits/mathdef.h: Likewise.
47712 2012-01-26 Ulrich Drepper <drepper@gmail.com>
47715 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47716 Clean up HAS_* macros.
47717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47718 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47720 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47722 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47723 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47724 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47726 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47728 2012-01-25 Joseph Myers <joseph@codesourcery.com>
47730 * elf/tst-unique3.cc (gets): Remove declaration.
47731 * elf/tst-unique3lib.cc (gets): Likewise.
47732 * elf/tst-unique3lib2.cc (gets): Likewise.
47733 * elf/tst-unique4.cc (gets): Likewise.
47735 2012-01-24 Ulrich Drepper <drepper@gmail.com>
47737 * include/stdio.h: Add C++ protection. Add gets declarations and
47739 * debug/tst-chk1.c: Don't declare gets here.
47740 * stdio-common/tst-gets.c: Likewise.
47742 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47744 * posix/glob: Remove directory.
47746 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47748 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47750 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
47752 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47753 of the non-standard EPFNOSUPPORT.
47755 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47757 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47758 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47759 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47761 2012-01-21 Ulrich Drepper <drepper@gmail.com>
47763 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47765 2012-01-20 Ulrich Drepper <drepper@gmail.com>
47767 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47769 * nscd/grpcache.c (cache_addgr): Likewise.
47770 * nscd/hstcache.c (cache_addhst): Likewise.
47771 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47772 * nscd/pwdcache.c (cache_addpw): Likewise.
47773 * nscd/servicescache.c (cache_addserv): Likewise.
47775 2012-01-16 Ulrich Drepper <drepper@gmail.com>
47777 * malloc/malloc.c: Various cleanups.
47778 * malloc/hooks.c: Likewise.
47780 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47781 * stdlib/bug-fmtmsg1.c: New file.
47783 * stdlib/fmtmsg.c (init): Add missing unlock.
47784 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47786 2012-01-12 Marek Polacek <polacek@redhat.com>
47788 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47791 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47793 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47794 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47795 macro to ensure uniqueness of label name.
47796 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47797 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47799 2012-01-11 Ulrich Drepper <drepper@gmail.com>
47801 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47803 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47804 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47805 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47808 2012-01-10 Ulrich Drepper <drepper@gmail.com>
47810 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47812 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47813 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47814 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47816 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47818 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47819 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47820 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47823 * math/bits/math-finite.h: Add ldexp support.
47825 2012-01-10 Marek Polacek <polacek@redhat.com>
47827 * locale/programs/localedef.h (show_archive_content): Add noreturn
47830 2012-01-09 Ulrich Drepper <drepper@gmail.com>
47832 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47834 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47836 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47838 * io/Makefile (headers): Add bits/poll2.h.
47840 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47843 typo #include statement.
47845 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47847 * include/sys/cdefs.h: Define __attribute_alloc_size.
47848 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47849 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47850 * elf/pldd.c: Likewise.
47851 * iconv/iconv_charmap.c: Likewise.
47852 * iconv/iconvconfig.c: Likewise.
47853 * iconv/strtab.c: Likewise.
47854 * locale/programs/locale.c: Likewise.
47855 * locale/programs/localedef.h: Likewise.
47856 * locale/programs/simple-hash.c: Likewise.
47857 * nscd/nscd.h: Likewise.
47858 * nss/makedb.c: Likewise.
47859 * sysdeps/generic/ldconfig.h: Likewise.
47860 * locale/programs/localedef.c: Remove xmalloc prototype.
47861 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47863 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47865 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47868 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47870 * math/Makefile (tests): Add tst-CMPLX.
47871 * math/tst-CMPLX.c: New file.
47873 * math/complex.h (CMPLXL): Fix typo.
47875 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47876 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47878 * debug/tst-chk1.c: Add poll and ppoll tests.
47879 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47880 * include/sys/poll.h: Add hidden proto for ppoll.
47881 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47882 * sysdeps/mach/hurd/ppoll.c: Likewise.
47883 * io/ppoll.c: Likewise.
47884 * debug/poll_chk.c: New file.
47885 * debug/ppoll_chk.c: New file.
47886 * include/bits/poll2.h: New file.
47887 * io/bits/poll2.h: New file.
47890 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47892 * configure.in: static is always set to yes. Remove.
47893 * config.make.in: Don't set build-static.
47894 * Makeconfig: Remove use of build-static.
47895 * dlfcn/Makefile: Likewise.
47896 * elf/Makefile: Likewise.
47897 * math/Makefile: Likewise.
47898 * misc/Makefile: Likewise.
47899 * nptl/Makefile: Likewise.
47900 * sysdeps/mach/hurd/Makefile: Likewise.
47902 * configure.in: PWD_P is not used anymore.
47903 * config.make.in: Remove PWD_P entry.
47905 * configure.in: Remove last remnants of RANLIB.
47906 No need to check for signed size_t anymore.
47907 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47909 Remove __builtin_expect test because we require at least gcc 3.4.
47910 * aclocal.m4: Likewise.
47912 * wcsmbs/mbrtoc16.c: Implement using towc function.
47913 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47914 * wcsmbs/wcsmbsload.c: Likewise.
47915 * iconv/gconv_simple.c: Likewise.
47916 * iconv/gconv_int.h: Likewise.
47917 * iconv/gconv_builtin.h: Likewise.
47918 * iconv/iconv_prog.c: Remove CHAR16 handling.
47920 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47922 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47924 * configure.in: Remove --with-elf and --enable-bounded options.
47925 Dont set base_machine for ia64. More non-ELF conditions removed.
47926 Remove testing and setting of leading underscore information.
47927 * config.make.in (build-bounded): Set to no.
47928 * config.h.in: Remove NO_UNDERSCORES entry.
47929 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47931 * csu/start.c: Remove !NO_UNDERSCORE code.
47932 * locale/localeinfo.h: Likewise.
47933 * sysdeps/generic/machine-gmon.h: Likewise.
47934 * sysdeps/generic/sysdep.h: Likewise.
47935 * sysdeps/i386/sysdep.h: Likewise.
47936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47937 * sysdeps/mach/sysdep.h: Likewise.
47938 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47939 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47940 * sysdeps/sh/sysdep.h: Likewise.
47941 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47942 * sysdeps/unix/i386/sysdep.S: Likewise.
47943 * sysdeps/unix/sparc/start.c: Likewise.
47944 * sysdeps/unix/sparc/sysdep.S: Likewise.
47945 * sysdeps/unix/sparc/sysdep.h: Likewise.
47946 * sysdeps/unix/start.c: Likewise.
47947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47948 * sysdeps/x86_64/sysdep.h: Likewise.
47950 2012-01-07 Ulrich Drepper <drepper@gmail.com>
47953 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47955 * argp/argp-fmtstream.h: Use const instead __const.
47956 * argp/argp.h: Likewise.
47957 * assert/assert.h: Likewise.
47958 * bits/fenv.h: Likewise.
47959 * bits/sched.h: Likewise.
47960 * bits/sigset.h: Likewise.
47961 * bits/sigthread.h: Likewise.
47962 * catgets/nl_types.h: Likewise.
47963 * conform/data/pthread.h-data: Likewise.
47964 * crypt/crypt-private.h: Likewise.
47965 * crypt/crypt.h: Likewise.
47966 * crypt/crypt_util.c: Likewise.
47967 * ctype/ctype.h: Likewise.
47968 * debug/execinfo.h: Likewise.
47969 * debug/mbsnrtowcs_chk.c: Likewise.
47970 * debug/mbsrtowcs_chk.c: Likewise.
47971 * debug/wcsnrtombs_chk.c: Likewise.
47972 * debug/wcsrtombs_chk.c: Likewise.
47973 * debug/wcstombs_chk.c: Likewise.
47974 * dirent/dirent.h: Likewise.
47975 * dlfcn/dlfcn.h: Likewise.
47976 * elf/neededtest4.c: Likewise.
47977 * grp/grp.h: Likewise.
47978 * gshadow/gshadow.h: Likewise.
47979 * iconv/gconv.h: Likewise.
47980 * iconv/gconv_int.h: Likewise.
47981 * iconv/gconv_simple.c: Likewise.
47982 * iconv/iconv.h: Likewise.
47983 * iconv/loop.c: Likewise.
47984 * iconv/skeleton.c: Likewise.
47985 * include/aio.h: Likewise.
47986 * include/aliases.h: Likewise.
47987 * include/argz.h: Likewise.
47988 * include/arpa/inet.h: Likewise.
47989 * include/assert.h: Likewise.
47990 * include/dirent.h: Likewise.
47991 * include/dlfcn.h: Likewise.
47992 * include/execinfo.h: Likewise.
47993 * include/fcntl.h: Likewise.
47994 * include/fenv.h: Likewise.
47995 * include/glob.h: Likewise.
47996 * include/grp.h: Likewise.
47997 * include/libintl.h: Likewise.
47998 * include/mntent.h: Likewise.
47999 * include/netdb.h: Likewise.
48000 * include/pwd.h: Likewise.
48001 * include/rpc/netdb.h: Likewise.
48002 * include/sched.h: Likewise.
48003 * include/search.h: Likewise.
48004 * include/shadow.h: Likewise.
48005 * include/signal.h: Likewise.
48006 * include/stdio.h: Likewise.
48007 * include/stdlib.h: Likewise.
48008 * include/string.h: Likewise.
48009 * include/sys/socket.h: Likewise.
48010 * include/sys/stat.h: Likewise.
48011 * include/sys/statfs.h: Likewise.
48012 * include/sys/statvfs.h: Likewise.
48013 * include/sys/syslog.h: Likewise.
48014 * include/sys/time.h: Likewise.
48015 * include/sys/uio.h: Likewise.
48016 * include/time.h: Likewise.
48017 * include/unistd.h: Likewise.
48018 * include/utmp.h: Likewise.
48019 * include/wchar.h: Likewise.
48020 * include/wctype.h: Likewise.
48021 * inet/aliases.h: Likewise.
48022 * inet/arpa/inet.h: Likewise.
48023 * inet/netinet/ether.h: Likewise.
48024 * inet/netinet/in.h: Likewise.
48025 * intl/libintl.h: Likewise.
48026 * io/bits/fcntl2.h: Likewise.
48027 * io/fcntl.h: Likewise.
48028 * io/ftw.h: Likewise.
48029 * io/sys/poll.h: Likewise.
48030 * io/sys/stat.h: Likewise.
48031 * io/sys/statfs.h: Likewise.
48032 * io/sys/statvfs.h: Likewise.
48033 * io/utime.h: Likewise.
48034 * libio/bits/stdio.h: Likewise.
48035 * libio/bits/stdio2.h: Likewise.
48036 * libio/libio.h: Likewise.
48037 * libio/libioP.h: Likewise.
48038 * libio/stdio.h: Likewise.
48039 * locale/lc-ctype.c: Likewise.
48040 * locale/locale.h: Likewise.
48041 * login/utmp.h: Likewise.
48042 * malloc/arena.c: Likewise.
48043 * malloc/malloc.c: Likewise.
48044 * malloc/malloc.h: Likewise.
48045 * malloc/mcheck.c: Likewise.
48046 * malloc/mtrace.c: Likewise.
48047 * math/bits/mathcalls.h: Likewise.
48048 * math/fenv.h: Likewise.
48049 * math/math_private.h: Likewise.
48050 * misc/bits/error.h: Likewise.
48051 * misc/bits/syslog.h: Likewise.
48052 * misc/err.h: Likewise.
48053 * misc/error.h: Likewise.
48054 * misc/fstab.h: Likewise.
48055 * misc/mntent.h: Likewise.
48056 * misc/regexp.h: Likewise.
48057 * misc/search.h: Likewise.
48058 * misc/sgtty.h: Likewise.
48059 * misc/sys/mman.h: Likewise.
48060 * misc/sys/syslog.h: Likewise.
48061 * misc/sys/uio.h: Likewise.
48062 * misc/sys/xattr.h: Likewise.
48063 * misc/ttyent.h: Likewise.
48064 * nis/rpcsvc/ypclnt.h: Likewise.
48065 * nss/nss.h: Likewise.
48066 * posix/bits/unistd.h: Likewise.
48067 * posix/fnmatch.h: Likewise.
48068 * posix/glob.h: Likewise.
48069 * posix/sched.h: Likewise.
48070 * posix/spawn.h: Likewise.
48071 * posix/sys/wait.h: Likewise.
48072 * posix/unistd.h: Likewise.
48073 * posix/wordexp.h: Likewise.
48074 * pwd/pwd.h: Likewise.
48075 * resolv/netdb.h: Likewise.
48076 * resource/sys/resource.h: Likewise.
48077 * rt/aio.h: Likewise.
48078 * rt/bits/mqueue2.h: Likewise.
48079 * rt/mqueue.h: Likewise.
48080 * shadow/shadow.h: Likewise.
48081 * signal/signal.h: Likewise.
48082 * socket/send.c: Likewise.
48083 * socket/sendto.c: Likewise.
48084 * socket/sys/socket.h: Likewise.
48085 * stdio-common/printf.h: Likewise.
48086 * stdlib/bits/stdlib.h: Likewise.
48087 * stdlib/fmtmsg.h: Likewise.
48088 * stdlib/monetary.h: Likewise.
48089 * stdlib/stdlib.h: Likewise.
48090 * stdlib/ucontext.h: Likewise.
48091 * streams/stropts.h: Likewise.
48092 * string/argz.h: Likewise.
48093 * string/bits/string2.h: Likewise.
48094 * string/string.h: Likewise.
48095 * string/strings.h: Likewise.
48096 * sunrpc/rpc/auth.h: Likewise.
48097 * sunrpc/rpc/auth_des.h: Likewise.
48098 * sunrpc/rpc/clnt.h: Likewise.
48099 * sunrpc/rpc/netdb.h: Likewise.
48100 * sunrpc/rpc/pmap_clnt.h: Likewise.
48101 * sunrpc/rpc/xdr.h: Likewise.
48102 * sysdeps/generic/inttypes.h: Likewise.
48103 * sysdeps/generic/net/if.h: Likewise.
48104 * sysdeps/generic/sys/swap.h: Likewise.
48105 * sysdeps/gnu/net/if.h: Likewise.
48106 * sysdeps/gnu/utmpx.h: Likewise.
48107 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48108 * sysdeps/i386/i486/bits/string.h: Likewise.
48109 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48110 * sysdeps/s390/bits/string.h: Likewise.
48111 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48112 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48113 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48114 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48115 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48116 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48117 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48118 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48119 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48120 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48121 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48122 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48123 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48124 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48125 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48126 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48127 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48129 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48130 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48131 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48132 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48133 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48134 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48135 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48136 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48137 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48138 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48139 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48140 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48141 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48142 * sysvipc/sys/ipc.h: Likewise.
48143 * sysvipc/sys/msg.h: Likewise.
48144 * sysvipc/sys/sem.h: Likewise.
48145 * sysvipc/sys/shm.h: Likewise.
48146 * termios/termios.h: Likewise.
48147 * time/sys/time.h: Likewise.
48148 * time/time.h: Likewise.
48149 * wcsmbs/bits/wchar2.h: Likewise.
48150 * wcsmbs/uchar.h: Likewise.
48151 * wcsmbs/wchar.h: Likewise.
48152 * wctype/wctype.h: Likewise.
48155 * Makeconfig: Remove all but ELF support including AIX support.
48156 * Makerules: Likewise.
48157 * config.h.in: Likewise.
48158 * config.make.in: Likewise.
48159 * configure: Likewise.
48160 * configure.in: Likewise.
48161 * csu/Makefile: Likewise.
48162 * csu/version.c: Likewise.
48163 * debug/Makefile: Likewise.
48164 * dlfcn/Makefile: Likewise.
48165 * elf/Makefile: Likewise.
48166 * extra-lib.mk: Likewise.
48167 * iconv/Makefile: Likewise.
48168 * include/libc-symbols.h: Likewise.
48169 * include/shlib-compat.h: Likewise.
48170 * resolv/Makefile: Likewise.
48171 * resolv/res_libc.c: Likewise.
48172 * rt/Makefile: Likewise.
48173 * sysdeps/i386/asm-syntax.h: Likewise.
48174 * sysdeps/i386/sysdep.h: Likewise.
48175 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48176 * sysdeps/mach/sysdep.h: Likewise.
48177 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48178 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48179 * sysdeps/s390/asm-syntax.h: Likewise.
48180 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48181 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48182 * sysdeps/sh/sysdep.h: Likewise.
48183 * sysdeps/unix/sparc/sysdep.h: Likewise.
48184 * sysdeps/wordsize-32/divdi3.c: Likewise.
48185 * sysdeps/x86_64/sysdep.h: Likewise.
48187 * argp/Versions: Remove _argp_unlock_xxx.
48190 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48191 * abilist/libBrokenLocale.abilist: Likewise.
48192 * abilist/libanl.abilist: Likewise.
48193 * abilist/libc.abilist: Likewise.
48194 * abilist/libcrypt.abilist: Likewise.
48195 * abilist/libdl.abilist: Likewise.
48196 * abilist/libm.abilist: Likewise.
48197 * abilist/libnsl.abilist: Likewise.
48198 * abilist/libpthread.abilist: Likewise.
48199 * abilist/libresolv.abilist: Likewise.
48200 * abilist/librt.abilist: Likewise.
48201 * abilist/libthread_db.abilist: Likewise.
48202 * abilist/libutil.abilist: Likewise.
48203 * abilist/libnss_db.abilist: New file.
48205 * scripts/abilist.awk: Add support for indirect functions.
48207 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48209 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48211 * shlib-versions: Remove entries for ports architectures.
48213 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48215 * elf/stackguard-macros.h: Remove support for IA-64.
48216 * elf/tst-auditmod1.c: Likewise.
48217 * sysdeps/generic/ldsodefs.h: Likewise.
48219 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48220 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48224 * configure.in: Remove --enable-omitfp support.
48226 * config.make.in: Likewise.
48227 * Makeconfig: Likewise.
48228 * manual/install.texi: Likewise.
48230 In case anyone cares, the IA-64 architecture could move to ports.
48231 * sysdeps/ia64/*: Removed.
48232 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48233 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48236 * configure.in: Remove entries for unsupported architectures.
48239 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48240 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48242 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48243 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48244 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48245 fall back to using wcrtomb.
48246 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48247 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48249 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48250 * wcsmbs/tst-c16c32-1.c: New file.
48252 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48255 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48257 * elf/tst-unique3.cc: Add explicit declaration of gets.
48258 * elf/tst-unique3lib.cc: Likewise.
48259 * elf/tst-unique3lib2.cc: Likewise.
48260 * elf/tst-unique4.cc: Likewise.
48262 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48264 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48267 * assert/assert.h (static_assert): Don't define for C++.
48268 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48269 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48271 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48273 * iconv/loop.c (single loop): Fix assertion in storing of
48276 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48278 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48280 * posix/getconf.c: Update copyright year.
48281 * nss/getent.c: Likewise.
48282 * nss/makedb.c: Likewise.
48283 * iconv/iconvconfig.c: Likewise.
48284 * iconv/iconv_prog.c: Likewise.
48285 * elf/ldconfig.c: Likewise.
48286 * elf/pldd.c: Likewise.
48287 * elf/sotruss.ksh: Likewise.
48288 * catgets/gencat.c: Likewise.
48289 * csu/version.c: Likewise.
48290 * elf/ldd.bash.in: Likewise.
48291 * elf/sprof.c (print_version): Likewise.
48292 * locale/programs/locale.c: Likewise.
48293 * locale/programs/localedef.c: Likewise.
48294 * login/programs/pt_chown.c: Likewise.
48295 * nscd/nscd.c (print_version): Likewise.
48296 * debug/xtrace.sh: Likewise.
48297 * malloc/memusage.sh: Likewise.
48298 * malloc/mtrace.pl: Likewise.
48299 * debug/catchsegv.sh: Likewise.
48301 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48303 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48306 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48309 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48310 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48312 * iconv/gconv_int.h: Likewise.
48313 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48314 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48315 from libc for GLIBC_2.16.
48316 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48317 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48318 * wcsmbs/uchar.h: Really define mbstate_t.
48319 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48320 * wcsmbs/c16rtomb.c: New file.
48321 * wcsmbs/mbrtoc16.c: New file.
48322 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48323 for C/POSIX locale.
48324 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48325 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48327 * wcsmbs/wchar.h: Add missing __restrict.
48329 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48332 * time/Makefile (routines): Add timespec_get.
48333 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48334 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48335 timespec for ISO C11.
48336 * time/timespec_get.c: New file.
48337 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48338 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48341 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48342 * stdlib/stdlib.h: Declare aligned_alloc.
48343 * Versions.def: Add GLIBC_2.16 for libc.
48344 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48347 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48350 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48354 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48357 * assert/assert.h (static_assert): Define.
48359 * version.h: Update for 2.16 development version.
48362 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48365 * version.h (RELEASE): Bump for 2.15 release.
48366 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48368 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48369 Patch by Marek Polacek <mpolacek@redhat.com>.
48371 * bits/byteswap.h: Protect long long constants with __extension__.
48372 * sysdeps/i386/bits/byteswap.h: Likewise.
48373 * sysdeps/ia64/bits/byteswap.h: Likewise.
48374 * sysdeps/s390/bits/byteswap.h: Likewise.
48375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48377 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48380 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48381 destination buffer.
48382 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48384 2011-12-23 Marek Polacek <polacek@redhat.com>
48386 * elf/dl-addr.c (determine_info): Add inline keyword.
48387 * elf/tst-auditmod4b.c (check_avx): Likewise.
48388 * elf/tst-auditmod6b.c (check_avx): Likewise.
48389 * elf/tst-auditmod6c.c (check_avx): Likewise.
48390 * elf/tst-auditmod7b.c (check_avx): Likewise.
48392 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48394 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48397 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48400 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48401 processing for last bytes.
48403 2011-08-06 Bruno Haible <bruno@clisp.org>
48406 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48407 U+0385, not to U+1FEE.
48410 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48411 entry for U+00A5 U+0301.
48413 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48416 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48417 buffer for the output is too small.
48419 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48423 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48424 SSE flags if possible.
48426 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48429 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48430 processing for last bytes.
48432 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48434 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48435 (syscall-list-default-options, syscall-list-default-condition)
48436 (syscall-list-includes): Define.
48437 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48438 list of ABIs and options and #if conditions for each ABI. Do not
48439 handle common syscalls between ABIs specially.
48440 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48442 (syscall-list-variants, syscall-list-32bit-options)
48443 (syscall-list-32bit-condition, syscall-list-64bit-options)
48444 (syscall-list-64bit-condition): Define.
48445 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48446 (syscall-list-variants, syscall-list-32bit-options)
48447 (syscall-list-32bit-condition, syscall-list-64bit-options)
48448 (syscall-list-64bit-condition): Define.
48449 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48451 (syscall-list-variants, syscall-list-32bit-options)
48452 (syscall-list-32bit-condition, syscall-list-64bit-options)
48453 (syscall-list-64bit-condition): Define.
48454 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48456 (syscall-list-variants, syscall-list-32bit-options)
48457 (syscall-list-32bit-condition, syscall-list-64bit-options)
48458 (syscall-list-64bit-condition): Define.
48460 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48462 * locale/iso-639.def: Add brx entry.
48465 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48466 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48468 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48469 __feraiseexcept_renamed.
48471 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48474 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48475 EPOLLET with unsigned values.
48476 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48479 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48480 to large cancellation.
48481 * math/s_cacoshf.c: Likewise.
48482 * math/s_cacoshl.c: Likewise.
48484 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48488 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48489 * math/s_cacoshf.c: Likewise.
48490 * math/s_cacoshl.c: Likewise.
48492 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48495 * iconv/gconv.h: Define __GCONV_SWAP.
48496 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48497 * iconvdata/utf-16.c: Likewise.
48498 * iconvdata/utf-32.c: Likewise.
48500 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48503 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48504 numerator after shifting it by one limb.
48506 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48508 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48509 under [__USE_EXTERN_INLINES].
48511 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48514 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48516 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48518 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48519 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48521 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48522 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48523 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48524 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48525 for strncasecmp/strncasecmp_l compilation.
48526 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48527 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48529 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48532 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48535 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48538 * time/tzfile.c (__tzfile_read): Check values from file header.
48540 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48542 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48543 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48544 * powerpc/powerpc32/dl-start.S: Likewise.
48545 * powerpc/powerpc32/elf/start.S: Likewise.
48546 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48547 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48548 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48549 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48550 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48551 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48552 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48553 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48554 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48555 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48556 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48557 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48558 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48559 * powerpc/powerpc32/memset.S: Likewise.
48560 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48561 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48562 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48563 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48564 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48565 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48566 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48567 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48568 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48569 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48570 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48571 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48572 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48574 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48576 * math/libm-test.inc: Added more nearbyint tests.
48577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48578 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48580 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48582 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48584 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48587 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48589 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48590 Add wcscpy-ssse3 wcscpy-c.
48591 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48592 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48593 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48594 * sysdeps/x86_64/wcschr.S: New file.
48595 * sysdeps/x86_64/wcsrchr.S: New file.
48596 * string/test-strcmp.c: Remove checking of wcscmp function for
48598 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48599 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48600 wcsrchr-sse2 wcsrchr-c.
48601 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48602 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48603 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48604 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48605 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48606 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48607 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48608 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48609 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48610 * wcsmbc/wcschr.c (WCSCHR): New macro.
48612 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48614 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48615 * wcsmbs/test-wcsrchr.c: New file.
48616 * string/test-strrchr.c: Add wcsrchr support.
48618 * wcsmbs/test-wcscpy.c: New file.
48619 * string/test-strcpy.c: Add wcscpy support.
48622 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48624 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48627 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48630 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48632 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48634 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48635 Minor optimizations.
48637 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48638 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48639 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48641 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48643 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48644 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48645 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48646 for gcc to avoid warnings.
48647 * inet/Makefile (tests): Add tst-checks.
48648 * inet/tst-checks.c: New file.
48650 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48653 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48656 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48657 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48659 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48661 2011-12-02 Ulrich Drepper <drepper@gmail.com>
48663 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48666 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48668 2011-11-29 Joseph Myers <joseph@codesourcery.com>
48670 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48671 conditional on GCC version.
48672 (__arch_compare_and_exchange_val_8_acq)
48673 (__arch_compare_and_exchange_val_16_acq)
48674 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48675 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48676 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48678 2011-12-02 Joseph Myers <joseph@codesourcery.com>
48680 * sysdeps/sh/backtrace.c: New file.
48682 2011-12-02 Andreas Schwab <schwab@redhat.com>
48684 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48687 2011-12-01 Andreas Schwab <schwab@redhat.com>
48689 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48690 falling back to utime.
48692 2011-11-30 Andreas Schwab <schwab@redhat.com>
48694 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48695 expectations for float.
48697 2011-11-29 Andreas Schwab <schwab@redhat.com>
48699 * locale/weight.h (findidx): Add parameter len.
48700 * locale/weightwc.h (findidx): Likewise.
48701 * posix/fnmatch_loop.c (FCT): Adjust caller.
48702 * posix/regcomp.c (build_equiv_class): Likewise.
48703 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48704 * posix/regexec.c (check_node_accept_bytes): Likewise.
48705 * string/strcoll_l.c (STRCOLL): Likewise.
48706 * string/strxfrm_l.c (STRXFRM): Likewise.
48708 2011-11-17 Ulrich Drepper <drepper@gmail.com>
48710 * Makefile.in: Remove CVSOPT handling.
48711 * configure.in: Remove use of AC_REVISION.
48712 * iconvdata/Makefile (distribute): No need to filter out CVS.
48713 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48716 2011-11-16 Andreas Schwab <schwab@redhat.com>
48718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48719 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48720 [USE_AS_STRNCASECMP_L]: Likewise.
48721 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48722 NO_TLS_DIRECT_SEG_REFS.
48723 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48724 Fix argument offsets for non-PIC.
48725 [USE_AS_STRNCASECMP_L]: Likewise.
48726 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48727 NO_TLS_DIRECT_SEG_REFS.
48729 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48731 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48733 * locale/loadlocale.c (_nl_load_locale): Likewise.
48735 2011-11-15 Andreas Schwab <schwab@redhat.com>
48737 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48738 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48739 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48740 (SYSCALL_GETTIME): Set errno on error.
48742 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48743 count references to noai6ai_cached.
48745 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48747 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48749 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48750 FD_CLOEXEC for /proc/self/maps.
48752 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48753 FD_CLOEXEC for /proc/meminfo.
48755 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48758 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48759 FD_CLOEXEC for given file.
48761 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48763 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48764 FD_CLOEXEC for /etc/hosts.
48765 (_gethtent): Likewise.
48767 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48769 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48770 cancellation and set FD_CLOEXEC for /etc/netgroup.
48772 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48773 reading /etc/publickey.
48775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48776 allow cancellation when reading /etc/group.
48778 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48780 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48782 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48783 when using data file.
48785 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48787 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48788 (write_nis_obj): Use "c" and "e" in fopen.
48790 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48792 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48794 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48796 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48798 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48801 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48803 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48805 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48807 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48808 file parsing and set FD_CLOEXEC.
48810 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48812 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48814 2011-11-14 Andreas Schwab <schwab@redhat.com>
48816 * malloc/arena.c (arena_get2): Don't call reused_arena when
48817 _int_new_arena failed.
48819 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48821 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48822 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48823 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48824 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48825 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48826 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48827 to compile strcasecmp and strncasecmp.
48828 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48829 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48831 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48833 2011-11-13 Ulrich Drepper <drepper@gmail.com>
48835 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48836 locale-defines.sym to gen-as-const-headers.
48837 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48838 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48840 to compile strcasecmp and strncasecmp.
48841 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48842 strcasecmp_l and strncasecmp_l.
48843 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48844 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48845 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48846 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48847 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48848 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48849 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48850 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48851 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48852 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48853 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48855 2011-11-12 Ulrich Drepper <drepper@gmail.com>
48857 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48858 result of SYSDEP_GETTIME_CPU to retval.
48859 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48860 parameter list to macro. Remove trailing semicolon. Adjust users.
48862 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48865 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48867 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48869 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48870 from unused variable.
48872 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48874 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48877 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48880 * sunrpc/rpc_prot.c (rejected): Fix case value.
48882 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48883 unsigned long long int to avoid warnings in shift.
48885 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48887 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48890 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48891 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48892 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48894 * nis/nis_table.c (nis_list): Use variable of correct type for
48895 result of __follow_path call.
48897 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48899 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48900 of math functions ceil, trunc, floor, round, and sqrt, when
48901 avaliable on the platform.
48902 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48904 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48905 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48906 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48908 2011-10-30 Marek Polacek <mpolacek@redhat.com>
48910 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48911 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48913 2011-11-11 Roland McGrath <roland@hack.frob.com>
48915 * include/unistd.h: Fix __readlink return type.
48916 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48918 2011-11-11 Ulrich Drepper <drepper@gmail.com>
48920 * stdlib/ucontext.h: Undo last change for makecontext.
48922 2011-11-11 Andreas Schwab <schwab@redhat.com>
48924 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48926 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48927 * setjmp/setjmp.h: Mark functions as non-leaf.
48928 * setjmp/bits/setjmp2.h: Likewise.
48929 * stdlib/ucontext.h: Likewise.
48931 2011-11-10 Andreas Schwab <schwab@redhat.com>
48933 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48934 (reused_arena): Don't check arena limit.
48935 (arena_get2): Atomically check arena limit.
48937 2011-11-08 Ulrich Drepper <drepper@gmail.com>
48939 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48940 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48945 2011-11-07 Andreas Schwab <schwab@redhat.com>
48947 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48948 handler when locking.
48950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48951 Fix size of allocated buffer.
48953 2011-11-04 Andreas Schwab <schwab@redhat.com>
48956 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48957 declarations for long double functions.
48958 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48960 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48962 2011-11-03 Andreas Schwab <schwab@redhat.com>
48964 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48967 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48970 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48972 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48974 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48976 * include/alloca.h (stackinfo_alloca_round): Define.
48977 (extend_alloca): Use it.
48978 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48979 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48982 * scripts/check-local-headers.sh: Ignore libaudit.h.
48984 * nscd/Makefile (extra-objs): Make recursively expanded.
48986 2011-11-01 Ulrich Drepper <drepper@gmail.com>
48988 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48989 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48991 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48992 * posix/tst-rfc3484-2.c: Likewise.
48993 * posix/tst-rfc3484-3.c: Likewise.
48995 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48997 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48999 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49000 process_vm_writev from libc using GLIBC_2.15 version.
49002 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49004 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49006 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49009 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49012 * nss/getent.c (initgroups_keys): Show error message in case no group
49015 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49016 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49017 __bump_nl_timestamp.
49018 * nscd/connections (nscd_init): When host database is served open
49019 netlink socket and request notification about configuration changes.
49020 (main_loop_poll): Track netlink file descriptor and bump timestamp
49021 in case data becomes available.
49022 (main_loop_epoll): Likewise.
49023 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49024 (database_pers_head): Add extra_data fileds.
49025 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49026 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49027 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49029 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49030 in6ai data, call __free_in6ai.
49031 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49032 Add -DHAVE_NETLINK.
49033 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49034 interface information. Reuse previous data if netlink timestamp
49036 (__bump_nl_timestamp): New function.
49037 (__free_in6ai): New function.
49039 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49041 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49042 close_not_cancel_no_status here.
49043 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49045 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49048 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49051 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49052 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49053 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49055 2011-07-03 Andreas Jaeger <aj@suse.de>
49058 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49059 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49060 * math/libm-test.inc (sin_test): Add test case.
49062 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49065 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49066 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49068 * elf/chroot_canon.c (chroot_canon): Cleanups.
49070 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49073 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49074 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49076 * string/test-strchr.c: Make usable for strchrnul testing.
49077 * string/test-strchrnul.c: New file.
49078 * string/Makefile (strop-tests): Add strchrnul.
49080 * po/it.po: Update from translation team.
49081 * po/es.po: Likewise.
49083 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49085 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49086 the three constants needed as parameters. Drop the others.
49087 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49088 __m128i_strloadu_tolower.
49089 Create and initialize variable zero and use it in all the places
49090 where _mm_setzero_si128 was used.
49092 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49093 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49094 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49095 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49097 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49098 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49099 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49100 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49101 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49102 __mpranred, __mptan.
49103 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49104 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49105 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49106 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49107 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49108 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49109 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49110 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49111 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49113 2011-10-28 Andreas Schwab <schwab@redhat.com>
49115 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49116 redefine if SHARED.
49117 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49120 wide char related routines to wcsmbs subdir.
49122 2011-10-27 Andreas Schwab <schwab@redhat.com>
49125 * misc/sys/cdefs.h (__THROWNL): Define.
49126 * posix/unistd.h: Use __THREADNL instead of __THREAD
49127 for memory synchronization functions.
49129 2011-10-26 Roland McGrath <roland@hack.frob.com>
49132 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49134 * manual/stdio.texi (Obstack Streams): Node removed.
49136 2011-10-26 Andreas Schwab <schwab@redhat.com>
49138 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49139 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49140 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49142 * math/math_private.h (math_force_eval): Allow non-addressable
49144 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49146 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49148 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49149 file is not needed.
49151 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49153 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49154 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49155 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49156 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49157 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49158 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49160 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49161 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49162 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49163 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49164 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49165 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49166 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49167 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49168 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49169 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49170 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49171 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49172 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49173 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49174 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49175 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49176 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49177 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49178 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49180 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49181 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49183 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49184 place. Use VEX encoding when compiling for AVX.
49186 2011-10-25 Andreas Schwab <schwab@redhat.com>
49188 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49189 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49191 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49193 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49195 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49196 useless if() expression.
49197 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49198 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49199 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49200 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49201 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49202 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49203 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49204 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49205 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49206 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49209 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49210 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49211 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49212 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49213 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49214 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49215 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49217 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49219 2011-10-25 Andreas Schwab <schwab@redhat.com>
49221 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49223 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49225 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49227 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49228 .text section. Avoid duplicate constants.
49229 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49231 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49233 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49237 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49238 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49239 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49240 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49241 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49242 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49243 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49244 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49245 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49246 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49247 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49249 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49250 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49251 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49252 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49253 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49254 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49255 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49256 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49257 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49258 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49259 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49260 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49261 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49262 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49263 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49264 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49265 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49267 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49268 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49269 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49270 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49271 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49272 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49273 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49275 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49277 * sysdeps/x86_64/dla.h: Move to ...
49278 * sysdeps/x86_64/fpu/dla.h: ...here.
49279 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49280 situations. Use __builtin_fma only for gcc 4.6 and up.
49282 * config.make.in: Add have-mfma4 entry.
49283 * configure.in: Substitute libc_cv_cc_fma4.
49284 * math/Makefile (dbl-only-routines): Add sincostab.
49285 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49286 Use __sincostab not sincos.
49287 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49294 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49295 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49296 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49297 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49299 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49300 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49302 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49303 define aliases when function name is a macro.
49304 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49305 sysdeps/ieee754/dbl-64/sincos.tbl.
49306 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49307 fma4-enabled routines.
49308 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49309 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49310 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49311 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49312 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49313 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49314 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49315 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49316 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49317 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49318 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49319 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49320 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49321 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49322 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49323 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49324 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49325 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49326 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49327 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49328 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49329 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49331 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49332 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49333 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49335 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49336 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49337 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49339 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49342 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49343 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49347 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49350 2011-10-24 Andreas Schwab <schwab@redhat.com>
49352 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49354 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49356 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49358 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49360 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49362 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49363 Remove unused variable magic_bits.
49364 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49366 * string/strnlen.c: Define and use STRNLEN macro.
49367 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49368 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49369 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49370 * wcsmbs/wcslen.c: Define and use WCSLEN.
49371 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49372 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49373 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49374 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49375 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49376 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49377 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49379 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49382 strnlen-sse2-no-bsf.
49383 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49384 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49385 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49386 Add strnlen support.
49387 (USE_AS_STRNLEN): New macro.
49388 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49389 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49390 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49391 * sysdeps/x86_64/wcslen.S: New file.
49393 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49395 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49396 XMM-moves are used for copying on small sizes.
49398 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49400 * wcsmbs/Makefile (strop-tests): Add wcschr.
49401 * wcsmbs/test-wcschr.c: New file.
49402 * string/test-strchr.c: Update.
49403 Add wcschr support.
49406 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49408 * wcsmbs/Makefile (strop-tests): Add wcslen.
49409 * wcsmbs/test-wcslen.c: New file.
49410 * string/test-strlen.c: Update.
49411 Add wcslen support.
49414 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49416 * po/it.po: Update from translation team.
49418 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49420 * sysdeps/x86_64/wcscmp.S: Update.
49421 Fix wrong comparison semantics.
49422 wcscmp shall use signed comparison not unsigned.
49423 Don't use substraction to avoid overflow bug.
49424 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49425 * wcsmbc/wcscmp.c: Likewise.
49426 * string/test-strcmp.c: Likewise.
49427 Add new tests to check cases with negative values.
49429 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49431 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49432 * sysdeps/x86_64/dla.h: ...here. New file.
49433 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49438 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49443 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49446 __ynl_finite aliases.
49448 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49452 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49454 [DLA_FMA] (EMULV): Use DLA_FMA.
49455 [DLA_FMA] (MUL12): Use EMULV.
49456 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49457 that are not needed.
49458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49463 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49464 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49466 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49468 * math/s_nan.c: Undef __nan.
49469 * math/s_nanf.c: Undef __nanf.
49470 * math/s_nanl.c: Undef __nanl.
49471 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49474 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49476 * math/s_catan.c: Add branch predictions.
49477 * math/s_catanf.c: Likewise.
49478 * math/s_catanh.c: Likewise.
49479 * math/s_catanhf.c: Likewise.
49480 * math/s_catanhl.c: Likewise.
49481 * math/s_catanl.c: Likewise.
49482 * math/s_cexp.c: Likewise.
49483 * math/s_cexpf.c: Likewise.
49484 * math/s_cexpl.c: Likewise.
49485 * math/s_clog.c: Likewise.
49486 * math/s_clog10.c: Likewise.
49487 * math/s_clog10f.c: Likewise.
49488 * math/s_clog10l.c: Likewise.
49489 * math/s_clogf.c: Likewise.
49490 * math/s_clogl.c: Likewise.
49491 * math/s_csqrt.c: Likewise.
49492 * math/s_csqrtf.c: Likewise.
49493 * math/s_csqrtl.c: Likewise.
49494 * math/s_ctanf.c: Likewise.
49495 * math/s_ctanh.c: Likewise.
49496 * math/s_ctanhf.c: Likewise.
49497 * math/s_ctanhl.c: Likewise.
49498 * math/s_ctanl.c: Likewise.
49500 * math/math_private.h: Define __nan, __nanf, __nanl.
49501 * math/s_cacosh.c: Include <math_private.h>.
49502 * math/s_cacoshl.c: Likewise.
49503 * math/s_casinh.c: Likewise.
49504 * math/s_casinhf.c: Likewise.
49505 * math/s_casinhl.c: Likewise.
49506 * math/s_ccos.c: Rely entire on ccosh.
49507 * math/s_ccosf.c: Rely entire on ccoshf.
49508 * math/s_ccosl.c: Rely entirely on ccoshl.
49509 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49510 Remove tests for FE_INVALID.
49511 * math/s_ccoshf.c: Likewise.
49512 * math/s_ccoshl.c: Likewise.
49513 * math/s_csin.c: Likewise.
49514 * math/s_csinf.c: Likewise.
49515 * math/s_csinh.c Likewise.
49516 * math/s_csinhf.c: Likewise.
49517 * math/s_csinhl.c: Likewise.
49518 * math/s_csinl.c: Likewise.
49519 * math/s_ctan.c: Likewise.
49520 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49521 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49522 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49524 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49527 compilation problems.
49529 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49532 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49534 * sysdeps/i386/configure.in: Test for -mfma4 option.
49535 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49536 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49537 COMMON_CPUID_INDEX_80000001.
49538 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49539 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49540 use it if FMA3 is not supported.
49541 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49543 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49544 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49546 2011-10-20 Andreas Schwab <schwab@redhat.com>
49549 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49550 it would create a cycle with a link time dependency.
49552 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49554 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49556 * string/Makefile (strop-tests): Add rawmemchr.
49557 * string/test-rawmemchr.c: New file.
49559 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49561 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49562 when compiling str{,n}casecmp and when AVX is available. Hook up
49563 new optimized code in initializers.
49565 2011-10-19 Andreas Schwab <schwab@redhat.com>
49567 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49568 __feraiseexcept instead of feraiseexcept.
49570 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49572 * math/math_private.h: Define defaults for libc_fetestexcept and
49574 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49575 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49576 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49577 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49578 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49579 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49580 libc_fetestexcept and libc_feupdateenv.
49582 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49583 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49584 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49585 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49586 libc_feholdexcept_setround.
49588 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49589 Add s_nearbyint-c and s_nearbyintf-c.
49590 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49591 nearbyintf inlines.
49592 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49593 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49594 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49595 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49597 * math/math_private.h: Define defaults for libc_fegetround,
49598 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49599 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49600 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49601 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49602 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49603 standard functions.
49604 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49605 Remove comments and hacks for old compiler versions.
49606 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49607 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49608 libc_feholdexceptl.
49610 2011-10-18 Andreas Schwab <schwab@redhat.com>
49612 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49613 (__feraiseexcept_renamed): Add __NTH.
49614 (feraiseexcept): Add __NTH. Rename local variables to fix
49615 namespace violations.
49617 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49619 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49621 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49623 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49624 recently added interfaces.
49625 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49627 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49628 about macro parameter expansion.
49630 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49631 __NO_MATH_INLINES is defined. Cleanups.
49633 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49634 and __floorf is target has SSE4.1.
49635 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49636 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49637 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49638 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49640 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49642 (floorf): Likewise.
49644 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49646 2011-10-17 Andreas Schwab <schwab@redhat.com>
49648 * misc/sys/cdefs.h: Fix last change.
49650 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49653 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49655 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49657 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49659 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49660 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49662 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49663 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49664 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49665 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49666 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49667 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49668 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49669 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49670 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49671 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49672 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49673 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49674 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49675 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49676 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49677 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49678 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49680 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49681 ceil, ceilf, floor, floorf.
49683 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49684 Perform IRELATIVE relocations last.
49686 * elf/do-rel.h: Add another parameter nrelative, replacing the
49687 local variable with the same name. Change name of the function
49688 to end in Rel or Rela (uppercase).
49689 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49690 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49691 elf_dynamic_do_##reloc function.
49693 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49695 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49696 is sufficient, at least on modern CPUs.
49698 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49700 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49701 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49703 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49705 * math/bits/math-finite.h: Add entries for exp.
49706 * math/e_expl.c: Add __*_finite alias.
49707 * sysdeps/i386/fpu/e_exp.S: Likewise.
49708 * sysdeps/i386/fpu/e_expf.S: Likewise.
49709 * sysdeps/i386/fpu/e_expl.c: Likewise.
49710 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49711 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49712 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49714 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49715 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49716 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49718 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49719 is sufficient, at least on modern CPUs.
49721 * ctype/ctype-info.c (__ctype_init): Define.
49722 * include/ctype.h (__ctype_init): Declare.
49723 (__ctype_b_loc): The variable is always initialized.
49724 (__ctype_toupper_loc): Likewise.
49725 (__ctype_tolower_loc): Likewise.
49726 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49727 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49729 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49731 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49733 * configure.in: Also look in $cxxmachine/include for C++ system
49736 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49738 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49739 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49740 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49741 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49742 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49743 (USE_AS_WMEMCMP): New macro.
49745 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49746 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49747 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49748 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49750 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49751 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49752 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49753 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49754 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49755 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49756 (USE_AS_WMEMCMP): New macro.
49757 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49758 * sysdeps/string/test-memcmp.c: Update.
49759 Fix simple_wmemcmp.
49761 * wcsmbs/wmemcmp.c: Update.
49762 (WMEMCMP): New macro.
49765 2011-10-12 Andreas Jaeger <aj@suse.de>
49768 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49770 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49772 * libio/iofwide.c (do_length): Avoid warning.
49774 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49776 2011-10-14 Ulrich Drepper <drepper@gmail.com>
49778 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49780 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49781 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49782 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49783 * sysdeps/i386/i686/fpu/e_log.S: New file.
49784 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49785 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49787 * ctype/ctype.h: Add support for inlined isXXX functions when
49788 compiling C++ code.
49790 2011-10-14 Andreas Schwab <schwab@redhat.com>
49792 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49794 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49796 2011-10-13 Roland McGrath <roland@hack.frob.com>
49799 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49801 2011-10-13 Andreas Schwab <schwab@redhat.com>
49803 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49804 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49807 * sysdeps/x86_64/memrchr.S: Check for zero size.
49809 * string/stratcliff.c: Add memrchr tests.
49811 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49814 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49815 rawmemchr-sse2 rawmemchr-sse2-bsf.
49816 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49817 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49818 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49819 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49820 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49821 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49822 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49823 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49824 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49825 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49826 * string/memrchr.c (MEMRCHR): New macro.
49828 2011-10-12 Ulrich Drepper <drepper@gmail.com>
49830 Add integration with gcc's -ffinite-math-only and optimize wrapper
49832 * Versions.def: Define GLIBC_2.15 version for libm.
49833 * math/Makefile (headers): Add bits/math-finite.h.
49834 * math/bits/math-finite.h: New file.
49835 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49836 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49837 * math/e_acoshl.c: Add __*_finite alias.
49838 * math/e_acosl.c: Likewise.
49839 * math/e_asinl.c: Likewise.
49840 * math/e_atan2l.c: Likewise.
49841 * math/e_atanhl.c: Likewise.
49842 * math/e_coshl.c: Likewise.
49843 * math/e_exp10.c: Likewise.
49844 * math/e_exp10f.c: Likewise.
49845 * math/e_exp10l.c: Likewise.
49846 * math/e_exp2l.c: Likewise.
49847 * math/e_fmodl.c: Likewise.
49848 * math/e_gammal_r.c: Likewise.
49849 * math/e_hypotl.c: Likewise.
49850 * math/e_j0l.c: Likewise.
49851 * math/e_j1l.c: Likewise.
49852 * math/e_jnl.c: Likewise.
49853 * math/e_lgammal_r.c: Likewise.
49854 * math/e_log10l.c: Likewise.
49855 * math/e_log2l.c: Likewise.
49856 * math/e_logl.c: Likewise.
49857 * math/e_powl.c: Likewise.
49858 * math/e_sinhl.c: Likewise.
49859 * math/e_sqrtl.c: Likewise.
49860 * math/e_scalb.c: Completely rewritten and optimized.
49861 * math/e_scalbf.c: Likewise.
49862 * math/e_scalbl.c: Likewise.
49863 * math/w_acos.c: Likewise.
49864 * math/w_acosf.c: Likewise.
49865 * math/w_acosl.c: Likewise.
49866 * math/w_acosh.c: Likewise.
49867 * math/w_acoshf.c: Likewise.
49868 * math/w_acoshl.c: Likewise.
49869 * math/w_asin.c: Likewise.
49870 * math/w_asinf.c: Likewise.
49871 * math/w_asinl.c: Likewise.
49872 * math/w_atan2.c: Likewise.
49873 * math/w_atan2f.c: Likewise.
49874 * math/w_atan2l.c: Likewise.
49875 * math/w_atanh.c: Likewise.
49876 * math/w_atanhf.c: Likewise.
49877 * math/w_atanhl.c: Likewise.
49878 * math/w_exp10.c: Likewise.
49879 * math/w_exp10f.c: Likewise.
49880 * math/w_exp10l.c: Likewise.
49881 * math/w_fmod.c: Likewise.
49882 * math/w_fmodf.c: Likewise.
49883 * math/w_fmodl.c: Likewise.
49884 * math/w_j0.c: Likewise.
49885 * math/w_j0f.c: Likewise.
49886 * math/w_j0l.c: Likewise.
49887 * math/w_j1.c: Likewise.
49888 * math/w_j1f.c: Likewise.
49889 * math/w_j1l.c: Likewise.
49890 * math/w_jn.c: Likewise.
49891 * math/w_jnf.c: Likewise.
49892 * math/w_log.c: Likewise.
49893 * math/w_logf.c: Likewise.
49894 * math/w_logl.c: Likewise.
49895 * math/w_log10.c: Likewise.
49896 * math/w_log10f.c: Likewise.
49897 * math/w_log10l.c: Likewise.
49898 * math/w_log2.c: Likewise.
49899 * math/w_log2f.c: Likewise.
49900 * math/w_log2l.c: Likewise.
49901 * math/w_pow.c: Likewise.
49902 * math/w_powf.c: Likewise.
49903 * math/w_powl.c: Likewise.
49904 * math/w_remainder.c: Likewise.
49905 * math/w_remainderf.c: Likewise.
49906 * math/w_remainderl.c: Likewise.
49907 * math/w_scalb.c: Likewise.
49908 * math/w_scalbf.c: Likewise.
49909 * math/w_scalbl.c: Likewise.
49910 * math/w_sqrt.c: Likewise.
49911 * math/w_sqrtf.c: Likewise.
49912 * math/w_sqrtl.c: Likewise.
49913 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49914 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49916 * math/math_private.h: Declare __kernel_standard_f.
49917 * math/w_cosh.c: Remove cruft and optimize a bit.
49918 * math/w_coshf.c: Likewise.
49919 * math/w_coshl.c: Likewise.
49920 * math/w_exp2.c: Likewise.
49921 * math/w_exp2f.c: Likewise.
49922 * math/w_exp2l.c: Likewise.
49923 * math/w_hypot.c: Likewise.
49924 * math/w_hypotf.c: Likewise.
49925 * math/w_hypotl.c: Likewise.
49926 * math/w_lgamma.c: Likewise.
49927 * math/w_lgamma_r.c: Likewise.
49928 * math/w_lgammaf.c: Likewise.
49929 * math/w_lgammaf_r.c: Likewise.
49930 * math/w_lgammal.c: Likewise.
49931 * math/w_lgammal_r.c: Likewise.
49932 * math/w_sinh.c: Likewise.
49933 * math/w_sinhf.c: Likewise.
49934 * math/w_sinhl.c: Likewise.
49935 * math/w_tgamma.c: Likewise.
49936 * math/w_tgammaf.c: Likewise.
49937 * math/w_tgammal.c: Likewise.
49938 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49939 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49940 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49941 Minor optimizations. Pretty printing. Remove cruft.
49942 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49943 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49944 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49945 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49946 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49947 * sysdeps/i386/fpu/e_asin.S: Likewise.
49948 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49949 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49950 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49951 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49952 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49953 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49954 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49955 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49956 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49957 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49958 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49959 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49960 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49961 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49962 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49963 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49964 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49965 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49966 * sysdeps/i386/fpu/e_log.S: Likewise.
49967 * sysdeps/i386/fpu/e_log10.S: Likewise.
49968 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49969 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49970 * sysdeps/i386/fpu/e_log2.S: Likewise.
49971 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49972 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49973 * sysdeps/i386/fpu/e_logf.S: Likewise.
49974 * sysdeps/i386/fpu/e_logl.S: Likewise.
49975 * sysdeps/i386/fpu/e_pow.S: Likewise.
49976 * sysdeps/i386/fpu/e_powf.S: Likewise.
49977 * sysdeps/i386/fpu/e_powl.S: Likewise.
49978 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49979 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49980 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49981 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49982 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49983 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49984 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49985 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49986 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49987 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49988 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49990 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49991 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49992 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49993 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49994 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49995 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49996 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49997 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49998 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50000 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50001 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50003 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50004 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50005 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50007 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50008 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50009 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50010 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50011 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50012 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50013 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50014 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50015 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50016 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50017 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50018 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50019 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50021 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50022 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50023 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50024 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50025 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50026 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50027 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50028 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50029 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50030 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50031 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50032 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50033 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50034 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50035 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50036 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50037 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50038 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50039 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50040 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50041 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50042 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50043 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50044 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50045 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50046 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50047 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50048 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50049 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50050 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50051 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50052 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50053 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50054 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50055 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50056 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50057 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50058 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50059 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50061 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50062 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50063 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50064 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50065 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50066 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50067 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50068 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50069 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50070 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50071 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50072 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50073 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50074 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50075 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50076 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50077 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50078 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50079 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50080 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50081 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50082 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50083 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50084 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50085 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50086 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50087 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50088 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50089 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50090 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50091 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50092 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50093 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50094 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50095 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50096 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50097 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50098 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50099 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50100 (__isnanf): Likewise.
50101 (__isinf_ns): Likewise.
50102 (__isinf_nsf): Likewise.
50103 (__finite): Likewise.
50104 (__finitef): Likewise.
50105 (__ieee754_sqrt): Define as macro.
50106 (__ieee754_sqrtf): Define as macro.
50107 (__ieee754_sqrtl): Define as macro.
50108 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50110 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50111 __FINITE_MATH_ONLY__ consistent.
50112 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50114 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50116 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50119 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50121 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50123 * po/ja.po: Update from translation team.
50125 2011-10-08 Roland McGrath <roland@hack.frob.com>
50127 * locale/programs/locarchive.c (prepare_address_space): New function.
50128 (create_archive, enlarge_archive, open_archive): Use it.
50130 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50131 inside [SHARED], where it is used.
50133 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50135 * nss/getent.c (netgroup_keys): Remove unused variable.
50136 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50138 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50140 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50141 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50143 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50144 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50145 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50146 * math/Makefile (libm-calls): Add s_isinf_ns.
50147 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50148 * math/multc3.c: Likewise.
50149 * math/s_casin.c: Likewise.
50150 * math/s_casinf.c: Likewise.
50151 * math/s_casinl.c: Likewise.
50152 * math/s_ccos.c: Likewise.
50153 * math/s_ccosf.c: Likewise.
50154 * math/s_ccosl.c: Likewise.
50155 * math/s_ctan.c: Likewise.
50156 * math/s_ctanf.c: Likewise.
50157 * math/s_ctanh.c: Likewise.
50158 * math/s_ctanhf.c: Likewise.
50159 * math/s_ctanhl.c: Likewise.
50160 * math/s_ctanl.c: Likewise.
50161 * math/w_fmod.c: Likewise.
50162 * math/w_fmodf.c: Likewise.
50163 * math/w_fmodl.c: Likewise.
50164 * math/w_remainder.c: Likewise.
50165 * math/w_remainderf.c: Likewise.
50166 * math/w_remainderl.c: Likewise.
50167 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50168 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50169 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50171 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50172 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50173 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50174 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50176 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50178 * stdio-common/printf_fphex.c: Likewise.
50179 * stdio-common/printf_size.c: Likewise.
50181 * math/e_exp10.c: Include math_private.h using <...> not "...".
50182 * math/e_exp10f.c: Likewise.
50183 * math/e_exp10l.c: Likewise.
50184 * math/e_exp2l.c: Likewise.
50185 * math/e_j0l.c: Likewise.
50186 * math/e_j1l.c: Likewise.
50187 * math/e_jnl.c: Likewise.
50188 * math/e_lgammal_r.c: Likewise.
50189 * math/e_rem_pio2l.c: Likewise.
50190 * math/e_scalb.c: Likewise.
50191 * math/e_scalbf.c: Likewise.
50192 * math/e_scalbl.c: Likewise.
50193 * math/k_cosl.c: Likewise.
50194 * math/k_sinl.c: Likewise.
50195 * math/k_tanl.c: Likewise.
50196 * math/s_cacoshf.c: Likewise.
50197 * math/s_catan.c: Likewise.
50198 * math/s_catanf.c: Likewise.
50199 * math/s_catanh.c: Likewise.
50200 * math/s_catanhf.c: Likewise.
50201 * math/s_catanhl.c: Likewise.
50202 * math/s_catanl.c: Likewise.
50203 * math/s_ccosh.c: Likewise.
50204 * math/s_ccoshf.c: Likewise.
50205 * math/s_ccoshl.c: Likewise.
50206 * math/s_cexp.c: Likewise.
50207 * math/s_cexpf.c: Likewise.
50208 * math/s_cexpl.c: Likewise.
50209 * math/s_clog.c: Likewise.
50210 * math/s_clog10.c: Likewise.
50211 * math/s_clog10f.c: Likewise.
50212 * math/s_clog10l.c: Likewise.
50213 * math/s_clogf.c: Likewise.
50214 * math/s_clogl.c: Likewise.
50215 * math/s_csin.c: Likewise.
50216 * math/s_csinf.c: Likewise.
50217 * math/s_csinh.c: Likewise.
50218 * math/s_csinhf.c: Likewise.
50219 * math/s_csinhl.c: Likewise.
50220 * math/s_csinl.c: Likewise.
50221 * math/s_csqrt.c: Likewise.
50222 * math/s_csqrtf.c: Likewise.
50223 * math/s_csqrtl.c: Likewise.
50224 * math/s_ctan.c: Likewise.
50225 * math/s_ctanf.c: Likewise.
50226 * math/s_ctanh.c: Likewise.
50227 * math/s_ctanhf.c: Likewise.
50228 * math/s_ctanhl.c: Likewise.
50229 * math/s_ctanl.c: Likewise.
50230 * math/s_ldexp.c: Likewise.
50231 * math/s_ldexpf.c: Likewise.
50232 * math/s_ldexpl.c: Likewise.
50233 * math/s_significand.c: Likewise.
50234 * math/s_significandf.c: Likewise.
50235 * math/s_significandl.c: Likewise.
50236 * math/w_acos.c: Likewise.
50237 * math/w_acosf.c: Likewise.
50238 * math/w_acosh.c: Likewise.
50239 * math/w_acoshf.c: Likewise.
50240 * math/w_acoshl.c: Likewise.
50241 * math/w_acosl.c: Likewise.
50242 * math/w_asin.c: Likewise.
50243 * math/w_asinf.c: Likewise.
50244 * math/w_asinl.c: Likewise.
50245 * math/w_atan2.c: Likewise.
50246 * math/w_atan2f.c: Likewise.
50247 * math/w_atan2l.c: Likewise.
50248 * math/w_atanh.c: Likewise.
50249 * math/w_atanhf.c: Likewise.
50250 * math/w_atanhl.c: Likewise.
50251 * math/w_cosh.c: Likewise.
50252 * math/w_coshf.c: Likewise.
50253 * math/w_coshl.c: Likewise.
50254 * math/w_dremf.c: Likewise.
50255 * math/w_exp10.c: Likewise.
50256 * math/w_exp10f.c: Likewise.
50257 * math/w_exp10l.c: Likewise.
50258 * math/w_exp2.c: Likewise.
50259 * math/w_exp2f.c: Likewise.
50260 * math/w_fmod.c: Likewise.
50261 * math/w_fmodf.c: Likewise.
50262 * math/w_fmodl.c: Likewise.
50263 * math/w_hypot.c: Likewise.
50264 * math/w_hypotf.c: Likewise.
50265 * math/w_hypotl.c: Likewise.
50266 * math/w_j0.c: Likewise.
50267 * math/w_j0f.c: Likewise.
50268 * math/w_j0l.c: Likewise.
50269 * math/w_j1.c: Likewise.
50270 * math/w_j1f.c: Likewise.
50271 * math/w_j1l.c: Likewise.
50272 * math/w_jn.c: Likewise.
50273 * math/w_jnf.c: Likewise.
50274 * math/w_jnl.c: Likewise.
50275 * math/w_lgamma.c: Likewise.
50276 * math/w_lgamma_r.c: Likewise.
50277 * math/w_lgammaf.c: Likewise.
50278 * math/w_lgammaf_r.c: Likewise.
50279 * math/w_lgammal.c: Likewise.
50280 * math/w_lgammal_r.c: Likewise.
50281 * math/w_log.c: Likewise.
50282 * math/w_log10.c: Likewise.
50283 * math/w_log10f.c: Likewise.
50284 * math/w_log10l.c: Likewise.
50285 * math/w_log2.c: Likewise.
50286 * math/w_log2f.c: Likewise.
50287 * math/w_log2l.c: Likewise.
50288 * math/w_logf.c: Likewise.
50289 * math/w_logl.c: Likewise.
50290 * math/w_pow.c: Likewise.
50291 * math/w_powf.c: Likewise.
50292 * math/w_powl.c: Likewise.
50293 * math/w_remainder.c: Likewise.
50294 * math/w_remainderf.c: Likewise.
50295 * math/w_remainderl.c: Likewise.
50296 * math/w_scalb.c: Likewise.
50297 * math/w_scalbf.c: Likewise.
50298 * math/w_scalbl.c: Likewise.
50299 * math/w_sinh.c: Likewise.
50300 * math/w_sinhf.c: Likewise.
50301 * math/w_sinhl.c: Likewise.
50302 * math/w_sqrt.c: Likewise.
50303 * math/w_sqrtf.c: Likewise.
50304 * math/w_sqrtl.c: Likewise.
50305 * math/w_tgamma.c: Likewise.
50306 * math/w_tgammaf.c: Likewise.
50307 * math/w_tgammal.c: Likewise.
50309 * po/ja.po: Update from translation team.
50311 2011-09-29 Andreas Jaeger <aj@suse.de>
50314 * sunrpc/netname.c (netname2host): Fix logic.
50318 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50320 * math/w_remainder.c (__remainder): Likewise.
50321 * math/w_remainderf.c (__remainderf): Likewise.
50322 * math/libm-test.inc (remainder_test): Add test cases.
50324 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50326 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50329 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50331 * string/test-memcmp.c: Avoid unncessary #defines.
50332 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50334 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50336 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50337 Use new sse2 version for core i3 - i7 as it's faster
50338 than sse42 version.
50339 (bit_Prefer_PMINUB_for_stringop): New.
50340 * sysdeps/x86_64/rawmemchr.S: Update.
50341 Replace with faster SSE2 version.
50342 * sysdeps/x86_64/memrchr.S: New file.
50343 * sysdeps/x86_64/memchr.S: Update.
50344 Replace with faster SSE2 version.
50346 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50348 * elf/dl-load.c (lose): Add cast to avoid warning.
50350 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50352 * po/ca.po: Update from translation team.
50354 * inet/getnetgrent_r.c: Hook up nscd.
50355 * nscd/Makefile (routines): Add nscd_netgroup.
50356 (nscd-modules): Add netgroupcache.
50357 (CFLAGS-netgroupcache.c): Define.
50358 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50359 (cache_search): Add const to second parameter.
50360 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50362 (dbs): Add netgrdb entry.
50363 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50364 (verify_persistent_db): Handle netgrdb.
50365 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50366 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50368 (netgroup_response_header): Define.
50369 (innetgroup_response_header): Define.
50370 (datahead): Add netgroup_response_header and innetgroup_response_header
50372 * nscd/nscd.conf: Add entries for netgroup cache.
50373 * nscd/nscd.h (dbtype): Add netgrdb.
50374 (_PATH_NSCD_NETGROUP_DB): Define.
50375 (netgroup_iov_disabled): Declare.
50376 (xmalloc, xcalloc, xrealloc): Move declarations here.
50377 (cache_search): Adjust prototype.
50378 Add netgroup-related prototypes.
50379 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50380 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50381 (__nscd_innetgr): Declare.
50382 * nscd/selinux.c (perms): Use access_vector_t as element type and
50383 add netgroup-related initializers.
50384 * nscd/netgroupcache.c: New file.
50385 * nscd/nscd_netgroup.c: New file.
50386 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50387 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50388 For four parameters use innetgr.
50389 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50390 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50391 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50392 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50394 * nscd/connections.c (register_traced_file): Don't register file
50395 for disabled databases.
50397 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50399 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50401 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50402 from tree and freeing node.
50404 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50406 * nss/nsswitch.c (__nss_database_lookup): Handle
50407 nss_parse_service_list out of memory case.
50409 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50411 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50412 out of memory case.
50414 2011-10-04 Andreas Schwab <schwab@redhat.com>
50416 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50417 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50419 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50420 elf_machine_rela, elf_machine_lazy_rel.
50421 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50422 (ELF_DYNAMIC_DO_REL): Likewise.
50423 (ELF_DYNAMIC_DO_RELA): Likewise.
50424 (ELF_DYNAMIC_RELOCATE): Likewise.
50425 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50426 to ELF_DYNAMIC_DO_REL.
50427 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50428 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50429 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50431 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50432 skip_ifunc, don't call ifunc function if non-zero.
50433 (elf_machine_rela): Likewise.
50434 (elf_machine_lazy_rel): Likewise.
50435 (elf_machine_lazy_rela): Likewise.
50436 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50437 (elf_machine_lazy_rel): Likewise.
50438 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50440 (elf_machine_lazy_rel): Likewise.
50441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50443 (elf_machine_lazy_rel): Likewise.
50444 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50445 (elf_machine_lazy_rel): Likewise.
50446 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50447 (elf_machine_lazy_rel): Likewise.
50448 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50449 (elf_machine_lazy_rel): Likewise.
50450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50451 (elf_machine_lazy_rel): Likewise.
50452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50453 (elf_machine_lazy_rel): Likewise.
50454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50455 (elf_machine_lazy_rel): Likewise.
50457 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50459 * nss/nss_files/files-init.c (_nss_files_init): Use static
50460 initialization for all the *_traced_file variables.
50462 2011-09-28 Andreas Schwab <schwab@redhat.com>
50464 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50466 2011-09-27 Roland McGrath <roland@hack.frob.com>
50469 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50471 2011-09-27 Andreas Schwab <schwab@redhat.com>
50473 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50474 Reread the line before reparsing it.
50476 2011-09-26 Andreas Schwab <schwab@redhat.com>
50478 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50480 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50481 Maxim Kuvyrkov <maxim@codesourcery.com>
50482 Joseph Myers <joseph@codesourcery.com>
50484 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50485 if needed for __stack_chk_guard.
50487 2011-09-19 Roland McGrath <roland@hack.frob.com>
50489 * sysdeps/posix/spawni.c (script_execute): Always define it.
50490 It will be optimized away if unused.
50491 (maybe_script_execute): New function.
50492 (__spawni): Call it.
50494 * Makerules: Don't include tls.make.
50495 (config-tls): Always set to thread.
50496 * tls.make.c: File removed.
50498 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50500 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50501 * config.make.in (CPPFLAGS-config): New substituted variable.
50503 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50505 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50508 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50509 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50511 2011-09-15 Roland McGrath <roland@hack.frob.com>
50513 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50514 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50516 (CALL_FAIL): Likewise.
50517 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50518 (CALL_FAIL): Macro removed.
50519 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50521 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50523 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50524 for __FINITE_MATH_ONLY__ == 1.
50526 2011-09-15 Andreas Schwab <schwab@redhat.com>
50528 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50529 __ieee754_sqrt instead of sqrt.
50530 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50531 __ieee754_sqrtf instead of sqrtf.
50532 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50533 __floorf instead of floorf.
50534 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50535 __floorf, __truncf instead of floorf, truncf.
50537 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50539 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50541 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50542 __extern_always_inline.
50543 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50546 2011-09-14 Andreas Schwab <schwab@redhat.com>
50548 * elf/rtld.c (dl_main): Also relocate in dependency order when
50549 doing symbol dependency testing.
50551 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50554 Always define `refsym'.
50556 2011-09-13 Andreas Schwab <schwab@redhat.com>
50558 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50559 (__FD_ELT): Renamed from __FDELT.
50560 * misc/bits/select2.h (__FD_ELT): Likewise.
50561 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50562 __FD_MASK instead of __FDELT, __FDMASK.
50563 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50565 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50568 * elf/Makefile (gen-ldd): Fix pattern.
50570 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50571 (init_tls): Likewise.
50573 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50577 2011-09-12 Andreas Schwab <schwab@redhat.com>
50579 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50580 `struct cmsghdr *' instead of `void *'.
50581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50584 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50586 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50588 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50589 ldd_rewrite_script.
50591 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50593 * configure.in: Remove --with-tls option.
50594 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50595 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50596 out in case it is missing.
50597 * sysdeps/ia64/elf/configure.in: Likewise.
50598 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50599 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50600 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50601 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50602 * sysdeps/sh/elf/configure.in: Likewise.
50603 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50604 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50605 * sysdeps/x86_64/elf/configure.in: Likewise.
50606 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50607 * sysdeps/mach/hurd/tls.h: Likewise.
50610 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50613 * configure.in: Fix use of AC_INIT.
50615 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50617 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50619 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50621 * malloc/hooks.c: Likewise.
50624 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50625 variables statically.
50626 (narenas): Initialize.
50627 (list_lock): Initialize.
50628 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50629 initializtion of main_arena and list_lock. Small cleanups.
50630 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50631 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50632 Add initializers to main_arena and mp_.
50633 (malloc_state): Remove pagesize member. Change all users to use
50636 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50637 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50638 is always initialized.
50640 * malloc/malloc.c: Removed unused configurations and dead code.
50641 * malloc/arena.c: Likewise.
50642 * malloc/hooks.c: Likewise.
50643 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50645 * include/tls.h: Removed. USE___THREAD must always be defined.
50646 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50647 * elf/dl-libc.c: Likewise.
50648 * elf/dl-tsd.c: Likewise.
50649 * include/errno.h: Likewise.
50650 * include/netdb.h: Likewise.
50651 * include/resolv.h: Likewise.
50652 * inet/herrno-loc.c: Likewise.
50653 * inet/herrno.c: Likewise.
50654 * malloc/arena.c: Likewise.
50655 * malloc/hooks.c: Likewise.
50656 * malloc/malloc.c: Likewise.
50657 * resolv/res-state.c: Likewise.
50658 * resolv/res_libc.c: Likewise.
50659 * sysdeps/i386/dl-machine.h: Likewise.
50660 * sysdeps/ia64/dl-machine.h: Likewise.
50661 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50662 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50663 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50664 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50665 * sysdeps/sh/dl-machine.h: Likewise.
50666 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50667 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50668 * sysdeps/unix/i386/sysdep.S: Likewise.
50669 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50670 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50674 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50675 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50679 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50680 * sysdeps/x86_64/dl-machine.h: Likewise.
50681 * tls.make.c: Likewise.
50683 * configure.in: Remove --with-__thread option. Make tests for
50684 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50685 tls_model attribute fail if no support is available. Remove
50687 * Makeconfig: Adjust for dropped configure option. All features are
50689 * Makerules: Likewise.
50690 * Versions.def: Likewise.
50691 * argp/argp-fmtstream.c: Likewise.
50692 * argp/argp-fmtstream.h: Likewise.
50693 * argp/argp-help.c: Likewise.
50694 * assert/assert.c: Likewise.
50695 * config.h.in: Likewise.
50696 * config.make.in: Likewise.
50697 * configure: Likewise.
50698 * configure.in: Likewise.
50699 * csu/Versions: Likewise.
50700 * csu/init.c: Likewise.
50701 * elf/tst-audit2.c: Likewise.
50702 * elf/tst-tls10.c: Likewise.
50703 * elf/tst-tls10.h: Likewise.
50704 * elf/tst-tls11.c: Likewise.
50705 * elf/tst-tls12.c: Likewise.
50706 * elf/tst-tls14.c: Likewise.
50707 * elf/tst-tlsmod11.c: Likewise.
50708 * elf/tst-tlsmod12.c: Likewise.
50709 * elf/tst-tlsmod13.c: Likewise.
50710 * elf/tst-tlsmod13a.c: Likewise.
50711 * elf/tst-tlsmod14a.c: Likewise.
50712 * elf/tst-tlsmod15b.c: Likewise.
50713 * elf/tst-tlsmod16a.c: Likewise.
50714 * elf/tst-tlsmod16b.c: Likewise.
50715 * elf/tst-tlsmod7.c: Likewise.
50716 * elf/tst-tlsmod8.c: Likewise.
50717 * elf/tst-tlsmod9.c: Likewise.
50718 * gmon/gmon.c: Likewise.
50719 * grp/fgetgrent_r.c: Likewise.
50720 * grp/putgrent.c: Likewise.
50721 * hurd/fopenport.c: Likewise.
50722 * include/libc-symbols.h: Likewise.
50723 * include/tls.h: Likewise.
50724 * intl/gettextP.h: Likewise.
50725 * intl/loadinfo.h: Likewise.
50726 * locale/global-locale.c: Likewise.
50727 * locale/localeinfo.h: Likewise.
50728 * mach/devstream.c: Likewise.
50729 * malloc/arena.c: Likewise.
50730 * malloc/set-freeres.c: Likewise.
50731 * misc/err.c: Likewise.
50732 * misc/getttyent.c: Likewise.
50733 * misc/mntent_r.c: Likewise.
50734 * posix/getopt.c: Likewise.
50735 * posix/wordexp.c: Likewise.
50736 * pwd/fgetpwent_r.c: Likewise.
50737 * resolv/Versions: Likewise.
50738 * resolv/res_hconf.c: Likewise.
50739 * shadow/fgetspent_r.c: Likewise.
50740 * shadow/putspent.c: Likewise.
50741 * stdio-common/printf_fphex.c: Likewise.
50742 * stdio-common/tmpfile.c: Likewise.
50743 * stdlib/abort.c: Likewise.
50744 * stdlib/fmtmsg.c: Likewise.
50745 * sunrpc/auth_unix.c: Likewise.
50746 * sunrpc/clnt_perr.c: Likewise.
50747 * sunrpc/clnt_tcp.c: Likewise.
50748 * sunrpc/clnt_udp.c: Likewise.
50749 * sunrpc/clnt_unix.c: Likewise.
50750 * sunrpc/openchild.c: Likewise.
50751 * sunrpc/svc_simple.c: Likewise.
50752 * sunrpc/svc_tcp.c: Likewise.
50753 * sunrpc/svc_udp.c: Likewise.
50754 * sunrpc/svc_unix.c: Likewise.
50755 * sunrpc/xdr.c: Likewise.
50756 * sunrpc/xdr_array.c: Likewise.
50757 * sunrpc/xdr_rec.c: Likewise.
50758 * sunrpc/xdr_ref.c: Likewise.
50759 * sunrpc/xdr_stdio.c: Likewise.
50761 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50763 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50765 2011-07-03 Andreas Jaeger <aj@suse.de>
50767 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50768 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50769 regenerate with gen-libm-tests.pl.
50771 2010-05-12 Petr Baudis <pasky@suse.cz>
50774 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50775 around j0() zero points by switching to j1().
50776 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50779 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50781 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50783 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50785 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50788 Patch in part by Pavel Roskin <proski@gnu.org>.
50791 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50793 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50794 Free memory block if necessary.
50797 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50798 be NULL. Don't lock in this case.
50800 2011-09-09 Roland McGrath <roland@hack.frob.com>
50802 * elf/elf.h (ELFOSABI_GNU): New macro.
50803 (ELFOSABI_LINUX): Define to that.
50805 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50807 * string/strncat.c (strncat): Undef the symbol in case it has been
50808 defined in bits/string.h.
50810 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50812 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50814 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50817 2011-08-17 Andreas Jaeger <aj@suse.de>
50819 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50821 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50822 Ian Lance Taylor <iant@google.com>
50824 * math/libm-test.inc (lround_test): New testcase.
50825 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50827 2011-09-08 Ulrich Drepper <drepper@gmail.com>
50829 * Makefile: Remove support for automatic cvs check-ins.
50830 * Makerules: Likewise.
50831 * config.make.in: Likewise.
50832 * configure.in: Likewise.
50833 * intl/Makefile: Likewise.
50834 * locale/Makefile: Likewise.
50835 * po/Makefile: Likewise.
50836 * posix/Makefile: Likewise.
50837 * sysdeps/gnu/Makefile: Likewise.
50838 * sysdeps/mach/hurd/Makefile: Likewise.
50839 * sysdeps/sparc/sparc32/Makefile: Likewise.
50842 * posix/Makefile (bug-regex32-ENV): Define.
50843 Patch by John Stanley <jpsinthemix@verizon.net>.
50845 * misc/Makefile (headers): Add bits/select2.h.
50846 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50847 * misc/bits/select2.h: New file.
50848 * include/bits/select2.h: New file.
50849 * debug/Makefile (routines): Add fdelt_chk.
50850 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50851 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50853 * debug/fdelt_chk.c: New file.
50855 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50856 * wcsmbs/test-wmemcmp.c: Likewise.
50857 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50858 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50860 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50862 * string/Makefile (strop-tests): Add memcmp.
50863 * string/test-wmemcmp.c: New file.
50864 * string/test-memcmp.c: Add wmemcmp support.
50866 2011-09-08 Roland McGrath <roland@hack.frob.com>
50869 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50872 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50873 garbage value in a __mach_port_mod_refs call in the cases of the
50874 task-self and thread-self ports.
50876 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50878 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50880 2011-09-08 Andreas Schwab <schwab@redhat.com>
50882 * elf/dl-load.c (lose): Check for non-null L.
50884 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50886 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50888 * elf/dl-libc.c (dlerror_run): Pass back error code from
50892 * elf/dl-load.c (lose): Free l_origin if it is valid.
50894 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50896 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50897 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50898 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50899 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50900 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50901 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50903 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50905 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50906 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50907 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50908 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50909 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50910 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50911 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50912 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50913 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50914 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50916 2011-08-15 Alan Modra <amodra@gmail.com>
50919 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50920 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50921 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50922 ppc_mcount to static-only-routines.
50923 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50925 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50926 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50928 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50930 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50931 for finite and infinity parameters.
50933 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50935 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50936 and add nop instructions for throughput optimization.
50937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50939 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50941 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50942 aligned copy for power7 with vector-scalar instructions.
50943 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50945 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50950 2011-09-07 Andreas Schwab <schwab@redhat.com>
50953 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50956 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50958 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50959 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50960 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50961 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50964 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50966 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50967 Forgot to demangle the pointer.
50969 * sysdeps/i386/sysdep.h: Define atom_text_section.
50970 * sysdeps/x86_64/sysdep.h: Likewise.
50971 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50972 section with atom_text_section.
50973 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50975 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50976 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50977 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50979 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50980 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50981 already be defined. Change to take two parameters and don't assign
50982 result to variable. Adjust all users.
50983 Define INTERNAL_GETTIME if not already defined.
50984 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50987 HAVE_CLOCK_GETTIME_VSYSCALL.
50988 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50990 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50991 gettimeofday vsyscall, just use time.
50993 2011-09-06 Andreas Schwab <schwab@redhat.com>
50995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50998 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51000 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51004 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51005 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51006 syscall if possible.
51008 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51010 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51011 e_ident. Don't pass to find_mapsXX.
51012 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51014 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51017 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51018 * sysdeps/x86_64/multiarch/strchr.S: Update.
51019 Check bit_slow_BSF bit.
51020 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51021 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51022 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51024 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51027 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51029 (tryshell): Define.
51030 (__spawni): Change last parameter to be flag. Test
51031 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51032 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51033 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51034 * posix/spawni.c: Likewise.
51035 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51036 * posix/spawnp.c: Likewise. Change normal version to use
51037 SPAWN_XFLAGS_USE_PATH.
51038 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51039 SPAWN_XFLAGS_TRY_SHELL.
51042 * posix/glob.h: Remove gcc 1.x support.
51045 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51047 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51050 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51052 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51053 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51054 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51055 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51056 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51057 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51059 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51061 * sysdeps/x86_64/wcscmp.S: New file.
51063 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51064 wcscmp-c wcscmp-sse2
51065 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51066 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51067 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51068 * wcsmbs/wcscmp.c: Allow renaming.
51070 2011-09-05 David S. Miller <davem@davemloft.net>
51072 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51073 stack slot, rather than the struct return pointer slot.
51074 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51075 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51077 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51079 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51081 * po/ja.po: Update from translation team.
51084 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51085 kernel in 64-bit binaries.
51087 2011-09-01 David S. Miller <davem@davemloft.net>
51089 * elf/elf.h (HWCAP_SPARC_*): Move to..
51090 * sysdeps/sparc/sysdep.h: this new file and add new values.
51091 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51092 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51093 _DL_HWCAP_COUNT to 24.
51094 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51096 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51097 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51098 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51100 instead of magic constants.
51101 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51103 2011-08-31 David S. Miller <davem@davemloft.net>
51105 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51107 Reimplement to do errno handling inline.
51108 (SYSCALL_ERROR_HANDLER): New macro.
51109 (__SYSCALL_STRING): Do not do errno handling in asm.
51110 (__CLONE_SYSCALL_STRING): Delete.
51111 (__INTERNAL_SYSCALL_STRING): Delete.
51112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51113 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51114 (PSEUDO): Reimplement to do errno handling inline.
51115 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51116 (SYSCALL_ERROR_HANDLER): New macro.
51117 (__SYSCALL_STRING): Do not do errno handling in asm.
51118 (__CLONE_SYSCALL_STRING): Delete.
51119 (__INTERNAL_SYSCALL_STRING): Delete.
51120 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51121 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51123 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51124 (inline_syscall*): Add 'err' argument.
51125 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51126 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51127 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51128 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51130 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51131 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51133 2011-08-30 Andreas Schwab <schwab@redhat.com>
51135 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51137 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51139 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51142 2011-08-24 David S. Miller <davem@davemloft.net>
51144 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51146 2011-08-24 Andreas Schwab <schwab@redhat.com>
51148 * elf/Makefile: Add rules to build and run unload8 test.
51149 * elf/unload8.c: New file.
51150 * elf/unload8mod1.c: New file.
51151 * elf/unload8mod1x.c: New file.
51152 * elf/unload8mod2.c: New file.
51153 * elf/unload8mod3.c: New file.
51155 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51158 2011-08-23 David S. Miller <davem@davemloft.net>
51160 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51161 subtract stack bias.
51162 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51163 %sp not %fp in calculations.
51164 (_JMPBUF_UNWINDS_ADJ): Likewise.
51166 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51167 (aio_suspend): Call it to force an exception region around the
51168 AIO_MISC_WAIT() invocation.
51170 2011-08-23 Andreas Schwab <schwab@redhat.com>
51172 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51175 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51177 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51179 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51180 and <dl-machine.h>.
51181 (Elf64_FuncDesc): Remove.
51183 2011-08-22 David S. Miller <davem@davemloft.net>
51185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51186 sigaltstack check, add missing cfi directives.
51187 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51188 missing cfi directives, and sigaltstack handling.
51190 2011-08-16 Andreas Schwab <schwab@redhat.com>
51193 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51194 object is seen twice.
51195 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51197 * elf/Makefile (distribute): Add tst-initorder2.c.
51198 (tests): Add tst-initorder2.
51199 (modules-names): Add tst-initorder2a tst-initorder2b
51200 tst-initorder2c tst-initorder2d. Add rules to build them.
51201 ($(objpfx)tst-initorder2.out): New rule.
51202 * elf/tst-initorder2.c: New file.
51203 * elf/tst-initorder2.exp: New file.
51205 2011-08-22 Andreas Schwab <schwab@redhat.com>
51207 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51209 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51210 dependencies back to end of function.
51212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51213 $(elfobjdir)/ld.so.
51215 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51218 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51219 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51220 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51221 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51222 of __vdso_gettimeofday.
51223 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51224 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51226 (_libc_vdso_platform_setup): Remove initialization of
51227 __vdso_gettimeofday and __vdso_time.
51229 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51231 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51232 and fgetc_unlocked.
51233 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51236 * elf/dl-open.c (add_to_global): Report additions to the global scope
51237 for LD_DEBUG=scopes.
51238 (dl_open_worker): Also print scope of newly loaded dependencies.
51239 (_dl_show_scope): Indicate if there is no scope.
51242 * stdio-common/Makefile (tests): Add bug24.
51243 * stdio-common/bug24.c: New file.
51245 2011-08-19 Andreas Jaeger <aj@suse.de>
51248 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51249 non-existant file when using close-on-exec mode.
51251 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51253 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51254 the very first instruction.
51256 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51257 the CFI state in the end.
51258 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51259 inclusion of dl-trampoline.h.
51260 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51262 2011-08-19 Andreas Schwab <schwab@redhat.com>
51264 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51265 expectations for long double.
51267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51268 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51270 2011-08-14 David S. Miller <davem@davemloft.net>
51272 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51273 artificual limit depends upon the system page size.
51275 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51277 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51278 * resolv/Makefile: Define CFLAGS-libresolv.
51280 2011-08-17 Andreas Schwab <schwab@redhat.com>
51282 * nss/makedb.c (compute_tables): Make variables used in nested
51285 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51287 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51288 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51289 if buffer was too small.
51291 * elf/pldd.c (main): Attach to all threads in the process.
51292 Rewrite /proc handling to use *at functions.
51294 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51296 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51297 specifies first scope to show.
51298 (dl_open_worker): Update callers. Move printing scope of new
51299 object to before the relocation.
51300 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51301 * sysdeps/generic/ldsodefs.h: Update declaration.
51303 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51304 string for the scope number.
51306 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51308 * nscd/servicescache.c (cache_addserv): Make sure written is always
51311 2011-08-14 Roland McGrath <roland@hack.frob.com>
51313 * sysdeps/i386/i486/bits/atomic.h
51314 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51315 statement expression, so as to suppress "set but not used" warning.
51316 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51318 * string/strncat.c (STRNCAT): Use prototype definition.
51320 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51321 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51323 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51324 (localedef-modules): Add localedef.
51325 (locale-modules): Add locale.
51327 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51328 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51329 to avoid a warning.
51331 2011-08-14 David S. Miller <davem@davemloft.net>
51333 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51334 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51336 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51338 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51339 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51340 * elf/rtld.c (dl_main): Set l_name of vDSO.
51341 Call _dl_show_scope when DL_DEBUG_SCOPES.
51342 (process_dl_debug): Recognize scopes flag and also set it for all.
51343 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51344 Declare _dl_show_scope.
51346 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51347 (do_dlopen): Pass caller_dlopen to dl_open.
51348 (__libc_dlopen_mode): Initialize caller_dlopen.
51350 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51351 of libc. Make tolower call locale-independent. Optimize a bit by
51352 using isdigit instead of isalnum.
51353 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51355 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51357 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51358 was a dependency or dynamically loaded.
51360 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51362 * intl/l10nflist.c: Allow architecture-specific pop function.
51363 * sysdeps/x86_64/l10nflist.c: New file.
51365 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51368 2011-08-10 Andreas Schwab <schwab@redhat.com>
51370 * include/dirent.h: Add libc_hidden_proto for scandirat and
51371 scandirat64. Don't declare __scandirat64.
51372 * dirent/scandirat.c: Add libc_hidden_def.
51373 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51374 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51376 2011-08-10 David S. Miller <davem@davemloft.net>
51378 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51380 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51382 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51384 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51386 * Versions.def [libc]: Add GLIBC_2.15.
51387 * dirent/Makefile (routines): Add scandirat and scandirat64.
51388 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51390 * dirent/dirent.h: Declare scandirat and scandirat64.
51391 * dirent/scandirat.c: New file.
51392 * dirent/scandirat64.c: New file.
51393 * sysdeps/wordsize-64/scandirat.c: New file.
51394 * sysdeps/wordsize-64/scandirat64.c: New file.
51395 * dirent/opendir.c: Define opendirat.
51396 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51398 * dirent/scandir64.c: Adjust for scandir.c change.
51399 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51400 __scandirat64, and __scandir_cancel_handler.
51401 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51402 additional parameter and use openat instead of open (outside of ld.so).
51403 Add new __opendir as wrapper around __opendirat.
51404 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51405 here without requiring old scandirat implementation.
51407 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51409 * dirent/scandir.c (cancel_handler): Renamed to
51410 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51411 defined. Adjust users.
51412 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51413 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51415 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51417 * string/test-string.h (IMPL): Use __STRING to expand name and then
51420 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51423 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51425 * string/Makefile: Update.
51426 (strop-tests): Append strncat.
51427 * string/test-wcscmp.c: New file.
51428 New comprehensive test for wcscmp.
51429 * string/test-strcmp.c: Update.
51430 (WIDE): New define.
51432 2011-07-22 Andreas Schwab <schwab@redhat.com>
51434 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51437 2011-07-26 Andreas Schwab <schwab@redhat.com>
51439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51440 encoding to ACE if AI_IDN.
51442 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51444 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51445 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51447 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51450 Fix overflow bug in strncat.
51451 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51453 * string/test-strncat.c: Update.
51454 Add new tests for checking overflow bugs.
51456 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51459 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51460 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51461 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51462 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51463 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51464 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51465 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51466 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51469 (USE_AS_STRCAT): Define.
51470 Add strcat and strncat support.
51471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51473 2011-07-25 Andreas Schwab <schwab@redhat.com>
51475 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51476 __n bigger than INT_MAX+1.
51477 (__strncmp_g): Likewise.
51479 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51481 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51482 * libio/stido.h: Likewise.
51484 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51489 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51491 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51492 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51493 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51496 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51501 (_dl_x86_64_save_sse): Likewise.
51503 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51507 (_dl_x86_64_save_sse): Likewise.
51509 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51511 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51513 2011-07-21 Andreas Schwab <schwab@redhat.com>
51515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51517 (_dl_x86_64_save_sse): Use correct AVX check.
51519 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51521 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51522 bug in strncpy/strncat.
51523 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51525 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51527 * string/tester.c (test_strcat): Add tests for different alignments
51528 of source and destination.
51529 (test_strncat): Likewise.
51531 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51534 * posix/glob.c (glob): Check passed in values before using them in
51535 expressions to avoid some overflows.
51536 (glob_in_dir): Likewise.
51539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51540 check for AVX enablement so that we don't crash with old kernels and
51542 * elf/tst-audit4.c: Add same checks here.
51543 * elf/tst-audit6.c: Likewise.
51545 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51547 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51549 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51551 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51553 * po/cs.po: Update from translation team.
51554 * po/bg.po: Likewise.
51556 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51558 * misc/sys/cdefs.h: Add support for const attribute.
51559 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51560 to gnu_dev_{major,minor,makedev} functions.
51562 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51564 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51566 2011-07-20 Andreas Schwab <schwab@redhat.com>
51568 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51571 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51574 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51575 register in order to avoid conflicts with the soft frame pointer
51576 being held in r11 when necessary.
51577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51578 (INTERNAL_VSYSCALL_NCS): Likewise.
51580 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51582 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51583 * elf/dl-fini.c (_dl_fini): Adjust caller.
51584 * elf/dl-close.c (_dl_close_worker): Likewise.
51585 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51587 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51589 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51590 "aux_cache->nlibs < 0".
51592 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51593 in the reload-count case.
51595 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51598 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51599 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51600 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51601 * sysdeps/x86_64/multiarch/strcat.S: New file.
51602 * sysdeps/x86_64/multiarch/strncat.S: New file.
51603 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51604 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51605 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51606 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51607 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51608 (USE_AS_STRCAT): Define.
51609 Add strcat and strncat support.
51610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51612 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51613 * string/strncat.c: Update.
51614 (USE_AS_STRNCAT): Define.
51615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51616 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51618 * sysdeps/x86_64/multiarch/init-arch.h
51619 (bit_Prefer_PMINUB_for_stringop): New.
51620 (index_Prefer_PMINUB_for_stringop): Likewise.
51621 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51622 bit_Prefer_PMINUB_for_stringop.
51624 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51626 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51628 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51629 of casting of buffer.
51630 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51631 buffer32 and buffer64.
51632 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51633 writes instead of casting of buffer.
51634 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51636 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51639 2011-07-19 Andreas Schwab <schwab@redhat.com>
51641 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51643 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51645 * nscd/nscd.c (termination_handler): Don't do anything for a database
51646 if it has not yet been initialized.
51648 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51650 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51652 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51654 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51656 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51658 * po/nl.po: Update from translation team.
51659 * po/sv.po: Likewise.
51661 2011-07-16 Roland McGrath <roland@hack.frob.com>
51663 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51664 now disallowed by GCC.
51666 * configure.in (use-default-link): Default to yes if a test -shared
51667 link meets our qualifications.
51668 * configure: Regenerated.
51670 * config.make.in (output-format): New variable.
51671 * configure.in: Check for ld --print-output-format support.
51672 * configure: Regenerated.
51673 * Makerules ($(common-objpfx)format.lds)
51674 [$(output-format) != unknown]: Just use $(output-format),
51675 instead of the linker-script munging.
51677 2011-07-14 Roland McGrath <roland@hack.frob.com>
51679 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51680 of $(common-objpfx)shlib.lds.
51681 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51683 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51684 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51686 * configure.in (-z relro check): Adjust test code to add a large
51687 writable data section after it.
51688 * configure: Regenerated.
51690 2011-07-11 Roland McGrath <roland@hack.frob.com>
51692 * configure.in (-z relro check): Fix test code to make the variable
51694 * configure: Regenerated.
51696 2011-07-11 Ulrich Drepper <drepper@gmail.com>
51698 * nscd/nscd.h (struct traced_file): Define.
51699 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51700 elements. Add traced_files.
51701 (inotify_fd): Declare.
51702 (register_traced_file): Declare.
51703 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51704 (inotify_fd): Export.
51705 (resolv_conf_descr): Remove.
51706 (nscd_init): Move inotify descriptor creation to main.
51707 Don't register files for notification here.
51708 (register_traced_file): New function.
51709 (invalidate_cache): Don't use reset_res to determine whether to call
51710 res_init, go through the list of registered files.
51711 (main_loop_poll): The inotify descriptors are now stored in the
51712 structures for the traced files.
51713 (main_loop_epoll): Likewise
51714 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51715 to __nss_disable_nscd.
51716 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51717 for a database anymore. Check the records for all the registered
51719 * nss/Makefile (libnss_files-routines): Add files-init.
51720 (libnss_db-routines): Add db-init.
51721 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51722 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51723 * nss/nss_db/db-init.c: New file.
51724 * nss/nss_files/files-init.c: New file.
51725 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51726 __nss_lookup_function.
51727 (__nss_lookup_function): Call nss_load_library.
51728 (nss_load_all_libraries): New function.
51729 (__nss_disable_nscd): Take parameter with callback function for files
51730 to register. Set is_nscd. Load all the DSOs for the NSS modules
51731 used for the cached services.
51732 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51733 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51734 options for features to all the files in nscd.
51736 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51738 2011-07-10 Roland McGrath <roland@hack.frob.com>
51740 * csu/elf-init.c (__libc_csu_init): Comment typo.
51742 2011-07-09 Ulrich Drepper <drepper@gmail.com>
51744 * po/pl.po: Update from translation team.
51745 * po/ja.po: Likewise.
51746 * po/ru.po: Likewise.
51747 * po/ko.po: Likewise.
51748 * po/fr.po: Likewise.
51750 2011-07-09 Roland McGrath <roland@hack.frob.com>
51752 * configure.in (.ctors/.dtors header and trailer check):
51753 Use an empirical test on a built program.
51754 * configure: Regenerated.
51756 * configure.in (-z relro check): Use an empirical test on a built DSO.
51757 Detect, but do not require, on ia64.
51758 * configure: Regenerated.
51760 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51761 Update tests that use readelf to use $READELF instead.
51762 * configure: Regenerated.
51764 2011-07-08 Ulrich Drepper <drepper@gmail.com>
51766 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51767 if the result is not used.
51769 2011-07-05 Andreas Jaeger <aj@suse.de>
51772 * stdlib/tst-strtod.c: Add testcase.
51774 2011-07-07 Ulrich Drepper <drepper@gmail.com>
51776 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51777 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51778 The latter has a higher limit. Take additional parameter to pass to
51780 (__pathconf): Pass file to __statfs_link_max.
51781 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51783 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51787 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51790 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51791 (__statfs_filesize_max): Likewise.
51792 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51794 2011-07-05 Andreas Jaeger <aj@suse.de>
51796 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51798 2011-07-06 Marek Polacek <mpolacek@redhat.com>
51800 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51802 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51805 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51807 * Makefile (strop-tests): Add strncat.
51808 * string/test-strncat.c: New file.
51810 2011-06-30 Marek Polacek <mpolacek@redhat.com>
51812 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51814 2011-06-21 Andreas Jaeger <aj@suse.de>
51816 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51817 Copy rule from iconvdata/Makefile.
51819 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51822 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51823 but no long options are defined, just return 'W'.
51825 2011-06-22 Marek Polacek <mpolacek@redhat.com>
51828 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51830 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51832 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51834 (innetgr): Likewise.
51836 2011-07-05 Roland McGrath <roland@hack.frob.com>
51838 * config.make.in (install_root): Default to $(DESTDIR).
51840 2011-07-05 Ulrich Drepper <drepper@gmail.com>
51842 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51844 2011-07-02 Roland McGrath <roland@hack.frob.com>
51846 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51848 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51849 containing directory rather than embedding absolute directory names.
51851 * scripts/check-local-headers.sh: Rewritten using awk.
51852 Match by word, not by line. Print error messages for matches.
51853 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51855 * Makerules [shlib-lds-flags empty]:
51856 ($(common-objpfx)libc_pic.opts): New target.
51857 ($(common-objpfx)libc_pic.os.clean): New target.
51858 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51860 * config.make.in (OBJCOPY): New variable.
51861 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51862 * configure: Regenerated.
51864 * config.make.in (use-default-link): New variable.
51865 * configure.in (use_default_link): Grok --with-default-link to set it.
51866 * configure: Regenerated.
51867 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51868 (shlib-lds, shlib-lds-flags): Define to empty.
51870 * Makerules (shlib-lds): New variable.
51871 (shlib-lds-flags): New variable.
51872 (build-shlib, build-moduile, build-module-asneeded): Use it.
51873 ($(common-objpfx)libc.so): Use $(shlib-lds).
51874 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51875 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51877 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51878 DT_FLAGS/DT_FLAGS_1 with zero flags.
51880 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51881 linker script munging.
51883 2011-07-02 Ulrich Drepper <drepper@gmail.com>
51885 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51887 * crypt/sha512.c (sha512_process_block): Perform total addition using
51888 128-bit if possible.
51889 (__sha512_finish_ctx): Likewise.
51890 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51892 * crypt/sha256.c (SWAP64): Define.
51893 (sha256_process_block): Perform total addition using 64-bit if
51895 (__sha256_finish_ctx): Likewise.
51897 2011-07-01 Ulrich Drepper <drepper@gmail.com>
51899 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51900 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51901 * nscd/hstcache.c (cache_addhst): Likewise.
51902 * nscd/grpcache.c (cache_addgr): Likewise.
51903 * nscd/aicache.c (addhstaiX): Likewise
51904 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51906 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
51908 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51910 * nscd/hstcache.c (cache_addhst): Likewise.
51911 * nscd/grpcache.c (cache_addgr): Likewise.
51912 * nscd/aicache.c (addhstaiX): Likewise
51914 2011-07-01 Andreas Schwab <schwab@redhat.com>
51916 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51917 domain only when needed.
51919 2011-06-30 Andreas Schwab <schwab@redhat.com>
51921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51922 is always restored.
51924 2011-06-29 Ulrich Drepper <drepper@gmail.com>
51926 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51927 are re-adding the entry.
51928 * nscd/servicescache.c (cache_addserv): Likewise.
51930 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51932 * sysdeps/generic/dl-irel.h: fix protection against multiple
51934 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51936 2011-06-28 Ulrich Drepper <drepper@gmail.com>
51939 * malloc/memusage.sh: Fix quoting in message.
51940 * debug/xtrace.sh: Likewise.
51942 * configure.in: Remove support for --experimental-malloc option, make
51944 * config.make.in: Likewise.
51945 * malloc/Makefile: Likewise.
51947 2011-06-27 Andreas Schwab <schwab@redhat.com>
51949 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51950 two-byte characters.
51952 2011-06-27 Roland McGrath <roland@hack.frob.com>
51954 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51955 AC_CACHE_CHECK invocation.
51956 * configure: Regenerated.
51958 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51960 2011-06-27 Ulrich Drepper <drepper@gmail.com>
51963 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51964 bit from old_res_options.
51966 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51968 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51969 value type for setfct.
51971 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51974 __gettimeofday instead of gettimeofday.
51976 2011-06-26 Ulrich Drepper <drepper@gmail.com>
51978 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51980 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51982 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51984 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51987 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51990 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51991 strcpy-sse2-unaligned strncpy-sse2-unaligned
51992 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51993 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51994 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51995 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51996 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51997 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51998 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51999 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52000 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52001 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52002 (STRCPY): Support SSE2 and SSSE3 versions.
52004 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52007 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52008 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52009 kernels which artificially limit size of requests.
52011 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52014 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52015 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52016 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52017 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52018 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52019 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52020 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52023 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52024 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52025 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52026 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52027 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52029 Enable unaligned load optimization for Intel Core i3, i5 and i7
52031 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52033 (index_Fast_Unaligned_Load): Define.
52034 (HAS_FAST_UNALIGNED_LOAD): Define.
52036 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52038 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52040 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52043 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52044 until it is clear that the information is realy needed.
52045 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52047 2011-06-22 Andreas Schwab <schwab@redhat.com>
52049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52051 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52054 /sys/devices/system/cpu/online if it is usable.
52056 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52057 reading the information from the /proc filesystem to once a second.
52059 2011-06-21 Andreas Jaeger <aj@suse.de>
52061 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52062 NULL after inclusion of kernel headers.
52064 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52066 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52067 calls to internal_setent.
52070 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52071 addresses using gethostbyname4_r ignore IPv4 addresses.
52073 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52074 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52076 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52078 2011-06-20 David S. Miller <davem@davemloft.net>
52080 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52082 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52084 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52085 (elf_irel): Use it.
52086 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52087 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52088 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52089 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52090 * sysdeps/x86_64/dl-irel.h: Likewise.
52092 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52093 * elf/dl-sym.c: Likewise.
52095 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52097 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52098 need to dereference resplen2.
52100 2011-06-14 Andreas Schwab <schwab@redhat.com>
52102 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52104 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52106 * Makeconfig: Define vardbdir and inst_vardbdir.
52107 * nss/Makefile: Add rules to install db-Makefile.
52109 * nss/nss_db/db-XXX.c: Cleanup.
52111 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52112 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52114 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52115 * nss/makedb.c: Implement -g option to specify that value strings
52116 are generated and should not be added to table iterated over for
52118 * nss/nss_db/db-initgroups.c: New file.
52120 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52123 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52124 (internal_getgrouplist): Adjust to name change.
52125 Update use_initgroups_entry if this is not the first call.
52126 * nss/databases.def: Add initgroups entry.
52128 * nss/makedb.c (compute_tables): Check result of multiple hash table
52129 sizes to minimize maximum chain length.
52131 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52133 * Versions.def: Add entry for libnss_db.
52134 * shlib-versions: Likewise.
52135 * nss/Makefile: Add rules to build libnss_db.
52136 * nss/Versions: Add libnss_db information. Organize libnss_files
52138 * nss/db-Makefile: Add gshadow support. Change rules for the new
52139 makedb progra. Some minor improvements to generate smaller files.
52140 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52142 * nss/makedb.c: ...here.
52143 Improve database format to be smaller and require less memory at
52145 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52147 * nss/nss_db/db-netgrp.c: Likewise.
52148 * nss/nss_db/db-open.c: Likewise.
52149 * nss/nss_files/flies-XXX.x: Adjust comments.
52150 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52151 * nss/nss_files/files-grp.c: Likewise.
52152 * nss/nss_files/files-hosts.c: Likewise.
52153 * nss/nss_files/files-network.c: Likewise.
52154 * nss/nss_files/files-proto.c: Likewise.
52155 * nss/nss_files/files-pwd.c: Likewise.
52156 * nss/nss_files/files-rpc.c: Likewise.
52157 * nss/nss_files/files-service.c: Likewise.
52158 * nss/nss_files/files-sgrp.c: Likewise.
52159 * nss/nss_files/files-spwd.c: Likewise.
52160 * nss/nss_db/db-alias.c: Removed.
52161 * nss/nss_db/dummy-db.h: Removed.
52163 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52165 * nss/makedb.c: Rewritten to not use database library.
52166 * nss/Makefile: Update to build new makedb program.
52168 2011-06-14 Andreas Jaeger <aj@suse.de>
52170 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52171 memset declaration.
52173 2011-06-10 Andreas Schwab <schwab@redhat.com>
52175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52178 2011-06-10 Roland McGrath <roland@hack.frob.com>
52180 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52181 * elf/Makefile ($(objpfx)ld.so): Likewise.
52183 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52184 Don't list ld.so twice in dependencies.
52186 * posix/bug-regex31.c: Include <stdlib.h>.
52188 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52190 * nis/nss_compat/compat-spwd.c
52191 (getspent_next_nss_netgr): Remove unused variable.
52192 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52194 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52195 nonmembers" output to use the right array.
52197 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52199 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52201 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52202 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52203 * catgets/gencat.c (read_input_file): Likewise.
52204 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52206 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52207 variable definition inside #if's controlling its use.
52209 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52211 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52213 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52215 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52218 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52220 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52221 * configure: Regenerated.
52223 * Makerules: Revert last change.
52224 * elf/Makefile: Likewise.
52226 2011-06-09 Roland McGrath <roland@hack.frob.com>
52228 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52229 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52230 (reloc-link): Likewise.
52232 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52234 * elf/Makefile: Add rules to build pldd.
52235 * elf/pldd.c: New file.
52236 * elf/pldd-xx.c: New file.
52238 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52240 * version.h: Update for 2.15 development version.
52242 2011-06-07 David S. Miller <davem@davemloft.net>
52244 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52247 elf_machine_lazy_rel): Likewise.
52248 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52250 elf_machine_lazy_rel): Likewise.
52251 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52252 dl_hwcap via passed in argument.
52253 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52256 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52258 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52260 2011-06-06 Roland McGrath <roland@hack.frob.com>
52263 * manual/fdl-1.1.texi: New file, verbatim from:
52264 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52265 * manual/lgpl-2.1.texi: New file, verbatim from:
52266 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52267 * manual/Makefile (licenses): New variable, list those new file names.
52269 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52271 * manual/fdl.texi: File removed.
52272 * manual/lesser.texi: File removed.
52273 * manual/libc.texinfo (Copying, Documentation License):
52274 Use new @include file names, put @appendix directive before @include.
52276 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52279 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52280 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52281 (mq_open): Add __NTH.
52283 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52286 Assume Intel Core i3/i5/i7 processor if AVX is available.
52288 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52290 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52293 2011-05-31 Andreas Schwab <schwab@redhat.com>
52295 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52296 memory. Use alloca_account. Fix memory leak when retrying.
52298 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52300 * version.h (RELEASE): Bump for 2.14 release.
52301 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52303 * config.make.in (RANLIB): Remove entry.
52305 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52307 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52308 (libc.pot): Work around missing support for .ksh extension in xgettext.
52311 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52312 if both request failed.
52313 (send_dg): In case of server errors clear resplen or *resplen2.
52316 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52317 when there are multiple maps.
52318 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52319 (_dl_fini): Remove test here.
52321 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52323 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52326 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52327 bit from old_res_options.
52328 (gaih_inet): Likewise.
52331 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52334 * resolv/res_init.c (res_setoptions): Make the code more compact.
52337 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52341 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52343 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52346 * malloc/malloc.h: Declare malloc hook variables as volatile.
52348 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52352 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52353 raise in the comment.
52354 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52356 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52358 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52361 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52362 grow the buffers more if it already has to be sufficient.
52363 (build_wcs_upper_buffer): Likewise.
52364 * posix/regexec.c (check_matching): Likewise.
52365 (clean_state_log_if_needed): Likewise.
52366 (extend_buffers): Don't enlarge buffers beyond size of the input
52368 Patches mostly by Emil Wojak <emil@wojak.eu>.
52369 * posix/bug-regex32.c: New file.
52370 * posix/Makefile (tests): Add bug-regex32.
52372 * locale/findlocale.c (_nl_find_locale): Return right away if
52373 _nl_explode_name failed.
52374 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52376 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52378 * debug/xtrace.sh: Unify messages.
52379 * malloc/memusage.sh: Likewise.
52382 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52383 time symbol from vDSO. Substitute with vsyscall if not available.
52384 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52387 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52388 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52389 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52390 Add sendmmsg and internal_sendmmsg.
52391 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52392 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52395 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52396 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52397 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52399 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52402 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52403 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52405 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52409 * iconvdata/Makefile (tests): Add bug-iconv9.
52410 * iconvdata/bug-iconv9.c: New file.
52412 2011-05-27 Andreas Schwab <schwab@redhat.com>
52415 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52417 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52419 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52420 (struct user_regs_struct): Change intcs field back to cs.
52422 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52424 * po/ja.po: Update from translation team.
52426 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52429 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52430 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52432 2011-05-20 Andreas Schwab <schwab@redhat.com>
52434 * stdlib/longlong.h: Update from GCC.
52436 2011-05-23 Andreas Schwab <schwab@redhat.com>
52438 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52440 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52441 Add parameter name.
52442 (__sysconf): Pass it down.
52444 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52447 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52449 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52450 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52451 add in in __libc_use_alloca calls. Adjust callers.
52452 (glob): Use malloc in some situations.
52454 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52455 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52458 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52460 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52461 and CLOCK_BOOTTIME_ALARM.
52464 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52467 * string/_strerror.c (__strerror_r): Print negative errors as signed
52471 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52472 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52473 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52475 * configure.in: Fix typo in redirection and correct removal of test
52476 files in two cases.
52479 * locale/setlocale.c (new_composite_name): Fix test to check for
52480 identical name of all categories.
52483 * libio/filedoalloc.c (local_isatty): New function.
52484 (_IO_file_doallocate): Use local_isatty.
52485 * stdio-common/perror.c (perror): In case a new stream is used
52486 forward the stream error.
52487 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52490 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52495 * include/alloca.h (extend_alloca_account): Define.
52498 * posix/regex.h: Fix comments with documentation of user-accessible
52499 fields after compilation and describe correct free'ing of pattern
52500 after re_compile_pattern.
52501 Patch by Reuben Thomas <rrt@sc3d.org>.
52503 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52505 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52506 and -mno-altivec to prevent the compiler from using Altivec and/or
52507 VSX instructions when the corresponding registers are not available.
52509 2011-05-19 Andreas Schwab <schwab@redhat.com>
52511 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52513 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52515 * libio/freopen.c (freopen): Use __dup2, not dup2.
52516 * libio/freopen64.c (freopen64): Likewise.
52518 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52521 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52522 * math/Makefile (tests): Add test-powl.
52523 (CFLAGS-test-powl.c): Define.
52524 * math/test-powl.c: New file.
52526 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52528 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52530 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52533 * iconvdata/gb18030.c: Update to GB18020-2005.
52535 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52537 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52538 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52539 Patch by Aharon Robbins <arnold@skeeve.com>.
52542 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52546 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52547 through underflows.
52550 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52551 point to strings before performing equality test for error_one_per_line
52555 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52558 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52559 (struct user_fpregs_struct): Avoid __uint*_t types.
52562 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52563 symbol info. Use it instead of calling _dl_addr locally.
52564 (lock_and_info): New function.
52565 (tr_freehook): Call lock_and_info and pass symbol info as additional
52566 parameter to tr_where.
52567 (tr_mallochook): Likewise.
52568 (tr_reallochook): Likewise.
52569 (tr_memalignhook): Likewise.
52571 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52572 used and couldn't be at all thread-safe.
52574 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52576 * libio/freopen.c (freopen): Don't close old file descriptor
52577 before the new one is opened. Instead dup the new file descriptor
52578 to the old one after the new stream is created.
52579 * libio/freopen64.c (freopen64): Likewise.
52580 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52581 * libio/fileops.c (_IO_new_file_close_it): Handle new
52582 _IO_FLAGS2_NOCLOSE flag.
52583 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52584 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52585 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52586 _IO_FLAGS2_NOCLOSE flag.
52587 * include/unistd.h: Add hidden_proto for dup3.
52588 Define __have_dup3.
52589 * io/dup3.c: Define hidden symbol.
52590 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52593 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52594 when an incomplete long option is used.
52595 * posix/tst-getopt_long1.c: New file.
52596 * posix/Makefile (tests): Add tst-getopt_long1.
52599 * scripts/config.guess: Update from autoconf-2.68.
52600 * scripts/config.sub: Likewise.
52603 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52605 (has_cpuclock): ...this. New function.
52606 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52607 macro here based on has_cpuclock code.
52610 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52611 First byte (not low byte) is now always NUL.
52612 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52615 Use non-cancelable interfaces.
52618 * locale/iso-639.def: Add entry for Sorani.
52621 * include/stdlib.h: Move include protection to the right place.
52622 Define abort_msg_s. Declare __abort_msg with it.
52623 * stdlib/abort.c (__abort_msg): Adjust type.
52624 * assert/assert.c (__assert_fail_base): New function. Majority
52625 of code from __assert_fail. Allocate memory for __abort_msg with
52627 (__assert_fail): Now call __assert_fail_base.
52628 * assert/assert-perr.c: Remove bulk of implementation. Use
52629 __assert_fail_base.
52630 * include/assert.hL Declare __assert_fail_base.
52631 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52633 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52635 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52639 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52640 until all modules are registered in the DTV.
52641 * elf/Makefile: Add rules to build and run tst-tls19.
52642 * elf/tst-tls19.c: New file.
52643 * elf/tst-tls19mod1.c: New file.
52644 * elf/tst-tls19mod2.c: New file.
52645 * elf/tst-tls19mod3.c: New file.
52646 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52649 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52653 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52654 two-byte sequence errors.
52655 * iconvdata/Makefile (tests): Add bug-iconv8.
52656 * iconvdata/bug-iconv8.c: New file.
52659 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52662 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52665 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52666 (dummy_getcfa): New function.
52667 (init): Get _Unwind_GetCFA address, use dummy if not found.
52668 (backtrace_helper): In recursion check, also check whether CFA changes.
52669 (__backtrace): Completely initialize arg.
52671 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52672 storing incomplete byte sequence in state object. Avoid testing for
52673 guaranteed too small input if we know there is enough data available.
52675 2011-05-11 Andreas Schwab <schwab@redhat.com>
52677 * Makeconfig (+link-pie): Indent.
52678 * Rules (binaries-pie): Define if $(have-fpie) and
52680 (binaries-shared): Also filter out $(binaries-pie).
52681 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52682 * nscd/Makefile (others-pie): Add nscd.
52683 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52684 ($(objpfx)nscd): Remove command override.
52685 * login/Makefile (others-pie): Add pt_chown.
52686 ($(objpfx)pt_chown): Remove command override.
52687 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52688 remove command overrides.
52690 2011-05-13 Ulrich Drepper <drepper@gmail.com>
52692 * libio/tst_putwc.c: Fix error messages.
52695 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52696 currently writing and seek to current position when not.
52697 * libio/Makefile (tests): Add bug-fclose1.
52698 * libio/bug-fclose1.c: New file.
52700 2011-05-12 Ulrich Drepper <drepper@gmail.com>
52703 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52704 don't set DF_1_NODELETE here.
52705 (do_lookup_x): When entering new entry test for copy relocation
52706 and if necessary set DF_1_NODELETE flag.
52707 * elf/tst-unique4.cc: New file.
52708 * elf/tst-unique4.h: New file.
52709 * elf/tst-unique4lib.cc: New file.
52710 * elf/Makefile: Add rules to build and run tst-unique4.
52711 Patch by Piotr Bury <pbury@goahead.com>.
52713 2011-05-11 Ulrich Drepper <drepper@gmail.com>
52716 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52719 * misc/mntent_r.c (addmntent): Flush the stream after the output
52722 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52723 (is_trusted_path_normalize): Skip initial colon. Append slash
52724 to empty buffer. Duplicate is_trusted_path code but allow
52725 constructed patch to be prefix.
52726 (is_dst): Allow $ORIGIN followed by /.
52727 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52728 Correct testing of result of is_trusted_path_normalize
52729 (decompose_rpath): Fix warning.
52731 2011-05-10 Ulrich Drepper <drepper@gmail.com>
52734 * grp/initgroups.c (internal_getgrouplist): When we found the service
52735 list through the initgroups entry in nsswitch.conf do not always
52736 continue on a successful lookup. Don't always use the
52737 __nss_group_database value if it is set.
52738 * nss/nsswitch.conf (initgroups): Change action for successful db
52739 lookup to continue for compatibility.
52741 2011-05-09 Ulrich Drepper <drepper@gmail.com>
52744 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52746 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52748 * iconvdata/tst-tables.sh: Likewise.
52749 * iconvdata/cp770.c: New file.
52750 * iconvdata/cp771.c: New file.
52751 * iconvdata/cp772.c: New file.
52752 * iconvdata/cp773.c: New file.
52753 * iconvdata/cp774.c: New file.
52754 * iconvdata/testdata/CP770: New file.
52755 * iconvdata/testdata/CP770..UTF8: New file.
52756 * iconvdata/testdata/CP771: New file.
52757 * iconvdata/testdata/CP771..UTF8: New file.
52758 * iconvdata/testdata/CP772: New file.
52759 * iconvdata/testdata/CP772..UTF8: New file.
52760 * iconvdata/testdata/CP773: New file.
52761 * iconvdata/testdata/CP773..UTF8: New file.
52762 * iconvdata/testdata/CP774: New file.
52763 * iconvdata/testdata/CP774..UTF8: New file.
52765 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52767 * iconvdata/gen-8bit-gap.sh: Likewise.
52768 * iconvdata/gen-8bit.sh: Likewise.
52770 * locale/iso-639.def: Add ary entry.
52773 * locale/C-translit.h.in: Add U20A1 transliteration.
52776 * locale/iso-639.def: Add wae entry.
52777 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52780 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52784 * locale/C-translit.h.in: Add entry for U20B9.
52785 Patch by pravin.d.s@gmail.com.
52787 2011-05-08 Ulrich Drepper <drepper@gmail.com>
52790 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52791 ENAMETOOLONG use generic getcwd.
52792 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52793 in rtld. Use *stat64.
52794 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52795 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52796 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52797 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52798 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52799 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52800 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52801 __fstatat64 macros.
52802 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52803 * dirent/rewinddir.c: Add libc_hidden_def.
52804 * sysdeps/mach/hurd/rewinddir.c: Likewise.
52805 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
52807 * include/dirent.h (__alloc_dir): Add flags parameter.
52808 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52809 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52811 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52812 from fdopendir if O_CLOEXEC is already set.
52814 2011-03-15 Alan Modra <amodra@gmail.com>
52816 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52817 l_tls_firstbyte_offset non-zero. Save padding offset in
52818 l_tls_firstbyte_offset for later use.
52819 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52820 freeing static tls block.
52822 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52824 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52825 where #ifdef was intended. The intent is to prevent ARG_MAX from
52826 being defined by the kernel headers.
52828 2011-05-07 Ulrich Drepper <drepper@gmail.com>
52831 * resolv/resolv.h: Define RES_NOTLDQUERY.
52832 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52833 no-tld-query and set RES_NOTLDQUERY.
52834 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52835 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52836 modern BIND to search name as TLD unless forbidden.
52838 2011-05-07 Petr Baudis <pasky@suse.cz>
52839 Ulrich Drepper <drepper@gmail.com>
52842 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52843 (is_trusted_path): ...to here.
52844 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52845 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52846 using is_trusted_path_normalize() in setuid scripts.
52848 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52850 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52851 __BEGIN/__END_DECLS.
52853 2011-05-06 Ulrich Drepper <drepper@gmail.com>
52855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52856 NSS_STATUS_NOTFOUND if no record was found.
52858 2011-05-05 Andreas Schwab <schwab@redhat.com>
52860 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52861 (headers-not-in-tirpc): Remove rpc/netdb.h
52862 * resolv/netdb.h: Revert last change.
52864 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52866 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52867 circular dependency between libgcc.a and libc.a.
52869 2011-05-05 Andreas Schwab <schwab@redhat.com>
52871 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52872 * nis/Makefile: Don't install rpcsvc/*.
52873 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52874 instead of <rpc/types.h>.
52875 (MAXHOSTNAMELEN): Define.
52877 2011-05-03 Andreas Schwab <schwab@redhat.com>
52879 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52881 2011-04-28 Maciej Babinski <mbabinski@google.com>
52884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52885 gethostbyname4_r when IPv6 results are possible.
52887 2011-05-02 Ulrich Drepper <drepper@gmail.com>
52890 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52891 _PC_PIPE_BUF handling.
52893 2011-04-30 Bruno Haible <bruno@clisp.org>
52896 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52897 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52899 * inet/getnameinfo.c (getnameinfo): Likewise.
52901 2011-04-29 Ulrich Drepper <drepper@gmail.com>
52903 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52904 to groups setting in database lookup.
52905 * nss/nsswitch.conf: Add initgroups entry.
52907 2011-04-22 Ulrich Drepper <drepper@gmail.com>
52910 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52912 Patch by Eric Blake <eblake@redhat.com>.
52914 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52916 * sunrpc/Makefile (need-export-routines): Add svc_run.
52917 (routines): Remove svc_run.
52918 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52919 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52920 * sunrpc/svc_run.c (svc_run): Likewise.
52921 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52923 2011-04-21 Ulrich Drepper <drepper@gmail.com>
52925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52926 problem in reallocation in last patch.
52928 2011-04-20 Ulrich Drepper <drepper@gmail.com>
52930 * sunrpc/Makefile: Move inclusion of Rules.
52932 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52934 * nss/nss_files/files-initgroups.c: New file.
52935 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52936 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52937 _nss_files_initgroups_dyn.
52939 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52941 * elf/elf.h (R_ARM_IRELATIVE): Define.
52943 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52945 * po/ru.po: Update from translation team.
52947 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52949 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52952 2011-02-06 Mike Frysinger <vapier@gentoo.org>
52955 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52956 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52958 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52959 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52961 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52963 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52965 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52967 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52969 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52972 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52974 * stdlib/bug-getcontext.c: New file.
52975 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52977 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52979 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52980 instructions into .machine "z9-109".
52981 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52982 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52984 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52986 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52987 between environment variables and auxiliary vector.
52989 2011-04-16 Ulrich Drepper <drepper@gmail.com>
52991 * Makefile: Add rules to build linkobj/libc.so.
52992 * include/libc-symbols.h: Define libc_hidden_nolink.
52993 * include/rpc/auth.h: Mark functions which are to be hidden.
52994 * include/rpc/auth_des.h: Likewise.
52995 * include/rpc/auth_unix.h: Likewise.
52996 * include/rpc/clnt.h: Likewise.
52997 * include/rpc/des_crypt.h: Likewise.
52998 * include/rpc/key_prot.h: Likewise.
52999 * include/rpc/pmap_clnt.h: Likewise.
53000 * include/rpc/pmap_prot.h: Likewise.
53001 * include/rpc/pmap_rmt.h: Likewise.
53002 * include/rpc/rpc_msg.h: Likewise.
53003 * include/rpc/svc.h: Likewise.
53004 * include/rpc/svc_auth.h: Likewise.
53005 * include/rpc/xdr.h: Likewise.
53006 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53007 * nss/Makefile: Likewise.
53008 * sunrpc/Makefile: Don't install headers. Build library with normal
53009 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53010 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53011 for the compat linking library. Remove use of INTDEF/INTUSE.
53012 * sunrpc/auth_none.c: Likewise.
53013 * sunrpc/auth_unix.c: Likewise.
53014 * sunrpc/authdes_prot.c: Likewise.
53015 * sunrpc/authuxprot.c: Likewise.
53016 * sunrpc/clnt_gen.c: Likewise.
53017 * sunrpc/clnt_perr.c: Likewise.
53018 * sunrpc/clnt_raw.c: Likewise.
53019 * sunrpc/clnt_simp.c: Likewise.
53020 * sunrpc/clnt_tcp.c: Likewise.
53021 * sunrpc/clnt_udp.c: Likewise.
53022 * sunrpc/clnt_unix.c: Likewise.
53023 * sunrpc/des_crypt.c: Likewise.
53024 * sunrpc/des_soft.c: Likewise.
53025 * sunrpc/get_myaddr.c: Likewise.
53026 * sunrpc/key_call.c: Likewise.
53027 * sunrpc/key_prot.c: Likewise.
53028 * sunrpc/netname.c: Likewise.
53029 * sunrpc/pm_getmaps.c: Likewise.
53030 * sunrpc/pm_getport.c: Likewise.
53031 * sunrpc/pmap_clnt.c: Likewise.
53032 * sunrpc/pmap_prot.c: Likewise.
53033 * sunrpc/pmap_prot2.c: Likewise.
53034 * sunrpc/pmap_rmt.c: Likewise.
53035 * sunrpc/publickey.c: Likewise.
53036 * sunrpc/rpc_cmsg.c: Likewise.
53037 * sunrpc/rpc_common.c: Likewise.
53038 * sunrpc/rpc_dtable.c: Likewise.
53039 * sunrpc/rpc_prot.c: Likewise.
53040 * sunrpc/rpc_thread.c: Likewise.
53041 * sunrpc/rtime.c: Likewise.
53042 * sunrpc/svc.c: Likewise.
53043 * sunrpc/svc_auth.c: Likewise.
53044 * sunrpc/svc_authux.c: Likewise.
53045 * sunrpc/svc_raw.c: Likewise.
53046 * sunrpc/svc_run.c: Likewise.
53047 * sunrpc/svc_simple.c: Likewise.
53048 * sunrpc/svc_tcp.c: Likewise.
53049 * sunrpc/svc_udp.c: Likewise.
53050 * sunrpc/svc_unix.c: Likewise.
53051 * sunrpc/svcauth_des.c: Likewise.
53052 * sunrpc/xcrypt.c: Likewise.
53053 * sunrpc/xdr.c: Likewise.
53054 * sunrpc/xdr_array.c: Likewise.
53055 * sunrpc/xdr_float.c: Likewise.
53056 * sunrpc/xdr_intXX_t.c: Likewise.
53057 * sunrpc/xdr_mem.c: Likewise.
53058 * sunrpc/xdr_rec.c: Likewise.
53059 * sunrpc/xdr_ref.c: Likewise.
53060 * sunrpc/xdr_sizeof.c: Likewise.
53061 * sunrpc/xdr_stdio.c: Likewise.
53063 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53066 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53067 * sysdeps/ia64/dl-tls.h: Likewise.
53068 * sysdeps/powerpc/dl-tls.h: Likewise.
53069 * sysdeps/s390/dl-tls.h: Likewise.
53070 * sysdeps/sh/dl-tls.h: Likewise.
53071 * sysdeps/sparc/dl-tls.h: Likewise.
53072 * sysdeps/x86_64/dl-tls.h: Likewise.
53073 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53075 2011-03-14 Andreas Schwab <schwab@redhat.com>
53077 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53078 rpath element also skip the following colon.
53079 (expand_dynamic_string_token): Add is_path parameter and pass
53080 down to DL_DST_REQUIRED and _dl_dst_substitute.
53081 (decompose_rpath): Call expand_dynamic_string_token with
53082 non-zero is_path. Ignore empty rpaths.
53083 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53086 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53091 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53094 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53095 Patch by Filipe David Manana <fdmanana@apache.org>.
53097 2011-04-07 Andreas Schwab <schwab@redhat.com>
53099 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53100 Maintain aligned stack.
53101 (CHECK_RSP): Remove unused macro.
53103 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53105 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53106 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53108 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53110 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53112 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53114 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53117 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53118 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53119 * sysdeps/x86_64/memmove.c: New file.
53120 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53121 (memcpy): Renamed to ...
53122 (__new_memcpy): This.
53123 (memcpy): Provide GLIBC_2_14 memcpy.
53124 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53125 (memcpy): Provide GLIBC_2_2_5 memcpy.
53127 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53130 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53132 2011-03-30 Andreas Schwab <schwab@redhat.com>
53134 * misc/syncfs.c: New file.
53135 * misc/Makefile (routines): Add syncfs.
53136 * posix/unistd.h: Declare syncfs.
53137 * sysdeps/unix/syscalls.list: Add syncfs.
53139 2011-04-01 Andreas Schwab <schwab@redhat.com>
53141 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53146 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53148 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53151 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53154 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53155 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53157 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53161 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53162 sync_file_range.c with -fexceptions.
53163 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53164 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53165 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53166 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53167 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53168 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53169 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53170 sync_file_range as cancellation point
53171 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53172 now a wrapper around __call_sync_file_range with cancellation handling.
53173 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53174 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53175 function name to __call_sync_file_range.
53176 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53177 Add call_sync_file_range.
53179 2011-04-01 Andreas Schwab <schwab@redhat.com>
53181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53184 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53186 * iconv/iconv.h: Fix typo in comment.
53187 * io/fcntl.h: Likewise.
53188 * libio/stdio.h: Likewise.
53189 * posix/spawn.h: Likewise.
53190 * posix/unistd.h: Likewise.
53191 * stdlib/stdlib.h: Likewise.
53192 * time/time.h: Likewise.
53193 * wcsmbs/wchar.h: Likewise.
53195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53196 open_by_handle): Add.
53197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53198 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53199 Augment a few comments.
53200 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53204 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53205 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53208 * io/fcntl.h (AT_EMPTY_PATH): Define.
53210 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53212 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53213 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53214 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53216 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53217 * Versions.def: Add GLIBC_2.14.
53218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53221 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53225 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53227 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53230 * string/test-strncmp.c (do_page_test): New function.
53231 (check2): Likewise.
53232 (test_main): Call check2.
53233 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53235 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53238 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53239 Handle cache information in CPU leaf 4.
53240 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53242 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53245 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53246 character representation.
53247 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53249 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53251 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53252 END(__isnan) to END(__isnanf) to match function entry point/label
53253 EALIGN(__isnanf,...).
53255 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53257 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53259 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53262 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53263 copy from the symbol referenced in the relocation to initialize the
53265 Patch by Piotr Bury <pbury@goahead.com>.
53266 * elf/Makefile: Add rules to build and tst-unique3.
53267 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53268 * elf/tst-unique3.cc: New file.
53269 * elf/tst-unique3.h: New file.
53270 * elf/tst-unique3lib.cc: New file.
53271 * elf/tst-unique3lib2.cc: New file.
53273 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53275 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53277 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53278 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53281 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53283 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53284 to-be-loaded object along a path to loader is ld.so.
53286 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53287 Ulrich Drepper <drepper@gmail.com>
53289 * sysdeps/x86_64/memset.S: After aligning destination, code
53290 branches to different locations depending on the value of
53291 misalignment, when multiarch is enabled. Fix this.
53293 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53295 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53296 Set _x86_64_preferred_memory_instruction for AMD processsors.
53297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53298 Set bit_Prefer_SSE_for_memop for AMD processors.
53300 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53302 * libio/fmemopen.c (fmemopen): Optimize a bit.
53304 2011-03-03 Andreas Schwab <schwab@redhat.com>
53306 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53308 2011-03-03 Roland McGrath <roland@redhat.com>
53310 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53312 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53314 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53315 __bzero_ultra1 instead of __memset_ultra1.
53317 2011-02-23 Andreas Schwab <schwab@redhat.com>
53318 Ulrich Drepper <drepper@gmail.com>
53321 * include/link.h (struct link_map): Add l_orig_initfini.
53322 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53323 returning unsuccessfully.
53324 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53325 close of a file loaded at startup, restore the original l_initfini
53327 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53328 list, store the pointer.
53329 * elf/Makefile ($(objpfx)noload-mem): New rule.
53330 (noload-ENV): Define.
53331 (tests): Add $(objpfx)noload-mem.
53332 * elf/noload.c: Include <memcheck.h>.
53333 (main): Call mtrace. Close all opened handles.
53335 2011-02-17 Andreas Schwab <schwab@redhat.com>
53338 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53339 dependencies are missing.
53341 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53343 Fix __if_freereq crash: Unlike the generic version which uses free,
53345 * sysdeps/mach/hurd/ifreq.h: New file.
53347 2011-01-27 Petr Baudis <pasky@suse.cz>
53348 Ulrich Drepper <drepper@gmail.com>
53351 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53352 to extend_alloca().
53353 * stdio-common/bug23.c: New file.
53354 * stdio-common/Makefile (tests): Add bug23.
53356 2010-09-28 Andreas Schwab <schwab@redhat.com>
53357 Ulrich Drepper <drepper@gmail.com>
53360 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53361 before performing relro protection. At old place add assertion
53362 to make sure nothing changed.
53364 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53365 Glauber de Oliveira Costa <glommer@gmail.com>
53367 * elf/elf.h: Add new ARM TLS relocs.
53369 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53372 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53374 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53376 * sysdeps/wordsize-64/tst-writev.c: New file.
53378 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53380 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53381 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53382 insns in _dl_start to prevent a TOC reference before relocs are
53385 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53388 * Makeconfig: Remove RANLIB definition.
53389 * Makerules: Don't use RANLIB.
53390 * aclocal.m4: Remove ranlib test.
53391 * configure.in: No need to check for ranlib.
53392 * elf/rtld-Rules: Don't use RANLIB.
53394 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53396 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53398 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53399 inclusion protection macro.
53401 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53402 SIGRTMIN and SIGRTMAX and print information in that case only when
53403 SIGRTMIN is defined.
53405 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53407 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53408 arginfo fn returning -1.
53410 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53411 and thousands string is zero terminated.
53413 2011-02-03 Andreas Schwab <schwab@redhat.com>
53415 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53416 sysdeps/unix/sysv/linux/bits/socket.h.
53418 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53420 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53421 (__CPU_COUNT): Remove old macros.
53422 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53423 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53424 (__CPU_ALLOC, __CPU_FREE): Add macros.
53425 (__sched_cpualloc, __sched_cpufree): Add declarations.
53427 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53429 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53430 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53431 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53432 (readdhstai): Return value of addhstaiX call.
53433 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53434 (addgrbyX): Return value returned by cache_addgr.
53435 (readdgrbyname): Return value returned by addgrbyX.
53436 (readdgrbygid): Likewise.
53437 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53438 (addpwbyX): Return value returned by cache_addpw.
53439 (readdpwbyname): Return value returned by addhstbyX.
53440 (readdpwbyuid): Likewise.
53441 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53442 (addservbyX): Return value returned by cache_addserv.
53443 (readdservbyname): Return value returned by addservbyX:
53444 (readdservbyport): Likewise.
53445 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53446 (addhstbyX): Return value returned by cache_addhst.
53447 (readdhstbyname): Return value returned by addhstbyX.
53448 (readdhstbyaddr): Likewise.
53449 (readdhstbynamev6): Likewise.
53450 (readdhstbyaddrv6): Likewise.
53451 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53452 (readdinitgroups): Return value returned by addinitgroupsX.
53453 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53454 (prune_cache): Keep track of timeout value of re-added entries.
53455 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53456 * nscd/nscd.h: Adjust prototypes of readd* functions.
53458 2011-02-04 Roland McGrath <roland@redhat.com>
53460 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53461 (nis_stats): Likewise.
53462 * nis/nis_modify.c (nis_modify): Likewise.
53463 * nis/nis_remove.c (nis_remove): Likewise.
53464 * nis/nis_add.c (nis_add): Likewise.
53466 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53468 * posix/fnmatch_loop.c: Add some consts.
53470 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53472 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53475 * config.make.in (config-cflags-novzeroupper): Define.
53476 * configure.in: Substitute libc_cv_cc_novzeroupper.
53477 * elf/Makefile (AVX-CFLAGS): Define.
53478 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53479 (CFLAGS-tst-auditmod4a.c): Likewise.
53480 (CFLAGS-tst-auditmod4b.c): Likewise.
53481 (CFLAGS-tst-auditmod6b.c): Likewise.
53482 (CFLAGS-tst-auditmod6c.c): Likewise.
53483 (CFLAGS-tst-auditmod7b.c): Likewise.
53484 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53486 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53488 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53489 function to the callback.
53490 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53492 2011-02-02 Andreas Schwab <schwab@redhat.com>
53494 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53497 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53500 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53502 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53504 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53507 * elf/Makefile: Add rules to build and run new test.
53508 * elf/tst-initorder.c: New file.
53509 * elf/tst-initorder.exp: New file.
53510 * elf/tst-initordera1.c: New file.
53511 * elf/tst-initordera2.c: New file.
53512 * elf/tst-initordera3.c: New file.
53513 * elf/tst-initordera4.c: New file.
53514 * elf/tst-initorderb1.c: New file.
53515 * elf/tst-initorderb2.c: New file.
53516 * elf/tst-order-a1.c: New file.
53517 * elf/tst-order-a2.c: New file.
53518 * elf/tst-order-a3.c: New file.
53519 * elf/tst-order-a4.c: New file.
53520 * elf/tst-order-b1.c: New file.
53521 * elf/tst-order-b2.c: New file.
53522 * elf/tst-order-main.c: New file.
53523 New test case by George Gensure <werkt0@gmail.com>.
53525 2010-10-01 Andreas Schwab <schwab@redhat.com>
53527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53528 decoding ACE if AI_CANONIDN.
53530 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53532 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53534 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53536 * version.h (RELEASE): Bump for 2.13 release.
53537 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53539 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53541 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53543 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53544 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53545 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53546 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53547 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53550 * posix/getconf.c: Update copyright year.
53551 * catgets/gencat.c: Likewise.
53552 * csu/version.c: Likewise.
53553 * debug/catchsegv.sh: Likewise.
53554 * debug/xtrace.sh: Likewise.
53555 * elf/ldconfig.c: Likewise.
53556 * elf/ldd.bash.in: Likewise.
53557 * elf/sprof.c (print_version): Likewise.
53558 * iconv/iconv_prog.c: Likewise.
53559 * iconv/iconvconfig.c: Likewise.
53560 * locale/programs/locale.c: Likewise.
53561 * locale/programs/localedef.c: Likewise.
53562 * malloc/memusage.sh: Likewise.
53563 * malloc/mtrace.pl: Likewise.
53564 * nscd/nscd.c (print_version): Likewise.
53565 * nss/getent.c: Likewise.
53567 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53568 PF_CAIF, and PF_ALG.
53569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53571 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53573 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53574 (modules-names): Use them.
53575 (ifunc-test-modules, ifunc-pie-tests): Define.
53576 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53577 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53578 (test-extras): Likewise.
53579 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53580 $(compile-command.c).
53581 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53582 (all-built-dso): Define.
53583 (check-textrel.out, check-execstack.out): Depend on it.
53585 * configure.in: Don't override --enable-multi-arch.
53587 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53590 * nscd/hstcache.c (tryagain): Define.
53591 (cache_addhst): Return tryagain not notfound for temporary errors.
53592 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53595 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53598 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53599 to make the syscall.
53600 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53603 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53604 and fall back to matching as normal character if the string ends before
53605 the matching ']' is found. This is what POSIX requires.
53606 * posix/testfnm.c: Adjust test result.
53607 * posix/globtest.sh: Adjust test result. Add new test.
53608 * posix/tst-fnmatch.input: Likewise.
53609 * posix/tst-fnmatch2.c: Add new test.
53611 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53613 * elf/Makefile (check-execstack): Revert last change. Depend on
53615 (check-execstack.h): New target.
53616 (generated): Add check-execstack.h.
53617 * elf/check-execstack.c: Include "check-execstack.h".
53618 (main): Revert last change.
53619 (handle_file): Return zero if GNU_STACK is absent and
53620 DEFAULT_STACK_PERMS doesn't include PF_X.
53622 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53624 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53625 in child fails because the descriptor is already closed.
53626 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53627 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53628 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53631 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53635 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53636 temporary buffer used to handle multi lookups locally.
53637 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53639 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53641 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53644 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53646 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53647 alignment for SSE2.
53649 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53652 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53653 characters. When rounding increased number of integer digits recompute
53655 * stdio-common/tst-grouping.c: New file.
53656 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53658 2011-01-09 Ulrich Drepper <drepper@gmail.com>
53660 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53661 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53663 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53665 * bits/select.h: Likewise.
53667 2011-01-08 Ulrich Drepper <drepper@gmail.com>
53669 * po/ja.po: Update from translation team.
53671 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
53674 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53675 implementation just like for lxstat, fxstatat, et al.
53677 2010-12-27 Jim Meyering <meyering@redhat.com>
53680 * posix/regexec.c (build_trtable): Return failure indication upon
53681 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53683 2010-12-25 Ulrich Drepper <drepper@gmail.com>
53686 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53687 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53688 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53692 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53695 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53696 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53698 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53700 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53701 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53702 script has SORT_BY_INIT_PRIORITY.
53703 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53704 NO_CTORS_DTORS_SECTIONS is defined.
53705 * elf/soinit.c: Likewise.
53706 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53707 NO_CTORS_DTORS_SECTIONS is defined.
53708 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53709 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53710 * sysdeps/sh/init-first.c: Likewise.
53711 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53713 2010-12-24 Ulrich Drepper <drepper@gmail.com>
53715 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53716 always use the slow path.
53718 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53720 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53721 similar rule which adds the sysdep directories to the header search in
53722 order to pick up the correct platform stackinfo.h.
53723 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53724 perform test if it is, otherwise return successfully without testing.
53725 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53726 DEFAULT_STACK_PERMS define in stackinfo.h.
53727 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53728 defined in stackinfo.h.
53729 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53730 DEFAULT_STACK_PERMS defined in stackinfo.h.
53731 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53732 * sysdeps/ia64/stackinfo.h: Likewise.
53733 * sysdeps/s390/stackinfo.h: Likewise.
53734 * sysdeps/sh/stackinfo.h: Likewise.
53735 * sysdeps/sparc/stackinfo.h: Likewise.
53736 * sysdeps/x86_64/stackinfo.h: Likewise.
53737 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53738 PF_X for powerpc64. Retain PF_X for powerpc32.
53740 2010-12-19 Ulrich Drepper <drepper@gmail.com>
53742 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53744 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53745 GETDENTS_64BIT_ALIGNED.
53747 2010-12-14 Ulrich Drepper <dreper@gmail.com>
53749 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53751 2010-12-10 Andreas Schwab <schwab@redhat.com>
53753 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53756 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53757 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53759 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53760 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53762 2010-12-09 Ulrich Drepper <drepper@gmail.com>
53765 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53768 2010-12-09 Jakub Jelinek <jakub@redhat.com>
53770 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53772 2010-12-03 Ulrich Drepper <drepper@gmail.com>
53774 * po/it.po: Update from translation team.
53776 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53781 2010-11-30 Ulrich Drepper <drepper@gmail.com>
53783 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53785 2010-11-24 Andreas Schwab <schwab@redhat.com>
53787 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53789 (gaih_getanswer_slice): Likewise.
53791 2010-10-20 Jakub Jelinek <jakub@redhat.com>
53793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53795 2010-05-31 Petr Baudis <pasky@suse.cz>
53798 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53799 silently even in the chroot mode.
53801 2010-11-22 Ulrich Drepper <drepper@gmail.com>
53803 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53804 last patch a bit. Pretty printing
53806 2010-05-31 Petr Baudis <pasky@suse.cz>
53809 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53810 initialization of skip_initgroups_dyn.
53812 2010-11-19 Ulrich Drepper <drepper@gmail.com>
53814 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53815 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53817 2010-11-16 Ulrich Drepper <drepper@gmail.com>
53819 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53821 2010-11-11 Andreas Schwab <schwab@redhat.com>
53823 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53824 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53825 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53826 ($(objpfx)tst-fnmatch-mem): New rule.
53827 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53828 * posix/tst-fnmatch.c (main): Call mtrace.
53830 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53833 Support Intel processor model 6 and model 0x2c.
53835 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
53837 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53840 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53843 * string/test-strncasecmp.c (check_result): New function.
53844 (do_one_test): Use it.
53845 (check1): New function.
53846 (test_main): Use it.
53847 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53848 Support strcasecmp and strncasecmp.
53850 2010-11-08 Ulrich Drepper <drepper@gmail.com>
53853 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53856 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53858 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53862 * sysdeps/x86_64/multiarch/bzero.S: New file.
53863 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53864 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53865 * sysdeps/x86_64/multiarch/memset.S: New file.
53866 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53868 Set bit_Prefer_SSE_for_memop for Intel processors.
53869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53871 (index_Prefer_SSE_for_memop): Define.
53872 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53874 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
53876 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53877 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53879 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53882 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53883 (__x86_64_raw_data_cache_size_half): Likewise.
53884 (__x86_64_raw_shared_cache_size): Likewise.
53885 (__x86_64_raw_shared_cache_size_half): Likewise.
53887 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53888 (__x86_64_raw_data_cache_size_half): Likewise.
53889 (__x86_64_raw_shared_cache_size): Likewise.
53890 (__x86_64_raw_shared_cache_size_half): Likewise.
53891 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53892 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53893 and __x86_64_raw_shared_cache_size_half. Round
53894 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53895 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53896 to multiple of 256 bytes.
53898 2010-11-03 Ulrich Drepper <drepper@gmail.com>
53901 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53902 of inacessible symlinks. Verify result of symlink before returning it.
53903 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53904 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53906 2010-10-28 Erich Ritz <erichritz@gmail.com>
53908 * math/math.h (isinf): Fix typo in comment.
53910 2010-11-01 Ulrich Drepper <drepper@gmail.com>
53912 * po/da.po: Update from translation team.
53914 2010-10-26 Ulrich Drepper <drepper@gmail.com>
53916 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53917 is added to the list.
53919 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53920 Ulrich Drepper <drepper@gmail.com>
53922 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53923 the global list here. Move code to...
53924 (_dl_add_to_namespace_list): ...here. New function.
53925 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53926 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53927 * elf/dl-load.c (lose): Don't remove the element from the list.
53928 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53929 (_dl_map_object): Likewise.
53931 2010-10-25 Ulrich Drepper <drepper@gmail.com>
53934 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53935 into all bytes of SSE register.
53936 Patch by Richard Li <richardpku@gmail.com>.
53938 2010-10-24 Ulrich Drepper <drepper@gmail.com>
53941 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53944 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53946 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53947 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53948 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53949 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53954 2010-10-22 Andreas Schwab <schwab@redhat.com>
53956 * include/dlfcn.h (__RTLD_SECURE): Define.
53957 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53958 mode & __RTLD_SECURE instead.
53959 (open_path): Rename preloaded parameter to secure.
53960 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53961 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53962 * elf/dl-deps.c (openaux): Likewise.
53963 * elf/rtld.c (struct map_args): Remove is_preloaded.
53964 (map_doit): Don't use it.
53965 (dl_main): Likewise.
53966 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53967 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53969 2010-09-09 Andreas Schwab <schwab@redhat.com>
53971 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53972 (sysd-rules-targets): Remove duplicates.
53973 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53974 rtld-%.$o dependency.
53976 2010-10-18 Andreas Schwab <schwab@redhat.com>
53978 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53979 _dl_map_object do it.
53981 2010-10-19 Ulrich Drepper <drepper@gmail.com>
53983 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53984 fast fma builtins, define the macros in the C99 standard.
53985 (FP_FAST_FMAF): Likewise.
53986 (FP_FAST_FMAL): Likewise.
53987 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53989 * bits/mathdef.h: Update copyright year.
53990 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53992 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53994 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53995 builtins, define the macros in the C99 standard.
53996 (FP_FAST_FMAF): Likewise.
53997 (FP_FAST_FMAL): Likewise.
53998 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54000 (FP_FAST_FMAF): Likewise.
54002 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54005 * math/libm-test.inc (fma_test): Some new testcases.
54006 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54007 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54008 y and infinite z. Do multiplication by C already in long double.
54009 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54011 y and infinite z. Do bitwise or of inexact bit into u.d.
54012 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54013 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54014 * sysdeps/i386/fpu/s_fma.S: Removed.
54015 * sysdeps/i386/fpu/s_fmal.S: Removed.
54017 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54020 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54022 computation is not scheduled after fetestexcept. Fix value
54023 of minimum denormal long double.
54025 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54028 * math/libm-test.inc (fma_test): Add some more tests.
54029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54032 2010-10-15 Andreas Schwab <schwab@redhat.com>
54034 * scripts/data/localplt-s390-linux-gnu.data: New file.
54035 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54037 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54040 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54041 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54043 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54045 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54047 if one of x and y is very large and the other is subnormal.
54048 * sysdeps/s390/fpu/s_fmaf.c: New file.
54049 * sysdeps/s390/fpu/s_fma.c: New file.
54050 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54051 * sysdeps/powerpc/fpu/s_fma.S: New file.
54052 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54053 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54054 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54056 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54059 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54061 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54062 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54063 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54064 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54065 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54066 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54067 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54069 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54072 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54073 * posix/bug-regex31.input: Add test case.
54075 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54077 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54078 * posix/bug-regex31.input: New file.
54081 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54082 (parse_sub_exp): Fix last change, use postorder.
54084 * posix/bug-regex31.c: New file.
54085 * posix/Makefile: Add rules to build and run bug-regex31.
54087 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54090 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54093 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54094 to have entries in sys_siglist.
54097 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54100 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54103 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54104 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54105 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54106 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54107 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54108 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54109 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54110 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54111 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54112 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54113 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54114 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54115 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54116 * math/ftestexcept.c (fetestexcept): Likewise.
54117 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54118 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54119 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54120 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54121 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54122 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54123 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54125 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54128 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54131 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54133 * string/bug-strstr1.c: New file.
54134 * string/Makefile: Add rules to build and run bug-strstr1.
54136 2010-10-05 Eric Blake <eblake@redhat.com>
54139 * string/str-two-way.h (two_way_long_needle): Always clear memory
54140 when skipping input due to the shift table.
54142 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54145 * malloc/mcheck.c: Handle large requests.
54148 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54149 for strncmp and strncasecmp.
54150 * string/stratcliff.c: Add tests for strcmp and strncmp.
54151 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54153 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54155 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54158 2010-09-30 Andreas Jaeger <aj@suse.de>
54160 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54161 (CGROUP_SUPER_MAGIC): Define.
54162 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54163 Handle btrfs and cgroup file systems.
54164 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54167 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54169 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54170 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54172 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54175 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54176 trying to locate the ELF header.
54178 2010-09-27 Andreas Schwab <schwab@redhat.com>
54181 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54182 Mask out sign-bit copies when constructing f_fsid.
54184 2010-09-24 Petr Baudis <pasky@suse.cz>
54186 * debug/stack_chk_fail_local.c: Add missing licence exception.
54187 * debug/warning-nop.c: Likewise.
54189 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54191 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54192 implementing getdents64 using getdents syscall, set d_type if
54193 __ASSUME_GETDENTS32_D_TYPE.
54195 2010-09-16 Andreas Schwab <schwab@redhat.com>
54197 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54198 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54200 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54203 * posix/unistd.h: Undo change of feature selection for ftruncate from
54206 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54208 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54211 2010-09-20 Andreas Schwab <schwab@redhat.com>
54213 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54215 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54217 2010-09-14 Andreas Schwab <schwab@redhat.com>
54219 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54220 variables after CHECK_SP call.
54221 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54223 2010-09-13 Andreas Schwab <schwab@redhat.com>
54224 Ulrich Drepper <drepper@redhat.com>
54226 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54227 re-relocationg ld.so.
54228 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54229 _dl_init_paths call.
54230 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54233 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54235 * resolv/res_init.c (__res_vinit): Count the default server we added.
54237 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54238 Ulrich Drepper <drepper@redhat.com>
54241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54242 (____longjmp_chk): Use %ebx for saving value across system call.
54245 2010-09-06 Andreas Schwab <schwab@redhat.com>
54247 * manual/Makefile: Don't mix pattern rules with normal rules.
54249 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54251 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54253 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54254 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54255 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54256 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54260 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54263 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54264 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54266 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54268 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54269 * sysdeps/x86_64/addmul_1.S: Likewise.
54270 * sysdeps/x86_64/lshift.S: Likewise.
54271 * sysdeps/x86_64/mul_1.S: Likewise.
54272 * sysdeps/x86_64/rshift.S: Likewise.
54273 * sysdeps/x86_64/sub_n.S: Likewise.
54274 * sysdeps/x86_64/submul_1.S: Likewise.
54276 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54278 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54279 Define __sched_param instead of SCHED_* and sched_param when
54280 <bits/sched.h> is included with __need_schedparam defined.
54281 * bits/sched.h [__need_schedparam]
54282 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54283 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54284 (__defined_schedparam): Define to 1.
54285 (__sched_param): New structure, identical to sched_param.
54286 (__need_schedparam): Undefine.
54288 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54290 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54291 (epoll_create1): Declare.
54293 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54295 2010-08-31 Andreas Schwab <schwab@redhat.com>
54298 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54299 shifting retval into place.
54301 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54303 * nis/rpcsvc/nis.h: Update copyright notice.
54304 * nis/rpcsvc/nis.x: Likewise.
54305 * nis/rpcsvc/nis_callback.h: Likewise.
54306 * nis/rpcsvc/nis_callback.x: Likewise.
54307 * nis/rpcsvc/nis_object.x: Likewise.
54308 * nis/rpcsvc/nis_tags.h: Likewise.
54309 * nis/rpcsvc/yp.h: Likewise.
54310 * nis/rpcsvc/yp.x: Likewise.
54311 * nis/rpcsvc/ypupd.h: Likewise.
54312 * nis/yp_xdr.c: Likewise.
54313 * nis/ypupdate_xdr.c: Likewise.
54315 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54316 mainly the body of pmap_getport. Add parameters to specify timeouts.
54317 (pmap_getport): Use __libc_rpc_getport.
54318 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54319 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54320 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54322 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54327 2010-08-27 Roland McGrath <roland@redhat.com>
54329 * sysdeps/i386/i686/multiarch/Makefile
54330 (CFLAGS-varshift.c): New variable.
54332 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54334 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54335 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54337 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54339 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54341 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54343 * sysdeps/x86_64/strlen.S: Unroll the loop.
54344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54345 strlen-sse2 strlen-sse2-bsf.
54346 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54347 __strlen_no_bsf if bit_Slow_BSF is set.
54348 (__strlen_sse42): Removed.
54349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54350 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54352 2010-08-25 Roland McGrath <roland@redhat.com>
54354 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54355 * sysdeps/x86_64/multiarch/varshift.c: New file.
54356 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54357 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54358 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54359 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54361 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54364 strlen-sse2 strlen-sse2-bsf.
54365 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54366 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54367 (__strlen_sse2): Removed.
54368 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54369 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54371 bit_Slow_BSF for Atom.
54372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54373 (index_Slow_BSF): Define.
54374 (HAS_SLOW_BSF): Define.
54376 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54379 * resolv/res_init.c (__res_vinit): When no server address at all
54380 is given default to loopback.
54382 2010-08-24 Roland McGrath <roland@redhat.com>
54384 * configure.in: Remove config-name.h generation.
54385 * configure: Regenerated.
54386 * config-name.in: File removed.
54387 * scripts/config-uname.sh: New file.
54388 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54389 ($(objdir)config-name.h): New target.
54391 * sunrpc/rpc_parse.h: Avoid nested comment.
54393 2010-08-24 Richard Henderson <rth@redhat.com>
54394 Ulrich Drepper <drepper@redhat.com>
54395 H.J. Lu <hongjiu.lu@intel.com>
54397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54399 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54400 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54401 _mm_alignr_epi8 with _mm_loadu_si128.
54402 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54403 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54404 (__m128i_shift_right): Removed.
54405 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54406 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54407 * sysdeps/x86_64/multiarch/varshift.h: New file.
54408 * sysdeps/x86_64/multiarch/varshift.S: New file.
54410 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54412 * configure.in: Move assembler checks to before sysdep dir checking.
54414 2010-08-20 Petr Baudis <pasky@suse.cz>
54416 * LICENSES: Sync the sunrpc license.
54418 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54420 * sunrpc/auth_des.c: Update copyright notice once again.
54421 * sunrpc/auth_none.c: Likewise.
54422 * sunrpc/auth_unix.c: Likewise.
54423 * sunrpc/authdes_prot.c: Likewise.
54424 * sunrpc/authuxprot.c: Likewise.
54425 * sunrpc/bindrsvprt.c: Likewise.
54426 * sunrpc/clnt_gen.c: Likewise.
54427 * sunrpc/clnt_perr.c: Likewise.
54428 * sunrpc/clnt_raw.c: Likewise.
54429 * sunrpc/clnt_simp.c: Likewise.
54430 * sunrpc/clnt_tcp.c: Likewise.
54431 * sunrpc/clnt_udp.c: Likewise.
54432 * sunrpc/clnt_unix.c: Likewise.
54433 * sunrpc/des_crypt.c: Likewise.
54434 * sunrpc/des_soft.c: Likewise.
54435 * sunrpc/get_myaddr.c: Likewise.
54436 * sunrpc/getrpcport.c: Likewise.
54437 * sunrpc/key_call.c: Likewise.
54438 * sunrpc/key_prot.c: Likewise.
54439 * sunrpc/openchild.c: Likewise.
54440 * sunrpc/pm_getmaps.c: Likewise.
54441 * sunrpc/pm_getport.c: Likewise.
54442 * sunrpc/pmap_clnt.c: Likewise.
54443 * sunrpc/pmap_prot.c: Likewise.
54444 * sunrpc/pmap_prot2.c: Likewise.
54445 * sunrpc/pmap_rmt.c: Likewise.
54446 * sunrpc/rpc/auth.h: Likewise.
54447 * sunrpc/rpc/auth_unix.h: Likewise.
54448 * sunrpc/rpc/clnt.h: Likewise.
54449 * sunrpc/rpc/des_crypt.h: Likewise.
54450 * sunrpc/rpc/key_prot.h: Likewise.
54451 * sunrpc/rpc/netdb.h: Likewise.
54452 * sunrpc/rpc/pmap_clnt.h: Likewise.
54453 * sunrpc/rpc/pmap_prot.h: Likewise.
54454 * sunrpc/rpc/pmap_rmt.h: Likewise.
54455 * sunrpc/rpc/rpc.h: Likewise.
54456 * sunrpc/rpc/rpc_des.h: Likewise.
54457 * sunrpc/rpc/rpc_msg.h: Likewise.
54458 * sunrpc/rpc/svc.h: Likewise.
54459 * sunrpc/rpc/svc_auth.h: Likewise.
54460 * sunrpc/rpc/types.h: Likewise.
54461 * sunrpc/rpc/xdr.h: Likewise.
54462 * sunrpc/rpc_clntout.c: Likewise.
54463 * sunrpc/rpc_cmsg.c: Likewise.
54464 * sunrpc/rpc_common.c: Likewise.
54465 * sunrpc/rpc_cout.c: Likewise.
54466 * sunrpc/rpc_dtable.c: Likewise.
54467 * sunrpc/rpc_hout.c: Likewise.
54468 * sunrpc/rpc_main.c: Likewise.
54469 * sunrpc/rpc_parse.c: Likewise.
54470 * sunrpc/rpc_parse.h: Likewise.
54471 * sunrpc/rpc_prot.c: Likewise.
54472 * sunrpc/rpc_sample.c: Likewise.
54473 * sunrpc/rpc_scan.c: Likewise.
54474 * sunrpc/rpc_scan.h: Likewise.
54475 * sunrpc/rpc_svcout.c: Likewise.
54476 * sunrpc/rpc_tblout.c: Likewise.
54477 * sunrpc/rpc_util.c: Likewise.
54478 * sunrpc/rpc_util.h: Likewise.
54479 * sunrpc/rpcinfo.c: Likewise.
54480 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54481 * sunrpc/rpcsvc/key_prot.x: Likewise.
54482 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54483 * sunrpc/rpcsvc/mount.x: Likewise.
54484 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54485 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54486 * sunrpc/rpcsvc/rex.x: Likewise.
54487 * sunrpc/rpcsvc/rstat.x: Likewise.
54488 * sunrpc/rpcsvc/rusers.x: Likewise.
54489 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54490 * sunrpc/rpcsvc/spray.x: Likewise.
54491 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54492 * sunrpc/rtime.c: Likewise.
54493 * sunrpc/svc.c: Likewise.
54494 * sunrpc/svc_auth.c: Likewise.
54495 * sunrpc/svc_authux.c: Likewise.
54496 * sunrpc/svc_raw.c: Likewise.
54497 * sunrpc/svc_run.c: Likewise.
54498 * sunrpc/svc_simple.c: Likewise.
54499 * sunrpc/svc_tcp.c: Likewise.
54500 * sunrpc/svc_udp.c: Likewise.
54501 * sunrpc/svc_unix.c: Likewise.
54502 * sunrpc/svcauth_des.c: Likewise.
54503 * sunrpc/xcrypt.c: Likewise.
54504 * sunrpc/xdr.c: Likewise.
54505 * sunrpc/xdr_array.c: Likewise.
54506 * sunrpc/xdr_float.c: Likewise.
54507 * sunrpc/xdr_mem.c: Likewise.
54508 * sunrpc/xdr_rec.c: Likewise.
54509 * sunrpc/xdr_ref.c: Likewise.
54510 * sunrpc/xdr_sizeof.c: Likewise.
54511 * sunrpc/xdr_stdio.c: Likewise.
54513 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54516 2010-08-19 Andreas Schwab <schwab@redhat.com>
54518 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54520 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54522 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54523 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54524 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54525 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54526 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54527 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54528 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54529 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54530 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54531 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54532 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54533 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54534 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54535 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54537 2010-07-26 Anton Blanchard <anton@samba.org>
54539 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54540 * malloc/arena.c (heap_trim): Likewise.
54542 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54544 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54546 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54547 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54549 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54551 * sysdeps/i386/elf/Makefile: New file.
54553 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54555 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54556 from fanotify_init.
54557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54560 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54562 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54564 * sysdeps/multiarch/strcmp.S: Likewise.
54566 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54568 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54569 strncase_l-nonascii.
54570 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54571 Add strncase_l-ssse3.
54572 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54573 * sysdeps/x86_64/strcmp.S: Likewise.
54574 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54575 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54576 * sysdeps/x86_64/strncase.S: New file.
54577 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54578 * sysdeps/x86_64/strncase_l.S: New file.
54579 * string/Makefile (strop-tests): Add strncasecmp.
54580 * string/test-strncasecmp.c: New file.
54582 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54585 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54586 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54588 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54590 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54592 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54594 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54595 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54596 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54598 2010-05-01 Alan Modra <amodra@gmail.com>
54600 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54601 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54602 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54603 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54604 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54605 tidying. Don't tail-call __sigjmp_save for static lib.
54606 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54608 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54609 (CALL_MCOUNT): Add eh info, and nop after bl.
54610 (TAIL_CALL_SYSCALL_ERROR): New macro.
54611 (PSEUDO_RET): Use it.
54612 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54613 Correct save location of integer regs and cr.
54614 (_dl_profile_resolve): Correct cr save location. Delete nops
54615 after bl when SHARED. Reduce cfi size a little by better
54616 placement of cfi directives.
54617 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54618 make a stack frame. Instead use parm save area as a temp.
54619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54620 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54622 Don't make a stack frame for parent, use parm save area.
54623 Increase child stack frame to 112 bytes. Don't save unused reg,
54624 and adjust reg usage. Set up cfi on error recovery and
54625 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54627 (__makecontext): Add dummy nop after jump to exit.
54628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54629 Use correct parm save area and cr save, reduce stack frame.
54630 Correct cfi for possible PSEUDO_RET frame setup.
54631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54632 Branch to local label emitted by PSEUDO_RET rather than
54635 2010-08-12 Andreas Schwab <schwab@redhat.com>
54638 * locale/programs/locale.c (print_assignment): New function.
54639 (show_locale_vars): Use it.
54641 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54643 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54645 (struct statfs64): Likewise.
54646 (_STATFS_F_FLAGS): Define.
54647 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54648 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54649 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54650 (ST_VALID): Define locally.
54651 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54652 __statvfs_getflags, use the provided value.
54653 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54654 __ASSUME_STATFS_F_FLAGS.
54656 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54658 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54659 Add sys/fanotify.h.
54660 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54661 fanotify_mask for GLIBC_2.13.
54662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54663 fanotify_init and fanotify_mark.
54664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54665 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54667 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54669 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54670 prlimit64 for GLIBC_2.13.
54671 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54676 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54677 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54678 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54681 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54684 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54685 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54687 * nss/Makefile: Add rules to build and run tst-nss-test1.
54688 * shlib-versions: Add entry for libnss_test1.
54689 * nss/nss_test1.c: New file.
54690 * nss/tst-nss-test1.c: New file.
54692 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54693 (__nss_configure_lookup): Set appropriate entry in
54694 __nss_configure_lookup to true.
54695 * nss/nsswitch.h: Define enum with indeces of databases in
54696 databases and __nss_database_custom arrays. Declare
54697 __nss_database_custom.
54698 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54699 to avoid using nscd when custom rules are installed.
54700 * nss/getXXbyYY_r.c: Likewise.
54701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54703 * nss/nss_files/files-parse.c: Whitespace fixes.
54705 2010-08-09 Ulrich Drepper <drepper@redhat.com>
54708 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54709 * posix/fnmatch_loop.c: Likewise.
54711 2010-07-17 Andi Kleen <ak@linux.intel.com>
54713 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54714 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54715 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54716 * Versions.def [GLIBC_2.13]: Add.
54718 2010-08-06 Ulrich Drepper <drepper@redhat.com>
54720 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54721 Also fail if tpwd after pwuid call is NULL.
54723 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54725 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54726 when converting to ms.
54728 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54730 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54731 EOPNOTSUPP errors with ENOTTY.
54732 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54733 EOPNOTSUPP errors with ENOTTY.
54735 2010-07-31 Ulrich Drepper <drepper@redhat.com>
54737 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54738 Add strcasecmp_l-ssse3.
54739 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54741 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54742 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54743 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54745 2010-07-30 Ulrich Drepper <drepper@redhat.com>
54747 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54749 * string/Makefile (strop-tests): Add strcasecmp.
54750 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54751 strcasecmp_l-nonascii.
54752 (gen-as-const-headers): Add locale-defines.sym.
54753 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54754 * sysdeps/x86_64/strcasecmp.S: New file.
54755 * sysdeps/x86_64/strcasecmp_l.S: New file.
54756 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54757 * sysdeps/x86_64/locale-defines.sym: New file.
54758 * string/test-strcasecmp.c: New file.
54760 * string/test-strcasestr.c: Test both ends of the range of characters.
54761 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54763 2010-07-29 Roland McGrath <roland@redhat.com>
54766 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54768 2010-07-27 Ulrich Drepper <drepper@redhat.com>
54770 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54773 2010-07-27 Andreas Schwab <schwab@redhat.com>
54775 * manual/memory.texi (Malloc Tunable Parameters): Document
54778 2010-07-26 Roland McGrath <roland@redhat.com>
54781 * configure.in (-fgnu89-inline check): Set and substitute
54782 gnu89_inline, not libc_cv_gnu89_inline.
54783 * configure: Regenerated.
54784 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54786 2010-07-26 Ulrich Drepper <drepper@redhat.com>
54788 * string/test-strnlen.c: New file.
54789 * string/Makefile (strop-tests): Add strnlen.
54790 * string/tester.c (test_strnlen): Add a few more test cases.
54791 * string/tst-strlen.c: Better error reporting.
54793 * sysdeps/x86_64/strnlen.S: New file.
54795 2010-07-24 Ulrich Drepper <drepper@redhat.com>
54797 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54798 lower-latency instructions.
54800 2010-07-23 Ulrich Drepper <drepper@redhat.com>
54802 * string/test-strcasestr.c: New file.
54803 * string/test-strstr.c: New file.
54804 * string/Makefile (strop-tests): Add strstr and strcasestr.
54805 * string/str-two-way.h: Don't undefine MAX.
54806 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54808 2010-07-21 Andreas Schwab <schwab@redhat.com>
54810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54811 strcasestr-nonascii.
54812 (CFLAGS-strcasestr-nonascii.c): Define.
54813 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54814 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54815 Remove unused attribute.
54817 2010-07-20 Roland McGrath <roland@redhat.com>
54819 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54820 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54821 ld.so.cache was broken. With it, there is no way to disable dsocaps
54822 like LD_HWCAP_MASK can disable hwcaps.
54824 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54826 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54828 2010-07-16 Ulrich Drepper <drepper@redhat.com>
54830 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54831 call in strcasestr.
54832 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54833 __strcasestr_sse42_nonascii.
54834 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54835 strcasestr-nonascii.c.
54836 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54838 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
54840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54841 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54843 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54845 2010-07-09 Ulrich Drepper <drepper@redhat.com>
54847 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54850 2010-07-06 Andreas Schwab <schwab@redhat.com>
54853 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54856 2010-07-06 Ulrich Drepper <drepper@redhat.com>
54858 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54859 _PC_PIPE_BUF using F_GETPIPE_SZ.
54861 2010-07-05 Roland McGrath <roland@redhat.com>
54863 * manual/arith.texi (Rounding Functions): Fix rint description
54864 implicit in round description.
54866 2010-07-02 Ulrich Drepper <drepper@redhat.com>
54868 * elf/Makefile: Fix linking for a few tests to make recent linker
54871 2010-06-30 Andreas Schwab <schwab@redhat.com>
54873 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54874 $(common-objpfx)libc_nonshared.a.
54876 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
54878 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54879 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54880 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54881 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54882 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54883 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54884 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54885 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54900 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54901 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54902 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54903 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54904 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54905 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54906 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54907 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54908 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54909 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54910 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54911 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54927 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54929 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54930 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54931 * string/memmove.c (memmove): Renamed to ...
54932 (MEMMOVE): ...this. Default to memmove.
54933 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54934 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54937 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54938 mempcpy-ssse3-back memmove-ssse3-back.
54939 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54940 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54942 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54943 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54944 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54945 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54946 * sysdeps/x86_64/multiarch/memmove.c: New file.
54947 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54948 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54949 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54950 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54951 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54954 (index_Fast_Copy_Backward): Define.
54955 (HAS_ARCH_FEATURE): Define.
54956 (HAS_FAST_REP_STRING): Define.
54957 (HAS_FAST_COPY_BACKWARD): Define.
54959 2010-06-21 Andreas Schwab <schwab@redhat.com>
54961 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54962 Restore proper fallback handling.
54964 2010-06-19 Ulrich Drepper <drepper@redhat.com>
54967 * posix/group_member.c (__group_member): Correct checking loop.
54969 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54970 OOM in getpwuid_r correctly. Return error number when the caller
54971 should return, otherwise -1.
54972 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54973 call returning > 0 value.
54974 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54976 2010-06-07 Andreas Schwab <schwab@redhat.com>
54978 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54979 libc_nonshared.a from targets in modules-names.
54981 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54983 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54986 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
54988 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54989 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54990 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54993 2010-06-02 Andreas Schwab <schwab@redhat.com>
54995 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54997 2010-06-14 Ulrich Drepper <drepper@redhat.com>
54999 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55006 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55008 2010-06-14 Roland McGrath <roland@redhat.com>
55010 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55012 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55014 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55015 __REDIRECT followed by __THROW.
55016 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55017 * posix/getopt.h (getopt): Likewise.
55019 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55021 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55022 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55023 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55025 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55026 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55028 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55030 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55032 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55036 Properly check family and model.
55038 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55040 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55042 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55044 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55046 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55048 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55051 2010-05-19 Andreas Schwab <schwab@redhat.com>
55053 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55056 2010-05-21 Andreas Schwab <schwab@redhat.com>
55058 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55059 and internal_recvmmsg.
55060 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55061 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55062 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55063 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55065 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55066 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55067 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55069 2010-05-20 Andreas Schwab <schwab@redhat.com>
55071 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55073 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55075 POWER7 optimizations.
55076 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55077 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55079 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55081 * version.h: Update for 2.13 development version.
55083 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55085 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55086 exceptions. Return 0.
55088 2010-05-07 Roland McGrath <roland@redhat.com>
55090 * elf/ldconfig.c (main): Add a const.
55092 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55094 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55095 (args_options): Add no-idn option.
55096 (ahosts_keys_int): Add idn_flags to ai_flags.
55097 (parse_option): Handle 'i' option to clear idn_flags.
55099 * malloc/malloc.c (_int_free): Possible race in the most recently
55100 added check. Only act on the data if no current modification
55103 See ChangeLog.17 for earlier changes.