1 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4 addresses have been freed.
6 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
8 * resolv/res_init.c (__res_vinit): Improve comments about nserv
11 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
13 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
14 Clean up check_pf allocation pattern. addresses
15 * string/tester.c (test_memset): Suppress warning for gcc 4.9
17 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22 * nptl/pthread_exit.c (__pthread_exit): Likewise.
23 * nptl/pthread_join.c (pthread_join): Likewise.
24 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25 * sysdeps/posix/waitid.c (__waitid): Likewise.
26 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33 (__libc_pread64): Likewise.
34 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35 (__libc_pwrite): Likewise.
36 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
37 (__libc_pwrite64): Likewsie.
38 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
40 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
42 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
43 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
44 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
45 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
47 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48 (__libc_pread64): Likewise.
49 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
51 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52 (__libc_pwrite64): Likewise.
53 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
54 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
55 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
56 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
57 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
58 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
59 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
60 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
61 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
62 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
63 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
64 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
65 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
66 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
67 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
68 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
71 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
73 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
74 (CFLAGS-test-double.c): Likewise.
75 (CFLAGS-test-ldouble.c): Likewise.
76 (CPPFLAGS-test-ifloat.c): Likewise.
77 (CPPFLAGS-test-idouble.c): Likewise.
78 (CPPFLAGS-test-ildoubl.c): Likewise.
79 (CFLAGS-test-test-fenv.c): Remove variable.
80 (CFLAGS-test-misc.c): Likewise.
82 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
85 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
86 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
87 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
88 CLOCKS_PER_SEC == 1000000.
89 * time/clocktest.c (main): Replace %ld with %jd and cast to
92 2015-01-05 Roland McGrath <roland@hack.frob.com>
94 * sysdeps/generic/unwind-resume.h: New file.
95 * sysdeps/gnu/unwind-resume.c: Include it.
96 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
97 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
99 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
100 global rather than static.
101 (_Unwind_Resume): Update user.
102 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
103 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
104 rather than static. Add __attribute__ ((cold)).
105 (_Unwind_Resume, __gcc_personality_v0): Update callers.
106 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
107 * sysdeps/arm/arm-unwind-resume.S: New file.
108 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
109 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
110 * sysdeps/arm/Makefile [$(subdir) = csu]
111 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
112 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
113 Add rt-arm-unwind-resume.
115 (libpthread-sysdep_routines, libpthread-shared-only-routines):
116 Add pt-arm-unwind-resume.
117 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
118 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
120 2015-01-05 Joseph Myers <joseph@codesourcery.com>
123 * include/fenv.h (__feholdexcept): Declare. Use
125 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
126 define as weak alias of __feholdexcept. Use libm_hidden_weak.
127 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
128 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
129 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
130 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
131 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
132 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
133 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
134 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
135 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
136 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
137 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
138 (feholdexcept): Likewise.
139 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
140 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
141 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
142 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
143 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
144 __feholdexcept instead of feholdexcept.
145 (default_libc_feholdexcept_setround): Likewise.
147 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
149 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
150 to avoid using stl/str to align destination.
152 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
154 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
156 2015-01-05 Joseph Myers <joseph@codesourcery.com>
159 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
160 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
161 Define as weak alias not strong alias.
163 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
165 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
169 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
171 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
172 for __vdso_* functions in declarations.
173 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
175 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
176 INTERNAL_VSYSCALL): Use struct return types to check for error.
178 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
179 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
180 function with cast from llround().
181 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
182 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
185 2015-01-05 Joseph Myers <joseph@codesourcery.com>
188 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
189 Define as weak alias not strong alias.
192 * ctype/ctype-c99.c: New file. isblank implementation moved from
194 * ctype/ctype-extn.c: ... here.
195 (__isblank_l): Move to ...
196 * ctype/ctype-c99_l.c: ... here. New file.
197 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
198 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
200 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
201 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
202 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
203 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
204 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
207 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
208 (posix_fadvise64): Define as weak alias not strong alias.
209 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
210 (posix_fallocate64): Likewise.
211 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
213 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
214 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
215 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
216 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
217 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
219 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
222 * NEWS: Mention bug fix.
223 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
224 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
225 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
226 (HOST_STACK_END_ADDR): Likewise.
228 2015-01-02 Joseph Myers <joseph@codesourcery.com>
231 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
232 * math/fegetround.c (fegetround): Rename to __fegetround and
233 define as weak alias of __fegetround. Use libm_hidden_weak.
234 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
235 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
236 * sysdeps/arm/fegetround.c (fegetround): Likewise.
237 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
238 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
239 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
240 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
241 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
242 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
243 Undefine after rather than before function definition; use
244 parentheses around function name in definition.
245 (__fegetround): Also undefine macro after function definition.
246 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
247 __fegetround and define as weak alias of __fegetround. Use
248 libm_hidden_weak. Do not undefine as macro.
249 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
251 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
252 __fegetround and define as weak alias of __fegetround. Use
254 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
255 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
256 * sysdeps/tile/math_private.h (__fegetround): New inline function.
257 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
258 __fegetround and define as weak alias of __fegetround. Use
260 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
261 __fegetround instead of fegetround.
264 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
265 Condition macro definition on [__USE_MISC].
268 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
269 (struct sigaction): Change type of sa_flags field to int.
272 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
273 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
276 * nptl/version.c (banner): Use single year in copyright notice.
278 * NEWS: Update copyright dates.
279 * catgets/gencat.c (print_version): Likewise.
280 * csu/version.c (banner): Likewise.
281 * debug/catchsegv.sh: Likewise.
282 * debug/pcprofiledump.c (print_version): Likewise.
283 * debug/xtrace.sh (do_version): Likewise.
284 * elf/ldconfig.c (print_version): Likewise.
285 * elf/ldd.bash.in: Likewise.
286 * elf/pldd.c (print_version): Likewise.
287 * elf/sotruss.sh: Likewise.
288 * elf/sprof.c (print_version): Likewise.
289 * iconv/iconv_prog.c (print_version): Likewise.
290 * iconv/iconvconfig.c (print_version): Likewise.
291 * locale/programs/locale.c (print_version): Likewise.
292 * locale/programs/localedef.c (print_version): Likewise.
293 * login/programs/pt_chown.c (print_version): Likewise.
294 * malloc/memusage.sh (do_version): Likewise.
295 * malloc/memusagestat.c (print_version): Likewise.
296 * malloc/mtrace.pl: Likewise.
297 * manual/libc.texinfo: Likewise.
298 * nptl/version.c (banner): Likewise.
299 * nscd/nscd.c (print_version): Likewise.
300 * nss/getent.c (print_version): Likewise.
301 * nss/makedb.c (print_version): Likewise.
302 * posix/getconf.c (main): Likewise.
303 * scripts/test-installation.pl: Likewise.
304 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
306 2015-01-02 Will Newton <will.newton@linaro.org>
308 * sysdeps/arm/armv7/configure: Removed.
309 * sysdeps/arm/armv7/configure.ac: Likewise.
311 2015-01-02 Joseph Myers <joseph@codesourcery.com>
313 * All files with FSF copyright notices: Update copyright dates
314 using scripts/update-copyrights.
315 * intl/plural.c: Regenerated.
316 * locale/programs/charmap-kw.h: Likewise.
317 * locale/programs/locfile-kw.h: Likewise.
319 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
321 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
323 2014-12-31 Joseph Myers <joseph@codesourcery.com>
326 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
327 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
328 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
329 and define as weak alias of __fegetenv. Use libm_hidden_weak.
330 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
331 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
332 define as weak alias of __fegetenv. Use libm_hidden_weak.
333 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
334 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
335 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
336 define as weak alias of __fegetenv. Use libm_hidden_weak.
337 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
338 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
339 define as weak alias of __fegetenv. Use libm_hidden_weak.
340 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
342 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
343 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
345 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
346 define as weak alias of __fegetenv. Use libm_hidden_weak.
347 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
348 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
349 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
350 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
351 and define as weak alias of __fegetenv. Use libm_hidden_weak.
352 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
353 __fegetenv instead of fegetenv.
354 (libc_feholdsetround_noex_ctx): Likewise.
356 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
358 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
359 (Elf_MIPS_ABIFlags_v0): New structure.
360 (EF_MIPS_FP64): Define.
361 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
362 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
363 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
364 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
365 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
366 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
367 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
368 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
369 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
370 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
371 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
372 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
373 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
374 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
375 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
376 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
377 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
378 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
379 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
380 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
381 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
382 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
384 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
386 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
387 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
388 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
389 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
390 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
391 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
392 * sysdeps/mips/tst-abi-interlink.c: Likewise.
393 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
394 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
395 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
396 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
397 record the current FP ABI extension.
398 (mips-mode-switch): Define to show if kernel headers support mode
400 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
401 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
402 supported SYSV ABI version to 3.
403 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
406 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
407 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
411 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
413 2014-12-31 Joseph Myers <joseph@codesourcery.com>
415 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
416 __fegetround and redefine to call __fegetround. Remove condition
417 on [!__NO_MATH_INLINES].
418 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
420 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
421 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
423 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
424 instead of <fenv_libc.h>.
425 (__llrintl): Call fegetround instead of __fegetround.
426 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
427 instead of <fenv_libc.h>.
428 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
429 (__lrintl): Call fegetround instead of __fegetround.
430 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
431 instead of <fenv_libc.h>.
432 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
433 (__rintl): Call fegetround instead of __fegetround.
435 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
437 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
440 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
443 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
444 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
445 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
447 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
449 * sysdeps/i386/tls-macros.h: Include <features.h>.
450 (TLS_LE): Use non-PIC version for GCC >= 5.0.
454 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
455 define for GCC >= 5.0.
457 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
459 * math/test-fenv.c (test_single_exception, set_single_exc,
460 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
461 feexcp_mask_test, feenable_test, fe_single_test): Add
462 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
463 case where they are not used.
464 * math/libm-test.inc: Likewise.
465 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
466 unused in the absence of FP rounding/exception support.
467 * stdio-common/tst-printf-round.c: Likewise.
468 * stdlib/tst-strtod-round.c: Likewise.
469 * stdlib/tst-strtod-underflow.c: Likewise.
471 2014-12-30 Joseph Myers <joseph@codesourcery.com>
474 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
475 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
476 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
477 __feraiseexcept and define as weak alias of __feraiseexcept. Use
479 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
480 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
481 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
483 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
484 __feraiseexcept and define as weak alias of __feraiseexcept. Use
486 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
488 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
489 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
490 __feraiseexcept and define as weak alias of __feraiseexcept. Use
492 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
494 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
495 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
496 (__feraiseexcept): Likewise.
497 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
498 __feraiseexcept and define as weak alias of __feraiseexcept. Use
500 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
501 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
503 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
504 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
506 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
508 (feraiseexcept): Define as weak not strong alias. Use
510 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
511 New inline function. Factored out of ...
512 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
513 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
514 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
516 * math/w_acos.c (__acos): Likewise.
517 * math/w_asin.c (__asin): Likewise.
518 * math/w_ilogb.c (__ilogb): Likewise.
519 * math/w_j0.c (y0): Likewise.
520 * math/w_j1.c (y1): Likewise.
521 * math/w_jn.c (yn): Likewise.
522 * math/w_log.c (__log): Likewise.
523 * math/w_log10.c (__log10): Likewise.
524 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
525 * sysdeps/aarch64/fpu/math_private.h
526 (libc_feupdateenv_test_aarch64): Likewise.
527 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
528 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
529 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
530 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
531 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
532 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
533 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
534 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
535 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
536 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
538 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
541 * io/test-utime.c (main): Replace %ld with %jd and cast to
543 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
544 * nptl/tst-mutex5.c: Include <stdint.h>.
545 (do_test): Replace %ld with %jd and cast to intmax_t.
546 * posix/tst-regex.c (run_test): Likewise.
547 (run_test_backwards): Likewise.
548 * rt/tst-clock.c: Include <stdint.h>.
549 (clock_test): Replace %ld with %jd and cast to intmax_t.
550 * rt/tst-cpuclock1.c: Include <stdint.h>.
551 (do_test): Replace %lu with %ju and cast to uintmax_t.
552 * rt/tst-cpuclock2.c: Include <stdint.h>.
553 (do_test): Replace %lu with %ju and cast to uintmax_t.
554 * rt/tst-mqueue1.c: Include <stdint.h>.
555 (check_attrs): Replace %ld with %jd and cast to intmax_t.
556 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
558 * rt/tst-mqueue4.c (do_test): Likewise.
559 * rt/tst-timer4.c: Include <stdint.h>.
560 (check_ts): Replace %ld with %jd and cast to intmax_t.
562 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
563 and cast to intmax_t.
564 * sysdeps/pthread/tst-timer.c (main): Likewise.
565 * time/clocktest.c (main): Likewise.
566 * time/tst-posixtz.c (do_test): Likewise.
567 * timezone/tst-timezone.c (main): Likewise.
569 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
570 H.J. Lu <hongjiu.lu@intel.com>
572 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
573 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
574 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
575 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
576 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
577 version if bit_Fast_Unaligned_Load is set.
578 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
579 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
580 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
581 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
582 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
583 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
585 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
586 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
587 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
589 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
590 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
591 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
592 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
594 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
596 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
597 instead of #if to avoid a Wundef warning.
598 * stdlib/tst-limits.c (do_test): Likewise.
600 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
601 parallel other exception macros.
602 (fegetenv): Convert from macro to extern inline so that it applies
603 retroactively to inline functions already seen by the compiler.
604 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
606 * posix/Makefile (before-compile): Use $(objpfx) for
607 posix-conf-vars-def.h.
609 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
611 * posix/getconf.c (main): Use size_t for type of I.
612 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
615 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
616 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
617 * posix/posix-envs.def: Likewise.
618 * sysdeps/posix/sysconf.c: Likewise.
619 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
620 (specs): Remove array.
621 * scripts/gen-posix-conf-vars.awk: Support generation of specs
624 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
625 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
626 (__sysconf): Use CONF_IS_* macros.
628 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
629 ($(objpfx)posix-conf-vars-def.h): New target.
630 * posix/posix-conf-vars.list: New file.
631 * posix/posix-conf-vars.h: New file.
632 * posix/confstr.c: Include posix-conf-vars.h.
633 (confstr): Use CONF_IS_* macros.
634 * posix/posix-envs.def: Include posix-conf-vars.h. Use
636 * scripts/gen-posix-conf-vars.awk: New file.
638 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
640 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
641 fegetround): Add no-op macros to avoid linknamespace issues.
643 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
644 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
646 * sysdeps/unix/sysv/linux/tile/sysdep.h
647 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
648 assembly-specific section to avoid a redefinition warning.
650 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
651 long before casting to pointer to avoid a cast warning.
653 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
655 * sysdeps/tile/tilegx/Implies: New file.
657 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
659 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
661 2014-12-23 Florian Weimer <fweimer@redhat.com>
663 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
665 2014-12-22 Joseph Myers <joseph@codesourcery.com>
667 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
669 * sysdeps/unix/sysv/linux/utimes.c: Do not include
671 (__utimes) [__NR_utimes]: Make code unconditional.
672 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
673 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
674 (__ASSUME_UTIMES): Do not undefine.
675 * sysdeps/unix/sysv/linux/tile/kernel-features.h
676 (__ASSUME_UTIMES): Likewise.
677 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
678 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
679 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
680 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
682 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
684 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
686 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
689 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
690 alias to weak alias for j0l, y0l.
691 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
692 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
695 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
698 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
700 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
701 to zero if not already defined.
703 2014-12-22 Joseph Myers <joseph@codesourcery.com>
706 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
707 (__kernel_standard_f): Remove. Moved to k_standardf.c.
708 (__kernel_standard_l): Remove. Moved to k_standardl.c with
709 (char *) casts added.
710 * sysdeps/ieee754/k_standardf.c: New file.
711 * sysdeps/ieee754/k_standardl.c: Likewise.
712 * math/Makefile (libm-support): Remove k_standard.
713 (libm-calls): Add k_standard.
715 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
717 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
718 Optimize to avoid an unnecessary FPCR read.
720 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
722 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
723 Optimize to reduce FPCR/FPSR accesses.
725 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
727 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
728 Call libc_fetestexcept_aarch64.
730 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
732 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
733 Call libc_fesetround_aarch64.
735 2014-12-22 Joseph Myers <joseph@codesourcery.com>
738 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
739 (__bind): Do not define as weak alias.
740 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
742 (__getsockname): Do not define as weak alias.
744 2014-12-22 Will Newton <will.newton@linaro.org>
746 * manual/install.texi: Document that we require bison 2.7
748 * INSTALL: Regenerate.
749 * configure.ac: Use AC_CHECK_PROG_VER instead of
750 AC_PATH_PROG when checking for bison and check for
751 version 2.7 or above.
752 * configure: Regenerate.
754 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
757 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
758 * sysdeps/tile/ffsll.c (ffsll): To here.
760 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
762 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
764 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
766 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
768 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
769 hidden ___tls_get_addr.
770 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
771 hidden __tls_get_addr.
772 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
773 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
776 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
778 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
781 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
783 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
784 from "call _dl_init@PLT".
785 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
787 2014-12-21 Anders Kaseorg <andersk@mit.edu>
789 * manual/search.texi: (Array Sort Function): Clarify stable sorting
792 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
794 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
796 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
799 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
802 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
804 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
806 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
807 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
808 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
809 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
810 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
812 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
814 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
815 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
816 (PTR_SUBU): Use subu for mips32r6/mips64r6.
817 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
818 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
820 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
822 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
824 * string/strncat.c (STRNCAT): Simplify implementation.
826 2014-12-19 David S. Miller <davem@davemloft.net>
828 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
829 access the quad as both a long double and as a series of 4 words.
831 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
832 link_map->l_info array access.
834 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
836 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
838 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
839 * math/atest-exp2.c (TIMEOUT): Likewise.
840 * math/atest-sincos.c (TIMEOUT): Likewise.
842 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
844 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
845 -Wno-error with -fno-builtin-lround.
847 2014-12-19 Torvald Riegel <triegel@redhat.com>
849 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
850 Contains futex constants and functions moved over from ...
851 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
852 <lowlevellock-futex.h>.
853 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
854 (lll_timedwait_tid): Add comments and parentheses around macro
857 2014-12-19 Torvald Riegel <triegel@redhat.com>
859 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
860 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
861 (__lll_private_flag): Remove.
862 (lll_futex_wait): Likewise.
863 (lll_futex_timed_wait): Likewise.
864 (lll_futex_wake): Likewise.
865 (lll_futex_requeue): Likewise.
866 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
867 (__lll_timedwait_tid): Spell out argument names.
868 (lll_timedwait_tid): Add comments and parentheses around macro
870 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
871 LLL_SHARED and LLL_PRIVATE usable from assembly code.
873 2014-12-19 Torvald Riegel <triegel@redhat.com>
875 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
876 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
877 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
878 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
879 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
880 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
881 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
882 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
883 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
884 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
885 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
886 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
887 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
888 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
889 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
890 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
891 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
892 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
893 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
895 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
897 * sysdeps/x86_64/x32/Makefile: New file.
899 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
901 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
902 1L with (mp_limb_t) 1.
904 2014-12-17 Roland McGrath <roland@hack.frob.com>
906 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
907 * nptl/libc_pthread_init.c: ... here.
908 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
909 * nptl/register-atfork.c: ... here.
911 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
912 Use pthread_sigmask rather than INTERNAL_SYSCALL.
913 Use assert_perror to check its return value.
914 (__gai_create_helper_thread): Likewise.
916 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
918 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
920 2014-12-17 Joseph Myers <joseph@codesourcery.com>
923 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
925 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
927 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
929 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
931 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
932 (profil_counter): Likewise.
933 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
934 (profil_counter): Likewise.
935 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
937 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
939 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
940 (profil_counter): Likewise.
941 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
943 [!__profil_counter] (profil_counter): Define as weak alias of
945 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
946 (profil_counter): Rename to __profil_counter.
947 [!__profil_counter] (profil_counter): Define as weak alias of
949 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
950 (profil_counter): Rename to __profil_counter.
951 [!__profil_counter] (profil_counter): Define as weak alias of
953 * sysdeps/posix/profil.c: Update comment referring to
955 (__profil): Use __profil_counter instead of profil_counter.
956 * sysdeps/posix/sprofil.c (profil_counter): Rename to
957 __profil_counter. Use __profil_counter_ushort and
958 __profil_counter_uint in definitions.
959 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
960 instead of profil_counter_uint and profil_counter_ushort.
963 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
964 define as weak alias of __inet_makeaddr.
965 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
966 as weak alias of __inet_addr.
967 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
968 as weak alias of __inet_pton. Use libc_hidden_weak.
969 * include/arpa/inet.h (__inet_pton): Declare. Use
971 (inet_makeaddr): Don't use libc_hidden_proto.
972 (__inet_makeaddr): Declare. Use libc_hidden_proto.
973 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
974 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
975 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
977 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
978 (test-xfail-POSIX/time.h/linknamespace): Likewise.
980 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
982 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
984 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
986 * stdio-common/bug-vfprintf-nargs.c (do_test):
987 Cast value to intptr_t to avoid format warning
988 for usage with PRIdPTR printing macro.
990 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
992 * libio/tst-widetext.c (do_test):
993 Use format type %td instead of %Zd for ptrdiff_t
994 in order to avoid format warning.
996 2014-12-17 Andreas Schwab <schwab@suse.de>
998 * nscd/mem.c (gc): Add size_t cast to match printf format.
1000 2014-12-16 Roland McGrath <roland@hack.frob.com>
1002 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1003 (init): Apply PTR_MANGLE to pointers before storing them.
1004 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1007 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1010 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1011 define as weak alias of __memrchr.
1012 (__memrchr): Do not define as strong alias of memrchr.
1013 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1015 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1016 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1017 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1020 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1021 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1022 (if_indextoname): Rename to __if_indextoname and define as weak
1023 alias of __if_indextoname. Use libc_hidden_weak.
1024 (if_freenameindex): Rename to __if_freenameindex and define as
1025 weak alias of __if_freenameindex.
1026 (if_nameindex): Rename to __if_nameindex and define as weak alias
1028 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1029 __if_nametoindex and define as weak alias of __if_nametoindex.
1030 Use libc_hidden_weak.
1031 (if_freenameindex): Rename to __if_freenameindex and define as
1032 weak alias of __if_freenameindex.
1033 (if_nameindex): Rename to __if_nameindex and define as weak alias
1035 (if_indextoname): Rename to __if_indextoname and define as weak
1036 alias of __if_indextoname. Use libc_hidden_weak.
1037 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1038 __if_nametoindex and define as weak alias of __if_nametoindex.
1039 Use libc_hidden_weak.
1040 (if_freenameindex): Rename to __if_freenameindex and define as
1041 weak alias of __if_freenameindex. Use libc_hidden_weak.
1042 (if_nameindex_netlink): Use __if_freenameindex instead of
1044 (if_nameindex): Rename to __if_nameindex and define as weak alias
1045 of __if_nameindex. Use libc_hidden_weak.
1046 (if_indextoname): Rename to __if_indextoname and define as weak
1047 alias of __if_indextoname. Use libc_hidden_weak.
1048 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1050 [!_ISOMAC] (__if_freenameindex): Likewise.
1051 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1053 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1055 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1056 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1057 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1058 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1059 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1060 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1061 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1063 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1065 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1066 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1068 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1070 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1071 subscript above bounds'
1073 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1076 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1078 * libio/tst-fopenloc.c: Use test-skeleton.c.
1080 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1081 (entry): Rename to ITEM.
1082 (do_test, comp): Adjust.
1084 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1086 2014-12-16 Torvald Riegel <triegel@redhat.com>
1088 * string/tester.c: Include <libc-internal.h>.
1089 (test_memset): Ignore -Wmemset-transposed-args.
1091 2014-12-16 Torvald Riegel <triegel@redhat.com>
1093 * misc/tst-mntent2.c (do_test): Fix warning.
1095 2014-12-16 Torvald Riegel <triegel@redhat.com>
1097 * elf/tst-unique4lib.cc(a): Mark as used.
1099 2014-12-16 Florian Weimer <fweimer@redhat.com>
1102 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1105 2014-12-16 Allan McRae <allan@archlinux.org>
1107 * stdio-common/Makefile (tests): Re-add bug26.
1109 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1112 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1115 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1117 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1118 (__lll_lock_wait): Likewise.
1119 (__lll_timedlock_wait): Likewise.
1120 (__lll_timedwait_tid): Likewise.
1121 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1122 (__lll_robust_timedlock_wait): Likewise.
1123 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1124 (lll_cond_trylock): Likewise.
1125 (__lll_lock): Likewise.
1126 (__lll_robust_lock): Likewise.
1127 (__lll_cond_lock): Likewise.
1128 (lll_robust_cond_lock): Likewise.
1129 (__lll_timedlock): Likewise.
1130 (__lll_robust_timedlock): Likewise.
1131 (__lll_unlock): Likewise.
1132 (__lll_robust_unlock): Likewise.
1133 (lll_wait_tid): Likewise.
1134 (lll_timedwait_tid): Likewise.
1136 2014-12-15 Torvald Riegel <triegel@redhat.com>
1138 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1140 2014-12-15 Torvald Riegel <triegel@redhat.com>
1142 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1144 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1146 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1147 * stdio-common/tst-sprintf.c: Likewise.
1149 2014-12-15 Torvald Riegel <triegel@redhat.com>
1151 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1153 2014-12-15 Jeff Law <law@redhat.com>
1156 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1157 on the heap. (CVE-2012-3406)
1158 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1159 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1160 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1162 2014-12-15 Will Newton <will.newton@linaro.org>
1164 * manual/install.texi: Bump required version of texinfo
1166 * INSTALL: Regenerated.
1167 * configure.ac: Check for makeinfo version 4.7 and above.
1168 * configure: Regenerated.
1170 2014-12-12 Roland McGrath <roland@hack.frob.com>
1172 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1173 PREFIX, string constant to insert between directory and name.
1174 * sysdeps/posix/shm_open.c: Update caller.
1175 * sysdeps/posix/shm_unlink.c: Likewise.
1176 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1177 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1178 (SEM_SHM_PREFIX): New macro.
1179 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1180 [$(have-thread-library) = no].
1181 * nptl/Makefile (libpthread-routines): Add shm-directory.
1182 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1183 * sysdeps/nptl/shm-directory.h: New file.
1184 * sysdeps/posix/shm-directory.c
1185 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1186 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1187 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1189 (__where_is_shmfs): Function removed.
1190 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1192 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1194 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1196 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1197 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1198 unconditional for use inside libpthread.
1199 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1201 2014-12-12 Roland McGrath <roland@hack.frob.com>
1203 * nptl/pthread_getaffinity.c: New file.
1204 * nptl/pthread_setaffinity.c: New file.
1205 * nptl/pthread_getname.c: New file.
1206 * nptl/pthread_setname.c: New file.
1208 * nptl/pthread_create.c (START_THREAD_DEFN)
1209 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1211 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1212 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1214 * resolv/res_send.c (send_vc): Disable warning resplen may
1215 be used uninitialized.
1217 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1220 (ATTR_NULL): New define checks ATTR against NULL.
1221 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1222 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1224 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1228 (mem2mem_check): Revert my previous change.
1229 (malloc_check_get_size): Revert my previous change.
1230 (mem2chunk_check): Revert my previous change.
1232 2014-12-11 Roland McGrath <roland@hack.frob.com>
1234 * sysdeps/posix/shm-directory.c: New file.
1235 * sysdeps/posix/shm-directory.h: New file.
1236 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1237 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1238 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1239 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1240 Transmute EPERM to EACCES.
1241 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1243 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1244 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1246 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1248 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1249 pointer and cast to uintptr_t.
1250 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1251 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1252 Add cast to avoid warning.
1253 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1255 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1257 * nptl/semaphore.h: Move to ...
1258 * sysdeps/pthread/semaphore.h: ... here.
1259 * Makefile (installed-headers): Change nptl/semaphore.h to
1260 sysdeps/pthread/semaphore.h.
1262 2014-12-11 Roland McGrath <roland@hack.frob.com>
1264 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1265 generated error format strings.
1267 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1268 -Wformat-extra-args warnings for scanf formats.
1269 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1270 test of zero-length format (duh).
1271 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1272 corner-case scanf format test.
1273 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1274 generated fprintf format string.
1275 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1276 corner-case sprintf format tests.
1277 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1278 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1279 -Wformat-extra-args warnings throughout.
1280 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1281 (CFLAGS-scanf4.c): Likewise.
1282 (CFLAGS-scanf7.c): Likewise.
1283 (CFLAGS-tst-sprintf.c): Likewise.
1284 (CFLAGS-tst-printf.c): Likewise.
1285 (CFLAGS-tst-printfsz.c): Likewise.
1287 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1289 * include/cpio.h: New file.
1290 * include/fmtmsg.h: Likewise.
1292 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1293 corresponding format argument to size_t.
1294 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1296 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1297 corresponding format argument to size_t.
1298 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1300 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1301 corresponding format argument to size_t.
1302 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1303 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1304 (CFLAGS-tst-mbswcs2.c): Likewise.
1305 (CFLAGS-tst-mbswcs3.c): Likewise.
1306 (CFLAGS-tst-mbswcs4.c): Likewise.
1307 (CFLAGS-tst-mbswcs5.c): Likewise.
1308 (CFLAGS-tst-trans.c): Likewise
1310 2014-12-11 Roland McGrath <roland@hack.frob.com>
1312 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1313 rather than assuming they won't contain any '%'s.
1315 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1317 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1318 inhibit_loop_to_libcall to avoid recursive calls.
1319 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1320 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1322 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1324 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1327 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1329 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1330 integer value instead of boolean.
1332 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1334 * malloc/malloc.c: Fix powerof2 check.
1336 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1338 * locale/programs/locfile.h (maybe_swap_uint32):
1339 Remove inline and add unused attribute.
1341 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1343 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1344 Truncating assembler expression to a .long expression.
1346 2014-12-11 Andreas Schwab <schwab@suse.de>
1348 * elf/rtld.c (struct map_args): Constify str member.
1349 (do_preload): Constify fname argument.
1351 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1353 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1354 constants definition.
1356 2014-12-11 Andreas Schwab <schwab@suse.de>
1359 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1360 FORCE_ELISION instead of DO_ELISION.
1361 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1363 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1366 * iconvdata/gconv-modules: Remove duplicate entry.
1368 2014-12-11 Will Newton <will.newton@linaro.org>
1370 Merge gettext 0.19.3 into intl/.
1372 This involves a number of cosmetic changes to comments
1373 and ANSI function definitions and prototypes throughout
1374 all the files. The gettext copyright header is used but
1375 with the date ranges taken from the glibc copy.
1377 * NEWS: Add gettext merge to 2.21.
1378 * intl/bindtextdom.c: Switch to gettext copyright.
1379 Use ANSI definitions and prototypes.
1380 Use gl_* locking primitives rather than __libc_* ones.
1381 Use __builtin_expect rather than __glibc_likely/unlikely.
1382 * intl/dcgettext.c: Switch to gettext copyright.
1383 Use ANSI definitions and prototypes.
1384 * intl/dcigettext.c: Switch to gettext copyright.
1385 Use ANSI definitions and prototypes.
1386 (INTDIV0_RAISES_SIGFPE): New define.
1387 Use gl_* locking primitives rather than __libc_* ones.
1388 Include eval-plural.h instead of plural-eval.c.
1389 Use __builtin_expect rather than __glibc_likely/unlikely.
1390 * intl/dcngettext.c: Switch to gettext copyright.
1391 Use ANSI definitions and prototypes.
1392 * intl/dgettext.c: Likewise.
1393 * intl/dngettext.c: Likewise.
1394 * intl/plural-eval.c: Renamed to...
1395 * intl/eval-plural.h: ...this.
1396 * intl/explodename.c: Switch to gettext copyright.
1397 Use ANSI definitions and prototypes.
1398 (_nl_explode_name): Use strchr instead of __rawmemchr.
1399 * intl/finddomain.c: Switch to gettext copyright.
1400 Use ANSI definitions and prototypes.
1401 Use gl_* locking primitives rather than __libc_* ones.
1402 (_nl_find_domain): Use malloc rather than alloca for
1403 allocation of temporary locale name.
1404 * intl/gettext.c: Switch to gettext copyright.
1405 Use ANSI definitions and prototypes.
1406 * intl/gettextP.h: Switch to gettext copyright.
1407 Use ANSI definitions and prototypes.
1408 Use gl_* locking primitives rather than __libc_* ones.
1409 * intl/gmo.h: Switch to gettext copyright.
1410 (struct sysdep_string): Move struct segment_pair outside of
1412 * intl/hash-string.c: Use ANSI definitions and prototypes.
1413 * intl/hash-string.h: Switch to gettext copyright.
1414 Use ANSI definitions and prototypes.
1415 * intl/l10nflist.c: Switch to gettext copyright.
1416 Use ANSI definitions and prototypes.
1417 (_nl_normalize_codeset): Avoid integer overflow.
1418 * intl/loadinfo.h: Switch to gettext copyright.
1419 Use ANSI definitions and prototypes.
1420 (LIBINTL_DLL_EXPORTED): New define.
1421 (PATH_SEPARATOR): New define.
1422 * intl/loadmsgcat.c: Switch to gettext copyright.
1423 * intl/localealias.c: Switch to gettext copyright.
1424 Use ANSI definitions and prototypes.
1425 (_nl_expand_alias): Use PATH_SEPARATOR.
1426 * intl/ngettext.c: Switch to gettext copyright.
1427 Use ANSI definitions and prototypes.
1428 * intl/plural-exp.c: Likewise.
1429 * intl/plural-exp.h: Switch to gettext copyright.
1430 Use ANSI definitions and prototypes.
1431 (struct expression): Move definition of enum operator outside
1432 of struct definition.
1433 * intl/plural.c: Regenerate.
1434 * intl/plural.y: Switch to gettext copyright.
1435 Use ANSI definitions and prototypes.
1437 * intl/textdomain.c: Switch to gettext copyright.
1438 Use ANSI definitions and prototypes.
1439 Use gl_* locking primitives rather than __libc_* ones.
1441 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1443 * debug/warning-nop.c: Add used atrribute.
1445 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1447 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1449 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1450 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1451 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1453 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1454 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1457 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1458 Undefine after defining function. Define as weak alias of
1459 __wcschr. Use libc_hidden_weak.
1460 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1461 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1462 (libc_hidden_def): Also define __GI___wcschr alias.
1463 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1464 __wcschr and define as weak alias of __wcschr.
1465 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1467 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1468 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1469 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1470 libc_hidden_weak. Do not use libc_hidden_def.
1471 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1472 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1473 __GI___wcschr alias.
1474 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1475 [IS_IN (libc)] (wcschr): Define as macro expanding to
1477 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1478 [IS_IN (libc)] (__wcschr_power6): Likewise.
1479 [IS_IN (libc)] (__wcschr_power7): Likewise.
1480 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1482 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1484 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1485 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1486 __wcschr and define as weak alias of __wcschr. Use
1487 libc_hidden_builtin_def.
1488 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1489 as weak alias of __wcschr. Use libc_hidden_weak.
1490 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1492 * time/era.c (_nl_init_era_entries): Likewise.
1493 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1495 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1496 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1498 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1500 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1501 format for long int variable.
1503 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1506 * manual/search.texi: (Array Sort Function): Remove claim how to make
1509 2014-12-10 Andreas Schwab <schwab@suse.de>
1512 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1513 user-controlled locks.
1515 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1517 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1520 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1522 * configure.ac (--disable-werror): New configure option.
1523 (enable_werror): New AC_SUBST.
1524 * configure: Regenerated.
1525 * config.make.in (enable-werror): New variable.
1526 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1528 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1529 * manual/install.texi (Configuring and compiling): Document
1531 * INSTALL: Regenerated.
1532 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1533 (CFLAGS-tst-chk2.c): Likewise.
1534 (CFLAGS-tst-chk3.c): Likewise.
1535 (CFLAGS-tst-chk4.cc): Likewise.
1536 (CFLAGS-tst-chk5.cc): Likewise.
1537 (CFLAGS-tst-chk6.cc): Likewise.
1538 (CFLAGS-tst-lfschk1.c): Likewise.
1539 (CFLAGS-tst-lfschk2.c): Likewise.
1540 (CFLAGS-tst-lfschk3.c): Likewise.
1541 (CFLAGS-tst-lfschk4.cc): Likewise.
1542 (CFLAGS-tst-lfschk5.cc): Likewise.
1543 (CFLAGS-tst-lfschk6.cc): Likewise.
1545 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1546 (main): Disable -Wdeprecated-declarations around calls to
1547 register_printf_function.
1549 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1550 (do_test): Disable -Wdiv-by-zero around some calls to
1551 fwrite_unlocked and fread_unlocked.
1553 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1554 (DIAG_POP_NEEDS_COMMENT): Likewise.
1555 (_DIAG_STR1): Likewise.
1556 (_DIAG_STR): Likewise.
1557 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1558 * stdio-common/bug21.c: Include <libc-internal.h>.
1559 (do_test): Disable -Wformat around call to sscanf.
1560 * stdio-common/scanf14.c: Include <libc-internal.h>.
1561 (main): Disable -Wformat around some calls to scanf functions.
1563 2014-12-09 Torvald Riegel <triegel@redhat.com>
1565 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1567 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1569 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1570 stack variable alignment.
1572 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1575 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1576 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1577 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1578 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1579 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1580 __getrlimit instead of getrlimit.
1581 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1582 __gettimeofday instead of gettimeofday.
1583 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1585 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1587 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1588 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1590 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1591 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1593 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1595 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1596 for wide-character tests.
1598 2014-12-04 Roland McGrath <roland@hack.frob.com>
1600 * io/openat64.c: #include <libc-internal.h>
1601 (__openat64): Prototypify. Use ignore_value on MODE.
1602 * io/openat.c: Likewise.
1603 * misc/reboot.c: #include <libc-internal.h>
1604 (reboot): Prototypify. Use ignore_value on HOWTO.
1605 * misc/ptrace.c: #include <libc-internal.h>
1606 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1608 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1610 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1611 XPG4, UNIX98 and XOPEN2K.
1612 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1614 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1616 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1618 * libio/fileops.c: Use ISO C style for function definitions.
1619 * libio/iofopen.c: Likewise.
1620 * libio/wfileops.c: Likewise.
1623 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1625 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1626 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1627 (fgets_func): Function pointer to fgets and fgetws.
1628 (do_ftell_test): Add test to verify ftell value after read
1630 (do_test): Set fgets_func.
1632 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1633 O_TRUNC flag for w and w+ modes.
1634 (do_rewind_test): Likewise.
1635 (do_ftell_test): Likewise.
1636 (do_write_test): Likewise.
1639 * libio/fileops.c (do_ftell): Seek only when there are
1641 * libio/wfileops.c (do_ftell_wide): Likewise.
1642 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1644 (do_one_test): Call it.
1646 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1648 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1649 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1650 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1652 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1653 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1654 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1656 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1658 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1660 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1663 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1664 as weak alias of __getifaddrs. Use libc_hidden_weak.
1665 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1666 __freeifaddrs. Use libc_hidden_weak.
1667 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1668 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1669 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1670 __freeifaddrs. Use libc_hidden_weak.
1671 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1672 __getifaddrs and define as weak alias of __getifaddrs. Use
1674 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1675 __freeifaddrs. Use libc_hidden_weak.
1676 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1678 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1679 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1681 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1684 * sysdeps/mips/start.S (__start): Use indirect jump to call
1687 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1689 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1691 * nptl/tst-mutex1.c: Include <stdbool.h>.
1692 [!ATTR] (ATTR_NULL): New macro.
1693 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1694 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1695 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1697 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1701 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1702 Change conditional to [__USE_MISC].
1705 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1707 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1709 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1711 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1713 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1714 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1715 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1716 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1717 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1718 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1719 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1720 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1721 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1723 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1725 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1727 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1728 Remove strpbrk objects.
1729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1730 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1731 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1732 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1733 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1734 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1736 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1737 Remove strcspn objects.
1738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1739 (__libc_ifunc_impl_list): Remove strcspn implementation.
1740 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1741 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1742 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1743 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1745 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1746 Remove strspn objetcs.
1747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1748 (__libc_ifunc_impl_list): Remove strspn implementation.
1749 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1750 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1751 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1752 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1754 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1758 (mem2mem_check): Add a terminator to the chain of checking blocks.
1759 (malloc_check_get_size): Use it here.
1760 (mem2chunk_check): Ditto.
1762 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1764 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1765 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1767 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1769 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1771 * nptl/nptl-init.c: Include libc-internal.h.
1772 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1774 * elf/ldconfig.c (search_dir): Expand comment.
1776 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1778 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1780 (linknamespace-symlist-stdlibs-tests): Likewise.
1781 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1782 instead of $(objpfx)symlist-stdlibs.
1783 (linknamespace-libs-isoc): New variable.
1784 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1785 (linknamespace-libs-ISO): New variable.
1786 (linknamespace-libs-ISO99): Likewise.
1787 (linknamespace-libs-ISO11): Likewise.
1788 (linknamespace-libs-XPG3): Likewise.
1789 (linknamespace-libs-XPG4): Likewise.
1790 (linknamespace-libs-POSIX): Likewise.
1791 (linknamespace-libs-UNIX98): Likewise.
1792 (linknamespace-libs-XOPEN2K): Likewise.
1793 (linknamespace-libs-POSIX2008): Likewise.
1794 (linknamespace-libs-XOPEN2K8): Likewise.
1795 ($(objpfx)symlist-stdlibs): Replace by
1796 $(linknamespace-symlist-stdlibs-tests). Use
1797 $(linknamespace-libs-$*) as set of libraries.
1798 ($(linknamespace-header-tests)): Update dependencies. Use
1799 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1800 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1801 * conform/linknamespace.pl: Remove comment about considering
1802 definitions of symbols from irrelevant libraries.
1804 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1807 * elf/dl-tls.c: Include <atomic.h>.
1808 (oom): Remove #ifdef SHARED/#endif.
1809 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1810 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1811 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1813 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1814 * nptl/Makefile (tests): Add tst-stack4.
1815 (modules-names): Add tst-stack4mod.
1816 ($(objpfx)tst-stack4): New.
1817 (tst-stack4mod.sos): Likewise.
1818 ($(objpfx)tst-stack4.out): Likewise.
1819 ($(tst-stack4mod.sos)): Likewise.
1821 * nptl/tst-stack4.c: New file.
1822 * nptl/tst-stack4mod.c: Likewise.
1824 2014-11-27 J. Brown <jb999@gmx.de>
1826 * sysdeps/x86/bits/string.h: Add recent CPUs.
1828 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1830 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1833 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1836 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1839 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1841 * nscd/connections.c: Include libc-internal.h because of macro
1844 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1846 * string/bits/string3.h (__warn_memset_zero_len): Don't
1847 declare for gcc newer than 5.0.
1848 (memset): Don't test for zero-length __LEN for gcc newer than
1851 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1853 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1854 size_t for %zu format.
1856 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1857 difference, not %ju.
1859 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1861 * include/libc-internal.h (ignore_value): New macro.
1862 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1865 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1868 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1869 pthread_cleanup_push to void *.
1871 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1876 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1877 instead of 1L << 52.
1879 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1880 * libio/bug-rewind2.c (do_test): Likewise.
1882 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1883 * debug/test-strcpy_chk-ifunc.c: Likewise.
1884 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1885 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1886 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1887 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1888 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1889 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1890 * Rules [$(multi-arch) = no] (tests): Do not filter out
1892 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1893 * debug/Makefile (tests-ifunc): Remove variable.
1894 (tests): Do not add $(tests-ifunc).
1895 * wcsmbs/Makefile (tests-ifunc): Remove variable.
1896 (tests): Do not add $(tests-ifunc).
1897 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1898 [TEST_IFUNC]: Remove conditionals.
1899 * string/test-string.h (TEST_IFUNC): Remove macro.
1900 [TEST_IFUNC]: Remove conditionals.
1902 * string/test-strchr.c [!WIDE] (L): New macro.
1903 [WIDE] (L): Likewise.
1904 (check1): Use CHAR instead of char. Use L on string and character
1907 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1909 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1911 * sysdeps/powerpc/bits/atomic.h
1912 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1913 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1914 (atomic_exchange_and_add_acq): Likewise.
1915 (atomic_exchange_and_add_rel): Likewise.
1916 * sysdeps/powerpc/powerpc32/bits/atomic.h
1917 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1918 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1919 * sysdeps/powerpc/powerpc64/bits/atomic.h
1920 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1921 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1923 2014-11-26 Torvald Riegel <triegel@redhat.com>
1925 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1926 Change synchronization of __sched_fifo_min_prio and
1927 __sched_fifo_max_prio.
1928 * nptl/pthread_mutexattr_getprioceiling.c
1929 (pthread_mutexattr_getprioceiling): Likewise.
1930 * nptl/pthread_mutexattr_setprioceiling.c
1931 (pthread_mutexattr_setprioceiling): Likewise.
1932 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1933 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1936 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1938 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1941 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1943 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1944 third argument const.
1946 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1948 fnmatch: work around GCC compiler warning bug with uninit var
1949 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1950 This works around a bug with x86-64 GCC 4.9.2 and earlier
1951 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1952 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1953 used uninitialized in this function [-Wmaybe-uninitialized]".
1955 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1957 * posix/bug-regex31.c (main): Return RES not 0.
1959 2014-11-25 Anton Blanchard <anton@samba.org>
1961 * sysdeps/powerpc/bits/atomic.h
1962 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1964 2014-11-24 Sterling Augustine <saugustine@google.com>
1966 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1968 2014-11-24 Ryan Cumming <etaoins@gmail.com>
1971 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1973 2014-11-24 Joseph Myers <joseph@codesourcery.com>
1976 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1977 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1979 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1980 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1982 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1984 * string/strncpy.c (strncpy): Improve performance by using memset.
1986 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1988 * string/strcpy.c (strcpy):
1989 Improve performance by using strlen and memcpy.
1991 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
1993 * string/strcoll_l.c (get_next_seq): __always_inline.
1994 * string/strcoll_l.c (do_compare): __always_inline.
1996 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1998 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2000 * include/mqueue.h: Likewise.
2001 * include/stdlib.h: Likewise.
2003 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2004 (get_null_defines): Adjust.
2005 * sunrpc/Makefile: Adjust comment.
2006 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2007 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2008 (CFLAGS-interp.c): Likewise.
2009 (CFLAGS-ldconfig.c): Likewise.
2010 (CPPFLAGS-.os): Likewise.
2011 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2012 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2013 * extra-modules.mk (extra-modules.mk): Likewise.
2014 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2015 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2016 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2017 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2018 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2019 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2020 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2021 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2022 * iconvdata/Makefile (CPPFLAGS): Likewise.
2023 (cpp-srcs-left): Add libof for all iconvdata routines.
2024 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2025 * include/assert.h: Likewise.
2026 * include/ctype.h: Likewise.
2027 * include/errno.h: Likewise.
2028 * include/libc-symbols.h: Likewise.
2029 * include/math.h: Likewise.
2030 * include/netdb.h: Likewise.
2031 * include/resolv.h: Likewise.
2032 * include/stdio.h: Likewise.
2033 * include/stdlib.h: Likewise.
2034 * include/string.h: Likewise.
2035 * include/sys/stat.h: Likewise.
2036 * include/wctype.h: Likewise.
2037 * intl/l10nflist.c: Likewise.
2038 * libidn/idn-stub.c: Likewise.
2039 * libio/libioP.h: Likewise.
2040 * nptl/libc_multiple_threads.c: Likewise.
2041 * nptl/pthreadP.h: Likewise.
2042 * posix/regex_internal.h: Likewise.
2043 * resolv/res_hconf.c: Likewise.
2044 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2045 * sysdeps/arm/memmove.S: Likewise.
2046 * sysdeps/arm/sysdep.h: Likewise.
2047 * sysdeps/generic/_itoa.h: Likewise.
2048 * sysdeps/generic/symbol-hacks.h: Likewise.
2049 * sysdeps/gnu/errlist.awk: Likewise.
2050 * sysdeps/gnu/errlist.c: Likewise.
2051 * sysdeps/i386/i586/memcpy.S: Likewise.
2052 * sysdeps/i386/i586/memset.S: Likewise.
2053 * sysdeps/i386/i686/memcpy.S: Likewise.
2054 * sysdeps/i386/i686/memmove.S: Likewise.
2055 * sysdeps/i386/i686/mempcpy.S: Likewise.
2056 * sysdeps/i386/i686/memset.S: Likewise.
2057 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2058 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2059 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2060 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2061 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2062 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2063 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2064 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2065 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2067 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2068 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2069 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2070 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2071 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2072 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2073 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2074 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2075 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2076 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2077 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2078 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2079 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2080 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2081 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2082 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2083 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2084 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2085 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2086 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2087 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2088 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2090 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2093 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2094 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2095 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2096 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2097 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2098 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2099 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2100 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2101 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2102 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2103 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2104 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2105 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2106 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2107 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2108 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2109 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2110 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2111 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2112 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2113 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2114 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2115 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2116 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2117 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2118 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2119 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2120 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2121 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2122 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2123 * sysdeps/posix/closedir.c: Likewise.
2124 * sysdeps/posix/opendir.c: Likewise.
2125 * sysdeps/posix/readdir.c: Likewise.
2126 * sysdeps/posix/rewinddir.c: Likewise.
2127 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2128 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2129 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2130 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2131 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2132 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2133 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2134 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2135 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2138 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2139 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2140 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2141 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2143 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2144 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2145 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2147 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2148 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2149 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2150 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2152 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2154 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2155 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2162 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2163 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2164 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2165 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2166 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2167 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2168 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2169 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2170 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2171 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2172 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2173 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2174 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2175 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2176 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2177 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2178 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2179 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2180 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2181 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2182 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2183 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2184 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2185 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2186 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2187 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2188 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2189 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2190 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2191 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2192 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2193 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2194 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2195 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2196 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2197 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2198 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2199 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2200 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2201 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2202 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2203 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2204 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2205 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2206 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2207 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2208 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2209 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2210 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2211 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2212 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2213 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2214 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2215 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2216 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2217 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2218 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2219 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2220 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2223 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2225 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2226 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2228 * sysdeps/unix/alpha/sysdep.S: Likewise.
2229 * sysdeps/unix/alpha/sysdep.h: Likewise.
2230 * sysdeps/unix/make-syscalls.sh: Likewise.
2231 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2232 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2233 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2234 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2235 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2236 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2237 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2238 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2239 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2240 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2241 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2242 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2243 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2244 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2245 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2246 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2247 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2248 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2249 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2250 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2251 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2252 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2253 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2254 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2255 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2256 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2257 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2260 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2261 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2262 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2264 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2265 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2266 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2267 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2269 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2270 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2271 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2272 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2273 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2274 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2275 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2278 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2281 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2282 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2283 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2284 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2285 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2286 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2287 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2289 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2290 * sysdeps/x86_64/memcpy.S: Likewise.
2291 * sysdeps/x86_64/memmove.c: Likewise.
2292 * sysdeps/x86_64/memset.S: Likewise.
2293 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2294 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2295 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2296 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2297 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2299 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2300 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2301 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2302 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2303 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2304 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2305 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2306 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2307 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2308 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2309 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2310 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2311 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2312 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2313 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2314 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2315 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2317 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2318 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2319 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2320 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2321 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2322 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2323 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2324 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2325 * sysdeps/x86_64/strcmp.S: Likewise.
2327 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2329 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2330 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2331 * elf/rtld-Rules: Likewise.
2332 * elf/setup-vdso.h: Likewise.
2333 * include/assert.h: Likewise.
2334 * include/bits/stdlib-float.h: Likewise.
2335 * include/errno.h: Likewise.
2336 * include/sys/stat.h: Likewise.
2337 * include/unistd.h: Likewise.
2338 * sysdeps/aarch64/setjmp.S: Likewise.
2339 * sysdeps/alpha/setjmp.S: Likewise.
2340 * sysdeps/arm/__longjmp.S: Likewise.
2341 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2342 * sysdeps/arm/setjmp.S: Likewise.
2343 * sysdeps/arm/sysdep.h: Likewise.
2344 * sysdeps/generic/_itoa.h: Likewise.
2345 * sysdeps/generic/dl-sysdep.h: Likewise.
2346 * sysdeps/generic/ldsodefs.h: Likewise.
2347 * sysdeps/i386/dl-tls.h: Likewise.
2348 * sysdeps/i386/setjmp.S: Likewise.
2349 * sysdeps/m68k/setjmp.c: Likewise.
2350 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2351 * sysdeps/mach/hurd/opendir.c: Likewise.
2352 * sysdeps/posix/getcwd.c: Likewise.
2353 * sysdeps/posix/opendir.c: Likewise.
2354 * sysdeps/posix/profil.c: Likewise.
2355 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2356 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2357 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2358 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2359 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2360 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2361 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2362 * sysdeps/s390/dl-tls.h: Likewise.
2363 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2364 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2365 * sysdeps/sh/sh3/setjmp.S: Likewise.
2366 * sysdeps/sh/sh4/setjmp.S: Likewise.
2367 * sysdeps/unix/alpha/sysdep.h: Likewise.
2368 * sysdeps/unix/arm/sysdep.S: Likewise.
2369 * sysdeps/unix/i386/sysdep.S: Likewise.
2370 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2371 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2372 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2373 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2374 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2375 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2376 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2377 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2378 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2379 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2380 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2381 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2382 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2385 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2387 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2388 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2389 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2390 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2392 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2393 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2394 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2395 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2397 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2398 * sysdeps/x86_64/setjmp.S: Likewise.
2400 * include/math.h: Use IS_IN instead of IS_IN_libm.
2401 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2402 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2403 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2411 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2412 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2413 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2416 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2417 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2418 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2419 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2420 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2421 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2422 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2423 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2424 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2425 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2426 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2427 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2428 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2429 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2430 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2431 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2432 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2433 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2444 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2445 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2446 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2447 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2448 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2449 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2455 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2456 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2457 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2458 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2459 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2460 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2461 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2463 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2464 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2465 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2466 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2467 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2468 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2470 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2472 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2473 * nptl/pthreadP.h: Likewise.
2474 * nptl_db/structs.def: Likewise.
2475 * sysdeps/arm/sysdep.h: Likewise.
2476 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2477 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2478 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2479 * sysdeps/unix/alpha/sysdep.h: Likewise.
2480 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2481 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2482 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2483 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2484 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2485 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2486 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2487 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2488 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2489 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2490 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2491 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2492 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2493 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2496 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2497 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2498 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2501 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2502 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2503 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2504 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2505 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2507 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2508 * nptl/pthreadP.h: Likewise.
2509 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2510 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2511 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2512 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2513 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2514 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2515 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2516 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2517 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2518 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2519 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2520 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2527 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2528 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2529 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2530 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2531 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2532 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2534 * dlfcn/dladdr.c: Use IS_IN.
2535 * dlfcn/dladdr1.c: Likewise.
2536 * dlfcn/dlclose.c: Likewise.
2537 * dlfcn/dlerror.c: Likewise.
2538 * dlfcn/dlinfo.c: Likewise.
2539 * dlfcn/dlmopen.c: Likewise.
2540 * dlfcn/dlopen.c: Likewise.
2541 * dlfcn/dlsym.c: Likewise.
2542 * dlfcn/dlvsym.c: Likewise.
2544 * include/ifaddrs.h: Use IS_IN.
2545 * inet/check_pf.c: Likewise.
2546 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2547 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2549 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2551 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2552 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2554 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2555 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2558 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2560 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2561 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2562 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2563 * include/libc-symbols.h (IS_IN_LIB): New macro.
2564 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2565 * include/netdb.h: Likewise.
2566 * include/stap-probe.h: Remove all uses of IN_LIB.
2568 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2569 instead of IN_MODULE.
2570 * include/libc-symbols.h (IN_MODULE): Define using
2572 (PASTE_NAME, PASTE_NAME1): New macros.
2573 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2575 (STAP_PROBE_ASM): Likewise.
2577 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2579 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2580 __mach_init in dlopened libc.
2582 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2584 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2585 * sysdeps/arm/preconfigure: Regenerate.
2587 2014-11-21 Roland McGrath <roland@hack.frob.com>
2589 * nptl/pthread_create.c (__pthread_create_2_1): Set
2590 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2591 when copying values from IATTR into PD.
2593 2014-11-21 Will Newton <will.newton@linaro.org>
2594 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2596 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2597 Refactor inline-asm. Also add comment.
2599 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2600 ElfW macro instead of hardcoded Elf64 types.
2601 (la_aarch64_gnu_pltenter): Likewise.
2602 * sysdeps/aarch64/dl-machine.h
2603 (elf_machine_runtime_setup): Use ElfW(Addr).
2605 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2606 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2607 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2608 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2609 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2610 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2611 (R_AARCH64_TLS_DTPMOD): This.
2612 (R_AARCH64_TLS_DTPREL64): Rename to ...
2613 (R_AARCH64_TLS_DTPREL): This.
2614 (R_AARCH64_TLS_TPREL64): Rename to ...
2615 (R_AARCH64_TLS_TPREL): This.
2616 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2617 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2618 R_AARCH64_TLS_TPREL64.
2619 (elf_machine_rela): Likewise.
2621 2014-11-21 Torvald Riegel <triegel@redhat.com>
2623 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2624 by setting it to 0. 64b atomics are not supported currently.
2626 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2629 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2630 search domain names.
2632 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2636 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2638 * posix/tst-getaddrinfo5.c: New.
2639 * posix/Makefile (tests): Add it.
2641 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2645 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2646 after parsing line but before break_if_match.
2647 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2648 if there is a protocol mismatch.
2650 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2652 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2653 because the potential race is on the user-supplied stream.
2655 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2657 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2658 string literal if not passed a buffer.
2659 * manual/job.texi (ctermid): Update reasoning, note deviation
2660 from posix, suggest mtasurace when not passed a buffer, for
2661 future non-preliminary safety notes.
2663 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2665 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2666 of not passing it a buffer.
2667 Reported by Peng Haitao.
2669 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2671 * manual/Makefile ($(objpfx)stamp-summary): Require
2672 check-safety.sh to pass.
2673 * manual/check-safety.sh: Wish for verification that every
2674 @deftypefn and @deftypefun is followed by a @safety remark.
2676 2014-11-20 Roland McGrath <roland@hack.frob.com>
2678 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2680 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2681 PTHREAD_CANCEL_ASYNCHRONOUS.
2682 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2685 * nptl/default-sched.h: New file.
2686 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2687 * nptl/pthread_create.c: Include it.
2688 (__pthread_create_2_1): Use collect_default_sched instead of making
2689 Linux syscalls here directly.
2691 2014-11-20 Torvald Riegel <triegel@redhat.com>
2693 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2694 __pthread_once): Use C11 atomics.
2696 2014-11-20 Torvald Riegel <triegel@redhat.com>
2698 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2700 2014-11-20 Torvald Riegel <triegel@redhat.com>
2702 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2703 atomic_thread_fence_acquire, atomic_thread_fence_release,
2704 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2705 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2706 atomic_compare_exchange_weak_relaxed,
2707 atomic_compare_exchange_weak_acquire,
2708 atomic_compare_exchange_weak_release,
2709 atomic_exchange_acquire, atomic_exchange_release,
2710 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2711 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2712 atomic_fetch_and_acquire,
2713 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2715 2014-11-20 Torvald Riegel <triegel@redhat.com>
2717 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2718 USE_ATOMIC_COMPILER_BUILTINS): Define.
2719 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2720 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2721 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2722 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2723 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2724 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2725 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2726 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2727 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2728 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2729 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2730 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2731 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2732 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2733 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2734 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2735 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2736 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2737 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2738 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2739 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2740 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2741 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2742 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2743 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2744 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2745 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2746 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2747 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2748 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2749 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2750 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2751 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2752 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2753 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2754 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2755 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2756 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2757 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2758 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2760 2014-11-19 Roland McGrath <roland@hack.frob.com>
2762 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2763 the sched_priority value here. It was already checked when the user
2764 called pthread_attr_setschedparam.
2766 * nptl/tst-bad-schedattr.c: New file.
2767 * nptl/Makefile (tests): Add it.
2769 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2770 Florian Weimer <fweimer@redhat.com>
2771 Joseph Myers <joseph@codesourcery.com>
2772 Adam Conrad <adconrad@0c3.net>
2773 Andreas Schwab <schwab@suse.de>
2774 Brooks <bmoses@google.com>
2777 * wordexp-test.c (__dso_handle): Add prototype.
2778 (__register_atfork): Likewise.
2779 (__app_register_atfork): New function.
2780 (registered_forks): New global.
2781 (register_fork): New function.
2782 (test_case): Add 3 new tests for WRDE_CMDSUB.
2783 (main): Call __app_register_atfork.
2784 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2785 fork count is non-zero fail the test.
2786 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2788 (parse_dollars): Remove check for WRDE_NOCMD.
2789 (parse_dquote): Likewise.
2791 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2793 * Makeconfig (built-modules): List non-library modules to be
2795 (module-cppflags): Include libc-modules.h for
2796 everything except shlib-versions.v.i.
2798 (before-compile): Add libc-modules.h.
2799 ($(common-objpfx)libc-modules.h,
2800 $(common-objpfx)libc-modules.stmp): New targets.
2801 (common-generated): Add libc-modules.h and libc-modules.stmp.
2802 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2803 * include/libc-symbols.h: Don't include libc-modules.h.
2804 * include/libc-modules.h: Remove file.
2805 * scripts/gen-libc-modules.awk: New script to generate
2807 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2808 Depend on libc-modules.stmp.
2810 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2812 * Makeconfig (in-module): Get value of libof set for the
2814 (CPPFLAGS): Use $(in-module).
2815 * Makerules: Don't suffix routine names for nonlib.
2816 * include/libc-modules.h: New file.
2817 * include/libc-symbols.h: Include libc-modules.h
2818 (IS_IN): New macro to replace IS_IN_* macros.
2819 * elf/Makefile: Set libof-* for each routine.
2820 * elf/rtld-Rules: Likewise.
2821 * extra-modules.mk: Likewise.
2822 * iconv/Makefile: Likewise.
2823 * iconvdata/Makefile: Likewise.
2824 * locale/Makefile: Likewise.
2825 * malloc/Makefile: Likewise.
2826 * nss/Makefile: Likewise.
2827 * sysdeps/gnu/Makefile: Likewise.
2828 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2829 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2830 * sysdeps/s390/s390-64/Makefile: Likewise.
2831 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2832 CPPFLAGS for nscd instead of nonlib.
2834 2014-11-18 Roland McGrath <roland@hack.frob.com>
2836 * nptl/createthread.c: New file.
2838 * nptl/createthread.c: Moved ...
2839 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2841 * nptl/createthread.c: Add proper top-line comment.
2842 (do_clone): Folded into ...
2843 (create_thread): ... here. Take new arguments STOPPED_START and
2844 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2845 increment __nptl_threads, do event-reporting logic, do
2846 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2847 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2848 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2849 just send SIGCANCEL.
2850 * nptl/pthread_create.c: Forward-declare create_thread before
2851 including createthread.c.
2852 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2853 declaration, and new macro START_THREAD_SELF to replace argument.
2854 Remove return statement.
2855 (report_thread_creation): New function.
2856 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2857 synchronization logic, and __nptl_nthreads increment here, around
2858 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2859 PD->parent_cancelhandling here, before create_thread. When
2860 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2861 __deallocate_stack, and ENOMEM translation here.
2863 2014-11-18 Joseph Myers <joseph@codesourcery.com>
2866 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2867 (mptwo): Rename to __mptwo.
2868 (__inv): Use __mptwo instead of mptwo.
2869 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2870 (mptwo): Rename to __mptwo.
2871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2872 of mpone and __mptwo instead of mptwo.
2873 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2876 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2877 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2878 of mpone and __mptwo instead of mptwo.
2879 (__mpranred): Use __mpone instead of mpone.
2880 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2882 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2883 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2884 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2885 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2886 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2887 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2888 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2889 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2890 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2891 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2892 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2893 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2894 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2895 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2896 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2897 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2898 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2899 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2900 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2902 2014-11-18 Tom de Vries <tom@codesoucery.com>
2904 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2905 replace BSD Handler xref with BSD Signal Handling.
2907 2014-11-17 Richard Henderson <rth@redhat.com>
2909 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2910 (_FP_PACK_RAW_2): Remove.
2911 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2912 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2913 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2914 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2915 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2916 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2917 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2918 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2919 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2920 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2921 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2922 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2923 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2924 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2925 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2926 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2928 2014-11-14 Roland McGrath <roland@hack.frob.com>
2930 * signal/signal.h [__USE_MISC]
2931 (struct sigvec): Remove type.
2932 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2933 (sigvec): Remove declaration.
2934 * sysdeps/posix/sigvec.c: Moved ...
2935 * signal/sigvec.c: ... here, replacing old file.
2936 (struct sigvec): New type, copied from old signal.h definition.
2937 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2938 (__sigvec): Convert definition to prototype.
2939 (sigvec): Replace weak_alias with compat_symbol.
2940 * signal/Versions (libc: GLIBC_2.21): New version set.
2941 * include/signal.h: Remove __sigvec declaration.
2942 * sysdeps/unix/bsd/sigvec.c: Remove file.
2943 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2944 * manual/signal.texi (BSD Handler): Remove subsection.
2945 Move siginterrupt up to ...
2946 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2947 (Blocking in BSD): Fold subsection into its parent.
2948 * NEWS: Mention sigvec removal.
2950 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2952 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2953 (DLA_FMS): Make definition conditional only on [__FMA4__].
2954 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2957 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2958 Make definition conditional only on [PROF].
2959 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2961 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2962 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2964 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2966 * include/signal.h (__sigpause): Move declaration above call to
2968 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2970 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2971 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2973 2014-11-14 David S. Miller <davem@davemloft.net>
2975 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2976 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2978 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2980 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2981 * configure: Regenerated.
2982 * manual/install.texi (Tools for Compilation): Document a
2983 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2984 compiler verified to work.
2985 * INSTALL: Regenerated.
2987 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2988 redeclare with asm name.
2989 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2990 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2991 including <string.h>.
2992 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2993 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2994 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2995 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2996 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2997 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2998 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3000 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3002 * stdlib/strtol.c (__strtol): Use prototype definition.
3005 * stdlib/strtol.c (SYM__): New macro.
3007 (__strtol): Likewise.
3008 (strtol): Rename to __strtol and define as weak alias of
3009 __strtol. Use libc_hidden_weak.
3011 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3013 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3014 Use numbered labels in inline assembly.
3016 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3018 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3019 Add setjmp LIBC_PROBE.
3020 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3022 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3023 Add longjmp, longjmp_target LIBC_PROBE.
3024 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3027 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3029 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3030 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3031 to get rid of unused variable warning.
3033 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3035 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3036 Check for unwind_backtrace == NULL only in SHARED case.
3037 (__backchain_backtrace): Compile only in SHARED case.
3038 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3040 (__backchain_backtrace): Declare as static.
3042 2014-11-12 Roland McGrath <roland@hack.frob.com>
3044 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3045 (__libc_multiple_threads_ptr): Variable moved ...
3046 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3048 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3050 * conform/GlibcConform.pm: New file.
3051 * conform/conformtest.pl: Use GlibcConform module.
3052 * conform/linknamespace.pl: New file.
3053 * conform/list-header-symbols.pl: Likewise.
3054 * conform/Makefile (linknamespace-symlists-base): New variable.
3055 (linknamespace-symlists-tests): Likewise.
3056 (linknamespace-header-base): Likewise.
3057 (linknamespace-header-tests): Likewise.
3058 (tests-special): Add new tests.
3059 ($(linknamespace-symlists-tests)): New rule.
3060 (linknamespace-libs): New variable.
3061 ($(objpfx)symlist-stdlibs): New rule.
3062 ($(linknamespace-header-tests)): Likewise.
3063 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3064 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3065 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3066 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3067 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3068 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3069 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3070 (test-xfail-ISO/math.h/linknamespace): Likewise.
3071 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3072 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3073 (test-xfail-ISO/time.h/linknamespace): Likewise.
3074 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3075 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3076 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3077 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3078 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3079 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3080 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3081 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3082 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3083 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3084 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3085 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3086 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3087 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3088 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3089 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3090 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3091 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3092 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3093 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3094 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3095 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3096 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3097 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3098 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3099 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3100 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3101 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3102 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3103 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3104 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3105 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3106 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3107 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3108 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3109 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3110 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3111 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3112 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3113 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3114 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3115 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3116 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3117 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3118 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3119 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3120 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3121 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3122 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3123 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3124 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3125 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3126 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3127 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3128 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3129 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3130 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3131 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3132 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3133 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3134 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3135 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3136 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3137 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3138 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3139 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3140 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3141 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3142 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3143 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3144 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3145 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3146 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3147 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3148 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3149 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3150 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3151 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3152 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3153 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3154 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3155 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3156 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3157 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3158 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3159 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3160 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3161 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3162 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3163 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3164 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3165 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3166 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3167 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3168 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3169 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3170 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3171 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3172 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3173 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3174 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3175 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3176 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3177 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3178 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3179 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3180 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3181 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3182 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3183 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3184 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3185 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3186 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3187 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3188 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3189 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3190 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3191 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3192 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3193 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3194 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3195 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3196 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3197 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3198 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3199 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3200 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3201 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3202 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3203 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3204 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3205 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3206 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3207 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3208 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3209 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3210 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3211 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3212 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3213 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3214 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3215 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3216 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3217 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3218 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3219 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3220 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3221 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3222 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3223 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3226 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3230 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3231 (memmem): Rename to __memmem and define as weak alias of
3232 __memmem. Use libc_hidden_weak.
3233 (__memmem): Use libc_hidden_def.
3234 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3235 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3239 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3240 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3241 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3242 and define as weak alias of __fgets_unlocked. Use
3244 (__fgets_unlocked): Use libc_hidden_def.
3245 * include/stdio.h (__fgets_unlocked): Declare. Use
3247 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3248 __fgets_unlocked instead of fgets_unlocked.
3249 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3250 (GET_NPROCS_CONF_PARSER): Likewise.
3251 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3252 (GET_NPROCS_CONF_PARSER): Likewise.
3255 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3256 weak alias of __wmemset. Use libc_hidden_weak.
3257 (__wmemset): Use libc_hidden_def.
3258 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3259 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3263 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3264 with asm name __mempcpy.
3265 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3268 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3269 and define as weak alias of __rawmemchr.
3270 (__rawmemchr): Do not define as strong alias of rawmemchr.
3273 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3275 (qsort): Call __qsort_r instead of qsort_r.
3276 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3277 (__qsort_r): Declare. Call libc_hidden_proto.
3278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3280 * nscd/gai.c (__qsort_r): Define to qsort_r.
3281 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3282 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3283 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3286 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3287 define as weak alias of __malloc_info.
3290 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3291 as weak alias of __rewinddir. Don't use libc_hidden_def.
3292 (__rewinddir): Use libc_hidden_def.
3293 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3294 as weak alias of __rewinddir. Don't use libc_hidden_def.
3295 (__rewinddir): Use libc_hidden_def.
3296 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3297 weak alias of __rewinddir. Don't use libc_hidden_def.
3298 (__rewinddir): Use libc_hidden_def.
3299 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3300 (__rewinddir): Use libc_hidden_proto.
3301 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3303 (__getcwd): Use __rewinddir instead of rewinddir.
3306 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3307 alias of __fileno. Use libc_hidden_weak.
3308 (__fileno): Use libc_hidden_def.
3309 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3310 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3312 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3314 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3315 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3317 (fread_unlocked): Don't use libc_hidden_ver.
3318 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3319 and define as weak alias of __fread_unlocked. Don't use
3321 (__fread_unlocked): Use libc_hidden_def.
3322 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3323 (ftello): Don't use libc_hidden_proto.
3324 (__ftello): Declare. Use libc_hidden_proto.
3325 (fread_unlocked): Don't use libc_hidden_proto.
3326 (__fread_unlocked): Declare. Use libc_hidden_proto.
3327 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3328 and __ftello instead of fileno, fread_unlocked and ftello.
3330 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3332 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3334 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3336 (_dl_start_user): Likewise.
3337 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3339 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3340 Siddhesh Poyarekar <siddhesh@redhat.com>
3342 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3343 Move argv and envp down instead of moving argc up.
3344 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3346 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3349 * test-skeleton.c (main): Return successful if one of
3350 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3351 * string/tst-strcoll-overflow.c: Define expected status.
3353 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3356 * locale/iso-639.def: Define Bhili and Tulu language codes.
3358 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3360 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3362 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3365 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3367 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3369 * configure.ac: Updated check of minimal required version to
3371 * manual/install.texi (Tools for Compilation): Updated version
3373 * configure: Regenerated.
3374 * INSTALL: Likewise.
3376 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3378 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3381 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3383 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3384 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3385 (__waitpid): Don't define as alias. Use libc_hidden_def not
3387 (waitpid): Define as alias of __waitpid.
3388 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3390 (__waitpid): Don't define as alias. Use libc_hidden_def not
3392 (waitpid): Define as alias of __waitpid.
3393 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3394 __libc_waitpid alias.
3395 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3396 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3398 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3399 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3400 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3402 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3404 (__waitpid): Don't define as alias. Use libc_hidden_def not
3406 (waitpid): Define as alias of __waitpid.
3408 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3410 * manual/llio.texi: Add comment that write safety has been
3413 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3414 (localplt-build-dso): Add elf/ld.so.
3415 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3416 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3419 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3424 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3425 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3426 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3427 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3428 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3429 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3430 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3431 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3432 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3433 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3434 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3436 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3439 * include/libc-symbols.h (INTUSE): Remove macro.
3441 (INTVARDEF): Likewise.
3442 (_INTVARDEF): Likewise.
3443 (INTDEF2): Likewise.
3444 (INTVARDEF2): Likewise.
3445 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3446 rtld_hidden_def instead of INTVARDEF.
3447 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3448 (_dl_starting_up_internal): Remove declaration.
3449 (_dl_starting_up): Use rtld_hidden_proto.
3450 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3452 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3453 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3455 * elf/dl-writev.h (_dl_writev): Likewise.
3456 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3457 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3458 _dl_starting_up_internal.
3460 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3462 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3465 2014-11-05 Will Newton <will.newton@linaro.org>
3467 * benchtests/Makefile: (bench-malloc): Add malloc thread
3468 scalability benchmark.
3469 * benchtests/bench-malloc-threads.c: New file.
3471 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3473 * sysdeps/aarch64/strchrnul.S: New file.
3475 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3477 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3479 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3481 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3483 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3485 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3487 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3490 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3492 * catgets/test-gencat.c: Use test-skeleton.c.
3493 * catgets/tst-catgets.c: Likewise.
3494 * csu/tst-empty.c: Likewise.
3495 * elf/tst-audit2.c: Likewise.
3496 * elf/tst-global1.c: Likewise.
3497 * elf/tst-pathopt.c: Likewise.
3498 * elf/tst-piemod1.c: Likewise.
3499 * elf/tst-tls10.c: Likewise.
3500 * elf/tst-tls11.c: Likewise.
3501 * elf/tst-tls12.c: Likewise.
3502 * gnulib/tst-gcc.c: Likewise.
3503 * iconvdata/tst-e2big.c: Likewise.
3504 * iconvdata/tst-loading.c: Likewise.
3505 * iconv/tst-iconv1.c: Likewise.
3506 * iconv/tst-iconv2.c: Likewise.
3507 * inet/test-inet6_opt.c: Likewise.
3508 * inet/tst-gethnm.c: Likewise.
3509 * inet/tst-network.c: Likewise.
3510 * inet/tst-ntoa.c: Likewise.
3511 * intl/tst-codeset.c: Likewise.
3512 * intl/tst-gettext2.c: Likewise.
3513 * intl/tst-gettext3.c: Likewise.
3514 * intl/tst-ngettext.c: Likewise.
3515 * intl/tst-translit.c: Likewise.
3516 * io/test-stat.c: Likewise.
3517 * libio/test-fmemopen.c: Likewise.
3518 * libio/tst-freopen.c: Likewise.
3519 * libio/tst-sscanf.c: Likewise.
3520 * libio/tst-ungetwc1.c: Likewise.
3521 * libio/tst-ungetwc2.c: Likewise.
3522 * libio/tst-widetext.c: Likewise.
3523 * localedata/tst-ctype.c: Likewise.
3524 * localedata/tst-digits.c: Likewise.
3525 * localedata/tst-leaks.c: Likewise.
3526 * localedata/tst-mbswcs1.c: Likewise.
3527 * localedata/tst-mbswcs2.c: Likewise.
3528 * localedata/tst-mbswcs3.c: Likewise.
3529 * localedata/tst-mbswcs4.c: Likewise.
3530 * localedata/tst-mbswcs5.c: Likewise.
3531 * localedata/tst-setlocale.c: Likewise.
3532 * localedata/tst-trans.c: Likewise.
3533 * localedata/tst-wctype.c: Likewise.
3534 * localedata/tst-xlocale1.c: Likewise.
3535 * login/tst-grantpt.c: Likewise.
3536 * malloc/tst-calloc.c: Likewise.
3537 * malloc/tst-malloc.c: Likewise.
3538 * malloc/tst-mallocstate.c: Likewise.
3539 * malloc/tst-mcheck.c: Likewise.
3540 * malloc/tst-mtrace.c: Likewise.
3541 * malloc/tst-obstack.c: Likewise.
3542 * math/atest-exp2.c: Likewise.
3543 * math/atest-exp.c: Likewise.
3544 * math/atest-sincos.c: Likewise.
3545 * math/test-matherr.c: Likewise.
3546 * math/test-misc.c: Likewise.
3547 * math/test-powl.c: Likewise.
3548 * math/tst-definitions.c: Likewise.
3549 * misc/tst-dirname.c: Likewise.
3550 * misc/tst-efgcvt.c: Likewise.
3551 * misc/tst-fdset.c: Likewise.
3552 * misc/tst-hsearch.c: Likewise.
3553 * misc/tst-mntent2.c: Likewise.
3554 * nptl/tst-sem7.c: Likewise.
3555 * nptl/tst-sem8.c: Likewise.
3556 * nptl/tst-sem9.c: Likewise.
3557 * nss/test-netdb.c: Likewise.
3558 * posix/tst-fnmatch.c: Likewise.
3559 * posix/tst-getlogin.c: Likewise.
3560 * posix/tst-gnuglob.c: Likewise.
3561 * posix/tst-mmap.c: Likewise.
3562 * pwd/tst-getpw.c: Likewise.
3563 * resolv/tst-inet_ntop.c: Likewise.
3564 * rt/tst-timer.c: Likewise.
3565 * stdio-common/test-fseek.c: Likewise.
3566 * stdio-common/test-popen.c: Likewise.
3567 * stdio-common/test-vfprintf.c: Likewise.
3568 * stdio-common/tst-cookie.c: Likewise.
3569 * stdio-common/tst-fileno.c: Likewise.
3570 * stdio-common/tst-gets.c: Likewise.
3571 * stdio-common/tst-obprintf.c: Likewise.
3572 * stdio-common/tst-perror.c: Likewise.
3573 * stdio-common/tst-sprintf2.c: Likewise.
3574 * stdio-common/tst-sprintf3.c: Likewise.
3575 * stdio-common/tst-sprintf.c: Likewise.
3576 * stdio-common/tst-swprintf.c: Likewise.
3577 * stdio-common/tst-tmpnam.c: Likewise.
3578 * stdio-common/tst-unbputc.c: Likewise.
3579 * stdio-common/tst-wc-printf.c: Likewise.
3580 * stdlib/tst-environ.c: Likewise.
3581 * stdlib/tst-fmtmsg.c: Likewise.
3582 * stdlib/tst-limits.c: Likewise.
3583 * stdlib/tst-rand48-2.c: Likewise.
3584 * stdlib/tst-rand48.c: Likewise.
3585 * stdlib/tst-random2.c: Likewise.
3586 * stdlib/tst-random.c: Likewise.
3587 * stdlib/tst-strtol.c: Likewise.
3588 * stdlib/tst-strtoll.c: Likewise.
3589 * stdlib/tst-tls-atexit.c: Likewise.
3590 * stdlib/tst-xpg-basename.c: Likewise.
3591 * string/test-ffs.c: Likewise.
3592 * string/tst-bswap.c: Likewise.
3593 * string/tst-inlcall.c: Likewise.
3594 * string/tst-strtok.c: Likewise.
3595 * string/tst-strxfrm.c: Likewise.
3596 * sysdeps/x86_64/tst-audit10.c: Likewise.
3597 * sysdeps/x86_64/tst-audit3.c: Likewise.
3598 * sysdeps/x86_64/tst-audit4.c: Likewise.
3599 * sysdeps/x86_64/tst-audit5.c: Likewise.
3600 * time/tst-ftime_l.c: Likewise.
3601 * time/tst-getdate.c: Likewise.
3602 * time/tst-mktime3.c: Likewise.
3603 * time/tst-mktime.c: Likewise.
3604 * time/tst-posixtz.c: Likewise.
3605 * time/tst-strptime2.c: Likewise.
3606 * time/tst-strptime3.c: Likewise.
3607 * wcsmbs/tst-btowc.c: Likewise.
3608 * wcsmbs/tst-mbrtowc.c: Likewise.
3609 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3610 * wcsmbs/tst-wchar-h.c: Likewise.
3611 * wcsmbs/tst-wcpncpy.c: Likewise.
3612 * wcsmbs/tst-wcrtomb.c: Likewise.
3613 * wcsmbs/tst-wcsnlen.c: Likewise.
3614 * wcsmbs/tst-wcstof.c: Likewise.
3616 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3619 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3621 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3623 (_dl_mcount): Use rtld_hidden_proto.
3624 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3626 * elf/rtld.c (_rtld_global_ro): Likewise.
3629 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3630 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3631 of _dl_init_internal.
3632 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3633 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3634 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3635 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3636 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3637 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3638 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3639 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3640 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3641 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3642 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3643 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3644 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3645 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3646 * sysdeps/tile/dl-start.S (_start): Likewise.
3647 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3648 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3651 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3652 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3653 (rtld_progname): Make macro definition unconditional.
3654 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3656 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3657 (dl_main): Likewise.
3658 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3659 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3660 instead of _dl_argv_internal.
3661 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3662 __GI__dl_argv instead of INTUSE(_dl_argv).
3663 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3664 __GI__dl_argv instead of _dl_argv_internal.
3666 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3667 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3669 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3670 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3672 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3673 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3675 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3676 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3678 2014-11-04 Andreas Schwab <schwab@suse.de>
3680 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3682 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3684 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3685 mtvsrd instruction in binary form.
3687 2014-11-03 Andreas Schwab <schwab@suse.de>
3690 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3691 for less than MB_LEN_MAX use a local buffer of that size.
3692 * libio/tst-fputws.c: New file.
3693 * libio/Makefile (tests): Add tst-fputws.
3695 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3697 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3698 the size of the fpu_fr.fpu_dregs[] array.
3700 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3702 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3703 (__nanosleep): Do not define as alias.
3704 (nanosleep): Define as alias of __nanosleep.
3705 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3706 __libc_nanosleep name.
3708 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3710 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3711 install.texi in comment.
3713 2014-10-31 Torvald Riegel <triegel@redhat.com>
3715 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3716 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3717 ... add here and use lwsync or sync ...
3718 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3719 ... and add here using lwsync.
3721 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3723 * elf/dl-machine-reject-phdr.h: New file.
3724 * elf/dl-load.c: #include that.
3725 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3726 if that returned true.
3728 2014-10-31 Roland McGrath <roland@hack.frob.com>
3731 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3732 gen-as-const-headers chunk. Add a big scare comment after the last
3733 safe place to touch before-compile.
3735 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3737 * manual/install.texi (Tools for Compilation): Update autoconf
3738 version requirements.
3739 * INSTALL: Regenerated.
3741 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3742 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3743 (__libc_pselect): Likewise.
3746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3751 2014-10-31 Torvald Riegel <triegel@redhat.com>
3753 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3754 correct barrier instruction.
3755 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3757 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3760 2014-10-30 Roland McGrath <roland@hack.frob.com>
3762 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3763 after defining inlines. Instead, just use parens to defeat macro
3764 expansion of __isctype in its declaration.
3766 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3768 * include/sys/uio.h (__libc_readv): Remove declaration.
3769 (__libc_writev): Likewise.
3770 * misc/readv.c (__libc_readv): Rename to __readv.
3771 (__readv): Do not define as alias.
3772 (readv): Define as alias of __readv.
3773 * misc/writev.c (__libc_writev): Rename to __writev.
3774 (__writev): Do not define as alias.
3775 (writev): Define as alias of __writev.
3776 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3777 (__readv): Do not define as alias.
3778 (readv): Define unconditionally as alias of __readv.
3779 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3780 (__writev): Do not define as alias.
3781 (writev): Define unconditionally as alias of __writev.
3782 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3784 (writev): Do not define __libc_writev name.
3786 2014-10-30 Roland McGrath <roland@hack.frob.com>
3788 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3789 (convert_charseq): New function, broken out of ...
3790 (use_from_charmap): ... here. Call it.
3791 (use_to_charmap): Use convert_charseq and free instead of duplicating
3792 its code with a variable-length stack struct.
3794 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3796 * include/fcntl.h (__libc_creat): Remove declaration.
3797 * io/creat.c (__libc_creat): Rename to creat.
3798 (creat): Do not define as alias.
3799 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3800 of creat instead of __libc_creat.
3801 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3803 (creat): Do not define as alias.
3804 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3806 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3808 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3811 2014-10-29 Carlos O'Donell <carlos@redhat.com>
3813 * manual/llio.texi: Add comments discussing why write() may be
3814 considered MT-unsafe on Linux.
3816 2014-10-28 Carlos O'Donell <carlos@redhat.com>
3818 * dl-load.c (local_strdup): Remove.
3819 (expand_dynamic_string_token): Use __strdup.
3820 (decompose_rpath): Likewise.
3821 (_dl_map_object): Likewise.
3823 2014-10-28 Joseph Myers <joseph@codesourcery.com>
3826 * sysdeps/generic/unwind-dw2-fde.c
3827 (__register_frame_info_bases_internal): Do not declare.
3828 (__register_frame_info_table_bases_internal): Likewise.
3829 (__deregister_frame_info_bases_internal): Likewise.
3830 (__register_frame_info_bases): Declare and use hidden_proto before
3831 definition. Use hidden_def instead of INTDEF.
3832 (__register_frame_info_table_bases): Likewise.
3833 (__deregister_frame_info_bases): Likewise.
3834 (__register_frame_info): Do not use INTUSE.
3835 (__register_frame): Likewise.
3836 (__register_frame_info_table): Likewise.
3837 (__register_frame_table): Likewise.
3838 (__deregister_frame_info): Likewise.
3839 (__deregister_frame): Likewise.
3841 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3843 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3844 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3846 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3848 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3851 2014-10-27 Joseph Myers <joseph@codesourcery.com>
3854 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3855 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3856 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3857 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3858 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3859 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3860 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3861 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3862 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3863 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3864 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3865 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3866 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3868 (setfsuid): Likewise.
3869 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3870 (setfsuid): Likewise.
3871 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3872 (setfsuid): Likewise.
3873 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3875 (setfsuid): Likewise.
3876 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3877 (setfsuid): Likewise.
3878 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3880 (setfsuid): Likewise.
3882 2014-10-27 Andreas Schwab <schwab@suse.de>
3885 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3886 check for Slow_SSE4_2 feature bit.
3887 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3888 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3889 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3890 Likewise. Fix check for Fast_Unaligned_Load feature bit.
3892 2014-10-24 Roland McGrath <roland@hack.frob.com>
3894 * configure.ac: Validate compiler version with a empirical test of
3895 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3897 * configure: Regenerated.
3899 * inet/htons.c (htons): Prototypify.
3900 * inet/htonl.c (htonl): Likewise.
3902 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3904 * string/strncat.c (strncat): Improve performance by using strlen.
3906 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3908 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3910 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3912 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3913 Call libc_fetestexcept_aarch64.
3915 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3917 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3918 Call libc_feholdexcept_aarch64.
3920 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3922 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3923 Call get_rounding_mode.
3925 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3927 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3930 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3932 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3935 2014-10-24 Joseph Myers <joseph@codesourcery.com>
3938 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3939 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3940 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3941 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3942 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3943 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3944 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3945 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3946 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3947 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3948 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3949 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3950 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3951 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3952 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3953 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3954 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3955 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3956 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3957 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3958 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3959 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3960 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3961 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3962 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3963 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3964 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3965 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3966 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3967 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3968 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3969 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3970 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3971 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3972 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3974 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3975 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3976 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3977 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3978 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3980 (geteuid): Likewise.
3983 (getresgid): Likewise.
3984 (getresuid): Likewise.
3985 (getgroups): Likewise.
3986 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3987 (geteuid): Likewise.
3990 (getresgid): Likewise.
3991 (getresuid): Likewise.
3992 (getgroups): Likewise.
3993 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3994 (geteuid): Likewise.
3997 (getresgid): Likewise.
3998 (getresuid): Likewise.
3999 (getgroups): Likewise.
4000 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4002 (geteuid): Likewise.
4005 (getresgid): Likewise.
4006 (getresuid): Likewise.
4007 (getgroups): Likewise.
4008 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4009 (geteuid): Likewise.
4012 (getresgid): Likewise.
4013 (getresuid): Likewise.
4014 (getgroups): Likewise.
4015 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4017 (geteuid): Likewise.
4020 (getgroups): Likewise.
4023 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4024 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4025 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4026 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4027 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4028 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4029 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4030 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4031 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4032 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4033 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4034 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4035 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4037 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4040 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4044 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4047 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4052 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4054 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4057 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4059 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4062 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4064 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4065 Remove unused include.
4067 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4069 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4070 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4071 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4072 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4074 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4075 Helge Deller <deller@gmx.de>
4078 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4079 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4080 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4082 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4085 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4086 Remove macro definition.
4087 (__ashrdi3_v_glibc20): Likewise.
4088 (__lshrdi3_v_glibc20): Likewise.
4089 (__cmpdi2_v_glibc20): Likewise.
4090 (__ucmpdi2_v_glibc20): Likewise.
4091 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4092 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4093 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4094 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4095 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4096 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4098 2014-10-22 Roland McGrath <roland@hack.frob.com>
4100 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4101 old GNU extension [0] syntax.
4102 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4103 alloca rather than an array member with variable length.
4104 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4105 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4106 (parse_opt): ... here. Likewise use alloca there.
4107 Validate the -i argument before checking for rootness.
4108 (send_shutdown): New function, broken out of ...
4109 (parse_opt): ... here.
4111 2014-10-22 Roland McGrath <roland@hack.frob.com>
4113 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4114 macro to get at the _rt_local_ro field.
4115 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4116 ([PIC] case) or _dl_hwcap ([!PIC] case).
4117 * sysdeps/arm/setjmp.S: Likewise.
4119 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4120 * sysdeps/arm/configure.ac: New check to define it.
4121 * sysdeps/arm/configure: Regenerated.
4122 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4123 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4124 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4125 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4126 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4127 Use move/movt pair instead of a load.
4128 (LDST_GLOBAL): Macro removed.
4129 (LDR_GLOBAL): New macro replaces it.
4130 (LDR_HIDDEN): New macro.
4131 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4132 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4134 * setjmp/tst-setjmp-static.c: New file.
4135 * setjmp/Makefile (tests): Add it.
4136 (tests-static): New variable.
4138 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4141 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4143 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4146 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4148 2014-10-21 Roland McGrath <roland@hack.frob.com>
4150 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4152 2014-10-20 Roland McGrath <roland@hack.frob.com>
4154 * io/fts.c (dirent_not_directory): New function.
4155 (fts_build): Call it.
4157 2014-10-20 Roland McGrath <roland@hack.frob.com>
4159 * nptl/version.c (__nptl_main): Use normal __write rather than
4161 (banner): Update copyright years.
4163 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4165 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4166 * nptl/pthread_cond_timedwait.c: Likewise.
4167 * nptl/pthread_mutex_timedlock.c: Likewise.
4168 * nptl/sem_timedwait.c: Likewise.
4170 * sysdeps/nptl/bits/libc-lock.h
4171 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4172 (__libc_lock_init_recursive): Return void, not 0.
4173 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4174 (__libc_rwlock_init): Likewise.
4175 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4177 2014-10-20 Torvald Riegel <triegel@redhat.com>
4180 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4181 (__pthread_once_slow): ... here.
4182 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4183 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4185 2014-10-20 Torvald Riegel <triegel@redhat.com>
4188 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4189 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4190 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4191 * nptl/pthread_once.c (__pthread_once): Likewise.
4194 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4197 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4199 (writev): Use __libc_writev as strong name.
4200 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4201 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4203 2014-10-17 Roland McGrath <roland@hack.frob.com>
4205 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4207 * sysdeps/i386/nptl/tls.h
4208 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4209 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4211 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4212 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4213 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4214 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4215 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4216 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4218 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4219 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4221 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4223 (__pthread_mutex_init): ... here. Call it.
4224 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4225 Conditionalize PI cases on [__NR_futex].
4226 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4227 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4228 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4230 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4231 conditional on [SIGSETXID].
4232 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4233 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4234 is defined. Likewise for SIGSETXID.
4235 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4236 Conditionalize definitions on [SIGSETXID].
4237 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4238 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4239 unblocking on [SIGCANCEL].
4241 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4242 [__NR_set_robust_list].
4244 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4246 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4247 (do_compare): Likewise.
4249 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4252 * string/strcoll_l.c: Don't include stdio.h.
4253 (coll_seq): Remove members idxarr and rulearr.
4254 (get_next_seq_cached): Remove function.
4255 (get_next_seq): Likewise.
4256 (get_next_seq_nocache): Rename to get_next_seq.
4257 (do_compare): Remove function.
4258 (do_compare_nocache): Rename to do_compare.
4259 (STRCOLL): Remove weight and rules cache.
4261 2014-10-16 Roland McGrath <roland@hack.frob.com>
4263 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4264 * sysdeps/arm/sfp-machine.h: ... to here.
4265 * sysdeps/arm/Implies: Remove arm/soft-fp.
4267 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4269 * conform/data/sys/utsname.h-data (*_t): Allow.
4270 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4271 [POSIX] (WEXITED): Do not expect constant.
4272 [POSIX] (WSTOPPED): Likewise.
4273 [POSIX] (WNOHANG): Likewise.
4274 [POSIX] (WNOWAIT): Likewise.
4275 [POSIX] (siginfo_t): Do not expect type or elements.
4276 [POSIX] (pid_t): Do not expect type.
4277 [POSIX] (signal.h): Do not allow header.
4278 [POSIX] (sys/resource.h): Likewise.
4279 [POSIX] (si_*): Do not allow pattern.
4280 [POSIX] (W*): Likewise.
4281 [POSIX] (P_*): Likewise.
4282 [POSIX] (BUS_*): Likewise.
4283 [POSIX] (CLD_*): Likewise.
4284 [POSIX] (FPE_*): Likewise.
4285 [POSIX] (ILL_*): Likewise.
4286 [POSIX] (POLL_*): Likewise.
4287 [POSIX] (SEGV_*): Likewise.
4288 [POSIX] (SI_*): Likewise.
4289 [POSIX] (TRAP_*): Likewise.
4290 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4293 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4296 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4297 infinite loop when __recvmsg returns 0.
4299 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4301 * CANCEL-FCT-WAIVE: Remove file.
4302 * CANCEL-FILE-WAIVE: Likewise.
4305 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4306 instead of INTVARDEF.
4307 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4308 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4309 rtld_hidden_data_def instead of INTVARDEF.
4310 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4311 * elf/dl-deps.c (expand_dst): Likewise.
4312 * elf/dl-load.c (_dl_dst_count): Likewise.
4313 (_dl_dst_substitute): Likewise.
4314 (decompose_rpath): Likewise.
4315 (_dl_init_paths): Likewise.
4316 (open_path): Likewise.
4317 (_dl_map_object): Likewise.
4318 * elf/rtld.c (dl_main): Likewise.
4319 (process_dl_audit): Likewise.
4320 (process_envvars): Likewise.
4321 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4323 (__libc_enable_secure): Use rtld_hidden_proto.
4325 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4328 (add_path): New function broken out of _dl_rtld_di_serinfo.
4329 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4331 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4333 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4334 parentheses around macro arguments.
4335 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4336 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4337 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4338 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4339 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4340 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4341 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4342 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4343 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4344 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4345 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4346 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4347 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4348 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4349 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4350 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4351 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4352 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4353 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4354 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4355 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4356 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4357 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4358 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4359 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4360 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4361 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4362 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4363 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4364 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4365 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4366 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4367 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4368 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4369 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4370 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4372 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4373 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4374 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4375 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4376 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4377 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4378 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4379 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4380 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4381 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4382 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4383 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4384 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4385 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4386 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4387 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4388 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4389 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4390 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4391 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4392 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4393 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4394 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4395 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4396 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4397 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4398 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4399 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4400 (_FP_FRAC_SRS_1): Likewise.
4401 (_FP_FRAC_CLZ_1): Likewise.
4402 (_FP_MUL_MEAT_1_imm): Likewise.
4403 (_FP_MUL_MEAT_1_wide): Likewise.
4404 (_FP_MUL_MEAT_1_hard): Likewise.
4405 (_FP_SQRT_MEAT_1): Likewise.
4406 (_FP_FRAC_ASSEMBLE_1): Likewise.
4407 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4408 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4409 (__FP_CLZ_2): Likewise.
4410 (_FP_MUL_MEAT_2_wide): Likewise.
4411 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4412 (_FP_MUL_MEAT_2_gmp): Likewise.
4413 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4414 (_FP_SQRT_MEAT_2): Likewise.
4415 (_FP_FRAC_ASSEMBLE_2): Likewise.
4416 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4417 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4418 (_FP_FRAC_CLZ_4): Likewise.
4419 (_FP_MUL_MEAT_4_wide): Likewise.
4420 (_FP_MUL_MEAT_4_gmp): Likewise.
4421 (_FP_SQRT_MEAT_4): Likewise.
4422 (_FP_FRAC_ASSEMBLE_4): Likewise.
4423 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4424 * soft-fp/op-common.h (_FP_CMP): Likewise.
4425 (_FP_CMP_EQ): Likewise.
4426 (_FP_CMP_UNORD): Likewise.
4427 (_FP_TO_INT): Likewise.
4428 (_FP_FROM_INT): Likewise.
4429 [!__FP_CLZ] (__FP_CLZ): Likewise.
4430 (_FP_DIV_HELP_imm): Likewise.
4431 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4433 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4434 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4435 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4436 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4437 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4439 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4440 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4441 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4444 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4445 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4446 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4447 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4448 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4449 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4450 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4451 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4452 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4453 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4454 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4455 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4456 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4457 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4458 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4459 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4460 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4462 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4463 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4464 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4465 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4466 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4467 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4468 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4469 (FP_UNPACK_RAW_SP): Likewise.
4470 (FP_PACK_RAW_S): Likewise.
4471 (FP_PACK_RAW_SP): Likewise.
4472 (FP_UNPACK_S): Likewise.
4473 (FP_UNPACK_SP): Likewise.
4474 (FP_UNPACK_SEMIRAW_S): Likewise.
4475 (FP_UNPACK_SEMIRAW_SP): Likewise.
4476 (FP_PACK_S): Likewise.
4477 (FP_PACK_SP): Likewise.
4478 (FP_PACK_SEMIRAW_S): Likewise.
4479 (FP_PACK_SEMIRAW_SP): Likewise.
4480 (_FP_SQRT_MEAT_S): Likewise.
4481 (FP_CMP_S): Likewise.
4482 (FP_CMP_EQ_S): Likewise.
4483 (FP_CMP_UNORD_S): Likewise.
4484 (FP_TO_INT_S): Likewise.
4485 (FP_FROM_INT_S): Likewise.
4487 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4489 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4490 (FP_EX_INVALID_IMZ): Likewise.
4491 (FP_EX_INVALID_IMZ_FMA): Likewise.
4492 (FP_EX_INVALID_ISI): Likewise.
4493 (FP_EX_INVALID_ZDZ): Likewise.
4494 (FP_EX_INVALID_IDI): Likewise.
4495 (FP_EX_INVALID_SQRT): Likewise.
4496 (FP_EX_INVALID_CVI): Likewise.
4497 (FP_EX_INVALID_VC): Likewise.
4498 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4499 "invalid" exceptions.
4500 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4501 (_FP_ADD_INTERNAL): Likewise.
4502 (_FP_MUL): Likewise.
4503 (_FP_FMA): Likewise.
4504 (_FP_DIV): Likewise.
4505 (_FP_CMP_CHECK_NAN): Likewise.
4506 (_FP_SQRT): Likewise.
4507 (_FP_TO_INT): Likewise.
4508 (FP_EXTEND): Likewise.
4510 2014-10-09 Allan McRae <allan@archlinux.org>
4512 * po/fr.po: Update French translation from translation project.
4514 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4517 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4519 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4520 (__cxa_atexit): Use libc_hidden_proto.
4521 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4524 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4526 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4527 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4528 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4529 [!_ISOMAC] (__iswctype_internal): Likewise.
4530 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4531 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4533 (fcntl): Remove __fcntl_internal alias.
4534 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4535 __connect_internal alias.
4536 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4539 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4540 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4542 (_FP_CHECK_FLUSH_ZERO): New macro.
4543 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4544 (_FP_CMP): Likewise.
4545 (_FP_CMP_EQ): Likewise.
4546 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4548 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4549 (FP_TRUNC): Likewise.
4551 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4552 treated as invalid conversion, not as normal exponent.
4554 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4555 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4556 (_FP_CMP_EQ): Likewise.
4557 (_FP_CMP_UNORD): Likewise.
4558 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4559 (FP_CMP_EQ_D): Likewise.
4560 (FP_CMP_UNORD_D): Likewise.
4561 * soft-fp/extended.h (FP_CMP_E): Likewise.
4562 (FP_CMP_EQ_E): Likewise.
4563 (FP_CMP_UNORD_E): Likewise.
4564 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4565 (FP_CMP_EQ_Q): Likewise.
4566 (FP_CMP_UNORD_Q): Likewise.
4567 * soft-fp/single.h (FP_CMP_S): Likewise.
4568 (FP_CMP_EQ_S): Likewise.
4569 (FP_CMP_UNORD_S): Likewise.
4570 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4571 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4572 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4573 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4574 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4575 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4576 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4577 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4578 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4579 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4580 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4581 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4582 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4584 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4586 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4587 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4589 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4591 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4592 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4593 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4594 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4596 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4598 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4599 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4601 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4603 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4604 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4605 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4606 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4609 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4610 a subnormal result, set the underflow exception if trapping on
4611 underflow is enabled.
4612 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4613 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4614 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4616 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4617 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4618 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4619 * soft-fp/extendxftf2.c (__extendxftf2): Use
4620 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4622 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4623 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4624 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4625 FP_HANDLE_EXCEPTIONS.
4626 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4627 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4628 FP_HANDLE_EXCEPTIONS.
4629 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4630 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4631 FP_HANDLE_EXCEPTIONS.
4632 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4633 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4634 FP_HANDLE_EXCEPTIONS.
4636 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4639 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4640 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4642 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4643 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4645 (__adjtimex): Define using libc_hidden_ver.
4646 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4648 (ntp_gettime): Call __adjtimex directly.
4649 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4651 (ntp_gettimex): Call __adjtimex directly.
4652 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4653 __adjtimex_internal alias.
4655 2014-10-08 Roland McGrath <roland@hack.frob.com>
4658 * nscd/nscd.c (more_help): Rewrite list of tables collection
4659 using xstrdup and asprintf.
4661 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4663 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4664 Roland McGrath <roland@hack.frob.com>
4666 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4667 (do_lookup_unique): ... local function 'enter' here; update callers.
4669 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4671 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4672 compat_symbol calls on [SHARED].
4673 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4674 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4676 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4677 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4678 (oldsetrlimit): Remove.
4679 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4681 (lchown): New syscall entry.
4682 (oldsetrlimit): Remove.
4683 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4684 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4685 (oldsetrlimit): Remove.
4686 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4689 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4690 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4691 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4692 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4693 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4694 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4696 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4701 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4703 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4704 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4705 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4706 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4707 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4709 (__old_sem_post): Likewise.
4711 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4713 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4714 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4715 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4716 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4717 Use INLINE_VSYSCALL macro.
4718 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4719 __vdso_clock_gettime.
4720 * sysdeps/unix/sysv/linux/tile/init-first.c
4721 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4722 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4723 __vdso_clock_gettime.
4725 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4726 to set up frame more cleanly.
4728 * sysdeps/tile/memcmp.c: New file.
4730 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4732 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4733 * sysdeps/tile/tilegx/strcasestr.c: New file.
4734 * sysdeps/tile/tilegx/strnlen.c: New file.
4735 * sysdeps/tile/tilegx/strstr.c: New file.
4737 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4739 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4741 * nptl/tst-setuid3.c: Write errors to stdout.
4743 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4746 (preload): New functions broken out of _dl_map_object_deps.
4747 (_dl_map_object_deps): Remove a nested function. Update call sites.
4749 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4752 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4753 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4755 2014-10-01 Steve Ellcey <sellcey@mips.com>
4757 * sysdeps/mips/strcmp.S: New.
4759 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4762 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4764 (mkdirat): Likewise.
4765 (readlinkat): Likewise.
4766 (renameat): Likewise.
4767 (symlinkat): Likewise.
4768 (unlinkat): Likewise.
4769 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4770 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4771 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4772 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4773 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4774 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4775 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4777 2014-09-30 Will Newton <will.newton@linaro.org>
4779 * math/math.h: Define long double math functions if
4780 _LIBC_TEST is defined.
4781 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4783 * localedata/Makefile: Move assignment to tests-special
4784 into an ifdef testing run-built-tests.
4785 * timezone/Makefile: Likewise.
4787 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4789 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4790 with $(BASH) not $(SHELL).
4792 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4793 Matthew LeGendre <legendre1@llnl.gov>
4796 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4799 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4801 * stdio-common/printf_fp.c
4802 (hack_digit): New function, broken out of ...
4803 (__printf_fp): ... local function here. Update call sites.
4804 hack_digit now takes an additional parameter that is a pointer
4805 to a struct of the referenced locals. Those locals moved inside
4806 the struct and references updated.
4808 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4810 * aclocal.m4: Require autoconf 2.69.
4811 * configure: Regenerated.
4812 * sysdeps/aarch64/configure: Likewise.
4813 * sysdeps/alpha/configure: Likewise.
4814 * sysdeps/arm/armv7/configure: Likewise.
4815 * sysdeps/arm/configure: Likewise.
4816 * sysdeps/ia64/configure: Likewise.
4817 * sysdeps/mach/configure: Likewise.
4818 * sysdeps/mips/configure: Likewise.
4819 * sysdeps/s390/configure: Likewise.
4820 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4823 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4825 * sysdeps/ia64/configure.ac: Likewise.
4827 2014-09-26 Joseph Myers <joseph@codesourcery.com>
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4830 specify symbol version for ld.so. Do not include entry for
4832 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4833 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4834 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4837 * Makeconfig [$(build-shared) = yes]
4838 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4840 [$(build-shared) = yes && $(soversions.mk-done) = t]
4841 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4842 [$(build-shared) = yes && $(soversions.mk-done) = t]
4843 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4845 [$(build-shared) = yes && $(soversions.mk-done) = t]
4846 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4848 [$(build-shared) = yes && $(soversions.mk-done) = t]
4849 (common-generated): Don't append gnu/lib-names.h and
4850 gnu/lib-names.stmp here.
4851 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4852 (lib-names-h-abi): New variable.
4853 [$(build-shared) = yes && $(soversions.mk-done) = t]
4854 (lib-names-stmp-abi): Likewise.
4855 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4856 abi-variants] (before-compile): Append
4857 $(common-objpfx)$(lib-names-h-abi).
4858 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4859 abi-variants] (common-generated): Append gnu/lib-names.h.
4860 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4861 abi-variants] (install-others-nosubdir): Depend on
4862 $(inst_includedir)/$(lib-names-h-abi).
4863 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4864 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4865 [$(build-shared) = yes && $(soversions.mk-done) = t]
4866 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4867 [$(build-shared) = yes && $(soversions.mk-done) = t]
4868 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4869 [$(build-shared) = yes && $(soversions.mk-done) = t]
4870 (common-generated): Append $(lib-names-h-abi) and
4871 $(lib-names-stmp-abi).
4872 * scripts/lib-names.awk: Do not handle multi being set.
4873 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4875 (abi-lp64_be-ld-soname): Likewise.
4876 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4878 (abi-hard-ld-soname): Likewise.
4879 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4880 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4882 (abi-o32_hard-ld-soname): Likewise.
4883 (abi-o32_soft_2008-ld-soname): Likewise.
4884 (abi-o32_hard_2008-ld-soname): Likewise.
4885 (abi-n32_soft-ld-soname): Likewise.
4886 (abi-n32_hard-ld-soname): Likewise.
4887 (abi-n32_soft_2008-ld-soname): Likewise.
4888 (abi-n32_hard_2008-ld-soname): Likewise.
4889 (abi-n64_soft-ld-soname): Likewise.
4890 (abi-n64_hard-ld-soname): Likewise.
4891 (abi-n64_soft_2008-ld-soname): Likewise.
4892 (abi-n64_hard_2008-ld-soname): Likewise.
4893 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4895 (abi-64-v2-ld-soname): Likewise.
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4898 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4900 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4902 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4904 (abi-64-ld-soname): Likewise.
4905 (abi-x32-ld-soname): Likewise.
4906 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4908 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4910 2014-09-23 Joseph Myers <joseph@codesourcery.com>
4913 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4914 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4915 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4916 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4917 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4918 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4919 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4920 syscall entry for GLIBC_2.2 symbol version.
4921 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4924 (setrlimit): Likewise.
4925 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4928 2014-09-23 Will Newton <will.newton@linaro.org>
4930 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4931 _LINUX_ARM_SYSDEP_H include guard too.
4932 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4935 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4937 * sysdeps/unix/sysv/linux/eventfd.c:
4938 Make first argument unsigned.
4939 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4940 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4942 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
4944 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4945 * socket/sys/socket.h: Likewise
4946 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4948 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4950 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4952 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
4954 * time/tst-ftime.c: New test.
4955 * time/Makefile (tests): Add tst-ftime.
4957 2014-09-17 Joseph Myers <joseph@codesourcery.com>
4959 * soft-fp/extended.h: Fix comment formatting.
4960 * soft-fp/op-1.h: Likewise.
4961 * soft-fp/op-2.h: Likewise.
4962 * soft-fp/op-4.h: Likewise.
4963 * soft-fp/op-8.h: Likewise.
4964 * soft-fp/op-common.h: Likewise.
4965 * soft-fp/soft-fp.h: Likewise.
4967 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4969 2014-09-16 Joseph Myers <joseph@codesourcery.com>
4972 * Makeconfig (soversions-default-setname): Remove variable.
4973 ($(common-objpfx)soversions.i): Don't pass default_setname to
4975 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4976 oldest_abi to abi-versions.awk.
4977 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4978 * config.make.in (oldest-abi): Remove variable.
4979 * configure.ac (--enable-oldest-abi): Remove configure option.
4980 * configure: Regenerated.
4981 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4983 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4984 * scripts/soversions.awk: Do not handle default_setname variable.
4985 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4987 * sysdeps/mach/hurd/configure: Regenerated.
4988 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4990 * sysdeps/unix/sysv/linux/configure: Regenerated.
4992 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4994 * elf/Makefile (CFLAGS-interp.c): Remove.
4995 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4997 * elf/interp.c: Include generated runtime-linker.h
4999 * Makerules (lib%.so): Don't include $(+interp) in
5001 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5002 * dlfcn/eval.c: Remove file.
5004 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5008 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5012 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5014 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5015 Jakub Jelinek <jakub@redhat.com>
5018 * libio/stdio.h: Check definition of __fortify_function
5019 instead of __extern_always_inline to include bits/stdio2.h.
5020 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5021 check if __extern_always_inline is defined.
5022 [__USE_MISC || __USE_XOPEN]: Likewise.
5023 [__USE_ISOC99] Likewise.
5024 * misc/sys/cdefs.h (__fortify_function): Define only if
5025 __extern_always_inline is defined.
5026 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5027 __extern_always_inline and __extern_inline only for g++-4.3
5028 and newer or a compatible gcc.
5030 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5033 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5034 last change to handle zero prefix length.
5036 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5038 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5041 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5044 2014-09-13 Allan McRae <allan@archlinux.org>
5046 * po/ru.po: Update Russian translation from translation project.
5048 2014-09-12 Roland McGrath <roland@hack.frob.com>
5050 * locale/programs/locale.c (show_locale_vars): Inline local function
5051 into its sole call site. Clean up some style nits.
5052 (print_item): New function, broken out of ...
5053 (show_info): ... local function here. Clean up style nits.
5055 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5057 (set_class_defaults): ... local function set_default here.
5058 Define set_default as a macro locally to pass constant parameters.
5059 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5060 rather than a shared local.
5062 * stdlib/rpmatch.c (try): New function, broken out of ...
5063 (rpmatch): ... local function here. Also, prototypify definition.
5065 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5067 * scripts/soversions.awk: Do not handle configuration names.
5068 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5069 vendor and os variables to soversions.awk.
5070 * configure.ac: Do not modify gnu-* host_os.
5071 * configure: Regenerated
5072 * shlib-versions: Remove first column with configuration names.
5073 * nptl/shlib-versions: Likewise.
5074 * nptl_db/shlib-versions: Likewise.
5075 * sysdeps/hppa/shlib-versions: Likewise.
5076 * sysdeps/m68k/shlib-versions: Likewise.
5077 * sysdeps/mach/hurd/shlib-versions: Likewise.
5078 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5079 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5080 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5081 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5082 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5083 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5084 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5085 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5088 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5089 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5090 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5091 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5092 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5093 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5094 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5095 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5098 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5101 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5103 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5105 * shlib-versions: Remove OS-specific entries. Moved to files in
5107 * sysdeps/mach/hurd/shlib-versions: New file.
5108 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5110 * nptl/shlib-versions: Remove architecture-specific entries.
5111 Moved to files in sysdeps.
5112 * shlib-versions: Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5115 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5116 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5117 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5118 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5120 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5121 (UDP_NO_CHECK6_RX): Likewise.
5123 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5125 * sysdeps/posix/sysconf.c (__sysconf): Spell
5126 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5128 2014-08-12 Florian Weimer <fweimer@redhat.com>
5130 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5132 * iconv/Versions (__gconv_transliterate): Export for use from
5134 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5135 (struct __gconv_trans_data, __gconv_trans_fct,
5136 __gconv_trans_context_fct, __gconv_trans_query_fct,
5137 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5139 (struct __gconv_step_data): Remove __trans member.
5140 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5141 longer hidden. Remove unused trans_data argument.
5142 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5143 (__gconv_translit_find): Remove declaration.
5144 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5146 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5147 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5148 trans_data argument. Add hidden definition.
5149 (__gconv_translit_find): Remove.
5150 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5151 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5152 * iconv/skeleton.c: Remove transliteration initialization.
5153 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5154 __gconv_step_data initialization.
5155 * libio/iofwide.c (__libio_translit_): Remove.
5156 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5157 * wcsmbs/btowc.c (__btowc): Likewise.
5158 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5159 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5160 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5161 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5162 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5163 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5164 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5165 * wcsmbs/wctob.c (wctob): Likewise.
5167 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5170 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5171 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5173 * sysdeps/x86/Makefile: Adjust.
5175 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5176 Roland McGrath <roland@hack.frob.com>
5178 * locale/weight.h: Add include guard.
5179 (findidx): Make static rather than auto; take new parameters
5180 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5181 * locale/weightwc.h: Likewise.
5182 * posix/fnmatch_loop.c
5183 (FCT): Change type of EXTRA from int32_t to wint_t.
5184 Don't include either header inside the function.
5185 Call FINDIDX rather than findidx, and pass new arguments.
5186 #undef FINDIDX at the end of the file.
5187 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5188 FINDIDX before including fnmatch_loop.c for the non-wide version.
5189 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5190 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5191 for the wide version.
5192 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5193 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5194 Pass new arguments to findidx.
5195 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5196 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5197 Don't #include it inside the function. Pass new arguments to findidx.
5198 * posix/regex_internal.h
5199 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5200 (re_string_elem_size_at): Don't #include it inside the function.
5201 Pass new arguments to findidx.
5202 * string/strcoll_l.c: #include WEIGHT_H at top level.
5203 (get_next_seq): Don't #include it inside the function.
5204 Pass new arguments to findidx.
5205 (get_next_seq_nocache): Likewise.
5206 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5207 (STRXFRM): Don't #include it inside the function.
5208 Pass new arguments to findidx.
5210 2014-09-11 Florian Weimer <fweimer@redhat.com>
5213 * malloc/malloc.c (unlink): Turn asserts into a call to
5216 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5219 * libio/wfileops (do_ftell_wide): Free OUT.
5221 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5223 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5225 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5228 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5229 group if the current group is empty.
5231 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5233 * benchtests/bench-memset.c (test_main): Add more test from size
5234 from 32 to 512 bytes.
5235 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5236 Add POWER8 memset object.
5237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5238 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5239 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5241 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5243 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5244 multiarch POWER8 memset optimization.
5245 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5246 POWER8 memset optimization.
5248 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5249 Remove bzero multiarch objects.
5250 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5251 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5252 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5253 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5255 [__bzero]: Redefine to specific name.
5256 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5257 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5258 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5260 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5261 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5263 2014-09-10 Florian Weimer <fweimer@redhat.com>
5265 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5266 warnings into errors.
5268 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5269 __cxa_thread_atexit_impl prototype.
5271 2014-09-09 Steve Ellcey <sellcey@mips.com>
5273 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5274 Fix capitalization of error message.
5276 2014-09-09 Steve Ellcey <sellcey@mips.com>
5278 * sysdeps/mips/preconfigure: Modify ABI tests.
5280 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5282 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5284 2014-09-07 Roland McGrath <roland@hack.frob.com>
5285 Carlos O'Donell <carlos@systemhalted.org>
5287 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5288 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5289 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5290 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5291 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5292 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5293 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5294 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5295 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5296 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5297 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5298 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5299 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5300 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5301 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5302 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5303 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5304 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5305 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5306 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5307 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5308 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5309 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5310 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5311 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5312 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5313 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5314 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5315 Deconditionalize the code that was previously under [RESET_PID].
5316 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5317 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5318 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5319 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5322 2014-09-08 Allan McRae <allan@archlinux.org>
5324 * version.h (RELEASE): Set to "development".
5325 (VERSION): Set to "2.20.90"
5327 2014-09-07 Allan McRae <allan@archlinux.org
5329 * version.h (RELEASE): Set to "stable".
5330 (VERSION): Set to "2.20"
5331 * include/features.h (__GLIBC_MINOR__): Set to 20.
5333 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5336 * po/ko.po: Update Korean translation from translation project.
5338 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5341 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5342 macro for handling signed relocations.
5344 2014-09-03 Florian Weimer <fweimer@redhat.com>
5347 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5348 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5350 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5351 * iconvdata/ibm935.c (BODY): Likewise.
5352 * iconvdata/ibm937.c (BODY): Likewise.
5353 * iconvdata/ibm939.c (BODY): Likewise.
5354 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5356 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5358 * iconvdata/run-iconv-test.sh: New test loop for checking for
5361 2014-09-02 Khem Raj <raj.khem@gmail.com>
5363 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5366 2014-09-01 Allan McRae <allan@archlinux.org>
5368 * po/eo.po: Update Esperanto translation from translation project.
5370 * po/ca.po: Update Catalan translation from translation project.
5372 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5374 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5377 2014-08-27 Mark Wielaard <mjw@redhat.com>
5380 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5381 to call set_thread_area instead of hand written asm.
5382 (__NR_set_thread_area): Removed define.
5383 (TLS_FLAG_WRITABLE): Likewise.
5384 (__ASSUME_SET_THREAD_AREA): Remove check.
5385 (TLS_EBX_ARG): Remove define.
5386 (TLS_LOAD_EBX): Likewise.
5388 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5390 Simplify atomicity of socket creation in bind.
5392 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5393 looking up the name after linking the file.
5395 2014-08-27 Allan McRae <allan@archlinux.org>
5397 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5399 2014-08-26 Florian Weimer <fweimer@redhat.com>
5402 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5403 trans_compare, open_translit, __gconv_translit_find):
5404 Remove module loading code.
5406 2014-08-26 Allan McRae <allan@archlinux.org>
5408 * po/vi.po: Update Vietnamese translation from translation project.
5410 * po/uk.po: Update Ukrainian translation from translation project.
5412 * po/fr.po: Update French translation from translation project.
5414 * po/ru.po: Update Russian translation from translation project.
5416 * po/pl.po: Update Polish translation from translation project.
5418 * po/cs.po: Update Czech translation from translation project.
5420 * po/de.po: Update German translation from translation project.
5422 * po/bg.po: Update Bulgarian translation from translation project.
5424 * po/sv.po: Update Sweedish translation from translation project.
5426 * po/nl.po: Update Dutch translation from translation project.
5428 * po/es.po: Update Spanish translation from translation project.
5430 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5432 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5434 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5435 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5436 (CPPFLAGS-iconvconfig): Likewise.
5437 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5439 * include/libc-symbols.h: Remove unnecessary check for
5441 * nptl/pthreadP.h: Likewise.
5442 * sysdeps/aarch64/setjmp.S: Likewise.
5443 * sysdeps/alpha/setjmp.S: Likewise.
5444 * sysdeps/arm/sysdep.h: Likewise.
5445 * sysdeps/i386/setjmp.S: Likewise.
5446 * sysdeps/m68k/setjmp.c: Likewise.
5447 * sysdeps/posix/getcwd.c: Likewise.
5448 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5449 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5450 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5451 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5452 * sysdeps/sh/sh3/setjmp.S: Likewise.
5453 * sysdeps/sh/sh4/setjmp.S: Likewise.
5454 * sysdeps/unix/alpha/sysdep.h: Likewise.
5455 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5457 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5458 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5461 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5462 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5463 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5466 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5468 * sysdeps/x86_64/setjmp.S: Likewise.
5470 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5473 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5475 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5476 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5478 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5480 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5483 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5484 and __x86_64__ when disabling x87 inline functions.
5486 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5489 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5490 asm statement with __cpuid_count.
5492 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5494 * configure.ac: Change __ehdr_start code to dereference the struct.
5495 Run readelf on the output to look for relocations.
5496 * configure: Regenerated.
5498 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5501 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5503 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5505 2014-08-12 Roland McGrath <roland@hack.frob.com>
5507 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5509 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5512 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5513 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5515 2014-08-12 Sean Anderson <seanga2@gmail.com>
5517 * malloc/malloc.c: Fix typo in comment.
5519 2014-08-09 Allan McRae <allan@archlinux.org>
5521 * Regenerate libc.po.
5523 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5525 * intl/tst-gettext2.sh: Check every lang file for creation.
5527 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5529 * sysdeps/aarch64/fpu/math_private.h
5530 (libc_feholdsetround_noex_aarch64_ctx): New function.
5532 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5534 * sysdeps/arm/armv6/strcpy.S (strcpy):
5535 Fix performance issue in misaligned cases.
5537 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5539 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5540 Move definition from termios.h.
5541 (struct termio): Likewise.
5542 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5543 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5544 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5545 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5547 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5548 Move definition to ioctl-types.h
5549 (struct termio): Likewise.
5550 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5551 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5552 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5553 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5556 2014-08-05 Richard Henderson <rth@redhat.com>
5558 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5560 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5562 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5563 Use __feraiseexcept.
5564 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5565 Protect libm symbols with IS_IN_libm.
5567 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5569 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5571 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5573 2014-08-04 Will Newton <will.newton@linaro.org>
5575 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5578 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5580 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5581 variants for each function.
5583 2014-08-04 Roland McGrath <roland@hack.frob.com>
5585 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5587 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5588 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5590 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5591 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5592 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5593 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5594 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5595 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5596 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5597 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5598 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5599 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5600 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5601 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5602 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5603 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5604 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5605 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5606 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5607 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5608 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5609 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5610 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5611 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5612 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5613 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5614 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5615 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5616 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5617 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5618 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5619 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5620 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5621 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5622 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5623 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5624 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5625 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5626 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5627 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5628 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5629 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5630 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5632 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5634 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5635 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5636 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5637 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5638 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5639 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5640 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5641 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5642 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5644 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5645 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5647 2014-08-04 Roland McGrath <roland@hack.frob.com>
5649 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5650 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5651 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5652 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5653 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5654 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5656 2014-08-04 Roland McGrath <roland@hack.frob.com>
5658 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5659 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5660 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5661 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5663 2014-08-04 Roland McGrath <roland@hack.frob.com>
5665 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5666 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5667 (__libc_vfork): Define function under this name.
5668 (__vfork): Define as an alias.
5669 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5670 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5672 2014-08-04 Roland McGrath <roland@hack.frob.com>
5674 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5675 that was previously under [RESET_PID].
5676 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5678 2014-08-04 Andreas Schwab <schwab@suse.de>
5680 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5682 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5684 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5687 2014-08-01 Roland McGrath <roland@hack.frob.com>
5689 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5691 2014-08-01 Richard Henderon <rth@redhat.com>
5693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5694 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5695 typo in exact zero test.
5696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5697 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5698 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5700 2014-08-01 Roland McGrath <roland@hack.frob.com>
5702 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5703 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5704 * sysdeps/arm/sysdep.h: ... here.
5705 [!__ASSEMBLER__]: Include <stdint.h>.
5707 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5709 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5710 (HAVE_WCTYPE_H): Likewise.
5711 (HAVE_ISWCTYPE): Likewise.
5712 (ENABLE_NLS): Likewise.
5713 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5714 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5716 * posix/regex_internal.c: Check if DEBUG is defined and is
5719 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5720 (HAVE_MBSRTOWCS): Likewise.
5721 * posix/fnmatch.c: Include string.h unconditionally.
5723 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5725 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5728 2014-07-31 Roland McGrath <roland@hack.frob.com>
5730 * sysdeps/generic/safe-fatal.h: New file.
5731 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5732 * nptl/forward.c: Include it.
5733 (__pthread_unwind): Use __safe_fatal as default action, rather
5734 than a bogus use of INTERNAL_SYSCALL that could never work.
5736 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5737 * configure.ac (libc_cv_builtin_trap): New test.
5738 * configure: Regenerated.
5739 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5740 (ABORT_INSTRUCTION): Define using __builtin_trap.
5742 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5743 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5744 * sysdeps/nptl/nptl-signals.h: New file.
5745 * nptl/pthreadP.h: Include <nptl-signals.h>.
5747 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5749 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5750 (ONE_DIRECTION): Define.
5751 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5752 (ONE_DIRECTION): Define.
5753 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5754 (ONE_DIRECTION): Define.
5756 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5758 * sysdeps/s390/Makefile: Delete file.
5759 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5760 * sysdeps/s390/__longjmp.c: Delete file.
5761 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5762 Remove fields __flags and __reserved.
5763 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5765 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5766 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5767 * sysdeps/s390/rtld-setjmp.S: Likewise.
5768 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5769 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5770 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5771 * sysdeps/s390/s390-32/setjmp.S: ... here.
5773 (__sigsetjmp): Remove setting __flags field.
5774 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5775 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5776 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5777 * sysdeps/s390/s390-64/setjmp.S: ... here.
5779 (__sigsetjmp): Remove setting __flags field.
5780 * sysdeps/s390/setjmp.S: Delete file.
5781 * sysdeps/s390/sigjmp.c: Likewise.
5782 * sysdeps/s390/v1-longjmp.c: Likewise.
5783 * sysdeps/s390/v1-setjmp.h: Likewise.
5784 * sysdeps/s390/v1-sigjmp.c: Likewise.
5785 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5786 Remove v1-longjmp_chk.
5787 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5788 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5789 Include debug/longjmp_chk.c and add versioning.
5790 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5791 Include nptl/pt-longjmp.c and add versioning.
5792 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5793 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5794 Include __longjmp.c.
5795 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5797 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5798 (__getcontext): Remove setting __flags field.
5800 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5801 Don't restore upper high grps.
5802 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5804 (__swapcontext): Remove setting uc_flags field.
5805 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5807 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5808 Include __longjmp.c.
5809 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5811 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5812 (__getcontext): Remove setting __flags field.
5814 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5815 (__swapcontext): Remove setting uc_flags field.
5816 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5817 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5818 Remove fields uc_high_gprs and __reserved.
5819 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5820 New file with reverted content.
5821 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5822 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5824 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5827 2014-07-31 Andreas Schwab <schwab@suse.de>
5829 * config.h.in (HAVE_IFUNC): Define to 0.
5830 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5833 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5836 memmove-avx-unaligned, memcpy-avx-unaligned and
5837 mempcpy-avx-unaligned.
5838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5839 Add tests for AVX memcpy functions.
5840 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5841 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5843 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5844 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5846 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5847 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5849 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5850 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5851 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5853 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5856 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5859 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
5862 * manual/llio.texi: Add section about open file description locks.
5863 * manual/examples/ofdlocks.c: Example of open file description
5865 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5866 F_OFD_SETLK, and F_OFD_SETLKW.
5868 2014-07-23 Allan McRae <allan@archlinux.org>
5870 * po/es.po: Update Spanish translation from translation project.
5872 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5874 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5876 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5879 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5880 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5881 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5883 2014-07-17 Joseph Myers <joseph@codesourcery.com>
5886 * math/fesetenv.c (__fesetenv)
5887 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5888 * math/feupdateenv.c (__feupdateenv)
5889 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5891 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5892 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5893 (__ASSUME_SOCKETCALL): Do not define.
5895 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5896 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5897 (__ASSUME_SOCKETCALL): Do not define.
5898 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5899 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5900 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5901 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5902 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5903 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5904 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5905 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5907 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5908 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5909 (__ASSUME_SOCKETCALL): Do not define.
5910 (__ASSUME_IPC64): Define unconditionally.
5911 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5912 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5913 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5914 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5915 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5916 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5917 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5920 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5921 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5922 (__ASSUME_SOCKETCALL): Do not define.
5923 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5924 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5925 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5926 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5927 (__ASSUME_REQUEUE_PI): Define unconditionally.
5928 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5929 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5930 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5931 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5932 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5933 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5935 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5936 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5937 (__ASSUME_SOCKETCALL): Do not define.
5938 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5939 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5940 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5941 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5942 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5943 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5945 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5946 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5947 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5948 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5949 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5950 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5951 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5952 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5953 (__ASSUME_GETCPU_SYSCALL): Likewise.
5955 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5956 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5957 cases for individual architectures.
5958 * sysdeps/gnu/configure: Regenerated.
5959 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5960 LIBC_SLIBDIR_RTLDDIR.
5961 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5962 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5963 LIBC_SLIBDIR_RTLDDIR.
5964 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5966 LIBC_SLIBDIR_RTLDDIR.
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5969 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5970 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5972 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5973 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5975 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5976 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5977 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5978 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5980 * sysdeps/aarch64/shlib-versions: Move to ...
5981 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5982 * sysdeps/alpha/shlib-versions: Move to ...
5983 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5984 * sysdeps/arm/shlib-versions: Move to ...
5985 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5986 * sysdeps/hppa/shlib-versions: Move all contents except for
5987 libgcc_s entry to ...
5988 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5990 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5991 * sysdeps/ia64/shlib-versions: Move to ...
5992 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5994 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5995 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5996 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5997 * sysdeps/microblaze/shlib-versions: Move to ...
5998 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5999 * sysdeps/mips/shlib-versions: Move to ...
6000 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6002 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6003 * sysdeps/tile/shlib-versions: Move to ...
6004 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6005 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6007 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6008 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6010 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6012 2014-07-17 Will Newton <will.newton@linaro.org>
6014 * sysdeps/arm/bits/atomic.h
6015 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6016 (__arch_compare_and_exchange_bool_16_int): Likewise.
6017 (__arch_compare_and_exchange_bool_64_int): Likewise.
6019 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6020 into an #else block.
6022 2014-07-16 Roland McGrath <roland@hack.frob.com>
6024 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6025 just Linux configurations. Test empirically that the compiler sets
6026 __ARM_EABI__, rather than using the tuple to decide.
6027 * sysdeps/arm/preconfigure: Regenerated.
6028 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6029 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6030 contents appended ...
6031 * sysdeps/arm/configure.ac: ... here.
6032 * sysdeps/arm/configure: Regenerated.
6034 2014-07-15 Roland McGrath <roland@hack.frob.com>
6036 * nptl/pthread_kill.c: New file.
6037 * nptl/pthread_sigmask.c: New file.
6038 * nptl/pthread_sigqueue.c: New file.
6040 * sysdeps/nptl/lowlevellock.h: New file.
6041 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6042 * sysdeps/nptl/lowlevellock-futex.h: New file.
6044 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6045 Remove dead declarations.
6047 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6049 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6050 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6052 * sysdeps/x86_64/configure.ac: Likewise.
6053 * sysdeps/i386/configure: Regenerated.
6054 * sysdeps/x86_64/configure: Likewise.
6055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6056 memset-avx2 only if config-cflags-avx2 is yes.
6057 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6058 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6060 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6061 only if HAVE_AVX2_SUPPORT is defined.
6062 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6064 2014-07-14 Alan Modra <amodra@gmail.com>
6067 * elf/elf.h (DT_PPC64_NUM): Correct value.
6068 * NEWS: Add to fixed bug list.
6070 2014-07-13 Jim Meyering <meyering@fb.com>
6073 regex: don't deref NULL upon heap allocation failure
6074 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6075 failure in one more place.
6076 To trigger the segfault, configure grep -with-included-regex,
6077 build it, and run these commands:
6078 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6080 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6082 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6084 2014-07-11 Richard Henderson <rth@redhat.com>
6086 * sysdeps/aarch64/libm-test-ulps: Update.
6088 2014-07-10 Florian Weimer <fweimer@redhat.com>
6091 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6092 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6093 (__nptl_setxid): Initialize error member. Call
6094 __nptl_setxid_error.
6095 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6096 * nptl/descr.h (struct xid_command): Add error member.
6097 * nptl/tst-setuid3.c: New file.
6098 * nptl/Makefile (tests): Add it.
6100 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6102 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6104 (__lll_trylock): Use __lll_base_trylock.
6105 (__lll_cond_trylock): Likewise.
6107 2014-07-10 Roland McGrath <roland@hack.frob.com>
6109 * nptl/pthread_create.c (start_thread): Use atomic_or and
6110 lll_futex_wake directly rather than lll_robust_dead.
6111 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6112 (lll_robust_dead): Macro removed.
6113 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6114 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6115 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6116 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6117 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6118 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6119 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6120 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6121 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6122 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6123 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6124 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6125 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6126 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6127 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6129 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6130 Use atomic_compare_and_exchange_val_acq directly rather than
6132 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6133 (__lll_robust_trylock, lll_robust_trylock): Removed.
6134 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6135 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6136 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6137 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6138 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6139 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6140 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6141 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6142 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6143 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6144 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6145 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6146 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6147 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6149 2014-07-02 Florian Weimer <fweimer@redhat.com>
6151 * manual/locale.texi (Locale Names): New section documenting
6152 locale name syntax. Adjust menu and node chaining accordingly.
6153 (Choosing Locale): Reference Locale Names, Locale Categories.
6154 Mention setting LC_ALL=C. Reflect that name syntax is now
6156 (Locale Categories): New section title. Reference Locale Names.
6157 LC_ALL is an environment variable, but not a category.
6158 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6159 description, now in Locale Name. Reference that section. Locale
6160 name syntax is now documented.
6162 2014-07-02 Florian Weimer <fweimer@redhat.com>
6165 * locale/findlocale.c (name_present, valid_locale_name): New
6167 (_nl_find_locale): Use the loc_name variable to store name
6168 candidates. Call name_present and valid_locale_name to check and
6169 validate locale names. Return an error if the locale is invalid.
6171 2014-07-02 Florian Weimer <fweimer@redhat.com>
6173 * locale/setlocale.c (setlocale): Use strdup for allocating
6174 composite name copy.
6176 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6178 Sync up with gnulib.
6179 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6180 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6181 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6182 and _GL_ARG_NONNULL.
6183 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6184 [!_LIBC]: Include code for Windows and Cygwin.
6185 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6186 Include prototype for int strerror_r.
6187 [!_LIBC] (is_open): New function.
6188 (flush_stdout): New function.
6189 (print_errno_message): Use it.
6191 (error_at_line): Likewise.
6192 (error_tail) Add function attribute macros. Use
6195 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6197 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6199 * io/ftw.c: Include sys/param.h unconditionally.
6201 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6204 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6206 (freecache): New function to free CACHE on exit.
6208 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6211 2014-07-09 David S. Miller <davem@davemloft.net>
6213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6215 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6216 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6217 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6218 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6219 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6220 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6221 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6222 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6223 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6224 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6225 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6226 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6227 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6229 2014-07-09 Andreas Schwab <schwab@suse.de>
6231 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6233 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6234 (do_test): Likewise.
6236 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6238 2014-07-09 Will Newton <will.newton@linaro.org>
6240 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6241 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6242 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6243 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6244 * sysdeps/hppa/start.S (_start): Likewise.
6246 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6248 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6250 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6253 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6255 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6256 after checking that it is non-NULL.
6258 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6260 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262 * sysdeps/powerpc/memmove.c: Remove file.
6263 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6264 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6265 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6266 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6267 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6268 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6269 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6270 string memmove instead of removed powerpc one.
6272 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6273 [weak_alias]: Fix compiler warning due trailing data.
6274 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6275 [weak_alias]: Likewise.
6276 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6277 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6280 (__libc_ifunc_impl_list): Add memmove functions.
6282 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6284 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6286 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6288 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6290 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6292 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6294 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6296 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6298 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6300 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6302 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6304 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6306 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6308 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6310 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6312 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6314 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6316 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6319 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6321 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6322 to avoid alignment traps in non-cacheable memory.
6323 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6327 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6328 file: multiarch power7 memmove.
6329 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6330 multiarch default memmove.
6331 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6332 multiarch memove for powerpc32/power4.
6334 * string/bcopy.c: Use full path to include memmove.c.
6335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6337 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6338 bcopy for powerpc64.
6339 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6340 bcopy for powerpc64.
6341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6342 and memmove implementations.
6343 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6344 optimized multiarch memmove for POWER7/powerpc64.
6345 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6346 default multiarch memmove for powerpc64.
6347 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6348 multiarch for powerpc64.
6349 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6350 for POWER7/powerpc64.
6351 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6352 memmove for POWER7/powerpc64.
6354 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6357 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6358 __ELF_NATIVE_CLASS equal to 64.
6360 2014-07-07 Roland McGrath <roland@hack.frob.com>
6362 * sysdeps/nptl/lowlevellock.h: File removed.
6364 * NEWS: NPTL is no longer an add-on!
6365 * nptl/internaltypes.h: Moved ...
6366 * sysdeps/nptl/internaltypes.h: ... here.
6367 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6368 * sysdeps/nptl/fork.c: Likewise.
6369 * sysdeps/nptl/gai_misc.h: Likewise.
6370 * sysdeps/nptl/librt-cancellation.c: Likewise.
6371 * sysdeps/nptl/jmp-unwind.c: Likewise.
6372 * sysdeps/nptl/setxid.h: Likewise.
6373 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6374 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6375 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6376 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6377 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6378 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6379 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6380 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6381 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6382 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6383 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6384 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6385 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6386 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6387 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6388 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6389 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6390 * nptl/Makeconfig: Moved ...
6391 * sysdeps/nptl/Makeconfig: ... here.
6392 * nptl/configure: File removed.
6393 * nptl/ANNOUNCE: File removed.
6394 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6395 * sysdeps/unix/sysv/linux/configure: Regenerated.
6397 * nptl/Makefile (routines): Add libc_pthread_init,
6398 libc_multiple_threads, register-atfork and unregister-atfork.
6399 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6400 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6401 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6402 pthread-pi-defines.sym, structsem.sym.
6403 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6404 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6405 [$(subdir) = nptl] (tests): Add tst-setgetname.
6406 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6407 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6408 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6409 [!LIBC_SIGACTION]: Remove aliases.
6410 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6411 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6412 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6413 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6414 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6415 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6416 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6418 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6419 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6420 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6421 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6422 __libc_allocate_rtsig_private.
6423 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6424 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6425 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6426 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6427 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6428 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6429 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6430 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6431 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6432 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6433 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6434 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6435 * nptl/internaltypes.h: ... here.
6436 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6437 * sysdeps/nptl/jmp-unwind.c: ... here.
6438 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6439 * nptl/libc-lowlevellock.c: ... here.
6440 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6441 * nptl/libc_multiple_threads.c: ... here.
6442 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6443 * nptl/libc_pthread_init.c: ... here.
6444 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6445 * nptl/lowlevelbarrier.sym: ... here.
6446 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6447 * nptl/lowlevelcond.sym: ... here.
6448 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6449 * nptl/lowlevellock.c: ... here.
6450 * nptl/lowlevellock.h: Moved ...
6451 * sysdeps/nptl/lowlevellock.h: ... here.
6452 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6453 * nptl/lowlevelrobustlock.c: ... here.
6454 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6455 * nptl/lowlevelrobustlock.sym: ... here.
6456 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6457 * nptl/lowlevelrwlock.sym: ... here.
6458 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6459 * nptl/pt-fork.c: ... here.
6460 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6461 * nptl/pthread-pi-defines.sym: ... here.
6462 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6463 * nptl/pthread_attr_getaffinity.c: ... here.
6464 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6465 * nptl/pthread_attr_setaffinity.c: ... here.
6466 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6467 * nptl/pthread_mutex_cond_lock.c: ... here.
6468 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6470 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6471 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6472 * nptl/pthread_once.c: ... here, replacing old file.
6473 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6474 * nptl/pthread_yield.c: ... here.
6475 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6476 * nptl/register-atfork.c: ... here.
6477 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6478 * nptl/sem_post.c: ... here.
6479 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6480 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6481 * nptl/sem_timedwait.c: ... here.
6482 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6483 * nptl/sem_trywait.c: ... here.
6484 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6485 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6486 * nptl/sem_wait.c: ... here.
6487 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6488 * nptl/structsem.sym: ... here.
6489 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6490 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6491 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6492 * nptl/unregister-atfork.c: ... here.
6493 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6494 * nptl/unwindbuf.sym: ... here.
6495 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6496 * sysdeps/nptl/fork.c: ... here.
6497 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6498 * sysdeps/nptl/fork.h: ... here.
6499 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6500 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6501 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6502 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6503 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6504 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6505 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6506 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6507 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6508 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6509 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6510 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6511 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6512 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6513 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6514 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6515 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6516 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6517 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6518 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6519 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6520 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6521 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6522 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6523 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6524 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6525 * sysdeps/unix/sysv/linux/raise.c: ... here.
6526 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6527 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6528 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6529 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6530 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6531 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6532 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6533 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6534 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6535 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6536 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6537 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6538 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6539 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6540 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6542 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6544 * sysdeps/generic/memcopy.h: Add comment for
6545 MEMCPY_OK_FOR_FWD_MEMMOVE.
6547 2014-07-04 Will Newton <will.newton@linaro.org>
6549 * string/memchr.c: Merge from gnulib.
6550 [_LIBC]: Remove conditionals.
6551 (__ptr_t): Remove define.
6552 (LONG_MAX_32_BITS): Likewise.
6553 (LONG_MAX): Likewise.
6554 (MEMCHR): Use ANSI prototype and optimize algorithm.
6556 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6558 2014-07-03 Roland McGrath <roland@hack.frob.com>
6560 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6561 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6563 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6564 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6565 in a bare environment with no <stdlib.h> installed.
6566 * sysdeps/nptl/configure: Regenerated.
6568 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6570 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6571 AC_EGREP_CPP for kernel header checks, so they only succeed if
6572 including <linux/version.h> actually works right.
6573 * sysdeps/unix/sysv/linux/configure: Regenerated.
6575 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6576 value so it's not diagnosed as unused.
6578 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6579 thing) with "ifeq ($(subdir),rt)".
6581 2014-07-03 Richard Henderson <rth@redhat.com>
6583 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6584 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6585 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6587 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6588 (math_force_eval): New.
6590 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6591 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6593 * sysdeps/alpha/fpu/s_round.c: Remove file.
6594 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6596 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6597 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6598 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6599 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6600 (_dl_start, print_statistics): Likewise.
6601 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6602 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6604 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6605 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6606 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6607 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6608 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6609 (HP_SMALL_TIMING_AVAIL): Define.
6610 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6611 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6612 (HP_SMALL_TIMING_AVAIL): Define.
6613 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6614 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6616 * sysdeps/aarch64/hp-timing.h: New file.
6618 * sysdeps/generic/hp-timing.h: Remove dead comment.
6619 * sysdeps/generic/hp-timing-common.h: New file.
6620 * sysdeps/alpha/hp-timing.h: Include it.
6621 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6622 * sysdeps/i386/i686/hp-timing.h: Likewise.
6623 * sysdeps/ia64/hp-timing.h: Likewise.
6624 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6625 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6626 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6627 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6628 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6629 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6632 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6633 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6634 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6635 * elf/rtld.c (_dl_start_final): Likewise.
6636 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6637 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6638 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6639 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6640 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6642 (HP_TIMING_DIFF_INIT): Remove.
6643 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6644 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6645 (HP_TIMING_DIFF_INIT): Remove.
6646 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6647 * sysdeps/i386/i686/hp-timing.c: Remove file.
6648 * sysdeps/x86_64/hp-timing.c: Remove file.
6649 * sysdeps/ia64/hp-timing.c: Remove file.
6650 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6651 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6652 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6653 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6655 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6656 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6657 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6658 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6659 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6660 (HP_TIMING_ACCUM): Remove.
6661 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6662 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6663 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6665 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6666 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6667 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6668 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6669 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6670 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6671 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6672 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6674 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6676 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6678 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6680 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6682 Sync up with gettext.
6683 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6684 [_MSC_VER]: Include malloc.h
6685 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6686 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6687 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6688 TEMP_FAILURE_RETRY. Cast return of alloca.
6689 [!_LIBC] Call gl_rwlock_init.
6690 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6692 2014-07-02 Roland McGrath <roland@hack.frob.com>
6694 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6695 before checking its value.
6697 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6699 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6701 * debug/memcpy_chk.c: Don't include pagecopy.h.
6702 * debug/mempcpy_chk.c: Likewise.
6703 * string/memcpy.c: Likewise.
6704 * string/memmove.c: Likewise.
6705 * sysdeps/powerpc/memmove.c: Likewise.
6706 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6707 definition of PAGE_COPY_FWD_MAYBE here...
6708 * sysdeps/generic/pagecopy.h: ... from here.
6709 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6711 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6712 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6714 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6718 (__libc_ifunc_impl_list): Likewise.
6719 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6720 multiarch strcat for PPC64.
6721 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6722 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6724 2014-07-02 Roland McGrath <roland@hack.frob.com>
6726 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6728 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6730 * intl/loadmsgcat.c: Remove declaration of
6731 get_sysdep_segment_value.
6732 (get_sysdep_segment_value): Use ISO C style.
6733 (_nl_load_domain): Use ISO C style. Get rid of redundant
6734 semicolon. Fix typo and formatting in comment.
6735 (_nl_unload_domain): Use ISO C style.
6737 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6739 2014-07-02 Will Newton <will.newton@linaro.org>
6741 * malloc/obstack.c: Merge from gnulib master.
6742 [HAVE_CONFIG_H]: Remove conditional code.
6743 [!_LIBC]: Include config.h.
6744 [!ELIDE_CODE]: Don't include inttypes.h, include
6745 stdint.h unconditionally.
6746 (print_and_abort): Mark as _Noreturn.
6747 (_obstack_allocated_p): Mark as __attribute_pure__.
6748 (obstack_free): Rename to __obstack_free.
6749 [!__attribute__]: Remove conditional code.
6750 * malloc/obstack.h: Merge from gnulib master.
6751 [__cplusplus]: Move conditional down.
6752 [!__attribute_pure__]: Define __attribute_pure__ here
6753 if it is not already defined.
6754 (_obstack_memory_used): Mark as __attribute_pure__.
6755 [!__obstack_free]: Define as obstack_free.
6756 [__GNUC__]: Remove check for ancient NeXT gcc.
6758 2014-07-02 Will Newton <will.newton@linaro.org>
6759 Paul Eggert <eggert@cs.ucla.edu>
6761 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6763 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6765 * resolv/gethnamaddr.c: Add comment warning that the file is
6768 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6770 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6773 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6774 entry for aio_cancel and aio_cancel64.
6775 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6776 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6777 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6778 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6779 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6780 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6781 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6782 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6783 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6784 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6785 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6786 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6787 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6789 2014-07-01 Roland McGrath <roland@hack.frob.com>
6791 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6792 * nptl/pthread_mutex_lock.c: Likewise.
6793 * nptl/pthread_mutex_timedlock.c: Likewise.
6794 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6796 2014-07-01 Richard henderson <rth@redhat.com>
6798 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6799 (__isnan, __isnanl): Remove.
6800 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6802 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6804 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6806 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6808 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6810 * resolv/nss_dns/dns-host.c (getanswer_r)
6811 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6813 2014-07-01 Joseph Myers <joseph@codesourcery.com>
6815 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6816 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6818 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6819 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6821 2014-07-01 Roland McGrath <roland@hack.frob.com>
6823 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6824 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6826 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6827 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6829 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6830 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6832 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6833 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6835 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6836 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6837 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6838 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6840 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6841 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6842 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6843 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6844 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6846 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6848 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6849 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6850 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6851 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6852 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6853 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6854 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6855 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6856 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6857 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6858 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6859 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6860 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6861 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6862 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6863 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6864 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6865 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6866 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6867 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6869 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6870 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6871 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6872 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6873 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6874 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6875 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6876 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6878 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6880 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6881 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6882 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6885 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6889 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6891 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6892 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6894 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6896 * sysdeps/arm/libm-test-ulps: Regenerated.
6898 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6899 Roland McGrath <roland@hack.frob.com>
6901 * test-skeleton.c (signal_handler): Kill the whole process group
6902 before killing the child individually.
6903 (main): Report any failure on `setpgid'.
6905 2014-06-30 Roland McGrath <roland@hack.frob.com>
6907 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6908 from _TLS_H to _ARM_NPTL_TLS_H.
6909 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6910 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6912 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6915 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6916 (__expm1l): Return argument unchanged when small but not
6919 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6921 (_FP_UNPACK_RAW_1_P): Likewise.
6922 (_FP_PACK_RAW_1): Likewise.
6923 (_FP_PACK_RAW_1_P): Likewise.
6924 (_FP_MUL_MEAT_1_wide): Likewise.
6925 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6926 (_FP_MUL_MEAT_1_hard): Likewise.
6927 (_FP_DIV_MEAT_1_imm): Likewise.
6928 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6929 (_FP_DIV_MEAT_1_udiv): Likewise.
6930 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6931 (_FP_UNPACK_RAW_2): Likewise.
6932 (_FP_UNPACK_RAW_2_P): Likewise.
6933 (_FP_PACK_RAW_2): Likewise.
6934 (_FP_PACK_RAW_2_P): Likewise.
6935 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6936 (_FP_MUL_MEAT_2_wide): Likewise.
6937 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6938 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6939 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6940 (_FP_MUL_MEAT_2_gmp): Likewise.
6941 (_FP_DIV_MEAT_2_udiv): Likewise.
6942 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6943 (_FP_FRAC_SRL_4): Likewise.
6944 (_FP_FRAC_SRST_4): Likewise.
6945 (_FP_FRAC_SRS_4): Likewise.
6946 (_FP_UNPACK_RAW_4): Likewise.
6947 (_FP_UNPACK_RAW_4_P): Likewise.
6948 (_FP_PACK_RAW_4): Likewise.
6949 (_FP_PACK_RAW_4_P): Likewise.
6950 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6951 (_FP_MUL_MEAT_4_wide): Likewise.
6952 (_FP_MUL_MEAT_4_gmp): Likewise.
6953 (umul_ppppmnnn): Likewise.
6954 (_FP_DIV_MEAT_4_udiv): Likewise.
6955 (__FP_FRAC_ADD_4): Likewise.
6956 (__FP_FRAC_SUB_3): Likewise.
6957 (__FP_FRAC_SUB_4): Likewise.
6958 (__FP_FRAC_DEC_3): Likewise.
6959 (__FP_FRAC_DEC_4): Likewise.
6960 (__FP_FRAC_ADDI_4): Likewise.
6961 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6962 (_FP_FRAC_SRL_8): Likewise.
6963 (_FP_FRAC_SRS_8): Likewise.
6965 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6967 (FP_UNPACK_RAW_EP): Likewise.
6968 (FP_PACK_RAW_E): Likewise.
6969 (FP_PACK_RAW_EP): Likewise.
6970 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6971 (_FP_ISSIGNAN): Likewise.
6972 (_FP_ADD_INTERNAL): Likewise.
6973 (_FP_FMA): Likewise.
6974 (_FP_CMP): Likewise.
6975 (_FP_SQRT): Likewise.
6976 (_FP_TO_INT): Likewise.
6977 (_FP_FROM_INT): Likewise.
6978 (FP_EXTEND): Likewise.
6979 (_FP_DIV_MEAT_N_loop): Likewise.
6981 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6983 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6986 2014-06-29 Joseph Myers <joseph@codesourcery.com>
6989 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6990 result with correct sign in case of exponents that produce
6991 overflow except for X very close to 1.
6993 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6995 mktime: merge #if/#ifdef usage from glibc
6996 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6997 as that works with both Glibc's and Gnulib's style.
6998 See thread starting at Siddhesh Poyarekar's bug report at:
6999 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7001 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7003 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7004 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7005 * sysdeps/tile/tilegx/memmove.c: Remove file.
7007 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7009 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7010 abi-name definition.
7011 * scripts/soversions.awk: Do not handle or generate ABI lines.
7012 * shlib-versions: Remove ABI entries.
7013 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7014 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7016 2014-06-27 Roland McGrath <roland@hack.frob.com>
7018 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7019 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7020 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7021 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7023 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7024 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7026 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7029 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7031 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7033 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7035 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7036 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7037 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7038 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7039 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7040 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7042 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7043 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7044 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7045 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7046 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7047 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7049 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7050 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7052 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7053 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7057 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7059 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7061 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7062 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7063 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7064 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7066 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7068 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7069 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7071 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7072 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7074 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7075 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7076 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7077 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7079 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7081 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7082 Identical file removed.
7083 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7085 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7086 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7087 Identical file removed.
7088 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7089 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7090 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7092 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7093 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7094 Identical file removed.
7095 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7096 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7097 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7098 Identical file removed.
7099 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7100 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7101 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7102 Identical file removed.
7103 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7104 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7105 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7106 Identical file removed.
7107 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7109 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7110 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7111 Identical file removed.
7112 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7114 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7115 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7116 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7117 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7118 Identical file removed.
7119 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7121 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7123 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7124 Identical file removed.
7125 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7127 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7128 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7129 Identical file removed.
7130 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7132 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7133 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7134 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7136 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7137 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7139 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7140 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7141 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7143 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7144 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7145 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7146 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7147 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7149 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7152 * nscd/nscd.c (monitor_child): Return exit status of child
7153 instead of return value from wait syscall.
7155 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7157 * configure.ac (libc_commonpagesize): Remove variable.
7158 (libc_relro_required): Likewise.
7159 (libc_cv_z_relro): Remove configure test.
7160 * configure: Regenerated.
7161 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7163 (libc_relro_required): Likewise.
7164 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7165 (libc_relro_required): Likewise.
7166 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7167 (libc_relro_required): Likewise.
7168 * sysdeps/arm/preconfigure: Regenerated.
7169 * sysdeps/ia64/preconfigure: Remove file.
7170 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7172 (libc_relro_required): Likewise.
7176 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7177 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7178 recompute overflowing results in original rounding mode.
7179 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7180 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7181 recompute overflowing results in original rounding mode.
7182 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7183 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7184 recompute overflowing results in original rounding mode.
7185 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7186 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7187 recompute overflowing results in original rounding mode.
7188 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7189 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7190 recompute overflowing results in original rounding mode.
7191 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7192 (libc_feholdsetround_ctx): New macro.
7193 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7194 * sysdeps/i386/fpu/libm-test-ulps: Update.
7195 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7197 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7199 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7200 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7201 corresponding .cpsetup call.
7203 2014-06-26 Roland McGrath <roland@hack.frob.com>
7205 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7206 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7207 * sysdeps/arm/Makefile [$(subdir) = csu]
7208 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7209 (static-only-routines): Add aeabi_read_tp here.
7210 (shared-only-routines): Add libc-aeabi_read_tp here.
7211 (CFLAGS-libc-start.c): Add -fexceptions here.
7212 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7213 (sysdep_routines, static-only-routines, shared-only-routines):
7214 Don't add to these here.
7215 (CFLAGS-libc-start.c): Likewise.
7217 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7218 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7219 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7220 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7221 * sysdeps/arm/Makefile [$(subdir) = rt]
7222 (librt-sysdep_routines, librt-shared-only-routines):
7223 Append rt-aeabi_unwind_cpp_pr1 here.
7224 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7225 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7226 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7227 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7228 Append nptl-aeabi_unwind_cpp_pr1 here.
7229 (tests): Filter out tst-cleanupx4 here.
7230 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7231 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7232 Don't do those here.
7234 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7236 * scripts/list-sources.sh: Do not handle ports specially.
7238 2014-06-26 Roland McGrath <roland@hack.frob.com>
7240 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7241 * sysdeps/arm/feupdateenv.c: Likewise.
7243 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7245 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7247 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7248 trailing whitespace removed.
7249 * scripts/config.guess: Update to version 2014-03-23.
7250 * scripts/config.sub: Update to version 2014-05-01
7251 * scripts/install-sh: Update to version 2013-12-25.23.
7252 * scripts/move-if-change: Update from gnulib.
7254 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7256 * debug/memmove_chk.c: Remove pagecopy.h include.
7258 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7260 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7261 identical to gnulib mktime.
7263 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7265 * configure.ac: Do not test for machine being rs6000. Do not test
7267 * configure: Regenerated.
7269 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7271 * configure: Regenerated.
7272 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7273 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7274 Remove configure test.
7275 * sysdeps/arm/configure: Regenerated.
7276 * sysdeps/nptl/configure.ac: Do not check
7277 libc_cv_asm_cfi_directives.
7278 * sysdeps/nptl/configure: Regenerated.
7279 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7280 * sysdeps/x86_64/nptl/configure: Remove generated file.
7281 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7283 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7285 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7287 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7288 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7289 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7292 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7293 instead of whether it is defined.
7294 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7295 * sysdeps/hppa/dl-machine.h: Likewise.
7296 * sysdeps/ia64/dl-machine.h: Likewise.
7297 * sysdeps/m68k/dl-machine.h: Likewise.
7298 * sysdeps/microblaze/dl-machine.h: Likewise.
7299 * sysdeps/mips/dl-machine.: Likewise.
7300 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7301 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7302 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7303 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7304 * sysdeps/sh/dl-machine.h: Likewise.
7305 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7306 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7307 * sysdeps/tile/dl-machine.h: Likewise.
7308 * sysdeps/x86_64/dl-machine.h: Likewise.
7310 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7312 (verify_persistent_db): Likewise.
7314 2014-06-26 Roland McGrath <roland@hack.frob.com>
7316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7317 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7319 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7322 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7325 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7327 Identical file removed.
7328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7329 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7331 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7333 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7335 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7337 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7340 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7342 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7344 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7347 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7349 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7351 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7353 Identical file removed.
7354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7355 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7357 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7360 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7363 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7365 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7367 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7369 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7371 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7374 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7377 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7379 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7382 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7384 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7386 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7388 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7389 * sysdeps/unix/sysv/linux/s390/Versions
7390 (libpthread: GLIBC_2.19): New version set.
7391 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7392 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7393 (librt: GLIBC_2.3.3): New version set.
7394 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7395 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7396 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7398 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7400 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7402 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7404 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7405 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7406 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7407 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7408 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7409 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7410 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7411 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7412 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7414 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7415 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7416 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7417 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7418 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7419 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7420 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7421 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7422 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7423 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7424 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7425 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7428 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7429 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7430 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7432 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7433 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7434 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7436 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7438 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7440 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7441 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7442 (__libc_vfork): Define the function under this name.
7443 [!NOT_IN_libc] (__vfork): Make this an alias.
7444 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7445 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7446 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7447 (__libc_vfork): Define the function under this name.
7448 [!NOT_IN_libc] (__vfork): Make this an alias.
7449 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7450 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7451 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7452 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7453 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7454 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7456 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7457 code that was previously under [RESET_PID].
7458 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7459 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7460 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7462 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7463 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7464 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7465 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7466 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7467 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7468 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7469 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7470 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7471 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7472 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7474 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7475 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7476 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7477 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7478 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7479 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7480 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7481 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7482 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7483 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7484 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7485 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7486 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7487 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7488 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7489 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7490 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7491 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7492 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7493 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7496 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7497 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7498 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7499 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7500 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7501 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7502 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7504 2014-06-25 Roland McGrath <roland@hack.frob.com>
7506 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7507 that was previously under [RESET_PID].
7508 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7510 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7513 not undefine and redefine.
7514 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7515 [O_CLOEXEC]: Make code unconditional.
7516 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7517 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7518 <kernel-features.h>.
7519 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7520 conditional variable definition.
7521 (shm_open) [O_CLOEXEC]: Make code unconditional.
7522 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7525 * configure.ac (USE_REGPARMS): Don't define here.
7526 * configure: Regenerated.
7527 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7528 * sysdeps/i386/configure: Regenerated.
7530 * nptl/createthread.c: Don't include kernel-features.h.
7531 * nptl/pthread_cancel.c: Likewise.
7532 * nptl/pthread_condattr_setclock.c: Likewise.
7533 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7534 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7535 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7536 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7537 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7538 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7539 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7540 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7542 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7543 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7544 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7545 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7546 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7547 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7548 * nscd/gai.c: Likewise.
7549 * nss/nss_db/db-open.c: Likewise.
7550 * sysdeps/generic/ldsodefs.h: Likewise.
7551 * sysdeps/sh/nptl/tls.h: Likewise.
7552 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7553 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7554 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7555 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7556 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7557 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7558 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7559 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7560 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7561 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7562 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7563 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7564 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7565 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7566 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7567 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7568 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7569 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7570 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7571 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7572 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7573 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7574 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7575 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7576 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7577 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7578 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7579 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7580 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7581 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7582 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7583 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7584 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7585 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7586 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7587 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7588 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7589 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7590 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7591 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7592 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7593 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7594 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7595 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7596 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7597 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7598 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7599 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7600 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7601 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7602 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7603 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7604 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7605 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7606 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7607 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7608 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7609 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7632 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7633 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7634 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7635 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7636 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7637 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7638 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7639 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7640 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7641 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7642 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7643 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7644 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7645 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7646 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7647 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7648 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7649 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7650 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7651 * sysdeps/unix/sysv/linux/system.c: Likewise.
7652 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7653 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7654 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7655 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7656 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7657 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7658 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7660 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7661 * configure: Regenerated.
7662 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7664 * configure.ac (base_machine): Do not set specially for particular
7666 * configure: Regenerated.
7667 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7668 settings from configure.ac.
7669 * sysdeps/i386/preconfigure: New file.
7670 * sysdeps/s390/preconfigure: Likewise.
7671 * sysdeps/sh/preconfigure: Likewise.
7672 * sysdeps/sparc/preconfigure: Likewise.
7674 2014-06-25 Roland McGrath <roland@hack.frob.com>
7676 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7677 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7678 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7679 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7680 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7681 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7682 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7683 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7684 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7685 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7686 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7687 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7688 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7689 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7690 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7691 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7692 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7693 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7694 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7696 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7697 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7698 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7699 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7700 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7701 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7702 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7703 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7704 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7705 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7706 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7707 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7708 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7709 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7710 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7711 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7712 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7713 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7714 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7715 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7716 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7717 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7718 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7719 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7720 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7721 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7722 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7723 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7724 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7725 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7726 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7727 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7728 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7729 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7730 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7731 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7732 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7733 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7736 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7738 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7741 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7744 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7746 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7749 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7751 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7753 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7755 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7758 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7761 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7763 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7766 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7768 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7770 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7772 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7774 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7777 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7780 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7782 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7785 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7787 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7789 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7791 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7794 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7797 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7799 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7802 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7804 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7806 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7808 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7810 * timezone/checktab.awk: Update from tzcode 2014e.
7811 * timezone/private.h: Likewise.
7812 * timezone/tzfile.h: Likewise.
7813 * timezone/zdump.c: Likewise.
7814 * timezone/zic.c: Likewise.
7816 * sysdeps/unix/sysv/linux/kernel-features.h
7817 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7818 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7819 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7820 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7821 Remove conditional code.
7823 2014-06-25 Will Newton <will.newton@linaro.org>
7825 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7826 (_dl_arm_cap_flags): Add HWCAP2 values.
7827 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7828 (_DL_HWCAP_COUNT): Increase to 37.
7829 (_DL_HWCAP_LAST): New define.
7830 (_DL_HWCAP2_LAST): New define.
7831 (_dl_procinfo): Add support for printing
7833 (_dl_string_hwcap): Use _dl_hwcap_string.
7835 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7839 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7841 * README: Do not mention ports directory.
7843 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7845 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7846 <kernel-features.h>.
7847 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7848 conditional variable definition.
7849 (__futimes): Update comment.
7850 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7851 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7854 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7855 arguments close to 0.
7856 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7858 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7860 * math/auto-libm-test-in: Add more tests of exp10.
7861 * math/auto-libm-test-out: Regenerated.
7862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7864 * sysdeps/unix/sysv/linux/kernel-features.h
7865 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7866 * sysdeps/unix/sysv/linux/readv.c: Do not include
7867 <kernel-features.h>.
7868 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7869 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7870 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7872 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7874 * sysdeps/unix/sysv/linux/writev.c: Do not include
7875 <kernel-features.h>.
7876 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7877 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7878 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7880 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7883 2014-06-25 Will Newton <will.newton@linaro.org>
7885 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7886 comment changes throughout the file. Remove checks
7887 for HAVE_*_H definitions that are not required.
7888 (__gen_tempname): Call abort if an unknown kind value is
7891 2014-06-25 Andreas Schwab <schwab@suse.de>
7894 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7895 scalbln, scalblnf, scalblnl in libc.
7897 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7900 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7901 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7902 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7904 2014-06-24 Roland McGrath <roland@hack.frob.com>
7906 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7907 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7908 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7909 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7911 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7912 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7914 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7915 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7916 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7917 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7918 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7919 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7920 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7921 * sysdeps/x86/bits/semaphore.h: ... here.
7922 * sysdeps/x86/nptl/elide.h: Moved ...
7923 * sysdeps/x86/elide.h: ... here.
7924 * sysdeps/x86_64/nptl/Implies: File removed.
7925 * sysdeps/i386/nptl/Implies: File removed.
7927 2014-06-24 Joseph Myers <joseph@codesourcery.com>
7930 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7931 return the argument for normal arguments with exponent below -64.
7932 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7934 * math/auto-libm-test-in: Add another test of expm1.
7935 * math/auto-libm-test-out: Regenerated.
7938 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7939 calling __erfcl for arguments at least 16.
7940 * math/auto-libm-test-in: Add more tests of erf.
7941 * math/auto-libm-test-out: Regenerated.
7943 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7944 individual architectures.
7945 * sysdeps/unix/sysv/linux/configure: Regenerated.
7946 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7947 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7948 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7949 (ldd_rewrite_script): Define variable.
7950 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7955 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7956 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7957 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7958 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7959 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7960 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7961 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7962 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7964 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7967 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7968 Rename member __data.d to __data.__elision_data.
7970 2014-06-24 Wilco <wdijkstr@arm.com>
7972 * NEWS: Add 16918 to fixed bug list.
7974 2014-06-24 Wilco <wdijkstr@arm.com>
7976 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7978 2014-06-24 Wilco <wdijkstr@arm.com>
7980 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7981 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7982 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7983 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7984 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7985 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7986 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7989 2014-06-24 Wilco <wdijkstr@arm.com>
7991 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7993 2014-06-24 Wilco <wdijkstr@arm.com>
7995 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7996 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7997 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7998 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8000 2014-06-24 Wilco <wdijkstr@arm.com>
8003 * sysdeps/arm/feupdateenv.c (feupdateenv):
8004 Rewrite to reduce FPSCR accesses and fix return value.
8006 2014-06-24 Wilco <wdijkstr@arm.com>
8008 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8009 Optimize to avoid unnecessary FPSCR writes.
8010 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8011 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8012 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8013 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8015 2014-06-24 Wilco <wdijkstr@arm.com>
8017 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8018 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8019 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8020 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8021 Call libc_fetestexcept_vfp.
8022 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8023 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8024 __SOFTFP__ ifdef so that they can be built for softfp.
8026 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8028 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8029 argument type signed char.
8031 * Makerules (check-abi): Dump diff of symlist if the test
8034 2014-06-23 Roland McGrath <roland@hack.frob.com>
8036 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8039 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8040 Remove unused variable ST.
8042 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8046 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8047 small arguments before calling __expm1.
8048 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8049 small arguments before calling __expm1f.
8050 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8051 small arguments before calling __expm1l.
8052 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8054 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8055 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8056 spurious underflow for some cosh tests.
8057 * math/auto-libm-test-out: Regenerated.
8058 * sysdeps/i386/fpu/libm-test-ulps: Update.
8061 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8062 (__ieee754_y1): Set errno if return value overflows.
8063 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8064 (__ieee754_y1f): Set errno if return value overflows.
8065 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8066 (__ieee754_y1l): Set errno if return value overflows.
8067 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8068 (__ieee754_y1l): Set errno if return value overflows.
8069 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8070 * math/auto-libm-test-out: Regenerated.
8072 * math/gen-auto-libm-tests.c: Document use of
8073 ignore-zero-inf-sign.
8074 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8075 (input_flags): Add ignore-zero-inf-sign.
8076 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8077 * math/gen-libm-test.pl (generate_testfile): Handle
8078 ignore-zero-inf-sign.
8079 * math/auto-libm-test-in: Mark some cpow tests with
8080 ignore-zero-inf-sign and some with xfail-rounding.
8081 * math/auto-libm-test-out: Regenerated.
8082 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8083 * sysdeps/i386/fpu/libm-test-ulps: Update.
8084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8087 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8088 overflowing or underflowing operations take place with sign of
8090 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8091 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8092 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8093 (__ieee754_pow): Recompute overflowing and underflowing results in
8094 original rounding mode.
8095 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8096 (__powl_helper): Allow negative argument X and scale negated value
8097 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8098 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8099 overflowing or underflowing operations take place with sign of
8101 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8103 * math/auto-libm-test-in: Add more tests of pow.
8104 * math/auto-libm-test-out: Regenerated.
8105 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8106 (pow_tonearest_test_data): Remove.
8107 (pow_test_tonearest): Likewise.
8108 (pow_towardzero_test_data): Likewise.
8109 (pow_test_towardzero): Likewise.
8110 (pow_downward_test_data): Likewise.
8111 (pow_test_downward): Likewise.
8112 (pow_upward_test_data): Likewise.
8113 (pow_test_upward): Likewise.
8114 (main): Don't call removed functions.
8115 * sysdeps/i386/fpu/libm-test-ulps: Update.
8116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8118 2014-06-23 Roland McGrath <roland@hack.frob.com>
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8294 2014-06-23 Will Newton <will.newton@linaro.org>
8295 Wilco <wdijkstr@arm.com>
8297 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8298 implementation. Include get-rounding-mode.h.
8299 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8300 [!libc_feholdsetround_noex_ctx]: Define
8301 libc_feholdsetround_noex_ctx.
8302 [!libc_feholdsetround_noexf_ctx]: Define
8303 libc_feholdsetround_noexf_ctx.
8304 [!libc_feholdsetround_noexl_ctx]: Define
8305 libc_feholdsetround_noexl_ctx.
8306 (libc_feholdsetround_ctx): New function.
8307 (libc_feresetround_ctx): New function.
8308 (libc_feholdsetround_noex_ctx): New function.
8309 (libc_feresetround_noex_ctx): New function.
8311 2014-06-23 Roland McGrath <roland@hack.frob.com>
8313 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8314 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8315 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8316 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8317 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8318 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8320 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8321 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8322 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8323 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8324 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8325 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8326 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8327 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8328 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8329 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8332 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8334 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8335 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8336 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8337 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8338 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8340 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8342 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8343 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8344 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8345 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8346 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8347 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8349 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8350 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8352 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8353 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8354 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8355 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8357 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8359 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8360 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8361 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8362 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8363 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8364 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8365 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8366 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8368 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8370 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8371 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8373 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8374 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8375 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8376 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8377 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8378 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8379 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8380 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8381 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8382 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8384 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8386 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8387 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8388 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8389 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8391 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8392 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8393 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8394 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8395 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8397 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8398 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8399 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8400 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8401 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8402 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8403 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8404 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8405 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8406 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8407 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8408 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8409 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8410 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8411 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8412 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8413 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8414 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8415 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8416 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8417 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8418 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8419 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8420 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8421 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8422 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8423 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8424 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8426 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8428 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8429 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8430 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8431 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8432 (IPV6_PMTUDISC_INTERFACE): Likewise.
8433 (IPV6_PMTUDISC_OMIT): Likewise.
8435 2014-06-23 Andreas Schwab <schwab@suse.de>
8437 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8438 Remove unused errout label.
8440 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8442 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8443 macro: hardware supports Vector Crypto instructions.
8445 2014-06-23 Will Newton <will.newton@linaro.org>
8447 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8448 rather than __builtin_expect.
8450 * elf/dl-lookup.c (undefined_msg): Remove variable.
8451 (_dl_lookup_symbol_x): Replace undefined_msg with string
8454 * elf/dl-lookup.c (do_lookup_unique): New function.
8455 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8456 to a separate function.
8458 2014-06-23 Andreas Schwab <schwab@suse.de>
8461 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8462 before reading the next line.
8464 2014-06-23 Will Newton <will.newton@linaro.org>
8466 * test-skeleton.c (signal_handler): Use printf and %m
8467 rather than perror. Use printf rather than fprintf to
8468 stderr. Use puts rather than fputs to stderr.
8471 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8473 * nscd/nscd.c (thread_info_t): Remove typedef.
8474 (thread_info): Remove variable.
8476 2014-06-21 Allan McRae <allan@archlinux.org>
8478 * NEWS: Mention CVE-2014-4043.
8480 2014-06-20 Roland McGrath <roland@hack.frob.com>
8482 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8483 * nptl/smp.h: ... here.
8485 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8487 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8488 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8489 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8490 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8492 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8493 * nptl/stack-aliasing.h: New file.
8494 * sysdeps/i386/i686/stack-aliasing.h: New file.
8495 * sysdeps/i386/i686/nptl/Makefile: File removed.
8496 * sysdeps/x86_64/stack-aliasing.h: New file.
8497 * sysdeps/x86_64/nptl/Makefile
8498 (CFLAGS-pthread_create.c): Variable removed.
8500 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8501 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8503 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8504 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8507 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8509 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8510 (__ASSUME_SIGFRAME_V2): Remove macro.
8511 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8512 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8513 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8514 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8515 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8516 Declare as function. Remove conditional macro definitions.
8517 (__default_rt_sa_restorer): Likewise.
8518 (__default_sa_restorer_v1): Remove declaration.
8519 (__default_sa_restorer_v2): Likewise.
8520 (__default_rt_sa_restorer_v1): Likewise.
8521 (__default_rt_sa_restorer_v2): Likewise.
8522 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8523 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8524 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8526 2014-06-20 Roland McGrath <roland@hack.frob.com>
8528 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8529 (libpthread-routines): Add sysdep.
8530 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8531 * sysdeps/unix/sysv/linux/sparc/Versions
8532 (libpthread: GLIBC_2.3.3): New version set.
8533 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8534 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8535 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8536 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8537 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8538 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8540 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8541 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8542 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8543 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8544 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8545 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8546 * sysdeps/sparc/nptl/sem_init.c: ... here.
8547 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8548 * sysdeps/sparc/nptl/sem_post.c: ... here.
8549 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8550 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8551 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8552 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8553 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8554 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8555 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8556 (libpthread-routines): Add cpu_relax.
8557 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8559 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8560 (librt: GLIBC_2.3.3): New version set.
8561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8562 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8563 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8564 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8565 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8567 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8570 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8572 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8574 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8576 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8578 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8581 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8585 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8589 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8593 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8597 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8601 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8604 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8606 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8608 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8610 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8612 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8615 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8617 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8619 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8621 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8623 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8624 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8625 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8626 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8627 * nscd/nscd.c: Likewise.
8628 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8629 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8630 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8631 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8633 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8634 <kernel-features.h>.
8635 (init_mq_netlink): Remove conditional have_sock_cloexec
8636 definitions. Remove code conditional on have_sock_cloexec < 0.
8637 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8638 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8639 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8640 <kernel-features.h>.
8641 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8642 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8644 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8647 Add tests for memset_chk and memset.
8649 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8652 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8655 * elf/tst-dl-iter-static.c: New file.
8656 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8658 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8661 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8663 * sysdeps/unix/sysv/linux/kernel-features.h
8664 (__ASSUME_F_GETOWN_EX): Remove macro.
8665 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8666 <kernel-features.h>.
8667 (miss_F_GETOWN_EX): Remove variable or macro.
8668 (do_fcntl): Do not check miss_F_GETOWN_EX.
8669 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8671 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8674 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8675 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8677 * sysdeps/unix/sysv/linux/kernel-features.h
8678 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8679 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8680 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8681 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8683 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8686 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8687 Fix calculation of the symbol's value.
8688 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8689 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8690 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8691 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8692 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8693 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8694 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8695 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8696 (modules-names): Add `tst-armtlsdescmod',
8697 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8698 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8699 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8700 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8701 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8702 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8703 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8704 ($(objpfx)tst-armtlsdescloc): New dependency.
8705 ($(objpfx)tst-armtlsdescextnow): Likewise.
8706 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8707 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8709 * sysdeps/arm/configure: Regenerate.
8711 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8713 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8714 (__atfct_seterrno_2): Likewise.
8715 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8716 <kernel-features.h>.
8717 (__ASSUME_ATFCTS): Do not undefine and redefine.
8718 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8719 (__have_atfcts): Remove conditional definition.
8720 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8721 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8722 unreachable if [__ASSUME_ATFCTS].
8723 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8724 not undefine and redefine.
8725 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8726 <kernel-features.h>.
8727 (faccessat) [__NR_faccessat]: Make code unconditional.
8728 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8729 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8730 <kernel-features.h>.
8731 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8732 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8733 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8734 <kernel-features.h>.
8735 (fchownat) [__NR_fchownat]: Make code unconditional.
8736 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8737 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8738 <kernel-features.h>.
8739 (futimesat) [__NR_futimesat]: Make code unconditional.
8740 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8741 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8742 <kernel-features.h>.
8743 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8744 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8745 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8746 <kernel-features.h>.
8747 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8748 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8749 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8750 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8751 <kernel-features.h>.
8752 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8753 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8754 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8755 <kernel-features.h>.
8756 (linkat) [__NR_linkat]: Make code unconditional.
8757 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8758 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8759 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8760 <kernel-features.h>.
8761 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8762 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8763 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8764 <kernel-features.h>.
8765 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8766 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8767 * sysdeps/unix/sysv/linux/openat.c: Do not include
8768 <kernel-features.h>.
8769 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8770 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8771 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8772 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8773 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8774 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8775 <kernel-features.h>.
8776 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8777 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8778 result of INLINE_SYSCALL directly, not via int variable.
8779 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8780 <kernel-features.h>.
8781 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8782 (renameat) [__NR_renameat]: Make code unconditional.
8783 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8784 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8785 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8786 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8787 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8788 (__ASSUME_ATFCTS): Do not undefine and redefine.
8789 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8790 <kernel-features.h>.
8791 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8792 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8793 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8794 <kernel-features.h>.
8795 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8796 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8797 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8798 (__ASSUME_ATFCTS): Do not undefine and redefine.
8799 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8800 <kernel-features.h>.
8801 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8802 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8803 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8804 <kernel-features.h>.
8805 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8806 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8808 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8810 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8812 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8815 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8816 constructed tree before returning error.
8817 * posix/bug-regexp36.c: Expand test case.
8819 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8822 * math/libm-test.inc (scalbln_test_date):
8823 Add errno expectations.
8824 * math/w_scalblnf.c: New File.
8825 Add wrapper which checks for setting errno to ERANGE.
8826 Add weak_alias for corresponding scalbln function.
8827 * math/w_scalbln.c: Likewise.
8828 * math/w_scalblnl.c: Likewise.
8829 * math/Makefile (libm-calls): Add w_scalbln.
8830 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8831 Remove weak_alias for corresponding scalbln function.
8832 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8836 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8837 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8838 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8839 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8840 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8841 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8842 Remove long_double_symbol for scalblnl function in libm, libc.
8843 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8844 Add wrapper which checks for setting errno to ERANGE.
8845 Add long_double_symbol for scalblnl function in libm, libc.
8846 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8847 Remove long_double_symbol for scalblnl in libm.
8848 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8849 Add wrapper which checks for setting errno to ERANGE.
8850 Add long_double_symbol for scalblnl function in libm.
8851 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8852 Do not use wrapper because of own implementation.
8854 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8856 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8857 3 bytes for __pad1 for x32.
8858 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8860 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8861 H.J. Lu <hongjiu.lu@intel.com>
8863 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8864 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8865 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8866 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8867 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8869 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8872 * posix/regcomp.c (parse_expression): Deallocate partially
8873 constructed tree before returning error.
8874 * posix/Makefile.c (tests): Add bug-regex36.
8875 (generated): Add bug-regex36.mtrace.
8876 (tests-special): Add $(objpfx)bug-regex36-mem.out
8877 (bug-regex36-ENV): New variable.
8878 ($(objpfx)bug-regex36-mem.out): New rule.
8879 * posix/bug-regex36.c: New file.
8881 2014-06-19 Will Newton <will.newton@linaro.org>
8883 * malloc/malloc.c (systrim): If extra is zero then return
8886 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8888 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8890 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
8892 * sysdeps/aarch64/strchr.S: New file.
8894 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8897 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8898 from arguments -2 or below.
8899 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8900 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8902 2014-06-18 Andreas Schwab <schwab@suse.de>
8905 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8906 of a bracket expr not to run off the end of the string.
8907 * posix/Makefile (tests): Add tst-fnmatch3.
8908 * posix/tst-fnmatch3.c: New file.
8910 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8912 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8913 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8914 [$(cross-compiling) = no]: Likewise.
8915 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8916 [$(cross-compiling) = no]: Likewise.
8918 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8921 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8922 double, adjusted for any remainder from the high double.
8923 * math/libm-test.inc (nearbyint): Add tests.
8926 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8928 * nptl/sysdeps/powerpc/Makefile: Moved ...
8929 * sysdeps/powerpc/nptl/Makefile: ... here.
8930 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8931 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8932 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8933 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8934 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8935 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8936 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8937 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8938 * nptl/sysdeps/powerpc/tls.h: Moved ...
8939 * sysdeps/powerpc/nptl/tls.h: ... here.
8941 2014-06-16 Joseph Myers <joseph@codesourcery.com>
8944 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8945 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8946 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8947 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8948 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8949 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8950 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8951 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8952 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8954 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8956 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8958 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8960 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8963 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8966 2014-06-16 Florian Weimer <fweimer@redhat.com>
8969 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8970 non-executed part of the test.
8972 2014-06-16 Andreas Schwab <schwab@suse.de>
8974 * string/bits/string2.h (strdup, strndup): Update feature guard.
8976 2014-06-14 David S. Miller <davem@davemloft.net>
8978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8980 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8982 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8983 that was previously under [RESET_PID].
8984 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8986 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8987 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8988 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8989 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8990 (__libc_vfork): New strong alias.
8991 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8993 2014-06-14 Andi Kleen <ak@linux.intel.com>
8995 * sysdeps/generic/elide.h: New file.
8997 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8999 * Makefile (installed-headers): Adjust path of pthread.h header.
9001 2014-06-13 Roland McGrath <roland@hack.frob.com>
9003 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9004 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9005 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9006 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9008 * nptl/sysdeps/s390/Makefile: Moved ...
9009 * sysdeps/s390/nptl/Makefile: ... here.
9010 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9011 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9012 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9013 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9014 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9015 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9016 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9017 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9018 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9019 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9020 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9021 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9022 * nptl/sysdeps/s390/tls.h: Moved ...
9023 * sysdeps/s390/nptl/tls.h: ... here.
9025 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9026 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9028 2014-06-13 David S. Miller <davem@davemloft.net>
9030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9033 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9037 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9038 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9039 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9040 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9041 Remove RESET_PID cpp guards.
9042 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9043 Remove RESET_PID cpp guards.
9044 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9046 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9048 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9051 2014-06-13 Andi Kleen <ak@linux.intel.com>
9053 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9054 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9055 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9056 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9057 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9058 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9059 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9060 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9061 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9062 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9063 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9064 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9065 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9066 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9067 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9068 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9069 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9070 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9071 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9072 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9074 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9075 (pthread_rwlock_rdlock): Add elision.
9076 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9077 (pthread_rwlock_wrlock): Add elision.
9078 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9079 (pthread_rwlock_trywrlock): Add elision.
9080 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9081 (pthread_rwlock_tryrdlock): Add elision.
9082 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9083 (pthread_rwlock_tryrdlock): Add elision unlock.
9084 * nptl/sysdeps/pthread/pthread.h:
9085 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9086 (PTHREAD_RWLOCK_INITIALIZER,
9087 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9088 Handle new elision field.
9089 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9090 * sysdeps/arm/nptl/bits/pthreadtypes.h
9091 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9092 * sysdeps/sh/nptl/bits/pthreadtypes.h
9093 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9094 * sysdeps/tile/nptl/bits/pthreadtypes.h
9095 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9096 * sysdeps/a/nptl/bits/pthreadtypes.h
9097 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9098 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9099 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9100 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9102 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9104 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9106 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9107 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9108 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9110 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9112 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9114 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9115 (elision_init): Set try_xbegin to zero when no RTM.
9116 * sysdeps/x86/nptl/bits/pthreadtypes.h
9117 (pthread_rwlock_t): Change __pad1 to __rwelision.
9118 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9120 2014-06-13 Andi Kleen <ak@linux.intel.com>
9122 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9123 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9124 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9125 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9127 2014-06-13 Meador Inge <meadori@codesourcery.com>
9130 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9131 that the cached result has been set before returning it.
9133 2014-06-12 Roland McGrath <roland@hack.frob.com>
9135 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9136 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9137 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9138 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9139 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9140 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9142 * nptl/sysdeps/sparc/Makefile: Moved ...
9143 * sysdeps/sparc/nptl/Makefile: ... here.
9144 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9145 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9146 * nptl/sysdeps/sparc/tls.h: Moved ...
9147 * sysdeps/sparc/nptl/tls.h: ... here.
9148 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9149 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9150 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9151 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9152 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9153 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9154 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9155 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9156 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9157 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9158 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9159 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9160 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9161 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9162 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9163 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9164 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9165 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9167 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9168 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9170 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9171 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9173 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9174 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9177 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9179 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9180 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9182 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9183 (struct list_links): Type removed.
9184 (struct thread_node, struct timer_node): Replace struct list_links
9185 with struct list_head.
9186 (list_unlink_ip): Likewise.
9187 * sysdeps/pthread/timer_routines.c
9188 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9189 (list_append, list_insbefore): Likewise.
9190 (list_init): Function removed.
9191 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9192 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9193 * sysdeps/pthread/Makefile: ... here, new file.
9195 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9196 * sysdeps/nptl/Implies: ... here.
9197 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9198 * nptl/sysdeps/pthread/list.h: Moved ...
9199 * include/list.h: ... here.
9200 * nptl/sysdeps/pthread/createthread.c: Moved ...
9201 * nptl/createthread.c: ... here.
9202 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9203 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9204 * nptl/pt-longjmp.c: ... here.
9205 * nptl/sysdeps/pthread/Makefile: Moved ...
9206 * sysdeps/nptl/Makefile: ... here.
9207 * nptl/sysdeps/pthread/Subdirs: Moved ...
9208 * sysdeps/nptl/Subdirs: ... here.
9209 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9210 * sysdeps/nptl/aio_misc.h: ... here.
9211 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9212 * sysdeps/nptl/bits/libc-lock.h: ... here.
9213 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9214 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9215 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9216 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9217 * nptl/sysdeps/pthread/configure: Moved ...
9218 * sysdeps/nptl/configure: ... here.
9219 * nptl/sysdeps/pthread/configure.ac: Moved ...
9220 * sysdeps/nptl/configure.ac: ... here.
9221 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9222 * sysdeps/nptl/gai_misc.h: ... here.
9223 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9224 * sysdeps/nptl/librt-cancellation.c: ... here.
9225 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9226 * sysdeps/nptl/malloc-machine.h: ... here.
9227 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9228 * sysdeps/nptl/pthread-functions.h: ... here.
9229 * nptl/sysdeps/pthread/pthread.h: Moved ...
9230 * sysdeps/nptl/pthread.h: ... here.
9231 * nptl/sysdeps/pthread/setxid.h: Moved ...
9232 * sysdeps/nptl/setxid.h: ... here.
9233 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9234 * sysdeps/nptl/sigfillset.c: ... here.
9235 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9236 * sysdeps/nptl/tcb-offsets.h: ... here.
9237 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9238 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9239 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9240 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9241 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9242 * sysdeps/pthread/allocalim.h: ... here.
9243 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9244 * sysdeps/pthread/bits/sigthread.h: ... here.
9245 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9246 * sysdeps/pthread/flockfile.c: ... here.
9247 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9248 * sysdeps/pthread/ftrylockfile.c: ... here.
9249 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9250 * sysdeps/pthread/funlockfile.c: ... here.
9251 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9252 * sysdeps/pthread/posix-timer.h: ... here.
9253 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9254 * sysdeps/pthread/timer_create.c: ... here.
9255 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9256 * sysdeps/pthread/timer_delete.c: ... here.
9257 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9258 * sysdeps/pthread/timer_getoverr.c: ... here.
9259 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9260 * sysdeps/pthread/timer_gettime.c: ... here.
9261 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9262 * sysdeps/pthread/timer_routines.c: ... here.
9263 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9264 * sysdeps/pthread/timer_settime.c: ... here.
9265 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9266 * sysdeps/pthread/tst-timer.c: ... here.
9267 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9268 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9270 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9271 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9273 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9274 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9275 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9276 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9277 Update #include target.
9278 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9279 * sysdeps/i386/i686/nptl/Makefile: ... here.
9280 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9281 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9282 Update #include target.
9283 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9284 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9285 * nptl/sysdeps/i386/Makefile: Moved ...
9286 * sysdeps/i386/nptl/Makefile: ... here.
9287 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9288 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9289 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9290 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9291 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9292 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9293 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9294 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9295 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9296 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9297 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9298 * nptl/sysdeps/i386/tls.h: Moved ...
9299 * sysdeps/i386/nptl/tls.h: ... here.
9301 * sysdeps/sh/Makefile [$(subdir) = csu]
9302 (gen-as-const-headers): Add tcb-offsets.sym.
9303 * nptl/sysdeps/sh/Makefile: File removed.
9304 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9305 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9306 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9307 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9308 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9309 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9310 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9311 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9312 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9313 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9314 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9315 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9316 * nptl/sysdeps/sh/tls.h: Moved ...
9317 * sysdeps/sh/nptl/tls.h: ... here.
9318 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9319 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9321 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9323 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9325 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9326 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9327 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9328 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9329 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9330 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9331 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9333 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9335 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9336 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9337 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9338 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9339 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9340 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9341 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9342 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9344 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9345 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9347 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9348 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9349 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9350 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9351 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9352 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9353 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9354 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9355 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9356 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9357 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9358 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9359 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9360 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9361 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9362 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9363 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9364 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9365 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9367 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9369 * posix/spawn_faction_addopen.c: Include string.h.
9371 2014-06-11 Roland McGrath <roland@hack.frob.com>
9373 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9374 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9375 * nptl/sysdeps/x86_64/Makefile: Moved ...
9376 * sysdeps/x86_64/nptl/Makefile: ... here.
9377 * nptl/sysdeps/x86_64/configure: Moved ...
9378 * sysdeps/x86_64/nptl/configure: ... here.
9379 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9380 * sysdeps/x86_64/nptl/configure.ac: ... here.
9381 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9382 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9383 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9384 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9385 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9386 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9387 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9388 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9389 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9390 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9391 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9392 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9393 * nptl/sysdeps/x86_64/tls.h: Moved ...
9394 * sysdeps/x86_64/nptl/tls.h: ... here.
9395 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9396 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9397 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9398 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9400 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9402 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9406 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9408 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9410 [POSIX] (off_t): Likewise.
9411 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9412 [POSIX] (S_ISBLK): Require macro.
9413 [POSIX] (S_ISCHR): Likewise.
9414 [POSIX] (S_ISDIR): Likewise.
9415 [POSIX] (S_ISFIFO): Likewise.
9416 [POSIX] (S_ISREG): Likewise.
9417 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9419 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9421 [POSIX] (time_t): Likewise.
9422 [POSIX] (timer_t): Likewise.
9424 2014-06-11 Florian Weimer <fweimer@redhat.com>
9427 * posix/spawn_int.h (struct __spawn_action): Make the path string
9428 non-const to support deallocation.
9429 * posix/spawn_faction_addopen.c
9430 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9431 * posix/spawn_faction_destroy.c
9432 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9433 path in all spawn_do_open actions.
9434 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9435 posix_spawn_file_actions_addopen.
9437 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9439 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9440 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9441 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9442 conditional code always true.
9443 (__libc_vfork): New alias.
9445 2014-06-11 Roland McGrath <roland@hack.frob.com>
9447 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9448 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9450 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9452 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9453 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9455 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9456 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9458 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9459 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9461 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9463 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9464 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9465 multiarch strcmp for PPC64.
9466 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9467 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9469 multiarch optimizations.
9470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9471 (__libc_ifunc_impl_list): Likewise.
9473 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9475 * benchtests/scripts/validate_benchout.py: New script.
9476 * benchtests/Makefile (bench-func): Call it.
9477 * benchtests/scripts/benchout.schema.json: New file.
9479 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9481 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9482 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9483 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9484 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9485 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9486 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9487 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9488 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9489 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9490 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9491 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9492 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9493 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9494 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9495 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9496 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9600 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9601 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9602 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9603 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9604 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9606 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9608 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9609 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9611 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9612 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9613 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9615 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9616 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9617 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9619 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9620 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9622 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9623 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9625 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9626 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9627 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9628 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9630 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9631 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9632 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9634 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9635 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9636 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9638 2014-06-10 Wilco <wdijkstr@arm.com>
9640 * math/test-fenv-return.c: New file.
9641 * math/Makefile: Add new test test-fenv-return.
9643 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9646 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9648 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9649 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9650 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9651 0.0L for an argument of 1.0L.
9652 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9654 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9655 value when x - 1 is zero.
9656 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9657 * sysdeps/i386/fpu/libm-test-ulps: Update.
9658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9660 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9663 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9665 2014-06-09 Roland McGrath <roland@hack.frob.com>
9667 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9668 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9670 2014-06-09 Roland McGrath <roland@hack.frob.com>
9672 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9673 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9675 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9676 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9678 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9679 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9681 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9682 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9684 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9685 if not already defined.
9686 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9687 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9688 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9689 (TLS_INIT_TP): Use it.
9690 (TLS_DEFINE_INIT_TP): New macro.
9691 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9693 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9695 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9697 [POSIX] (IXANY): Likewise.
9698 [POSIX] (OLCUC): Likewise.
9699 [POSIX || POSIX2008] (CBAUD): Do not allow.
9700 [POSIX || POSIX2008] (DEFECHO): Likewise.
9701 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9702 [POSIX || POSIX2008] (ECHOKE): Likewise.
9703 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9704 [POSIX || POSIX2008] (EXTA): Likewise.
9705 [POSIX || POSIX2008] (EXTB): Likewise.
9706 [POSIX || POSIX2008] (FLUSHO): Likewise.
9707 [POSIX || POSIX2008] (LOBLK): Likewise.
9708 [POSIX || POSIX2008] (PENDIN): Likewise.
9709 [POSIX || POSIX2008] (SWTCH): Likewise.
9710 [POSIX || POSIX2008] (VDISCARD): Likewise.
9711 [POSIX || POSIX2008] (VDSUSP): Likewise.
9712 [POSIX || POSIX2008] (VLNEXT): Likewise.
9713 [POSIX || POSIX2008] (VREPRINT): Likewise.
9714 [POSIX || POSIX2008] (VSTATUS): Likewise.
9715 [POSIX || POSIX2008] (VWERASE): Likewise.
9716 (B*): Change to B[0123456789]*.
9717 * conform/data/time.h-data [POSIX || UNIX98]
9718 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9719 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9720 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9721 [POSIX] (tm_*): Do not allow.
9723 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9725 * Makefile (install): Don't set LANGUAGE.
9726 * Makefile.in (install): Likewise.
9727 * assert/Makefile (test-assert-ENV): Remove variable.
9728 (test-assert-perr-ENV): Likewise.
9729 * elf/Makefile (neededtest4-ENV): Likewise.
9730 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9731 [$(cross-compiling) = no]: Don't set LANGUAGE.
9732 * io/ftwtest-sh (LANG): Remove variable.
9733 * libio/Makefile (tst-widetext-ENV): Likewise.
9734 * manual/install.texi (Running make install): Don't refer to
9735 environment settings for make install.
9736 * INSTALL: Regenerated.
9737 * nptl/tst-tls6.sh: Don't set LANG.
9738 * posix/globtest.sh (LANG): Remove variable.
9739 * string/Makefile (tester-ENV): Likewise.
9740 (inl-tester-ENV): Likewise.
9741 (noinl-tester-ENV): Likewise.
9742 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9743 [$(cross-compiling) = no]: Don't set LANGUAGE.
9744 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9745 without explicit environment settings.
9747 2014-06-06 Roland McGrath <roland@hack.frob.com>
9749 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9750 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9751 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9752 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9754 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9756 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9757 other files in the crypt directory.
9758 * crypt/crypt.c: Remove duplicate includes.
9759 * crypt/crypt-entry.c: Likewise.
9760 * crypt/crypt_util.c: Likewise.
9762 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9764 * Makeconfig (run-program-env): New variable.
9765 (run-program-prefix-before-env): Likewise.
9766 (run-program-prefix-after-env): Likewise.
9767 (run-program-prefix): Define in terms of new variables.
9768 (built-program-cmd-before-env): New variable.
9769 (built-program-cmd-after-env): Likewise.
9770 (built-program-cmd): Define in terms of new variables.
9771 (test-program-prefix-before-env): New variable.
9772 (test-program-prefix-after-env): Likewise.
9773 (test-program-prefix): Define in terms of new variables.
9774 (test-program-cmd-before-env): New variable.
9775 (test-program-cmd-after-env): Likewise.
9776 (test-program-cmd): Define in terms of new variables.
9777 * Rules (make-test-out): Use $(run-program-env).
9778 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9779 (help): Do not mention environment variables. Mention
9780 --timeoutfactor option.
9781 (timeoutfactor): New variable.
9782 (blacklist_exports): Remove function.
9783 (exports): Remove variable.
9784 (command): Do not include ${exports}.
9785 * manual/install.texi (Configuring and compiling): Do not mention
9786 test wrappers preserving environment variables. Mention that last
9787 assignment to a variable must take precedence.
9788 * INSTALL: Regenerated.
9789 * benchtests/Makefile (run-bench): Use $(run-program-env).
9790 * catgets/Makefile ($(objpfx)test1.cat): Use
9791 $(built-program-cmd-before-env), $(run-program-env) and
9792 $(built-program-cmd-after-env).
9793 ($(objpfx)test2.cat): Do not specify environment variables
9795 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9796 $(run-program-env) and $(built-program-cmd-after-env).
9797 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9798 $(run-program-env) and $(test-program-cmd-after-env).
9799 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9801 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9802 run_program_env and test_program_cmd_after_env arguments.
9803 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9804 * elf/tst-pathopt.sh: Use run_program_env argument.
9805 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9806 $(test-wrapper-env) and $(run-program-env).
9807 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9808 run_program_env arguments.
9809 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9810 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9811 $(test-program-prefix-before-env), $(run-program-env) and
9812 $(test-program-prefix-after-env).
9813 ($(objpfx)tst-gettext2.out): Likewise.
9814 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9815 run_program_env and test_program_prefix_after_env arguments.
9816 * intl/tst-gettext2.sh: Likewise.
9817 * intl/tst-gettext4.sh: Do not set environment variables
9819 * intl/tst-gettext6.sh: Likewise.
9820 * intl/tst-translit.sh: Likewise.
9821 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9822 $(test-program-prefix-before-env), $(run-program-env) and
9823 $(test-program-prefix-after-env).
9824 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9825 run_program_env and test_program_prefix_after_env arguments.
9826 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9827 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9828 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9829 explicitly with each use of ${test_wrapper_env}.
9830 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9831 $(test-program-prefix-before-env), $(run-program-env) and
9832 $(test-program-prefix-after-env).
9833 * posix/tst-getconf.sh: Do not set environment variables
9835 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9836 run_program_env and test_program_prefix_after_env arguments.
9837 * stdio-common/tst-printf.sh: Do not set environment variables
9839 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9840 $(test-program-prefix-before-env), $(run-program-env) and
9841 $(test-program-prefix-after-env).
9842 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9843 run_program_env and test_program_prefix_after_env arguments.
9844 Split $test calls into $test_pre and $test.
9845 * timezone/Makefile (build-testdata): Use
9846 $(built-program-cmd-before-env), $(run-program-env) and
9847 $(built-program-cmd-after-env).
9849 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9851 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9852 strlen for non SHARED builds.
9854 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9856 * nptl/allocatestack.c (check_list): Inlined function...
9857 (__reclaim_stacks): ... here.
9859 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9862 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9865 2014-06-05 Joseph Myers <joseph@codesourcery.com>
9867 * Rules (make-test-out): Include
9868 LOCPATH=$(common-objpfx)localedata in default environment.
9869 * debug/Makefile (tst-chk1-ENV): Remove variable.
9870 (tst-chk2-ENV): Likewise.
9871 (tst-chk3-ENV): Likewise.
9872 (tst-chk4-ENV): Likewise.
9873 (tst-chk5-ENV): Likewise.
9874 (tst-chk6-ENV): Likewise.
9875 (tst-lfschk1-ENV): Likewise.
9876 (tst-lfschk2-ENV): Likewise.
9877 (tst-lfschk3-ENV): Likewise.
9878 (tst-lfschk4-ENV): Likewise.
9879 (tst-lfschk5-ENV): Likewise.
9880 (tst-lfschk6-ENV): Likewise.
9881 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9882 (tst-iconv7-ENV): Likewise.
9883 * intl/Makefile (LOCPATH-ENV): Likewise.
9884 (tst-codeset-ENV): Likewise.
9885 (tst-gettext3-ENV): Likewise.
9886 (tst-gettext5-ENV): Likewise.
9887 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9888 (tst-fopenloc-ENV): Likewise.
9889 (tst-fgetws-ENV): Remove variable.
9890 (tst-ungetwc1-ENV): Likewise.
9891 (tst-ungetwc2-ENV): Likewise.
9892 (bug-ungetwc2-ENV): Likewise.
9893 (tst-swscanf-ENV): Likewise.
9894 (bug-ftell-ENV): Likewise.
9895 (tst-fgetwc-ENV): Likewise.
9896 (tst-fseek-ENV): Likewise.
9897 (tst-ftell-partial-wide-ENV): Likewise.
9898 (tst-ftell-active-handler-ENV): Likewise.
9899 (tst-ftell-append-ENV): Likewise.
9900 * posix/Makefile (tst-fnmatch-ENV): Likewise.
9901 (tst-regexloc-ENV): Likewise.
9902 (bug-regex1-ENV): Likewise.
9903 (tst-regex-ENV): Likewise.
9904 (tst-regex2-ENV): Likewise.
9905 (bug-regex5-ENV): Likewise.
9906 (bug-regex6-ENV): Likewise.
9907 (bug-regex17-ENV): Likewise.
9908 (bug-regex18-ENV): Likewise.
9909 (bug-regex19-ENV): Likewise.
9910 (bug-regex20-ENV): Likewise.
9911 (bug-regex22-ENV): Likewise.
9912 (bug-regex23-ENV): Likewise.
9913 (bug-regex25-ENV): Likewise.
9914 (bug-regex26-ENV): Likewise.
9915 (bug-regex30-ENV): Likewise.
9916 (bug-regex32-ENV): Likewise.
9917 (bug-regex33-ENV): Likewise.
9918 (bug-regex34-ENV): Likewise.
9919 (bug-regex35-ENV): Likewise.
9920 (tst-rxspencer-ENV): Likewise.
9921 (tst-rxspencer-no-utf8-ENV): Likewise.
9922 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9923 (tst-sscanf-ENV): Likewise.
9924 (tst-swprintf-ENV): Likewise.
9925 (tst-swscanf-ENV): Likewise.
9926 (test-vfprintf-ENV): Likewise.
9927 (scanf13-ENV): Likewise.
9928 (bug14-ENV): Likewise.
9929 (tst-grouping-ENV): Likewise.
9930 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9931 (tst-strtod3-ENV): Likewise.
9932 (tst-strtod4-ENV): Likewise.
9933 (tst-strtod5-ENV): Likewise.
9934 (testmb2-ENV): Likewise./
9935 * string/Makefile (tst-strxfrm-ENV): Likewise.
9936 (tst-strxfrm2-ENV): Likewise.
9937 (bug-strcoll1-ENV): Likewise.
9938 (test-strcasecmp-ENV): Likewise.
9939 (test-strncasecmp-ENV): Likewise.
9940 * time/Makefile (tst-strptime-ENV): Likewise.
9941 (tst-ftime_l-ENV): Likewise.
9942 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9943 (tst-mbrtowc-ENV): Likewise.
9944 (tst-wcrtomb-ENV): Likewise.
9945 (tst-mbrtowc2-ENV): Likewise.
9946 (tst-c16c32-1-ENV): Likewise.
9947 (tst-mbsnrtowcs-ENV): Likewise.
9949 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9951 * manual/resource.texi (How to get information about the memory
9952 subsystem?): Fix typo.
9953 Reported by Peon de la Parra Ivan <peon@keba.com>
9955 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9958 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9959 (pthread_spin_lock): Branch out of spin loop to proper location.
9960 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9961 (pthread_spin_lock): Likewise.
9963 * nptl/tst-spin4.c: New test.
9964 * nptl/Makefile (tests): Add tst-spin4.
9966 2014-06-03 Andreas Schwab <schwab@suse.de>
9969 * resolv/res_send.c (send_dg): Reload file descriptor after
9972 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9974 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9976 2014-06-03 Richard Henderson <rth@redhat.com>
9978 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9979 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9980 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9981 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9982 in the SAVE_PID block.
9983 (__libc_vfork): New alias.
9984 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9986 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9987 child in registers, not on the stack. Remove RESET_PID conditionals.
9988 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9990 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9992 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9994 2014-06-03 Wilco <wdijkstr@arm.com>
9996 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9997 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9998 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9999 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10000 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10003 2014-06-03 Wilco <wdijkstr@arm.com>
10005 * sysdeps/aarch64/fpu/math_private.h
10006 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10007 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10008 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10009 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10012 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10014 * crypt/crypt-private.h: Include ufc-crypt.h.
10015 (__b64_from_24bit): Declare extern.
10016 * crypt/crypt_util.c(__b64_from_24bit): New function.
10017 (b64t): New static const variable.
10018 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10019 (b64t): Remove variable.
10020 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10021 * crypt/sha256-crypt.c: Include crypt-private.h.
10022 (b64t): Remove variable.
10023 (__sha256_crypt_r): Remove b64_from_24bit and replace
10024 with __b64_from_24bit.
10025 * crypt/sha512-crypt.c: Likewise.
10027 2014-06-02 Roland McGrath <roland@hack.frob.com>
10029 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10030 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10031 Label the code __libc_vfork rather than __vfork.
10032 [!NOT_IN_libc] (vfork): Define as weak alias.
10033 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10034 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10035 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10037 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10039 * malloc/malloc.c (malloc_info): Fix format specifier for
10042 2014-06-02 Wilco <wdijkstr@arm.com>
10044 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10047 2014-06-02 Wilco <wdijkstr@arm.com>
10050 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10051 Rewrite to reduce FPCR/FPSR accesses.
10053 2014-06-01 David S. Miller <davem@davemloft.net>
10055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10057 2014-05-31 David S. Miller <davem@davemloft.net>
10059 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10060 to occur in round to nearest mode when |x| >= 2.0
10062 2014-05-30 Richard Henderson <rth@twiddle.net>
10064 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10065 (PSEUDO_RET_NOERRNO): Remove.
10066 (ret): Don't redefine.
10067 (ret_NOERRNO): Define in terms of ret.
10068 (ret_ERRVAL): Likewise.
10070 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10071 use of PSEUDO_RET; perform the error check directly.
10073 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10075 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10078 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10080 * malloc/malloc (malloc_info): Fix formatting.
10082 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10083 Roland McGrath <roland@hack.frob.com>
10085 * malloc/malloc (malloc_info): Also print mmapped statistics.
10087 2014-05-30 Roland McGrath <roland@hack.frob.com>
10089 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10090 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10092 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10094 * malloc/malloc.c (malloc_info): Inline mi_arena.
10096 2014-05-29 Richard Henderson <rth@twiddle.net>
10098 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10099 Remove comma before expanding ASM_ARGS_##nr.
10100 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10101 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10103 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10104 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10105 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10106 (ASM_ARGS_1): Add leading comma.
10108 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10109 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10110 to __errno_location.
10111 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10112 Remove the expected plt for __errno_location.
10114 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10115 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10118 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10119 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10120 it and break it down.
10121 (DOCARGS_0, DOCARGS_1): Do nothing.
10122 (DOCARGS_2): Update to store into the new stack frame.
10123 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10124 (UNDOCARGS_1): Update to restore from the new stack frame.
10125 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10126 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10128 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10129 (SINGLE_THREAD_P): New parameter for result regno.
10130 (PSEUDO): Update to match; use cbz instead of beq.
10132 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10133 Use ENTRY to define the _nocancel entry point. Share the syscall
10134 and syscall error check paths with the cancel path.
10137 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10138 whitespace; tabs before and after asm mnemonics.
10140 2014-05-29 Eric Wong <normalperson@yhbt.net>
10143 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10144 Call fstat64 or stat64 internally, depending on arguments passed.
10145 Replace stat buffer argument with file descriptor argument.
10146 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10147 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10148 Pass fd to __internal_statvfs instead of calling fstat64.
10149 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10150 Pass fd to __internal_statvfs64 instead of calling fstat64.
10151 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10152 Pass -1 to __internal_statvfs instead of calling stat64.
10153 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10154 Pass -1 to __internal_statvfs64 instead of calling stat64.
10156 2014-05-28 Roland McGrath <roland@hack.frob.com>
10158 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10159 that was previously under [RESET_PID].
10160 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10162 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10163 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10165 2014-05-27 Roland McGrath <roland@hack.frob.com>
10167 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10169 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10170 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10172 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10174 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10176 2014-05-27 Andreas Schwab <schwab@suse.de>
10178 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10180 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10181 * elf/rtld.c (init_tls, dl_main): Likewise.
10182 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10183 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10184 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10185 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10186 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10187 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10188 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10189 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10190 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10191 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10192 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10193 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10194 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10195 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10196 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10197 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10198 * sysdeps/generic/tls.h: Update description.
10200 2014-05-27 Will Newton <will.newton@linaro.org>
10203 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10204 and restore r2 rather than just restoring.
10206 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10209 * libio/tst-ftell-append.c: New test case.
10210 * libio/Makefile (tests): Add test case.
10211 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10213 * libio/wfileops.c (do_ftell_wide): Likewise.
10215 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10219 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10223 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10224 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10225 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10226 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10227 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10228 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10229 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10235 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10236 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10237 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10238 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10239 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10241 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10242 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10244 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10246 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10248 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10249 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10250 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10252 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10253 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10254 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10255 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10257 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10260 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10263 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10273 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10278 conditional [RESET_PID].
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10282 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10287 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10288 (__libc_vfork): New strong alias.
10289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10296 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10297 (__libc_vfork): New strong alias.
10298 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10303 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10305 * malloc/malloc.c (mi_arena): New function.
10306 (malloc_info): Remove nested function mi_arena. Call non-nosted
10309 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10311 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10313 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10314 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10315 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10316 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10317 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10318 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10319 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10321 2014-05-26 Andreas Schwab <schwab@suse.de>
10324 * locale/programs/repertoire.c (repertoire_read): Add slash
10325 between I18NPATH element and file name.
10326 * locale/programs/locfile.c (locfile_read): Likewise.
10328 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10330 * nptl/pthread_mutexattr_settype.c
10331 (__pthread_mutexattr_settype):
10332 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10334 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10336 * nptl/tst-mutex5 (do_test):
10337 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10339 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10341 * benchtests/README: Document 'init' directive.
10342 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10344 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10345 (parse_file): Recognize 'init' directive.
10347 2014-05-26 Kyle McMartin <kyle@redhat.com>
10350 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10351 alignment of struct pthread.
10353 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10356 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10357 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10358 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10359 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10361 2014-05-25 Richard Henderson <rth@twiddle.net>
10363 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10364 (SINGLE_THREAD_P_PIC): Remove.
10365 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10366 (SINGLE_THREAD_P_PIC): Remove.
10368 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10369 branch to syscall error ...
10370 (PSEUDO): ... here.
10371 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10372 from __local_syscall_error to .Lsyscall_error.
10373 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10374 (SYSCALL_ERROR): Update label name.
10376 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10377 Do not use DOARGS/UNDOARGS.
10378 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10379 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10380 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10381 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10382 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10384 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10387 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10388 define if !NOT_IN_libc.
10389 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10390 define with non-default symbol versions.
10392 2014-05-23 Richard Henderson <rth@twiddle.net>
10394 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10395 (vfork, __vfork): Define via compat_symbol.
10397 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10398 [!HAVE_IFUNC] (vfork_compat): Remove.
10399 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10401 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10404 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10405 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10408 2014-05-23 Richard Henderson <rth@twiddle.net>
10410 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10411 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10412 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10413 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10415 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10416 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10417 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10418 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10419 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10420 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10421 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10422 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10423 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10424 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10425 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10426 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10427 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10428 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10429 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10430 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10431 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10432 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10433 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10434 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10435 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10436 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10437 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10438 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10439 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10440 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10441 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10442 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10443 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10444 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10445 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10446 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10447 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10448 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10449 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10450 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10451 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10452 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10453 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10454 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10455 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10456 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10457 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10458 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10459 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10460 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10461 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10462 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10463 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10464 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10465 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10466 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10467 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10468 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10469 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10470 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10472 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10473 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10474 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10475 before exiting on error.
10476 (__libc_vfork): New strong alias.
10477 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10478 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10480 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10481 that was previously under [RESET_PID].
10482 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10484 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10486 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10489 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10490 value when x - 1 is zero.
10491 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10492 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10493 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10494 0.0L for an argument of 1.0L.
10495 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10497 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10498 value when x - 1 is zero.
10499 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10500 * sysdeps/i386/fpu/libm-test-ulps: Update.
10501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10503 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10505 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10506 alphasort and versionsort.
10508 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10510 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10512 [copysignf]: Likewise.
10514 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10516 * crypt/md5-crypt.c: Fix formatting.
10518 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10520 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10521 (b64_from_24bit): New function.
10523 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10525 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10526 libc_hidden_builtin_def to ifunc.
10527 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10528 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10530 2014-05-21 Roland McGrath <roland@hack.frob.com>
10532 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10533 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10535 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10537 * nscd/Depend (linuxthreads): Remove.
10539 * resolv/Depend (linuxthreads): Remove.
10540 * rt/Depend (linuxthreads): Remove.
10542 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10543 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10544 $(common-objpfx)elf/.
10545 (link-libc-before-gnulib): Likewise.
10546 (elfobjdir): Remove variable.
10547 * Makefile (install): Use $(elf-objpfx) instead of
10548 $(common-objpfx)elf/.
10549 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10551 (link-libc-deps): Likewise.
10552 ($(common-objpfx)libc.so): Likewise.
10553 ($(common-objpfx)linkobj/libc.so): Likewise.
10554 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10555 instead of $(common-objpfx)elf/.
10556 (symbolic-link-list): Likewise.
10557 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10558 [$(cross-compiling) = no]: Likewise.
10559 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10561 (static-gnulib-arch): Likewise.
10562 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10563 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10564 $(common-objpfx)elf/.
10566 2014-05-21 Richard Henderson <rth@redhat.com>
10568 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10569 (SINGLE_THREAD_P): Use the correct width load. Fold
10570 into the ldr offset.
10572 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10573 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10575 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10577 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10578 (libgcc_s_resume): Use __attribute_used__.
10579 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10582 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10584 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10585 optimization when used with float constants.
10587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10589 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10592 * locale/nl_langinfo_l.c: Make direct reference to every
10593 _nl_current_CATEGORY symbol.
10594 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10595 (tests-static): Add tst-langinfo-static.
10596 (tests-special): Add tst-langinfo-static.out.
10597 ($(objpfx)tst-langinfo.out): Redirect output.
10598 ($(objpfx)tst-langinfo-static.out): New.
10599 * localedata/tst-langinfo.sh: Send output to stdout.
10600 * localedata/tst-langinfo-static.c: New file.
10603 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10604 when the shift amount is modulo the limb size.
10606 2014-05-20 Richard Henderson <rth@redhat.com>
10609 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10610 Change type of sa_flags from unsigned int to int.
10613 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10615 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10617 2014-05-20 Will Newton <will.newton@linaro.org>
10619 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10620 Test the return value of the system call in the nocancel case.
10622 2014-05-20 Will Newton <will.newton@linaro.org>
10623 Yvan Roux <yvan.roux@linaro.org>
10625 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10626 #include of asm/ptrace.h.
10627 (PTRACE_GET_THREAD_AREA): Remove #undef.
10628 (PTRACE_GETHBPREGS): Likewise.
10629 (PTRACE_SETHBPREGS): Likewise.
10630 (struct user_regs_struct): New structure.
10631 (struct user_fpsimd_struct): New structure.
10632 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10633 #include of asm/ptrace.h and second #include of sys/user.h.
10634 (PTRACE_GET_THREAD_AREA): Remove #undef.
10635 (PTRACE_GETHBPREGS): Likewise.
10636 (PTRACE_SETHBPREGS): Likewise.
10637 (ELF_NGREG): Use new struct user_regs_struct.
10638 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10640 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10642 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10643 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10645 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10648 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10649 membar to avoid block loads/stores to overlap previous stores.
10651 2014-05-17 Richard Henderson <rth@redhat.com>
10653 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10654 Create the __##syscall_name##_nocancel entry point.
10655 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10656 Remove; let the sysdep-cancel.h code create it.
10658 2014-05-17 David S. Miller <davem@davemloft.net>
10660 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10661 Protect with __USE_GNU.
10662 (TIOCSET_TEMPT): Likewise.
10663 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10664 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10665 these are already provided in bits/ioctl-types.h
10667 2014-05-16 Roland McGrath <roland@hack.frob.com>
10669 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10670 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10672 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10673 Use wait4 regardless of [__NR_waitpid].
10675 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10678 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10679 (_FP_NANSIGN_Q): Set the quiet bit.
10681 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10683 * benchtests/Makefile
10684 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10685 not $(common-objpfx)math/libm.so.
10686 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10687 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10688 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10689 $(common-objpfx)dlfcn/libdl.so.
10690 ($(objpfx)tst-audit8): Depend on $(libm), not
10691 $(common-objpfx)math/libm.so.
10692 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10693 not $(common-objpfx)dlfcn/libdl.so.
10695 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10696 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10697 [$(build-shared) = yes].
10698 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10699 $(common-objpfx)nptl/libpthread.so.
10700 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10701 $(common-objpfx)math/libm.so$(libm.so-version) or
10702 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10703 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10704 $(common-objpfx)dlfcn/libdl.so.
10705 * setjmp/Makefile (link-libm): Remove variable.
10706 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10707 * stdio-common/Makefile (link-libm): Remove variable.
10708 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10709 * stdlib/Makefile (link-libm): Remove variable.
10710 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10711 ($(objpfx)tst-strtod-round): Likewise.
10712 ($(objpfx)tst-tininess): Likewise.
10713 ($(objpfx)tst-strtod-underflow): Likewise.
10714 ($(objpfx)tst-strtod6): Likewise.
10715 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10716 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10717 $(common-objpfx)dlfcn/libdl.so.
10719 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10721 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10722 BSD terminal modes definitions.
10724 2014-05-16 Roland McGrath <roland@hack.frob.com>
10726 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10727 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10729 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10730 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10731 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10732 Don't do #include_next.
10733 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10734 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10735 Don't do #include_next.
10736 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10737 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10738 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10739 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10741 2014-05-16 Allan McRae <allan@archlinux.org>
10743 * po/sv.po: Update Swedish translation from translation project.
10745 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10748 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10751 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10752 errno if the TIOCGPTN ioctl fails with an error different than
10754 * login/tst-ptsname.c: New file.
10755 * login/Makefile (tests): Add tst-ptsname.
10758 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10761 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10765 herrno to return EAI_AGAIN.
10767 2014-05-14 Roland McGrath <roland@hack.frob.com>
10769 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10770 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10771 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10772 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10773 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10774 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10775 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10776 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10777 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10778 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10779 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10780 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10781 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10782 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10783 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10784 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10785 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10786 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10787 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10788 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10789 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10790 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10791 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10792 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10793 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10794 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10795 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10796 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10797 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10798 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10800 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10802 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10805 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10807 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10809 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10811 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10813 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10815 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10817 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10819 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10821 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10823 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10825 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10827 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10829 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10831 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10834 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10836 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10838 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10840 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10842 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10844 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10846 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10848 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10850 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10852 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10855 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10857 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10859 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10860 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10861 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10862 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10863 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10864 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10865 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10866 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10867 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10868 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10869 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10870 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10871 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10872 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10873 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10874 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10875 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10876 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10877 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10878 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10879 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10880 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10881 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10882 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10883 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10884 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10885 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10886 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10887 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10888 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10889 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10891 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10892 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10894 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10895 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10896 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10897 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10898 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10899 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10901 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10902 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10904 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10905 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10907 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10908 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10910 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10911 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10912 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10913 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10915 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10916 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10917 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10918 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10919 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10920 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10921 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10922 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10924 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10925 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10927 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10929 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10930 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10931 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10932 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10933 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10935 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10937 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10939 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10940 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10941 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10942 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10943 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10944 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10946 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10947 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10949 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10950 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10952 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10953 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10955 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10956 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10957 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10958 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10960 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10961 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10962 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10963 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10964 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10965 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10966 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10967 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10969 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10970 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10972 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10974 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10975 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10976 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10977 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10978 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10980 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10982 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10984 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10985 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10986 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10987 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10988 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10989 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10990 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10991 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10992 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10993 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10995 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10996 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10998 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10999 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11001 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11002 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11004 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11005 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11006 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11007 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11008 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11009 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11011 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11012 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11013 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11014 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11015 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11016 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11017 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11018 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11020 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11021 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11023 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11025 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11026 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11027 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11028 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11029 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11031 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11033 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11035 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11036 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11037 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11038 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11039 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11040 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11041 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11042 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11043 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11044 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11045 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11047 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11048 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11050 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11051 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11053 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11054 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11055 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11056 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11057 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11058 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11059 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11060 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11061 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11062 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11063 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11064 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11065 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11066 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11067 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11068 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11069 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11070 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11072 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11074 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11075 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11077 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11079 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11081 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11082 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11083 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11084 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11086 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11087 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11089 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11090 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11091 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11093 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11094 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11095 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11096 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11097 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11098 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11099 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11100 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11101 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11102 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11103 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11104 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11105 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11107 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11108 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11109 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11110 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11111 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11113 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11114 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11115 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11116 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11117 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11118 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11119 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11120 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11121 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11122 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11124 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11127 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11128 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11129 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11130 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11131 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11132 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11133 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11134 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11135 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11136 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11137 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11138 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11139 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11140 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11161 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11162 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11163 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11164 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11165 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11166 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11167 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11168 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11169 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11170 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11171 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11172 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11173 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11174 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11175 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11177 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11178 that was previously under [RESET_PID].
11179 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11180 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11181 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11183 * sysdeps/i386/nptl/Implies: New file.
11184 * sysdeps/x86_64/nptl/Implies: New file.
11185 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11186 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11187 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11188 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11190 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11191 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11192 (__libc_vfork): New strong alias.
11193 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11194 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11196 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11197 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11198 (__libc_vfork): New strong alias.
11199 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11200 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11202 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11203 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11204 (__libc_vfork): New strong alias.
11205 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11206 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11207 * nptl/pt-vfork.c: New file.
11208 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11209 (libpthread: GLIBC_2.20): New version set (empty).
11211 2014-05-14 Will Newton <will.newton@linaro.org>
11213 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11216 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11219 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11220 arguments with exponent 65 or above.
11221 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11222 arguments 0x1p113L or above.
11223 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11224 to arguments 0x1p107L or above.
11225 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11226 positive arguments with exponent 65 or above.
11227 * math/auto-libm-test-in: Add more tests of log1p.
11228 * math/auto-libm-test-out: Regenerated.
11231 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11232 non-finite arguments is +0.
11233 * math/s_cacosf.c (__cacosf): Likewise.
11234 * math/s_cacosl.c (__cacosl): Likewise.
11235 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11236 * sysdeps/i386/fpu/libm-test-ulps: Update.
11237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11240 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11242 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11243 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11244 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11245 for explicit high bit of mantissa when testing for argument equal
11247 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11248 * sysdeps/i386/fpu/libm-test-ulps: Update.
11249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11252 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11253 (__erf): Scale by 16 instead of 8 in potentially underflowing
11254 case. Ensure exception if result actually underflows.
11255 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11256 (__erff): Scale by 16 instead of 8 in potentially underflowing
11257 case. Ensure exception if result actually underflows.
11258 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11259 (efx8): Remove variable.
11260 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11261 case. Ensure exception if result actually underflows.
11262 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11263 (efx8): Remove variable.
11264 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11265 case. Ensure exception if result actually underflows.
11266 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11267 (efx8): Remove variable.
11268 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11269 case. Ensure exception if result actually underflows.
11270 * math/auto-libm-test-in: Add more tests of erf.
11271 * math/auto-libm-test-out: Regenerated.
11273 2014-05-14 Andreas Schwab <schwab@suse.de>
11275 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11276 Remove code conditionalized on USE___THREAD.
11278 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11279 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11282 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11284 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11285 Define unconditionally.
11286 (__ASSUME_O_CLOEXEC): Likewise.
11287 (__ASSUME_SOCK_CLOEXEC): Likewise.
11288 (__ASSUME_IN_NONBLOCK): Likewise.
11289 (__ASSUME_PIPE2): Likewise.
11290 (__ASSUME_EVENTFD2): Likewise.
11291 (__ASSUME_SIGNALFD4): Likewise.
11292 (__ASSUME_DUP3): Likewise.
11293 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11294 (__ASSUME_DUP3): Do not define.
11295 (__ASSUME_EVENTFD2): Likewise.
11296 (__ASSUME_IN_NONBLOCK): Likewise.
11297 (__ASSUME_O_CLOEXEC): Likewise.
11298 (__ASSUME_PIPE2): Likewise.
11299 (__ASSUME_SIGNALFD4): Likewise.
11300 (__ASSUME_SOCK_CLOEXEC): Likewise.
11301 (__ASSUME_UTIMES): Undefine.
11302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11303 (__ASSUME_UTIMES): Do not define.
11304 (__ASSUME_O_CLOEXEC): Likewise.
11305 (__ASSUME_SOCK_CLOEXEC): Likewise.
11306 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11307 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11309 (__ASSUME_PIPE2): Likewise.
11310 (__ASSUME_EVENTFD2): Likewise.
11311 (__ASSUME_SIGNALFD4): Likewise.
11312 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11313 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11315 (__ASSUME_EVENTFD2): Likewise.
11316 (__ASSUME_SIGNALFD4): Likewise.
11317 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11318 (__ASSUME_32BITUIDS): Likewise.
11319 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11320 (__ASSUME_IPC64): Likewise.
11321 (__ASSUME_ST_INO_64_BIT): Likewise.
11322 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11323 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11324 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11325 (__ASSUME_UTIMES): Do not define.
11326 (__ASSUME_PSELECT): Likewise.
11327 (__ASSUME_PPOLL): Likewise.
11328 (__ASSUME_O_CLOEXEC): Likewise.
11329 (__ASSUME_SOCK_CLOEXEC): Likewise.
11330 (__ASSUME_IN_NONBLOCK): Likewise.
11331 (__ASSUME_PIPE2): Likewise.
11332 (__ASSUME_EVENTFD2): Likewise.
11333 (__ASSUME_SIGNALFD4): Likewise.
11334 (__ASSUME_DUP3): Likewise.
11335 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11336 (__ASSUME_UTIMES): Likewise.
11337 (__ASSUME_O_CLOEXEC): Likewise.
11338 (__ASSUME_SOCK_CLOEXEC): Likewise.
11339 (__ASSUME_IN_NONBLOCK): Likewise.
11340 (__ASSUME_PIPE2): Likewise.
11341 (__ASSUME_EVENTFD2): Likewise.
11342 (__ASSUME_SIGNALFD4): Likewise.
11343 (__ASSUME_DUP3): Likewise.
11344 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11345 (__ASSUME_UTIMES): Likewise.
11346 (__ASSUME_O_CLOEXEC): Likewise.
11347 (__ASSUME_SOCK_CLOEXEC): Likewise.
11348 (__ASSUME_IN_NONBLOCK): Likewise.
11349 (__ASSUME_PIPE2): Likewise.
11350 (__ASSUME_EVENTFD2): Likewise.
11351 (__ASSUME_SIGNALFD4): Likewise.
11352 (__ASSUME_DUP3): Likewise.
11353 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11355 (__ASSUME_UTIMES): Likewise.
11356 (__ASSUME_EVENTFD2): Likewise.
11357 (__ASSUME_SIGNALFD4): Likewise.
11358 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11359 (__ASSUME_O_CLOEXEC): Likewise.
11360 (__ASSUME_SOCK_CLOEXEC): Likewise.
11361 (__ASSUME_IN_NONBLOCK): Likewise.
11362 (__ASSUME_PIPE2): Likewise.
11363 (__ASSUME_EVENTFD2): Likewise.
11364 (__ASSUME_SIGNALFD4): Likewise.
11365 (__ASSUME_DUP3): Likewise.
11366 (__ASSUME_UTIMES): Undefine.
11368 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11369 feclearexcept. Remove symbol versioning code.
11370 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11371 symbol versioning code.
11372 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11373 symbol versioning code.
11374 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11375 feupdateenv. Remove symbol versioning code.
11376 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11377 fegetexceptflag. Remove symbol versioning code.
11378 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11379 fesetexceptflag. Remove symbol versioning code.
11380 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11381 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11382 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11383 (__posix_fadvise64_l32): Remove prototype.
11384 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11387 2014-05-13 Roland McGrath <roland@hack.frob.com>
11389 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11390 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11391 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11392 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11394 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11396 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11397 current working directory
11399 2014-05-13 Roland McGrath <roland@hack.frob.com>
11401 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11402 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11403 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11404 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11405 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11406 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11407 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11408 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11409 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11410 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11411 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11412 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11413 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11414 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11415 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11416 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11417 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11418 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11419 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11420 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11421 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11422 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11423 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11424 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11425 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11426 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11427 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11428 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11429 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11430 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11431 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11432 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11433 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11434 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11435 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11436 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11437 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11438 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11439 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11440 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11441 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11442 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11444 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11445 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11447 * sysdeps/unix/sysv/linux/arm/Makefile
11448 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11449 Add rt-aeabi_unwind_cpp_pr1.
11450 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11451 Add nptl-aeabi_unwind_cpp_pr1.
11452 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11453 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11454 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11455 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11456 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11457 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11459 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11460 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11461 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11462 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11464 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11465 Deconditionalize the code that was previously under [RESET_PID].
11466 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11468 * sysdeps/generic/exit-thread.h: New file.
11469 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11470 * include/unistd.h (__exit_thread): Remove declaration.
11471 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11472 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11473 * csu/libc-start.c: Include <exit-thread.h>.
11474 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11475 * nptl/pthread_create.c: Include <exit-thread.h>.
11476 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11477 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11478 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11479 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11480 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11481 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11482 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11483 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11484 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11485 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11486 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11487 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11488 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11489 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11490 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11491 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11492 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11494 2014-05-13 Andreas Schwab <schwab@suse.de>
11496 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11498 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11500 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11501 (__ASSUME_UTIMES): Do not condition on kernel version.
11502 (__ASSUME_PSELECT): Define unconditionally.
11503 (__ASSUME_PPOLL): Likewise.
11504 (__ASSUME_ATFCTS): Likewise.
11505 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11506 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11507 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11508 (__ASSUME_UTIMENSAT): Define unconditionally.
11509 (__ASSUME_PRIVATE_FUTEX): Likewise.
11510 (__ASSUME_FALLOCATE): Likewise.
11511 (__ASSUME_O_CLOEXEC): Likewise.
11512 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11513 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11514 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11515 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11516 (__ASSUME_IN_NONBLOCK): Likewise.
11517 (__ASSUME_PIPE2): Likewise.
11518 (__ASSUME_EVENTFD2): Likewise.
11519 (__ASSUME_SIGNALFD4): Likewise.
11520 (__ASSUME_DUP3): Likewise.
11521 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11522 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11523 (__ASSUME_AT_RANDOM): Likewise.
11524 (__ASSUME_PREADV): Likewise.
11525 (__ASSUME_PWRITEV): Likewise.
11526 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11527 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11528 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11529 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11530 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11531 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11532 (__ASSUME_O_CLOEXEC): Define unconditionally.
11533 (__ASSUME_PSELECT): Do not undefine conditionally.
11534 (__ASSUME_PPOLL): Likewise.
11535 (__ASSUME_ATFCTS): Likewise.
11536 (__ASSUME_SET_ROBUST_LIST): Likewise.
11537 (__ASSUME_UTIMENSAT): Likewise.
11538 (__ASSUME_FDATASYNC): Define unconditionally.
11539 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11540 (__ASSUME_SIGFRAME_V2): Likewise.
11541 )__ASSUME_EVENTFD2): Likewise.
11542 (__ASSUME_SIGNALFD4): Likewise.
11543 (__ASSUME_PSELECT): Do not undefine conditionally.
11544 (__ASSUME_PPOLL): Likewise.
11545 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11546 (__ASSUME_PSELECT): Define unconditionally.
11547 (__ASSUME_PPOLL): Likewise.
11548 (__ASSUME_O_CLOEXEC): Likewise.
11549 (__ASSUME_SOCK_CLOEXEC): Likewise.
11550 (__ASSUME_IN_NONBLOCK): Likewise.
11551 (__ASSUME_PIPE2): Likewise.
11552 (__ASSUME_EVENTFD2): Likewise.
11553 (__ASSUME_SIGNALFD4): Likewise.
11554 (__ASSUME_DUP3): Likewise.
11555 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11556 (__ASSUME_O_CLOEXEC): Likewise.
11557 (__ASSUME_SOCK_CLOEXEC): Likewise.
11558 (__ASSUME_IN_NONBLOCK): Likewise.
11559 (__ASSUME_PIPE2): Likewise.
11560 (__ASSUME_EVENTFD2): Likewise.
11561 (__ASSUME_SIGNALFD4): Likewise.
11562 (__ASSUME_DUP3): Likewise.
11563 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11564 (__ASSUME_EVENTFD2): Likewise.
11565 (__ASSUME_SIGNALFD4): Likewise.
11566 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11568 2014-05-12 Andreas Schwab <schwab@suse.de>
11571 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11572 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11573 than maximum RPC packet size.
11574 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11575 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11576 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11577 (_nss_nis_getservbyport_r): Likewise.
11579 2014-05-12 Will Newton <will.newton@linaro.org>
11581 * malloc/Makefile (tests): Add tst-mallopt.
11582 * malloc/tst-mallopt.c: New file.
11584 2014-05-09 Roland McGrath <roland@hack.frob.com>
11586 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11587 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11589 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11591 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11592 (tst-tlsmod6.so): Likewise.
11594 2014-05-09 Roland McGrath <roland@hack.frob.com>
11596 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11598 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11601 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11602 and <dl-procinfo.h>.
11603 (__fegetenv): Save SSE state in envp->__eip if supported.
11604 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11605 envp->__eip if supported.
11606 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11607 and <dl-procinfo.h>.
11608 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11609 __data_offset and __data_selector in environment to 0. Set SSE
11610 state if supported.
11611 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11613 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11615 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11617 2014-05-09 Will Newton <will.newton@linaro.org>
11619 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11620 and libc_relro_required for ARM.
11621 * sysdeps/arm/preconfigure: Regenerate.
11623 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11624 Stefan Liebler <stli@linux.vnet.ibm.com>
11626 * config.make.in (enable-lock-elision): New Makefile variable.
11627 * configure.ac: Likewise.
11628 * configure: Regenerate.
11629 * sysdeps/s390/configure.ac:
11630 Add check for gcc transactions support.
11631 * sysdeps/s390/configure: Regenerate.
11632 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11633 Build elision files if enabled.
11634 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11635 Add lock elision support for s390.
11636 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11637 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11638 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11639 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11640 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11641 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11642 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11644 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11646 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11648 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11650 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11651 (__lll_timedlock_elision, __lll_lock_elision)
11652 (__lll_unlock_elision, __lll_trylock_elision)
11653 (lll_timedlock_elision, lll_lock_elision)
11654 (lll_unlock_elision, lll_trylock_elision): Add.
11655 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11656 (pthread_mutex_t): Add lock elision support for s390.
11658 2014-05-14 Wilco <wdijkstr@arm.com>
11660 * sysdeps/arm/fclrexcpt.c: Cleanup.
11661 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11662 * sysdeps/arm/feenablxcpt.c: Cleanup.
11663 * sysdeps/arm/fegetenv.c: Cleanup.
11664 * sysdeps/arm/fegetexcept.c: Cleanup.
11665 * sysdeps/arm/fegetround.c: Cleanup.
11666 * sysdeps/arm/feholdexcpt.c: Cleanup.
11667 * sysdeps/arm/fesetenv.c: Cleanup.
11668 * sysdeps/arm/fesetround.c: Cleanup.
11669 * sysdeps/arm/feupdateenv.c: Cleanup.
11670 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11671 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11672 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11673 * sysdeps/arm/ftestexcept.c: Cleanup.
11674 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11675 * sysdeps/arm/setfpucw.c: Cleanup.
11677 2014-05-09 Will Newton <will.newton@linaro.org>
11679 * sysdeps/arm/armv7/strcmp.S: New file.
11680 * NEWS: Mention addition of ARMv7 optimized strcmp.
11682 2014-05-08 Roland McGrath <roland@hack.frob.com>
11684 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11685 look for %.ac rather than %.in.
11687 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11688 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11689 * sysdeps/mach/hurd/configure: Regenerated.
11690 * sysdeps/unix/sysv/linux/configure: Regenerated.
11692 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11694 2014-05-07 Steve Ellcey <sellcey@mips.com>
11697 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11701 2014-05-07 Andreas Schwab <schwab@suse.de>
11703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11704 when skipping over non-matching result from nscd.
11706 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11709 * nptl/sockperf.c (client): Check socket return value.
11712 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11713 nscd security class.
11715 2014-05-06 Roland McGrath <roland@hack.frob.com>
11717 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11718 * sysdeps/arm/unwind.h: ... here.
11720 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11723 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11726 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11728 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11729 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11730 multiarch strncpy for PPC64.
11731 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11732 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11734 multiarch optimizations.
11735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11736 (__libc_ifunc_impl_list): Likewise.
11737 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11738 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11739 multiarch stpncpy for PPC64.
11740 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11741 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11743 2014-05-06 Andreas Schwab <schwab@suse.de>
11746 * gmon/mcount.c (_MCOUNT_DECL): Use
11747 atomic_compare_and_exchange_bool_acq instead of
11748 catomic_compare_and_exchange_bool_acq.
11750 2014-05-05 Roland McGrath <roland@hack.frob.com>
11752 * elf/Makefile (others, install-bin): Remove pldd.
11753 (pldd-modules): Variable removed.
11754 ($(objpfx)pldd): Target removed.
11755 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11756 (others, install-bin): Append pldd here.
11757 ($(objpfx)pldd): New target.
11759 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11760 to 0, so the first #if test emitted later doesn't see it undefined.
11761 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11762 * sysdeps/gnu/errlist.c: Regenerated.
11764 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11766 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11767 [libc_hidden_builtin_def]: Define to empty value.
11768 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11769 [libc_hidden_builtin_def]: Likewise.
11770 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11771 [libc_hidden_builtin_def]: Likewise.
11772 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11773 [libc_hidden_builtin_def]: Likewise.
11774 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11775 __redirect_memcpy and define ifunc as default hidden symbol.
11776 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11777 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11779 2014-05-04 Adam Conrad <adconrad@0c3.net>
11781 * locale/iso-4217.def: Reintroduce XDR currency.
11783 2014-05-04 Allan McRae <allan@archlinux.org>
11785 * po/eo.po: Update Esperanto translation from translation project.
11787 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11789 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11790 and FEATURE_INDEX_MAX to 1.
11791 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11793 2014-05-01 Steve Ellcey <sellcey@mips.com>
11795 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11796 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11797 * iconvdata/big5.c (ONE_DIRECTION): Define.
11798 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11799 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11800 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11801 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11802 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11803 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11804 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11805 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11806 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11807 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11808 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11809 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11810 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11811 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11812 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11813 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11814 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11815 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11816 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11817 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11818 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11819 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11820 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11821 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11822 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11823 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11824 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11825 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11826 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11827 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11828 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11829 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11830 * iconvdata/johab.c (ONE_DIRECTION): Define.
11831 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11832 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11833 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11834 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11835 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11836 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11837 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11838 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11839 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11840 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11842 2014-05-01 Roland McGrath <roland@hack.frob.com>
11844 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11845 (_IO_JUMPS_OFFSET): Define to 0.
11847 * nptl/sysdeps/pthread/bits/libc-lock.h
11848 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11849 (__libc_lock_define_initialized_recursive): Always define using
11850 initializer. Modern compilers treat uninitialized (implicit zero) and
11851 explicit zero initializers the same (i.e. put the datum in bss).
11853 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11855 * nscd/nscd-client.h: Include <string.h>.
11857 2014-05-01 David S. Miller <davem@davemloft.net>
11860 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11861 multiple zero bytes exist at the end of a string.
11862 Reported by Aurelien Jarno <aurelien@aurel32.net>
11864 * string/test-strcmp.c (check): Add explicit test for situations where
11865 there are multiple zero bytes after the first.
11867 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11870 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11871 when compiling wprintf.
11872 * stdio-common/tstdiomisc.c (t3): New function.
11875 2014-05-01 Steve Ellcey <sellcey@mips.com>
11877 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11878 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11879 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11880 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11882 2014-05-01 Steve Ellcey <sellcey@mips.com>
11884 * stdlib/longlong.h: Updated from GCC.
11886 2014-05-01 Will Newton <will.newton@linaro.org>
11887 Bernard Ogden <bernie.ogden@linaro.org>
11889 * NEWS: Update fixed bug list.
11892 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11894 2014-04-30 David S. Miller <davem@davemloft.net>
11896 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11897 (libc_feholdexcept_setround_sparc_ctx): New function.
11898 (libc_fesetenv_sparc_ctx): Likewise.
11899 (libc_feupdateenv_sparc_ctx): Likewise.
11900 (libc_feholdsetround_sparc_ctx): Likewise.
11901 (libc_feholdexcept_setround_ctx): Define.
11902 (libc_feholdexcept_setroundf_ctx): Likewise.
11903 (libc_feholdexcept_setroundl_ctx): Likewise.
11904 (libc_fesetenv_ctx): Likewise.
11905 (libc_fesetenvf_ctx): Likewise.
11906 (libc_fesetenvl_ctx): Likewise.
11907 (libc_feupdateenv_ctx): Likewise.
11908 (libc_feupdateenvf_ctx): Likewise.
11909 (libc_feupdateenvl_ctx): Likewise.
11910 (libc_feresetround_ctx): Likewise.
11911 (libc_feresetroundf_ctx): Likewise.
11912 (libc_feresetroundl_ctx): Likewise.
11913 (libc_feholdsetround_ctx): Likewise.
11914 (libc_feholdsetroundf_ctx): Likewise.
11915 (libc_feholdsetroundl_ctx): Likewise.
11917 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11918 with __USE_GNU instead of XOPEN cpp guards.
11920 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11923 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11924 with XOPEN cpp guards.
11926 2014-04-30 Julian Brown <julian@codesourcery.com>
11929 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11932 2014-04-30 Joseph Myers <joseph@codesourcery.com>
11935 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11937 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11938 * sysdeps/unix/sysv/linux/configure: Regenerated.
11939 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11940 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11941 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11942 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11943 * README: Update reference to required Linux kernel version.
11944 * manual/install.texi (Linux): Update reference to required Linux
11945 kernel headers version.
11946 * INSTALL: Regenerated.
11948 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11950 [POSIX] (limits.h): Likewise.
11951 [POSIX] (math.h): Likewise.
11952 [POSIX] (sys/wait.h): Likewise.
11953 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11955 [POSIX] (stddef.h): Do not allow header inclusion.
11957 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11959 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11961 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11963 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11964 Return immediately after lll_futex_wake.
11966 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11969 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11971 (datahead_init_pos): Call datahead_init_common early.
11972 (datahead_init_neg): Likewise.
11974 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11975 datahead_init_neg): New functions.
11976 * nscd/aicache.c (addhstaiX): Use them.
11977 * nscd/grpcache.c (cache_addgr): Likewise.
11978 * nscd/hstcache.c (cache_addhst): Likewise.
11979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11980 * nscd/netgroupcache.c (do_notfound): Likewise.
11981 (addgetnetgrentX): Likewise.
11982 (addinnetgrX): Likewise.
11983 * nscd/pwdcache.c (cache_addpw): Likewise.
11984 * nscd/servicescache.c (cache_addserv): Likewise.
11986 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11987 Atsushi Onoe <atsushi@onoe.org>
11992 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11993 one response is valid.
11994 * resolv/res_send.c (send_dg): Check for validity of other
11995 response if the current response is a referral.
11997 2014-04-29 Steve Ellcey <sellcey@mips.com>
11999 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12001 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12004 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12005 Always divide by positive zero when computing -Inf result.
12006 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12007 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12009 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12011 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12012 FPSCR if value do not change.
12013 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12014 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12015 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12016 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12017 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12018 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12021 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12023 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12024 * sysdeps/unix/sysv/linux/hppa: Move directory from
12025 ports/systeps/unix/sysv/linux/hppa.
12026 * README: Update listing for hppa-*-linux-gnu.
12028 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12031 * manual/stdio.texi (Hook functions): Fix types of stream hook
12034 * socket/sys/socket.h: Fix typo in comment.
12036 2014-04-28 Wilco <wdijkstr@arm.com>
12038 * sysdeps/arm/fenv_private.h: New file.
12039 * sysdeps/arm/math_private.h: New file.
12040 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12042 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12044 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12046 (La_x86_64_retval): Likewise.
12048 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12050 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12051 fpsr if value didn't change.
12052 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12053 to fpcr if value didn't change.
12054 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12055 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12056 fpsr or fpcr if value didn't change.
12057 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12058 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12059 fpcr if value didn't change.
12060 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12061 to fpsr if value didn't change.
12063 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12065 * nptl/tst-sem3.c: Use test-skeleton.c
12066 (main): Rename to do_test. Use return instead of
12068 * nptl/tst-sem4.c: Use test-skeleton.c
12069 (main): Rename to do_test.
12071 2014-04-22 David S. Miller <davem@davemloft.net>
12073 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12074 (struct sigaction): New struct member __glibc_reserved0, change
12075 type of sa_flags to int.
12077 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12079 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12080 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12082 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12084 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12085 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12087 2014-04-22 Will Newton <will.newton@linaro.org>
12088 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12090 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12091 (__longjmp): Add longjmp and longjmp_target SystemTap
12093 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12094 (__sigsetjmp): Add setjmp SystemTap probe.
12096 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12098 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12099 match manual order.
12101 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12103 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12105 * sysdeps/powerpc/fpu/fenv_private.h
12106 (libc_feholdexcept_setroundl_ctx): Define to
12107 libc_feholdexcept_setround_ppc_ctx.
12108 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12109 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12110 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12111 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12113 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12115 * sysdeps/aarch64/math-tests.h: New file.
12117 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12119 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12122 Check and set bit_AVX2_Usable.
12123 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12125 (bit_AVX2): Likewise.
12126 (index_AVX2_Usable): Likewise.
12127 (CPUID_AVX2): Likewise.
12128 (HAS_AVX2): Likewise.
12130 2014-04-17 Will Newton <will.newton@linaro.org>
12132 * manual/setjmp.texi (System V contexts): Add note that
12133 calling setcontext on a context created by a call to a
12134 signal handler is undefined. Update text to note that
12135 setcontext from a signal handler is possible but not
12139 * stdlib/tst-setcontext.c: Include signal.h.
12140 (main): Check that the signal stack before and
12141 after swapcontext is the same.
12143 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12144 Re-implement to restore registers in user code and avoid
12145 rt_sigreturn system call.
12147 2014-04-17 Wilco <wdijkstr@arm.com>
12149 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12150 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12151 * math/test-fenv.c: Skip exception trap tests on targets which only
12152 support non-stop mode.
12154 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12155 Wilco Dijkstra <wilco.dijkstra@arm.com>
12157 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12158 (libc_feholdsetround_aarch64_ctx)
12159 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12160 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12161 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12162 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12163 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12164 (libc_feresetround_noexl_ctx): Define.
12166 2014-04-16 Richard Henderson <rth@redhat.com>
12168 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12170 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12173 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12174 const from the non-libc, non-ldso copy.
12176 * sysdeps/alpha/libm-test-ulps: Regenerate.
12178 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12179 Wilco Dijkstra <wilco.dijkstra@arm.com>
12181 * sysdeps/aarch64/fpu/math_private.h: New file.
12183 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12185 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12187 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12190 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12191 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12192 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12193 Intel MPX bound registers before _dl_profile_fixup.
12194 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12195 registers after _dl_profile_fixup. Save and restore bound
12196 registers bnd0/bnd1 when calling _dl_call_pltexit.
12197 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12198 (LR_BND_OFFSET): Likewise.
12199 (LRV_BND0_OFFSET): Likewise.
12200 (LRV_BND1_OFFSET): Likewise.
12202 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12204 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12206 * sysdeps/mach/hurd/i386/tls.h: ... here.
12207 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12208 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12211 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12213 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12215 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12217 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12219 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12222 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12223 * sysdeps/s390/configure: Regenerate.
12226 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12227 Set round-to-nearest internally to reduce error accumulation.
12229 2014-04-16 Alan Modra <amodra@gmail.com>
12233 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12234 * math/libm-test.inc (frexp_test_data): Add tests.
12235 * NEWS: Update fixed bug list.
12237 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12239 * benchtests/Makefile: Depend on libraries in build directory.
12240 (bench-math): Separate out math tests.
12241 (bench-pthread): Separate out pthread tests.
12242 (bench): Include math and pthread tests.
12244 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12247 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12248 _dl_debug_initialize.
12250 * configure.ac: Remove SELinux header check.
12251 * configure: Regenerate.
12252 * nscd/selinux.c (perms): Array of const char* to permission names.
12253 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12254 default policy. Call string_to_security_class and string_to_av_perm to
12255 translate strings. Enforce default policy and call avs_has_perm with
12256 results of translated strings.
12258 2014-04-13 David S. Miller <davem@davemloft.net>
12260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12262 2014-04-12 Allan McRae <allan@archlinux.org>
12265 * manual/string.texi (Collation Functions): Fix qsort argument
12267 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12269 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12271 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12272 Make the test a no-op if there are no exceptions defined.
12274 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12276 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12277 enable-hardcoded-path-in-tests
12279 2014-04-11 Will Newton <will.newton@linaro.org>
12281 * benchtests/Makefile (extra-objs): Add json-lib.o.
12282 (bench-func): Tidy up JSON output.
12283 * benchtests/bench-skeleton.c: Include json-lib.h.
12284 (main): Use JSON library functions to do output of
12286 * benchtests/bench-timing-type.c (main): Output the
12287 timing type simply, leaving formatting to the user.
12288 * benchtests/json-lib.c: New file.
12289 * benchtests/json-lib.h: Likewise.
12291 2014-04-11 Torvald Riegel <triegel@redhat.com>
12294 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12295 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12296 memory barriers. Add comments.
12297 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12298 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12299 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12300 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12301 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12302 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12304 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12306 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12307 * sysdeps/s390/s390-64/configure.ac: ... this ...
12308 * sysdeps/s390/configure.ac: ... to here.
12309 * sysdeps/s390/s390-32/configure: Delete file.
12310 * sysdeps/s390/s390-64/configure: Delete file.
12311 * sysdeps/s390/configure: Regenerate.
12313 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12315 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12317 2014-04-11 Will Newton <will.newton@linaro.org>
12319 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12320 to zero if it is not defined elsewhere. (mtrim): Test
12321 the value of MALLOC_DEBUG with #if rather than #ifdef.
12323 2014-04-10 Torvald Riegel <triegel@redhat.com>
12325 * benchtests/pthread_once-inputs: New file.
12326 * benchtests/pthread_once-source.c: New file.
12327 * benchtests/README: Update documentation.
12329 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12330 H.J. Lu <hongjiu.lu@intel.com>
12333 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12334 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12335 * sysdeps/x86_64/configure: Regenerated.
12336 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12338 (REGISTER_SAVE_RAX): Likewise.
12339 (REGISTER_SAVE_RCX): Likewise.
12340 (REGISTER_SAVE_RDX): Likewise.
12341 (REGISTER_SAVE_RSI): Likewise.
12342 (REGISTER_SAVE_RDI): Likewise.
12343 (REGISTER_SAVE_R8): Likewise.
12344 (REGISTER_SAVE_R9): Likewise.
12345 (REGISTER_SAVE_BND0): Likewise.
12346 (REGISTER_SAVE_BND1): Likewise.
12347 (REGISTER_SAVE_BND2): Likewise.
12348 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12349 bound registers when calling _dl_fixup.
12351 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12353 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12354 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12356 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12357 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12358 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12359 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12360 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12361 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12362 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12364 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12367 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12368 pathconf(_PC_NAME_MAX).
12370 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12372 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12373 Remove macro usage.
12374 (__PTHREAD_SPINS): Move definition to ...
12375 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12376 (__PTHREAD_SPINS): ... here.
12377 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12378 (__PTHREAD_SPIN): Likewise.
12379 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12380 (__PTHREAD_SPIN): Likewise.
12381 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12382 (__PTHREAD_SPIN): Likewise.
12383 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12384 (__PTHREAD_SPIN): Likewise.
12385 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12386 (__PTHREAD_SPIN): Likewise.
12387 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12388 (__PTHREAD_SPIN): Likewise.
12389 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12390 (__PTHREAD_SPIN): Likewise.
12391 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12392 (__PTHREAD_SPIN): Likewise.
12393 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12394 (__PTHREAD_SPIN): Likewise.
12395 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12396 (__PTHREAD_SPIN): Likewise.
12397 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12398 (__PTHREAD_SPIN): Likewise.
12399 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12400 (__PTHREAD_SPIN): Likewise.
12402 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12403 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12404 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12405 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12407 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12408 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12409 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12410 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12411 correct imply path.
12412 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12413 strlen symbol for non multi-arch builds.
12414 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12415 missing hidden_def and weak_alias.
12417 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12419 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12421 2014-04-07 Will Newton <will.newton@linaro.org>
12423 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12424 and contents. [!_LIBC] Remove #ifndef and contents.
12425 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12426 * string/memccpy.c (__memccpy): Use ANSI prototype.
12427 * string/memfrob.c (memfrob): Likewise.
12428 * string/strcoll.c (STRCOLL): Likewise.
12429 * string/strlen.c (strlen): Likewise.
12430 * string/strtok.c (STRTOK): Likewise.
12431 * string/strcat.c: Remove unused #include of memcopy.h.
12432 (strcat): Use ANSI prototype.
12433 * string/strchr.c: Remove unused #include of memcopy.h.
12434 (strchr): Use ANSI prototype.
12435 * string/strcmp.c: Remove unused #include of memcopy.h.
12436 (strcmp): Use ANSI prototype.
12437 * string/strcpy.c: Remove unused #include of memcopy.h.
12438 (strcpy): Use ANSI prototype.
12440 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12442 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12443 * config.make.in (config-extra-cppflags): Set it from
12444 libc_extra_cppflags.
12445 * configure.ac (libc_extra_cflags): Make it accumulate over
12446 configure fragments.
12447 (libc_extra_cppflags): New flag.
12448 * configure. Regenerate.
12449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12450 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12451 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12455 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12456 result for FE_DOWNWARD rounding mode.
12457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12461 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12463 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12464 in function argument name.
12466 2014-04-03 David Svoboda <svoboda@cert.org>
12469 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12472 2014-04-03 Roland McGrath <roland@hack.frob.com>
12474 * elf/dl-unmap-segments.h: New file.
12475 * sysdeps/generic/ldsodefs.h
12476 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12477 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12478 * elf/dl-fptr.c: Likewise.
12479 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12480 * sysdeps/aarch64/tlsdesc.c: Likewise.
12481 * sysdeps/arm/tlsdesc.c: Likewise.
12482 * sysdeps/i386/tlsdesc.c: Likewise.
12483 * sysdeps/tile/dl-runtime.c: Likewise.
12484 * sysdeps/x86_64/tlsdesc.c: Likewise.
12485 * elf/dl-load.h: New file.
12486 * elf/dl-load.c: Include it.
12487 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12488 Macros moved to dl-load.h.
12489 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12490 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12491 Use _dl_unmap_segments in place of __munmap.
12492 Break out segment-mapping loop into ...
12493 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12495 2014-04-03 Will Newton <will.newton@linaro.org>
12497 * elf/dl-lookup.c (do_lookup_x): Remove comment
12498 referring to nested function and move variable
12499 declarations down to before first use.
12501 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12505 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12507 * math/s_catanf.c (__catanf): Likewise.
12508 * math/s_catanh.c (__catanh): Likewise.
12509 * math/s_catanhf.c (__catanhf): Likewise.
12510 * math/s_catanhl.c (__catanhl): Likewise.
12511 * math/s_catanl.c (__catanl): Likewise.
12512 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12513 by positive zero when computing -Inf result.
12514 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12515 (catanh_test): Likewise.
12516 * sysdeps/i386/fpu/libm-test-ulps: Update.
12517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12520 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12521 instead of using underflowing value in computing result.
12522 * math/s_clog10.c (__clog10): Likewise.
12523 * math/s_clog10f.c (__clog10f): Likewise.
12524 * math/s_clog10l.c (__clog10l): Likewise.
12525 * math/s_clogf.c (__clogf): Likewise.
12526 * math/s_clogl.c (__clogl): Likewise.
12527 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12528 (clog10_test): Likewise.
12529 * sysdeps/i386/fpu/libm-test-ulps: Update.
12530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12532 2014-04-02 Alan Modra <amodra@gmail.com>
12535 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12536 output when value is near a power of two. Use int64_t for lx and
12537 remove casts. Use decimal rather than hex exponent constants.
12538 Don't use long double multiplication when double will suffice.
12539 * math/libm-test.inc (nextafter_test_data): Add tests.
12540 * NEWS: Add 16739 and 16786 to bug list.
12542 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12544 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12546 2014-04-01 Will Newton <will.newton@linaro.org>
12548 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12549 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12551 2014-04-01 Florian Weimer <fweimer@redhat.com>
12554 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12555 * nptl/tst-setuid2.c: New file.
12556 * nptl/Makefile (xtests): Add tst-setuid2.
12558 2014-04-01 Alan Modra <amodra@gmail.com>
12561 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12563 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12567 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12568 set errno as appropriate.
12569 * math/w_scalbf.c (__scalbf): Likewise.
12570 * math/w_scalbl.c (__scalbl): Likewise.
12571 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12572 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12573 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12574 Add more NaN tests.
12577 * math/w_atan2.c: Include <errno.h>.
12578 (__atan2): Set errno for result underflowing to zero.
12579 * math/w_atan2f.c: Include <errno.h>.
12580 (__atan2f): Set errno for result underflowing to zero.
12581 * math/w_atan2l.c: Include <errno.h>.
12582 (__atan2l): Set errno for result underflowing to zero.
12583 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12585 * math/auto-libm-test-out: Regenerated.
12587 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12589 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12590 Encode instruction correctly in little endian.
12591 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12593 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12595 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12597 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12600 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12603 * sysdeps/unix/sysv/linux/kernel-features.h
12604 [__sparc__ && !__arch64__ && !__sparc_v9__]
12605 (__ASSUME_SET_ROBUST_LIST): Do not define.
12606 [__sparc__ && !__arch64__ && !__sparc_v9__]
12607 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12608 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12610 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12611 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12612 (__ASSUME_REQUEUE_PI): Likewise.
12613 (__ASSUME_SET_ROBUST_LIST): Likewise.
12614 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12615 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12618 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12620 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12622 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12624 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12625 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12627 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12628 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12632 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12633 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12634 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12636 2014-03-31 Will Newton <will.newton@linaro.org>
12638 * benchtests/Makefile (bench): Add ffs and ffsll to list
12640 * benchtests/ffs-inputs: New file.
12641 * benchtests/ffsll-inputs: Likewise.
12643 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12646 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12647 too large before casting to int.
12648 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12649 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12650 * math/libm-test.inc (scalb_test_data): Add more tests.
12652 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12654 * benchtests/Makefile (DETAILED_OPT): New make option.
12655 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12657 * benchtests/bench-skeleton.c: Include stdbool.h.
12658 (main): Store and print timings per input.
12659 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12660 member to each argument value.
12661 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12662 (_print_arg_data): Initialize per-input timing to 0.
12664 * benchtests/Makefile (timing-type): New binary.
12665 (bench-clean): Also remove bench-timing-type.
12666 (bench): New target for timing-type.
12667 (bench-func): Print output in JSON format.
12668 * benchtests/bench-skeleton.c (main): Print output in JSON
12670 * benchtests/bench-timing-type.c: New file.
12671 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12672 (TIMING_PRINT_STATS): Remove.
12673 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12676 * benchtests/bench-modf.c: Remove.
12677 * benchtests/modf-inputs: New inputs file.
12679 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12682 * math/s_clog10.c (M_PI_LOG10E): New macro.
12683 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12684 imaginary parts are 0.
12685 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12686 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12687 imaginary parts are 0.
12688 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12689 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12690 imaginary parts are 0.
12691 * math/libm-test.inc (clog10_test_data): Update expected results
12692 for when real and imaginary parts are 0.
12694 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12696 * elf/dl-load.c: Finish conversion of __builtin_expect into
12697 __glibc_{un}likely.
12699 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12702 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12703 1+x for argument with exponent below -67.
12704 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12706 * math/auto-libm-test-in: Add more tests of exp.
12707 * math/auto-libm-test-out: Regenerated.
12709 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12712 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12713 (nscd_getnetgrent): Use it.
12716 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12719 2014-03-27 Andi Kleen <ak@linux.intel.com>
12721 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12722 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12723 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12724 (lll_robust_unlock): Remove out of line section. Use cfi
12726 (LLL_STUB_UNWIND_INFO*): Remove.
12727 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12728 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12729 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12730 (lll_robust_unlock): Remove out of line section. Use cfi
12732 (LLL_STUB_UNWIND_INFO*): Remove.
12734 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12737 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12740 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12742 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12744 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12747 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12749 * math/test-fenv-preserve.c: New file.
12750 * math/Makefile (tests): Add test-fenv-preserve.
12752 2014-03-26 Will Newton <will.newton@linaro.org>
12754 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12756 2014-03-25 Roland McGrath <roland@hack.frob.com>
12758 * scripts/versionlist.awk: Partition the version sets and emit all
12759 GLIBC_* (sorted) before all others (sorted).
12761 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12763 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12764 GLIBC_2.2.5 version.
12766 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12768 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12771 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12776 2014-03-25 Andreas Schwab <schwab@suse.de>
12778 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12779 label to be used after in6ailist is initialized.
12781 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12783 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12784 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12786 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12790 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12792 (fp_formats): Update initializers.
12793 (init_fp_formats): Initialize new field.
12794 (output_for_one_input_case): Allow underflow for results up to
12796 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12797 * math/auto-libm-test-in: Don't mark some underflows from asin and
12799 * math/auto-libm-test-out: Regenerated.
12800 * sysdeps/i386/fpu/libm-test-ulps: Update.
12801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12803 2014-03-25 Andreas Schwab <schwab@suse.de>
12805 * libio/Makefile (tst-ftell-partial-wide-ENV)
12806 (tst-ftell-active-handler-ENV): Define.
12808 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12810 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12812 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12814 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12816 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12818 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12819 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12820 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12822 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12825 * elf/dl-load.c (open_verify): Add mode parameter.
12826 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12827 (open_path): Change from boolean 'secure' to complete flag 'mode'
12828 (_dl_map_object): Adjust.
12829 * elf/Makefile (tests): Add tst-dlopen-aout.
12830 * elf/tst-dlopen-aout.c: New test.
12832 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12835 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12836 (struct stat): Rename member pad0 to __glibc_reserved0.
12839 * sysdeps/s390/s390-32/bits/wordsize.h
12840 (__WORDSIZE32_SIZE_ULONG): New define.
12841 * sysdeps/s390/s390-64/bits/wordsize.h
12842 (__WORDSIZE32_SIZE_ULONG): Likewise.
12843 * sysdeps/generic/stdint.h (SIZE_MAX):
12844 Define as UL if __WORDSIZE32_SIZE_ULONG.
12847 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12848 (__glibc_reserved0): New variable.
12849 (sa_flags): Change type to int.
12851 * posix/Makefile (before-compile): Use += before-compile instead
12854 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12855 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12857 2014-03-20 Andreas Schwab <schwab@suse.de>
12860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12861 non-matching result from nscd.
12863 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12865 * scripts/bench.py: Moved to ...
12866 * benchtests/scripts/bench.py: ... here.
12867 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12869 2014-03-24 Andreas Schwab <schwab@suse.de>
12872 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12873 alloca_account and account alloca use for struct in6ailist.
12875 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12878 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12879 rounding mode to recompute results that overflow to infinity or
12881 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12883 * math/auto-libm-test-out: Regenerated.
12884 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12885 (ccosh_test): Likewise.
12886 (csin_test_data): Use plus_oflow.
12887 (csin_test): Use ALL_RM_TEST.
12888 (csinh_test_data): Use plus_oflow.
12889 (csinh_test): Use ALL_RM_TEST.
12890 * sysdeps/i386/fpu/libm-test-ulps: Update.
12891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12893 2014-03-21 Joseph Myers <joseph@codesourcery.com>
12895 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12896 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12897 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12900 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12901 when x - 1 is zero.
12902 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12903 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12904 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12905 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12907 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12908 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12910 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12911 * sysdeps/i386/fpu/libm-test-ulps: Update.
12912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12914 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12916 * scripts/bench.pl: Remove file.
12917 * scripts/bench.py: New benchmark script.
12918 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12919 * benchtests/README: Mention python dependency.
12920 * scripts/pylintrc: New file.
12921 * scripts/pylint: New file.
12923 * bits/mathdef.h: Use #ifdef instead of #if.
12924 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12925 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12926 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12927 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12928 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12929 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12931 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12932 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12934 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12936 and strpbrk-ppc64 objects.
12937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12938 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12939 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12940 multiarch strpbrk for POWER7.
12941 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12942 multiarch strpbrk for PPC64.
12943 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12945 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12946 strpbrk for POWER7.
12948 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12950 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12951 (atan_test): Likewise.
12952 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12953 (atanh_test): Use ALL_RM_TEST.
12954 (atan2_test_data): Likewise.
12955 (cabs_test): Likewise.
12956 (cacosh_test): Likewise.
12957 (carg_test): Likewise.
12958 (casin_test): Likewise.
12959 (casinh_test): Likewise.
12960 (cbrt_test): Likewise.
12961 (csqrt_test): Likewise.
12962 (erf_test): Likewise.
12963 (erfc_test): Likewise.
12964 (pow10_test): Likewise.
12965 (exp2_test): Likewise.
12966 (hypot_test): Likewise.
12967 (j0_test): Likewise.
12968 (j1_test): Likewise.
12969 (lgamma_test): Likewise.
12970 (gamma_test): Likewise.
12971 (sincos_test): Likewise.
12972 (tanh_test): Likewise.
12973 (y0_test): Likewise.
12974 (y1_test): Likewise.
12975 * sysdeps/i386/fpu/libm-test-ulps: Update.
12976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12978 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12980 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12982 and strcspn-ppc64 objects.
12983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12984 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12985 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12986 multiarch strcspn for POWER7.
12987 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12988 multiarch strcspn for PPC64.
12989 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12991 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12992 strcspn for POWER7.
12994 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12996 * math/gen-libm-test.pl (generate_testfile): Expect only function
12997 name as argument to AUTO_TESTS_* and pass results for all rounding
12998 modes to parse_args.
12999 (parse_auto_input): Separate inputs of automatic tests from
13000 outputs before storing in %auto_tests.
13001 * math/libm-test.inc (acos_test_data): Update call to
13003 (acos_test): Use ALL_RM_TEST.
13004 (acos_tonearest_test_data): Remove.
13005 (acos_test_tonearest): Likewise.
13006 (acos_towardzero_test_data): Likewise.
13007 (acos_test_towardzero): Likewise.
13008 (acos_downward_test_data): Likewise.
13009 (acos_test_downward): Likewise.
13010 (acos_upward_test_data): Likewise.
13011 (acos_test_upward): Likewise.
13012 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13013 (asin_test_data): Likewise.
13014 (asin_test): Use ALL_RM_TEST.
13015 (asin_tonearest_test_data): Remove.
13016 (asin_test_tonearest): Likewise.
13017 (asin_towardzero_test_data): Likewise.
13018 (asin_test_towardzero): Likewise.
13019 (asin_downward_test_data): Likewise.
13020 (asin_test_downward): Likewise.
13021 (asin_upward_test_data): Likewise.
13022 (asin_test_upward): Likewise.
13023 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13024 (atan_test_data): Likewise.
13025 (atanh_test_data): Likewise.
13026 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13027 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13028 (carg_test_data): Likewise.
13029 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13030 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13031 (ccosh_test_data): Likewise.
13032 (cexp_test_data): Likewise.
13033 (clog_test_data): Likewise.
13034 (clog10_test_data): Likewise.
13035 (cos_test_data): Update call to AUTO_TESTS_f_f.
13036 (cos_test): Use ALL_RM_TEST.
13037 (cos_tonearest_test_data): Remove.
13038 (cos_test_tonearest): Likewise.
13039 (cos_towardzero_test_data): Likewise.
13040 (cos_test_towardzero): Likewise.
13041 (cos_downward_test_data): Likewise.
13042 (cos_test_downward): Likewise.
13043 (cos_upward_test_data): Likewise.
13044 (cos_test_upward): Likewise.
13045 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13046 (cosh_test): Use ALL_RM_TEST.
13047 (cosh_tonearest_test_data): Remove.
13048 (cosh_test_tonearest): Likewise.
13049 (cosh_towardzero_test_data): Likewise.
13050 (cosh_test_towardzero): Likewise.
13051 (cosh_downward_test_data): Likewise.
13052 (cosh_test_downward): Likewise.
13053 (cosh_upward_test_data): Likewise.
13054 (cosh_test_upward): Likewise.
13055 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13056 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13057 (ctan_test_data): Likewise.
13058 (ctan_test): Use ALL_RM_TEST.
13059 (ctan_tonearest_test_data): Remove.
13060 (ctan_test_tonearest): Likewise.
13061 (ctan_towardzero_test_data): Likewise.
13062 (ctan_test_towardzero): Likewise.
13063 (ctan_downward_test_data): Likewise.
13064 (ctan_test_downward): Likewise.
13065 (ctan_upward_test_data): Likewise.
13066 (ctan_test_upward): Likewise.
13067 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13068 (ctanh_test): Use ALL_RM_TEST.
13069 (ctanh_tonearest_test_data): Remove.
13070 (ctanh_test_tonearest): Likewise.
13071 (ctanh_towardzero_test_data): Likewise.
13072 (ctanh_test_towardzero): Likewise.
13073 (ctanh_downward_test_data): Likewise.
13074 (ctanh_test_downward): Likewise.
13075 (ctanh_upward_test_data): Likewise.
13076 (ctanh_test_upward): Likewise.
13077 (erf_test_data): Update call to AUTO_TESTS_f_f.
13078 (erfc_test_data): Likewise.
13079 (exp_test_data): Likewise.
13080 (exp_test): Use ALL_RM_TEST.
13081 (exp_tonearest_test_data): Remove.
13082 (exp_test_tonearest): Likewise.
13083 (exp_towardzero_test_data): Likewise.
13084 (exp_test_towardzero): Likewise.
13085 (exp_downward_test_data): Likewise.
13086 (exp_test_downward): Likewise.
13087 (exp_upward_test_data): Likewise.
13088 (exp_test_upward): Likewise.
13089 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13090 (exp10_test): Use ALL_RM_TEST.
13091 (exp10_tonearest_test_data): Remove.
13092 (exp10_test_tonearest): Likewise.
13093 (exp10_towardzero_test_data): Likewise.
13094 (exp10_test_towardzero): Likewise.
13095 (exp10_downward_test_data): Likewise.
13096 (exp10_test_downward): Likewise.
13097 (exp10_upward_test_data): Likewise.
13098 (exp10_test_upward): Likewise.
13099 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13100 (expm1_test_data): Likewise.
13101 (expm1_test): Use ALL_RM_TEST.
13102 (expm1_tonearest_test_data): Remove.
13103 (expm1_test_tonearest): Likewise.
13104 (expm1_towardzero_test_data): Likewise.
13105 (expm1_test_towardzero): Likewise.
13106 (expm1_downward_test_data): Likewise.
13107 (expm1_test_downward): Likewise.
13108 (expm1_upward_test_data): Likewise.
13109 (expm1_test_upward): Likewise.
13110 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13111 (fma_test): Use ALL_RM_TEST.
13112 (fma_towardzero_test_data): Remove.
13113 (fma_test_towardzero): Likewise.
13114 (fma_downward_test_data): Likewise.
13115 (fma_test_downward): Likewise.
13116 (fma_upward_test_data): Likewise.
13117 (fma_test_upward): Likewise.
13118 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13119 (j0_test_data): Update call to AUTO_TESTS_f_f.
13120 (j1_test_data): Likewise.
13121 (jn_test_data): Update call to AUTO_TESTS_if_f.
13122 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13123 (log_test_data): Update call to AUTO_TESTS_f_f.
13124 (log10_test_data): Likewise.
13125 (log1p_test_data): Likewise.
13126 (log2_test_data): Likewise.
13127 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13128 (pow_tonearest_test_data): Likewise.
13129 (sin_test_data): Update call to AUTO_TESTS_f_f.
13130 (sin_test): Use ALL_RM_TEST.
13131 (sin_tonearest_test_data): Remove.
13132 (sin_test_tonearest): Likewise.
13133 (sin_towardzero_test_data): Likewise.
13134 (sin_test_towardzero): Likewise.
13135 (sin_downward_test_data): Likewise.
13136 (sin_test_downward): Likewise.
13137 (sin_upward_test_data): Likewise.
13138 (sin_test_upward): Likewise.
13139 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13140 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13141 (sinh_test): Use ALL_RM_TEST.
13142 (sinh_tonearest_test_data): Remove.
13143 (sinh_test_tonearest): Likewise.
13144 (sinh_towardzero_test_data): Likewise.
13145 (sinh_test_towardzero): Likewise.
13146 (sinh_downward_test_data): Likewise.
13147 (sinh_test_downward): Likewise.
13148 (sinh_upward_test_data): Likewise.
13149 (sinh_test_upward): Likewise.
13150 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13151 (sqrt_test): Use ALL_RM_TEST.
13152 (sqrt_tonearest_test_data): Remove.
13153 (sqrt_test_tonearest): Likewise.
13154 (sqrt_towardzero_test_data): Likewise.
13155 (sqrt_test_towardzero): Likewise.
13156 (sqrt_downward_test_data): Likewise.
13157 (sqrt_test_downward): Likewise.
13158 (sqrt_upward_test_data): Likewise.
13159 (sqrt_test_upward): Likewise.
13160 (tan_test_data): Update call to AUTO_TESTS_f_f.
13161 (tan_test): Use ALL_RM_TEST.
13162 (tan_tonearest_test_data): Remove.
13163 (tan_test_tonearest): Likewise.
13164 (tan_towardzero_test_data): Likewise.
13165 (tan_test_towardzero): Likewise.
13166 (tan_downward_test_data): Likewise.
13167 (tan_test_downward): Likewise.
13168 (tan_upward_test_data): Likewise.
13169 (tan_test_upward): Likewise.
13170 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13171 (tgamma_test_data): Likewise.
13172 (y0_test_data): Likewise.
13173 (y1_test_data): Likewise.
13174 (yn_test_data): Update call to AUTO_TESTS_if_f.
13175 (main): Do not call removed functions.
13177 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13179 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13180 (ldexp_test_data): Remove.
13181 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13183 (scalb_test): Use ALL_RM_TEST.
13185 2014-03-19 Andreas Schwab <schwab@suse.de>
13187 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13189 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13192 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13193 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13194 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13195 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13196 (__ASSUME_PREADV): Undefine.
13197 (__ASSUME_PWRITEV): Likewise.
13199 2014-03-18 Roland McGrath <roland@hack.frob.com>
13201 * bits/mman-linux.h: Add comment about non-Linux use.
13202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13203 bits/mman-linux.h resting place.
13205 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13206 * bits/mman-linux.h: ... here.
13208 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13210 * conform/conformtest.pl: Add standard definition when calling C
13211 preprocessor on data files.
13212 (checknamespace): Remove unused variable.
13214 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13216 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13217 minus_oflow, plus_uflow and minus_uflow in expected results.
13218 * math/libm-test.inc (scalbn_test_data): Add more tests of
13219 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13221 (scalbn_test): Use ALL_RM_TEST.
13222 (scalbln_test_data): Add more tests of negative arguments. Use
13223 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13224 (scalbln_test): Use ALL_RM_TEST.
13226 2014-03-18 Roland McGrath <roland@hack.frob.com>
13228 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13230 2014-03-18 Will Newton <will.newton@linaro.org>
13232 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13233 inaccurate comment.
13235 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13237 * Makerules [!subdir] (check-abi): Exit with error status if a
13240 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13242 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13243 for rint. Include results for all rounding modes.
13244 (nearbyint_test): Use ALL_RM_TEST.
13245 (rint_test_data): Include all tests used for nearbyint.
13247 2014-03-17 Will Newton <will.newton@linaro.org>
13249 * nptl/sysdeps/pthread/pthread.h: Revert previous
13252 * sysdeps/generic/ldsodefs.h: Revert previous
13255 * libio/genops.c: Revert previous change.
13256 * libio/libioP.h: Likewise.
13257 * stdio-common/vfprintf.c: Likewise.
13259 * sysdeps/generic/math_private.h: Revert previous
13262 * sysdeps/generic/math_private.h: Check whether
13263 HAVE_RM_CTX is defined with #ifdef rather
13266 * argp/argp-fmtstream.h: Check whether
13267 __STRICT_ANSI__ is defined with #ifdef rather
13269 * argp/argp.h: Likewise.
13271 * libio/genops.c: Check whether
13272 _IO_JUMPS_OFFSET is defined with #ifdef rather
13274 * libio/libioP.h: Likewise.
13275 * stdio-common/vfprintf.c: Likewise.
13277 * sysdeps/generic/ldsodefs.h: Check whether
13278 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13281 * nptl/sysdeps/pthread/pthread.h: Check
13282 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13285 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13287 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13289 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13293 * libio/fileops.c (_IO_file_open): Seek to end of file but
13294 don't cache the offset.
13295 (get_file_offset): Remove function.
13296 (do_ftell): Use cached offset when available.
13297 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13298 don't cache the offset.
13299 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13301 (do_one_test): Call it.
13302 (do_ftell_test): Fix up expected old offset for a+ mode.
13303 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13306 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13307 up test status with function return status.
13308 (do_write_test): Likewise.
13309 (do_append_test): Likewise.
13311 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13312 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13315 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13317 * math/gen-libm-test.pl (parse_args): Handle results specified for
13318 each rounding mode separately.
13319 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13320 tests and results from lrint_tonearest_test_data,
13321 lrint_towardzero_test_data, lrint_downward_test_data and
13322 lrint_upward_test_data.
13323 (lrint_test): Use ALL_RM_TEST.
13324 (lrint_tonearest_test_data): Remove.
13325 (lrint_test_tonearest): Likewise.
13326 (lrint_towardzero_test_data): Likewise.
13327 (lrint_test_towardzero): Likewise.
13328 (lrint_downward_test_data): Likewise.
13329 (lrint_test_downward): Likewise.
13330 (lrint_upward_test_data): Likewise.
13331 (lrint_test_upward): Likewise.
13332 (llrint_test_data): Merge in per-rounding-mode tests and results
13333 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13334 llrint_downward_test_data and llrint_upward_test_data.
13335 (llrint_test): Use ALL_RM_TEST.
13336 (llrint_tonearest_test_data): Remove.
13337 (llrint_test_tonearest): Likewise.
13338 (llrint_towardzero_test_data): Likewise.
13339 (llrint_test_towardzero): Likewise.
13340 (llrint_downward_test_data): Likewise.
13341 (llrint_test_downward): Likewise.
13342 (llrint_upward_test_data): Likewise.
13343 (llrint_test_upward): Likewise.
13344 (rint_test_data): Merge in per-rounding-mode tests and results
13345 from rint_tonearest_test_data, rint_towardzero_test_data,
13346 rint_downward_test_data and rint_upward_test_data. Add
13347 per-rounding-mode results for tests not in those arrays.
13348 (rint_test): Use ALL_RM_TEST.
13349 (rint_tonearest_test_data): Remove.
13350 (rint_test_tonearest): Likewise.
13351 (rint_towardzero_test_data): Likewise.
13352 (rint_test_towardzero): Likewise.
13353 (rint_downward_test_data): Likewise.
13354 (rint_test_downward): Likewise.
13355 (rint_upward_test_data): Likewise.
13356 (rint_test_upward): Likewise.
13357 (main): Don't call removed functions.
13359 2014-03-14 Roland McGrath <roland@hack.frob.com>
13361 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13362 "Compiled on ..." crapola. It is anti-useful.
13364 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13366 * scripts/evaluate-test.sh: Handle fourth argument to determine
13367 whether test run should stop on failure.
13368 * Makeconfig (stop-on-test-failure): New variable.
13369 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13370 $(stop-on-test-failure).
13371 * Makefile (tests): Give a summary of results from testing and
13372 exit with failure status if they include an ERROR or FAIL.
13373 (xtests): Likewise.
13374 * manual/install.texi (Configuring and compiling): Mention
13375 stop-on-test-failure=y.
13376 * INSTALL: Regenerated.
13378 2014-03-14 Roland McGrath <roland@hack.frob.com>
13380 * scripts/versionlist.awk: New file.
13381 * Makerules [$(build-shared) = yes]
13382 (postclean-generated): Add Versions.def, not Versions.def.v and
13384 ($(common-objpfx)Versions.def.v.i): Target removed.
13385 ($(common-objpfx)Versions.def): New target.
13386 ($(common-objpfx)Versions.all): Depend on that rather that
13387 $(common-objpfx)Versions.def.v.
13388 * Versions.def: File removed.
13390 * Makeconfig (+gccwarn): Add -Wundef.
13391 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13392 a dl-sysdep.h breaking its contract.
13393 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13394 * include/stackinfo.h: New file.
13395 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13396 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13397 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13398 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13399 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13400 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13401 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13402 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13403 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13404 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13405 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13406 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13407 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13408 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13409 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13411 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13414 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13416 * math/libm-test.inc (round_test_data): Add more tests.
13419 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13421 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13424 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13426 * math/libm-test.inc (ceil_test_data): Add more tests.
13428 * math/libm-test.inc (trunc_test_data): Add more tests related to
13431 2014-03-14 Roland McGrath <roland@hack.frob.com>
13433 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13434 with #if rather than #ifdef.
13435 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13437 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13439 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13440 first. Disable AVX-512 GCC support if assembler doesn't support
13442 * sysdeps/x86_64/configure: Regenerated.
13444 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13446 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13447 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13448 (__old_pthread_attr_setstack): Likewise.
13449 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13450 [!_STACK_GROWS_DOWN]: Likewise.
13452 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13454 * config.make.in (have-bash2): Delete.
13455 * configure.ac (libc_cv_have_bash2): Delete.
13456 * configure: Regenerate.
13457 * elf/Makefile (common-ldd-rewrite): Rename to ...
13458 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13459 (sh-ldd-rewrite): Delete.
13460 (bash-ldd-rewrite): Delete.
13461 (have-bash2): Delete checks.
13462 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13465 * config.make.in (have-ksh): Delete.
13467 * configure.ac (libc_cv_have_ksh): Delete.
13468 * configure: Regenerate.
13470 * elf/Makefile: Delete $(have-ksh) check.
13471 ($(objpfx)sotruss): Change KSH to BASH.
13472 * elf/sotruss.ksh: Rename to ...
13473 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13474 function style to match POSIX. Drop ksh vim mode setting.
13476 * manual/time.texi (Specifying the Time Zone with TZ): Change
13477 Tuesday to Thursday.
13479 * debug/tst-longjmp_chk2.c: Update header comment.
13480 (stackoverflow_handler): Add comment. Call assert on pass value.
13482 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13485 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13486 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13487 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13488 (La_x86_64_vector): Add zmm.
13489 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13490 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13491 ($(objpfx)tst-audit10): New target.
13492 ($(objpfx)tst-audit10.out): Likewise.
13493 (tst-audit10-ENV): New.
13494 (AVX512-CFLAGS): Likewise.
13495 (CFLAGS-tst-audit10.c): Likewise.
13496 (CFLAGS-tst-auditmod10a.c): Likewise.
13497 (CFLAGS-tst-auditmod10b.c): Likewise.
13498 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13499 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13500 * sysdeps/x86_64/configure: Regenerated.
13501 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13502 AVX-512 zmm register support.
13503 (_dl_x86_64_save_sse): Likewise.
13504 (_dl_x86_64_restore_sse): Likewise.
13505 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13506 size vector registers.
13507 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13508 (ZMM_SIZE): Likewise.
13509 * sysdeps/x86_64/tst-audit10.c: New file.
13510 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13511 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13513 2014-03-13 Roland McGrath <roland@hack.frob.com>
13515 * configure.ac (HAVE_EHDR_START): New check.
13516 * configure: Regenerated.
13517 * config.h.in (HAVE_EHDR_START): New #undef.
13518 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13519 assuming the lowest-addressed segment maps the start of the file.
13521 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13523 * INSTALL: Regenerated.
13525 2014-03-13 Will Newton <will.newton@linaro.org>
13527 * manual/setjmp.texi (System V contexts): Improve
13528 clarity and grammar of documentation.
13530 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13533 * elf/Makefile (tests): Add tst-pie2.
13534 (tests-pie): Add tst-pie2.
13535 * elf/tst-pie2.c: New file.
13536 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13538 * elf/rtld.c (map_doit): Load executable as lt_executable.
13539 (dl_main): Likewise.
13541 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13544 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13545 (__ASSUME_PSELECT): Undefine.
13547 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13551 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13553 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13554 selector for static builds.
13556 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13559 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13562 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13564 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13565 IFUNC selector for static builds.
13567 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13569 * sysdeps/mips/math_private.h [__mips_hard_float]
13570 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13571 libc_feresetround_mips_ctx.
13572 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13573 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13574 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13577 * math/s_nextafter.c (__nextafter): Do not return value from
13578 overflowing computation.
13579 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13580 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13581 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13583 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13585 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13586 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13588 2014-03-11 Roland McGrath <roland@hack.frob.com>
13590 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13591 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13592 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13593 the new mov targetting sp.
13595 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13598 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13599 Define it for static builds as well.
13600 (NO_BZERO_IMPL): Likewise.
13602 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13604 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13605 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13606 multiarch strspn for PPC64.
13607 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13608 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13610 (__libc_ifunc_impl_list): Likewise.
13611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13612 multiarch optimizations
13613 * string/strspn.c (strspn): Using macro to redefine symbol name.
13615 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13616 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13618 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13619 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13620 multiarch strncat for PPC64.
13621 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13622 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13624 (__libc_ifunc_impl_list): Likewise.
13625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13626 multiarch optimizations
13628 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13631 * nscd/nscd.service: Make service type forking.
13633 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13635 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13636 sign in non default rounding modes.
13637 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13639 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13641 * math/libm-test.inc (ALL_RM_TEST): New macro.
13642 (ceil_test): Use ALL_RM_TEST.
13643 (cimag_test): Likewise.
13644 (conj_test): Likewise.
13645 (copysign_test): Likewise.
13646 (cproj_test): Likewise.
13647 (creal_test): Likewise.
13648 (fabs_test): Likewise.
13649 (floor_test): Likewise.
13650 (fmax_test): Likewise.
13651 (fmin_test): Likewise.
13652 (fmod_test): Likewise.
13653 (fpclassify_test): Likewise.
13654 (frexp_test): Likewise.
13655 (ilogb_test): Likewise.
13656 (isfinite_test): Likewise.
13657 (finite_test): Likewise.
13658 (isgreater_test): Likewise.
13659 (isgreaterequal_test): Likewise.
13660 (isinf_test): Likewise.
13661 (isless_test): Likewise.
13662 (islessequal_test): Likewise.
13663 (islessgreater_test): Likewise.
13664 (isnan_test): Likewise.
13665 (isnormal_test): Likewise.
13666 (issignaling_test): Likewise.
13667 (isunordered_test): Likewise.
13668 (logb_test): Likewise.
13669 (logb_downward_test_data): Remove.
13670 (logb_test_downward): Likewise.
13671 (lround_test): Use ALL_RM_TEST.
13672 (llround_test): Likewise.
13673 (modf_test): Likewise.
13674 (nexttoward_test): Likewise.
13675 (remainder_test): Likewise.
13676 (drem_test): Likewise.
13677 (remainder_tonearest_test_data): Likewise.
13678 (remainder_test_tonearest): Likewise.
13679 (drem_test_tonearest): Likewise.
13680 (remainder_towardzero_test_data): Likewise.
13681 (remainder_test_towardzero): Likewise.
13682 (drem_test_towardzero): Likewise.
13683 (remainder_downward_test_data): Likewise.
13684 (remainder_test_downward): Likewise.
13685 (drem_test_downward): Likewise.
13686 (remainder_upward_test_data): Likewise.
13687 (remainder_test_upward): Likewise.
13688 (drem_test_upward): Likewise.
13689 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13690 (round_test): Use ALL_RM_TEST.
13691 (signbit_test): Likewise.
13692 (trunc_test): Likewise.
13693 (significand_test): Likewise.
13694 (main): Don't call removed functions.
13696 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13699 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13700 || __USE_XOPEN2K8].
13701 (ILL_ILLOPN): Likewise.
13702 (ILL_ILLADR): Likewise.
13703 (ILL_ILLTRP): Likewise.
13704 (ILL_PRVOPC): Likewise.
13705 (ILL_PRVREG): Likewise.
13706 (ILL_COPROC): Likewise.
13707 (ILL_BADSTK): Likewise.
13708 (FPE_INTDIV): Likewise.
13709 (FPE_INTOVF): Likewise.
13710 (FPE_FLTDIV): Likewise.
13711 (FPE_FLTOVF): Likewise.
13712 (FPE_FLTUND): Likewise.
13713 (FPE_FLTRES): Likewise.
13714 (FPE_FLTINV): Likewise.
13715 (FPE_FLTSUB): Likewise.
13716 (SEGV_MAPERR): Likewise.
13717 (SEGV_ACCERR): Likewise.
13718 (BUS_ADRALN): Likewise.
13719 (BUS_ADRERR): Likewise.
13720 (BUS_OBJERR): Likewise.
13721 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13722 (TRAP_TRACE): Likewise.
13723 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13725 (CLD_KILLED): Likewise.
13726 (CLD_DUMPED): Likewise.
13727 (CLD_TRAPPED): Likewise.
13728 (CLD_STOPPED): Likewise.
13729 (CLD_CONTINUED): Likewise.
13730 (POLL_IN): Likewise.
13731 (POLL_OUT): Likewise.
13732 (POLL_MSG): Likewise.
13733 (POLL_ERR): Likewise.
13734 (POLL_PRI): Likewise.
13735 (POLL_HUP): Likewise.
13736 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13738 (ILL_ILLOPN): Likewise.
13739 (ILL_ILLADR): Likewise.
13740 (ILL_ILLTRP): Likewise.
13741 (ILL_PRVOPC): Likewise.
13742 (ILL_PRVREG): Likewise.
13743 (ILL_COPROC): Likewise.
13744 (ILL_BADSTK): Likewise.
13745 (FPE_INTDIV): Likewise.
13746 (FPE_INTOVF): Likewise.
13747 (FPE_FLTDIV): Likewise.
13748 (FPE_FLTOVF): Likewise.
13749 (FPE_FLTUND): Likewise.
13750 (FPE_FLTRES): Likewise.
13751 (FPE_FLTINV): Likewise.
13752 (FPE_FLTSUB): Likewise.
13753 (SEGV_MAPERR): Likewise.
13754 (SEGV_ACCERR): Likewise.
13755 (BUS_ADRALN): Likewise.
13756 (BUS_ADRERR): Likewise.
13757 (BUS_OBJERR): Likewise.
13758 (BUS_MCEERR_AR): Likewise.
13759 (BUS_MCEERR_AO): Likewise.
13760 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13761 (TRAP_TRACE): Likewise.
13762 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13764 (CLD_KILLED): Likewise.
13765 (CLD_DUMPED): Likewise.
13766 (CLD_TRAPPED): Likewise.
13767 (CLD_STOPPED): Likewise.
13768 (CLD_CONTINUED): Likewise.
13769 (POLL_IN): Likewise.
13770 (POLL_OUT): Likewise.
13771 (POLL_MSG): Likewise.
13772 (POLL_ERR): Likewise.
13773 (POLL_PRI): Likewise.
13774 (POLL_HUP): Likewise.
13775 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13776 (ILL_ILLOPN): Likewise.
13777 (ILL_ILLADR): Likewise.
13778 (ILL_ILLTRP): Likewise.
13779 (ILL_PRVOPC): Likewise.
13780 (ILL_PRVREG): Likewise.
13781 (ILL_COPROC): Likewise.
13782 (ILL_BADSTK): Likewise.
13783 (FPE_INTDIV): Likewise.
13784 (FPE_INTOVF): Likewise.
13785 (FPE_FLTDIV): Likewise.
13786 (FPE_FLTOVF): Likewise.
13787 (FPE_FLTUND): Likewise.
13788 (FPE_FLTRES): Likewise.
13789 (FPE_FLTINV): Likewise.
13790 (FPE_FLTSUB): Likewise.
13791 (SEGV_MAPERR): Likewise.
13792 (SEGV_ACCERR): Likewise.
13793 (BUS_ADRALN): Likewise.
13794 (BUS_ADRERR): Likewise.
13795 (BUS_OBJERR): Likewise.
13796 (BUS_MCEERR_AR): Likewise.
13797 (BUS_MCEERR_AO): Likewise.
13798 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13799 (TRAP_TRACE): Likewise.
13800 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13802 (CLD_KILLED): Likewise.
13803 (CLD_DUMPED): Likewise.
13804 (CLD_TRAPPED): Likewise.
13805 (CLD_STOPPED): Likewise.
13806 (CLD_CONTINUED): Likewise.
13807 (POLL_IN): Likewise.
13808 (POLL_OUT): Likewise.
13809 (POLL_MSG): Likewise.
13810 (POLL_ERR): Likewise.
13811 (POLL_PRI): Likewise.
13812 (POLL_HUP): Likewise.
13813 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13815 (ILL_ILLOPN): Likewise.
13816 (ILL_ILLADR): Likewise.
13817 (ILL_ILLTRP): Likewise.
13818 (ILL_PRVOPC): Likewise.
13819 (ILL_PRVREG): Likewise.
13820 (ILL_COPROC): Likewise.
13821 (ILL_BADSTK): Likewise.
13822 (ILL_BADIADDR): Likewise.
13823 (ILL_BREAK): Likewise.
13824 (FPE_INTDIV): Likewise.
13825 (FPE_INTOVF): Likewise.
13826 (FPE_FLTDIV): Likewise.
13827 (FPE_FLTOVF): Likewise.
13828 (FPE_FLTUND): Likewise.
13829 (FPE_FLTRES): Likewise.
13830 (FPE_FLTINV): Likewise.
13831 (FPE_FLTSUB): Likewise.
13832 (FPE_DECOVF): Likewise.
13833 (FPE_DECDIV): Likewise.
13834 (FPE_DECERR): Likewise.
13835 (FPE_INVASC): Likewise.
13836 (FPE_INVDEC): Likewise.
13837 (SEGV_MAPERR): Likewise.
13838 (SEGV_ACCERR): Likewise.
13839 (SEGV_PSTKOVF): Likewise.
13840 (BUS_ADRALN): Likewise.
13841 (BUS_ADRERR): Likewise.
13842 (BUS_OBJERR): Likewise.
13843 (BUS_MCEERR_AR): Likewise.
13844 (BUS_MCEERR_AO): Likewise.
13845 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13846 (TRAP_TRACE): Likewise.
13847 (TRAP_BRANCH): Likewise.
13848 (TRAP_HWBKPT): Likewise.
13849 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13851 (CLD_KILLED): Likewise.
13852 (CLD_DUMPED): Likewise.
13853 (CLD_TRAPPED): Likewise.
13854 (CLD_STOPPED): Likewise.
13855 (CLD_CONTINUED): Likewise.
13856 (POLL_IN): Likewise.
13857 (POLL_OUT): Likewise.
13858 (POLL_MSG): Likewise.
13859 (POLL_ERR): Likewise.
13860 (POLL_PRI): Likewise.
13861 (POLL_HUP): Likewise.
13862 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13863 (ILL_ILLOPN): Likewise.
13864 (ILL_ILLADR): Likewise.
13865 (ILL_ILLTRP): Likewise.
13866 (ILL_PRVOPC): Likewise.
13867 (ILL_PRVREG): Likewise.
13868 (ILL_COPROC): Likewise.
13869 (ILL_BADSTK): Likewise.
13870 (FPE_INTDIV): Likewise.
13871 (FPE_INTOVF): Likewise.
13872 (FPE_FLTDIV): Likewise.
13873 (FPE_FLTOVF): Likewise.
13874 (FPE_FLTUND): Likewise.
13875 (FPE_FLTRES): Likewise.
13876 (FPE_FLTINV): Likewise.
13877 (FPE_FLTSUB): Likewise.
13878 (SEGV_MAPERR): Likewise.
13879 (SEGV_ACCERR): Likewise.
13880 (BUS_ADRALN): Likewise.
13881 (BUS_ADRERR): Likewise.
13882 (BUS_OBJERR): Likewise.
13883 (BUS_MCEERR_AR): Likewise.
13884 (BUS_MCEERR_AO): Likewise.
13885 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13886 (TRAP_TRACE): Likewise.
13887 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13889 (CLD_KILLED): Likewise.
13890 (CLD_DUMPED): Likewise.
13891 (CLD_TRAPPED): Likewise.
13892 (CLD_STOPPED): Likewise.
13893 (CLD_CONTINUED): Likewise.
13894 (POLL_IN): Likewise.
13895 (POLL_OUT): Likewise.
13896 (POLL_MSG): Likewise.
13897 (POLL_ERR): Likewise.
13898 (POLL_PRI): Likewise.
13899 (POLL_HUP): Likewise.
13900 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13901 (ILL_ILLOPN): Likewise.
13902 (ILL_ILLADR): Likewise.
13903 (ILL_ILLTRP): Likewise.
13904 (ILL_PRVOPC): Likewise.
13905 (ILL_PRVREG): Likewise.
13906 (ILL_COPROC): Likewise.
13907 (ILL_BADSTK): Likewise.
13908 (FPE_INTDIV): Likewise.
13909 (FPE_INTOVF): Likewise.
13910 (FPE_FLTDIV): Likewise.
13911 (FPE_FLTOVF): Likewise.
13912 (FPE_FLTUND): Likewise.
13913 (FPE_FLTRES): Likewise.
13914 (FPE_FLTINV): Likewise.
13915 (FPE_FLTSUB): Likewise.
13916 (SEGV_MAPERR): Likewise.
13917 (SEGV_ACCERR): Likewise.
13918 (BUS_ADRALN): Likewise.
13919 (BUS_ADRERR): Likewise.
13920 (BUS_OBJERR): Likewise.
13921 (BUS_MCEERR_AR): Likewise.
13922 (BUS_MCEERR_AO): Likewise.
13923 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13924 (TRAP_TRACE): Likewise.
13925 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13927 (CLD_KILLED): Likewise.
13928 (CLD_DUMPED): Likewise.
13929 (CLD_TRAPPED): Likewise.
13930 (CLD_STOPPED): Likewise.
13931 (CLD_CONTINUED): Likewise.
13932 (POLL_IN): Likewise.
13933 (POLL_OUT): Likewise.
13934 (POLL_MSG): Likewise.
13935 (POLL_ERR): Likewise.
13936 (POLL_PRI): Likewise.
13937 (POLL_HUP): Likewise.
13938 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13939 (ILL_ILLOPN): Likewise.
13940 (ILL_ILLADR): Likewise.
13941 (ILL_ILLTRP): Likewise.
13942 (ILL_PRVOPC): Likewise.
13943 (ILL_PRVREG): Likewise.
13944 (ILL_COPROC): Likewise.
13945 (ILL_BADSTK): Likewise.
13946 (FPE_INTDIV): Likewise.
13947 (FPE_INTOVF): Likewise.
13948 (FPE_FLTDIV): Likewise.
13949 (FPE_FLTOVF): Likewise.
13950 (FPE_FLTUND): Likewise.
13951 (FPE_FLTRES): Likewise.
13952 (FPE_FLTINV): Likewise.
13953 (FPE_FLTSUB): Likewise.
13954 (SEGV_MAPERR): Likewise.
13955 (SEGV_ACCERR): Likewise.
13956 (BUS_ADRALN): Likewise.
13957 (BUS_ADRERR): Likewise.
13958 (BUS_OBJERR): Likewise.
13959 (BUS_MCEERR_AR): Likewise.
13960 (BUS_MCEERR_AO): Likewise.
13961 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13962 (TRAP_TRACE): Likewise.
13963 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13965 (CLD_KILLED): Likewise.
13966 (CLD_DUMPED): Likewise.
13967 (CLD_TRAPPED): Likewise.
13968 (CLD_STOPPED): Likewise.
13969 (CLD_CONTINUED): Likewise.
13970 (POLL_IN): Likewise.
13971 (POLL_OUT): Likewise.
13972 (POLL_MSG): Likewise.
13973 (POLL_ERR): Likewise.
13974 (POLL_PRI): Likewise.
13975 (POLL_HUP): Likewise.
13976 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13977 (ILL_ILLOPN): Likewise.
13978 (ILL_ILLADR): Likewise.
13979 (ILL_ILLTRP): Likewise.
13980 (ILL_PRVOPC): Likewise.
13981 (ILL_PRVREG): Likewise.
13982 (ILL_COPROC): Likewise.
13983 (ILL_BADSTK): Likewise.
13984 (ILL_DBLFLT): Likewise.
13985 (ILL_HARDWALL): Likewise.
13986 (FPE_INTDIV): Likewise.
13987 (FPE_INTOVF): Likewise.
13988 (FPE_FLTDIV): Likewise.
13989 (FPE_FLTOVF): Likewise.
13990 (FPE_FLTUND): Likewise.
13991 (FPE_FLTRES): Likewise.
13992 (FPE_FLTINV): Likewise.
13993 (FPE_FLTSUB): Likewise.
13994 (SEGV_MAPERR): Likewise.
13995 (SEGV_ACCERR): Likewise.
13996 (BUS_ADRALN): Likewise.
13997 (BUS_ADRERR): Likewise.
13998 (BUS_OBJERR): Likewise.
13999 (BUS_MCEERR_AR): Likewise.
14000 (BUS_MCEERR_AO): Likewise.
14001 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14002 (TRAP_TRACE): Likewise.
14003 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14005 (CLD_KILLED): Likewise.
14006 (CLD_DUMPED): Likewise.
14007 (CLD_TRAPPED): Likewise.
14008 (CLD_STOPPED): Likewise.
14009 (CLD_CONTINUED): Likewise.
14010 (POLL_IN): Likewise.
14011 (POLL_OUT): Likewise.
14012 (POLL_MSG): Likewise.
14013 (POLL_ERR): Likewise.
14014 (POLL_PRI): Likewise.
14015 (POLL_HUP): Likewise.
14016 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14017 (ILL_ILLOPN): Likewise.
14018 (ILL_ILLADR): Likewise.
14019 (ILL_ILLTRP): Likewise.
14020 (ILL_PRVOPC): Likewise.
14021 (ILL_PRVREG): Likewise.
14022 (ILL_COPROC): Likewise.
14023 (ILL_BADSTK): Likewise.
14024 (FPE_INTDIV): Likewise.
14025 (FPE_INTOVF): Likewise.
14026 (FPE_FLTDIV): Likewise.
14027 (FPE_FLTOVF): Likewise.
14028 (FPE_FLTUND): Likewise.
14029 (FPE_FLTRES): Likewise.
14030 (FPE_FLTINV): Likewise.
14031 (FPE_FLTSUB): Likewise.
14032 (SEGV_MAPERR): Likewise.
14033 (SEGV_ACCERR): Likewise.
14034 (BUS_ADRALN): Likewise.
14035 (BUS_ADRERR): Likewise.
14036 (BUS_OBJERR): Likewise.
14037 (BUS_MCEERR_AR): Likewise.
14038 (BUS_MCEERR_AO): Likewise.
14039 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14040 (TRAP_TRACE): Likewise.
14041 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14043 (CLD_KILLED): Likewise.
14044 (CLD_DUMPED): Likewise.
14045 (CLD_TRAPPED): Likewise.
14046 (CLD_STOPPED): Likewise.
14047 (CLD_CONTINUED): Likewise.
14048 (POLL_IN): Likewise.
14049 (POLL_OUT): Likewise.
14050 (POLL_MSG): Likewise.
14051 (POLL_ERR): Likewise.
14052 (POLL_PRI): Likewise.
14053 (POLL_HUP): Likewise.
14054 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14055 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14058 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14059 before #include of <time.h>.
14060 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14061 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14062 (test-xfail-UNIX98/sched.h/conform): Likewise.
14064 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14066 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14067 error absence of trapping exception support.
14068 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14070 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14072 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14073 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14074 * timezone/Makefile (testdata): Move definition above include of
14076 (test-zones): New variable.
14077 (tests-special): Add zone files.
14078 (build-testdata): Use $(evaluate-test).
14080 * elf/Makefile (tests-special): Rename tests to end with .out.
14081 ($(objpfx)noload-mem): Likewise.
14082 ($(objpfx)tst-leaks1-mem): Likewise.
14083 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14084 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14085 $(objpfx)test-iconvconfig.out.
14086 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14087 set -e inside subshell and redirect output to file.
14088 * iconvdata/Makefile (generated): Rename tests to end with .out.
14090 (tests-special): Rename tests to end with .out.
14091 ($(objpfx)mtrace-tst-loading): Likewise.
14092 * intl/Makefile (generated): Likewise.
14093 (tests-special): Likewise.
14094 ($(objpfx)mtrace-tst-gettext): Likewise.
14095 * misc/Makefile (generated): Likewise.
14096 (tests-special): Likewise.
14097 ($(objpfx)tst-error1-mem): Likewise.
14098 * nptl/Makefile (tests-special): Likewise.
14099 ($(objpfx)tst-stack3-mem): Likewise.
14100 (generated): Likewise.
14101 * posix/Makefile (generated): Likewise.
14102 (tests-special): Likewise.
14103 (xtests-special): Likewise.
14104 ($(objpfx)tst-fnmatch-mem): Likewise.
14105 ($(objpfx)bug-regex2-mem): Likewise.
14106 ($(objpfx)bug-regex14-mem): Likewise.
14107 ($(objpfx)bug-regex21-mem): Likewise.
14108 ($(objpfx)bug-regex31-mem): Likewise.
14109 ($(objpfx)tst-vfork3-mem): Likewise.
14110 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14111 ($(objpfx)tst-pcre-mem): Likewise.
14112 ($(objpfx)tst-boost-mem): Likewise.
14113 ($(objpfx)bug-ga2-mem): Likewise.
14114 ($(objpfx)bug-glob2-mem): Likewise.
14115 * resolv/Makefile (generate): Likewise.
14116 (tests-special): Likewise.
14117 (xtests-special): Likewise.
14118 (generated): Likewise.
14119 ($(objpfx)mtrace-tst-leaks): Likewise.
14120 ($(objpfx)mtrace-tst-leaks2): Likewise.
14122 * scripts/merge-test-results.sh: New file.
14123 * Makefile (tests-special-notdir): New variable.
14124 (tests): Run merge-test-results.sh.
14125 (xtests): Likewise.
14126 * Rules (tests-special-notdir): New variable.
14127 (xtests-special-notdir): Likewise.
14128 (tests): Run merge-test-results.sh
14129 (xtests): Likewise.
14131 * Makeconfig (test-xfail-name): New variable.
14132 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14133 compute variable name for expected failures.
14134 * conform/Makefile (conformtest-headers-data): New variable.
14135 (conformtest-standards): Likewise.
14136 (conformtest-headers-ISO): Likewise.
14137 (conformtest-headers-ISO99): Likewise.
14138 (conformtest-headers-ISO11): Likewise.
14139 (conformtest-headers-POSIX): Likewise.
14140 (conformtest-headers-XPG3): Likewise.
14141 (conformtest-headers-XPG4): Likewise.
14142 (conformtest-headers-UNIX98): Likewise.
14143 (conformtest-headers-XOPEN2K): Likewise.
14144 (conformtest-headers-POSIX2008): Likewise.
14145 (conformtest-headers-XOPEN2K8): Likewise.
14146 (conformtest-header-list-base): Likewise.
14147 (conformtest-header-list-tests): Likewise.
14148 (conformtest-header-base): Likewise.
14149 (conformtest-header-tests): Likewise.
14150 (tests-special): Add $(conformtest-header-list-tests). If
14151 [$(fast-check) && !$(cross-compiling)], add
14152 $(conformtest-header-tests) instead of
14153 $(objpfx)run-conformtest.out.
14154 (generated): Add $(conformtest-header-list-base). If
14155 [$(fast-check) && !$(cross-compiling)], add
14156 $(conformtest-header-base). Remove previous setting.
14157 ($(conformtest-header-list-tests)): New target.
14158 (test-xfail-run-conformtest): Remove variable.
14159 ($(objpfx)run-conformtest.out): Remove target.
14160 (test-xfail-ISO11/complex.h/conform): New variable.
14161 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14162 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14163 (test-xfail-XPG3/varargs.h/conform): Likewise.
14164 (test-xfail-XPG4/varargs.h/conform): Likewise.
14165 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14166 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14167 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14168 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14169 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14170 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14171 (test-xfail-XPG3/ftw.h/conform): Likewise.
14172 (test-xfail-XPG3/grp.h/conform): Likewise.
14173 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14174 (test-xfail-XPG3/limits.h/conform): Likewise.
14175 (test-xfail-XPG3/pwd.h/conform): Likewise.
14176 (test-xfail-XPG3/search.h/conform): Likewise.
14177 (test-xfail-XPG3/signal.h/conform): Likewise.
14178 (test-xfail-XPG3/stdio.h/conform): Likewise.
14179 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14180 (test-xfail-XPG3/string.h/conform): Likewise.
14181 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14182 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14183 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14184 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14185 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14186 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14187 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14188 (test-xfail-XPG3/termios.h/conform): Likewise.
14189 (test-xfail-XPG3/time.h/conform): Likewise.
14190 (test-xfail-XPG3/unistd.h/conform): Likewise.
14191 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14192 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14193 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14194 (test-xfail-XPG4/netdb.h/conform): Likewise.
14195 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14196 (test-xfail-XPG4/signal.h/conform): Likewise.
14197 (test-xfail-XPG4/stdio.h/conform): Likewise.
14198 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14199 (test-xfail-XPG4/stropts.h/conform): Likewise.
14200 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14201 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14202 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14203 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14204 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14205 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14206 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14207 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14208 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14209 (test-xfail-XPG4/termios.h/conform): Likewise.
14210 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14211 (test-xfail-XPG4/unistd.h/conform): Likewise.
14212 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14213 (test-xfail-POSIX/sched.h/conform): Likewise.
14214 (test-xfail-POSIX/signal.h/conform): Likewise.
14215 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14216 (test-xfail-POSIX/tar.h/conform): Likewise.
14217 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14218 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14219 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14220 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14221 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14222 (test-xfail-UNIX98/sched.h/conform): Likewise.
14223 (test-xfail-UNIX98/signal.h/conform): Likewise.
14224 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14225 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14226 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14227 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14228 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14229 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14230 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14231 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14232 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14233 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14234 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14235 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14236 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14237 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14238 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14239 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14240 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14241 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14242 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14243 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14244 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14245 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14246 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14247 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14248 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14249 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14250 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14251 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14252 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14253 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14254 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14255 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14256 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14257 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14258 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14259 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14260 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14261 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14262 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14263 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14264 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14265 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14266 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14267 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14268 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14269 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14270 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14271 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14272 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14273 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14274 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14275 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14276 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14277 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14278 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14279 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14280 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14281 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14282 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14283 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14284 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14285 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14286 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14287 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14288 (conformtest-cc-flags): Likewise.
14289 ($(conformtest-header-tests): New target.
14290 * conform/check-header-lists.sh: New file.
14291 * conform/run-conformtest.sh: Remove.
14293 * conform/conformtest.pl: Allow ' and \ in values given for
14295 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14297 [POSIX] (sys/types.h): Likewise.
14298 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14300 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14302 * conform/data/signal.h-data (SIGIO): Remove expectation.
14303 [XPG3] (SIGBUS): Do not expect.
14304 [POSIX || XPG3] (SIGPOLL): Likewise.
14305 [POSIX || XPG3] (SIGPROF): Likewise.
14306 [POSIX || XPG3] (SIGSYS): Likewise.
14307 [XPG3] (SIGTRAP): Likewise.
14308 [POSIX || XPG3] (SIGURG): Likewise.
14309 [POSIX || XPG3] (SIGVTALRM): Likewise.
14310 [POSIX || XPG3] (SIGXCPU): Likewise.
14311 [POSIX || XPG3] (SIGXFSZ): Likewise.
14312 [POSIX] (SA_SIGINFO): Expect.
14313 [XPG3] (siginfo_t): Do not expect type or contents.
14314 [POSIX] (si_pid): Do not expect element.
14315 [POSIX] (si_uid): Likewise.
14316 [POSIX] (si_addr): Likewise.
14317 [POSIX] (si_status): Likewise.
14318 [POSIX] (si_band): Likewise.
14319 [XPG4] (si_value): Likewise.
14320 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14321 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14322 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14323 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14324 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14325 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14326 [POSIX || XPG3] (ILL_COPROC): Likewise.
14327 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14328 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14329 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14330 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14331 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14332 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14333 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14334 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14335 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14336 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14337 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14338 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14339 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14340 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14341 [POSIX || XPG3] (CLD_EXITED): Likewise.
14342 [POSIX || XPG3] (CLD_KILLED): Likewise.
14343 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14344 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14345 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14346 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14347 [POSIX || XPG3] (POLL_IN): Likewise.
14348 [POSIX || XPG3] (POLL_OUT): Likewise.
14349 [POSIX || XPG3] (POLL_MSG): Likewise.
14350 [POSIX || XPG3] (POLL_ERR): Likewise.
14351 [POSIX || XPG3] (POLL_PRI): Likewise.
14352 [POSIX || XPG3] (POLL_HUP): Likewise.
14353 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14354 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14355 (SIG*): Do not allow.
14356 [XPG3] (si_*): Likewise.
14357 [XPG3] (SI_*): Likewise.
14358 [XPG3 || XPG4] (sigev_*): Likewise.
14359 [XPG3 || XPG4] (SIGEV_*): Likewise.
14360 [XPG3 || XPG4] (sival_*): Likewise.
14361 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14362 [POSIX || XPG3] (BUS_*): Likewise.
14363 [POSIX || XPG3] (CLD_*): Likewise.
14364 [POSIX || XPG3] (FPE_*): Likewise.
14365 [POSIX || XPG3] (ILL_*): Likewise.
14366 [POSIX || XPG3] (POLL_*): Likewise.
14367 [POSIX || XPG3] (SEGV_*): Likewise.
14368 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14369 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14370 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14371 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14372 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14373 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14374 Specify type and value.
14375 (TVERSLEN): Likewise.
14376 (REGTYPE): Likewise.
14377 (AREGTYPE): Likewise.
14378 (LNKTYPE): Likewise.
14379 (SYMTYPE): Likewise.
14380 (CHRTYPE): Likewise.
14381 (BLKTYPE): Likewise.
14382 (DIRTYPE): Likewise.
14383 (FIFOTYPE): Likewise.
14384 (CONTTYPE): Likewise.
14388 (TUREAD): Likewise.
14389 (TUWRITE): Likewise.
14390 (TUEXEC): Likewise.
14391 (TGREAD): Likewise.
14392 (TGWRITE): Likewise.
14393 (TGEXEC): Likewise.
14394 (TOREAD): Likewise.
14395 (TOWRITE): Likewise.
14396 (TOEXEC): Likewise.
14397 [POSIX] (TSVTX): Expect constant.
14399 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14401 * Makefile (tests): Change dependencies to ....
14402 (tests-special): ... additions to this variable.
14403 (tests): Depend on $(tests-special).
14404 * Makerules (check-abi-list): New variable.
14405 (check-abi): Depend on $(check-abi-list).
14406 [$(subdir) = elf] (tests-special): Add
14407 $(objpfx)check-abi-libc.out.
14408 [$(build-shared) = yes && subdir] (tests-special): Add
14410 [$(build-shared) = yes && subdir] (tests): Do not depend on
14412 * Rules (tests): Depend on $(tests-special).
14413 (xtests): Depend on $(xtests-special).
14414 * catgets/Makefile (tests): Change dependencies to ....
14415 (tests-special): ... additions to this variable.
14416 * conform/Makefile (tests): Change dependencies to ....
14417 (tests-special): ... additions to this variable.
14418 * elf/Makefile (tests): Change dependencies to ....
14419 (tests-special): ... additions to this variable.
14420 * grp/Makefile (tests): Change dependencies to ....
14421 (tests-special): ... additions to this variable.
14422 * iconv/Makefile (xtests): Change dependencies to ....
14423 (xtests-special): ... additions to this variable.
14424 * iconvdata/Makefile (tests): Change dependencies to ....
14425 (tests-special): ... additions to this variable.
14426 * intl/Makefile (tests): Change dependencies to ....
14427 (tests-special): ... additions to this variable. Also add
14428 $(objpfx)tst-gettext.out.
14429 * io/Makefile (tests): Change dependencies to ....
14430 (tests-special): ... additions to this variable.
14431 * libio/Makefile (tests): Change dependencies to ....
14432 (tests-special): ... additions to this variable.
14433 * malloc/Makefile (tests): Change dependencies to ....
14434 (tests-special): ... additions to this variable.
14435 * misc/Makefile (tests): Change dependencies to ....
14436 (tests-special): ... additions to this variable.
14437 * nptl/Makefile (tests): Change dependencies to ....
14438 (tests-special): ... additions to this variable.
14439 * nptl_db/Makefile (tests): Change dependencies to ....
14440 (tests-special): ... additions to this variable.
14441 * posix/Makefile (tests): Change dependencies to ....
14442 (tests-special): ... additions to this variable.
14443 (xtests): Change dependencies to ....
14444 (xtests-special): ... additions to this variable.
14445 * resolv/Makefile (tests): Change dependencies to ....
14446 (tests-special): ... additions to this variable.
14447 (xtests): Change dependencies to ....
14448 (xtests-special): ... additions to this variable.
14449 * stdio-common/Makefile (tests): Change dependencies to ....
14450 (tests-special): ... additions to this variable.
14451 (do-tst-unbputc): Remove target.
14452 (do-tst-printf): Likewise.
14453 * stdlib/Makefile (tests): Change dependencies to ....
14454 (tests-special): ... additions to this variable.
14455 * string/Makefile (tests): Change dependencies to ....
14456 (tests-special): ... additions to this variable.
14457 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14458 (tests-special): ... additions to this variable.
14460 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14462 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14464 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14465 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14467 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14468 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14469 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14470 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14471 * conform/data/libgen.h-data [XPG3]: Likewise.
14472 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14473 * conform/data/ndbm.h-data [XPG3]: Likewise.
14474 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14475 * conform/data/netdb.h-data [XPG3]: Likewise.
14476 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14477 * conform/data/poll.h-data [XPG3]: Likewise.
14478 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14479 * conform/data/strings.h-data [XPG3]: Likewise.
14480 * conform/data/stropts.h-data [XPG3]: Likewise.
14481 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14482 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14483 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14485 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14486 * conform/data/sys/time.h-data [XPG3]: Likewise.
14487 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14488 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14489 * conform/data/sys/un.h-data [XPG3]: Likewise.
14490 * conform/data/syslog.h-data [XPG3]: Likewise.
14491 * conform/data/ucontext.h-data [XPG3]: Likewise.
14492 * conform/data/utmpx.h-data [XPG3]: Likewise.
14493 * conform/data/varargs.h-data [UNIX98]: Enable file.
14495 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14497 * math/libm-test.inc (struct test_f_f_data): Move expected results
14498 into structure for each rounding mode.
14499 (struct test_ff_f_data): Likewise.
14500 (struct test_ff_f_data_nexttoward): Likewise.
14501 (struct test_fi_f_data): Likewise.
14502 (struct test_fl_f_data): Likewise.
14503 (struct test_if_f_data): Likewise.
14504 (struct test_fff_f_data): Likewise.
14505 (struct test_c_f_data): Likewise.
14506 (struct test_f_f1_data): Likewise.
14507 (struct test_fF_f1_data): Likewise.
14508 (struct test_ffI_f1_data): Likewise.
14509 (struct test_c_c_data): Likewise.
14510 (struct test_cc_c_data): Likewise.
14511 (struct test_f_i_data): Likewise.
14512 (struct test_ff_i_data): Likewise.
14513 (struct test_f_l_data): Likewise.
14514 (struct test_f_L_data): Likewise.
14515 (struct test_fFF_11_data): Likewise.
14517 (RM_FE_DOWNWARD): Likewise.
14518 (RM_FE_TONEAREST): Likewise.
14519 (RM_FE_TOWARDZERO): Likewise.
14520 (RM_FE_UPWARD): Likewise.
14521 (RUN_TEST_LOOP_f_f): Update references to expected results.
14522 (RUN_TEST_LOOP_2_f): Likewise.
14523 (RUN_TEST_LOOP_fff_f): Likewise.
14524 (RUN_TEST_LOOP_c_f): Likewise.
14525 (RUN_TEST_LOOP_f_f1): Likewise.
14526 (RUN_TEST_LOOP_fF_f1): Likewise.
14527 (RUN_TEST_LOOP_fI_f1): Likewise.
14528 (RUN_TEST_LOOP_ffI_f1): Likewise.
14529 (RUN_TEST_LOOP_c_c): Likewise.
14530 (RUN_TEST_LOOP_cc_c): Likewise.
14531 (RUN_TEST_LOOP_f_i): Likewise.
14532 (RUN_TEST_LOOP_f_i_tg): Likewise.
14533 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14534 (RUN_TEST_LOOP_f_b): Likewise.
14535 (RUN_TEST_LOOP_f_b_tg): Likewise.
14536 (RUN_TEST_LOOP_f_l): Likewise.
14537 (RUN_TEST_LOOP_f_L): Likewise.
14538 (RUN_TEST_LOOP_fFF_11): Likewise.
14539 * math/gen-libm-test.pl (parse_args): Output four copies of
14540 expected results for each test.
14542 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14543 (__ASSUME_UTIMES): Remove.
14544 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14545 (__ASSUME_UTIMES): Likewise.
14547 * math/gen-auto-libm-tests.c: Update comment on output format.
14548 (output_for_one_input_case): Generate before-rounding and
14549 after-rounding information as conditions on output flags not
14550 floating-point format.
14551 * math/auto-libm-test-out: Regenerated.
14552 * math/gen-libm-test.pl (cond_value): New function.
14553 (or_cond_value): Use cond_value.
14554 (generate_testfile): Handle conditional exceptions.
14556 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14558 * math/libm-test.inc (max_valid_error): New variable.
14559 (init_max_error): Take new argument specifying whether function
14560 results are exactly determined. Set max_valid_error and bound
14561 other variables for errors based on this argument.
14562 (set_max_error): Do not record results above max_valid_error.
14563 (check_float_internal): Only accept errors of up to 0.5ulps if
14564 also at most max_valid_error.
14565 (START): Take new argument EXACT and pass it to init_max_error.
14566 (acos_test): Update call to START.
14567 (acos_test_tonearest): Likewise.
14568 (acos_test_towardzero): Likewise.
14569 (acos_test_downward): Likewise.
14570 (acos_test_upward): Likewise.
14571 (acosh_test): Likewise.
14572 (asin_test): Likewise.
14573 (asin_test_tonearest): Likewise.
14574 (asin_test_towardzero): Likewise.
14575 (asin_test_downward): Likewise.
14576 (asin_test_upward): Likewise.
14577 (asinh_test): Likewise.
14578 (atan_test): Likewise.
14579 (atanh_test): Likewise.
14580 (atan2_test): Likewise.
14581 (cabs_test): Likewise.
14582 (cacos_test): Likewise.
14583 (cacosh_test): Likewise.
14584 (carg_test): Likewise.
14585 (casin_test): Likewise.
14586 (casinh_test): Likewise.
14587 (catan_test): Likewise.
14588 (catanh_test): Likewise.
14589 (cbrt_test): Likewise.
14590 (ccos_test): Likewise.
14591 (ccosh_test): Likewise.
14592 (ceil_test): Likewise.
14593 (cexp_test): Likewise.
14594 (cimag_test): Likewise.
14595 (clog_test): Likewise.
14596 (clog10_test): Likewise.
14597 (conj_test): Likewise.
14598 (copysign_test): Likewise.
14599 (cos_test): Likewise.
14600 (cos_test_tonearest): Likewise.
14601 (cos_test_towardzero): Likewise.
14602 (cos_test_downward): Likewise.
14603 (cos_test_upward): Likewise.
14604 (cosh_test): Likewise.
14605 (cosh_test_tonearest): Likewise.
14606 (cosh_test_towardzero): Likewise.
14607 (cosh_test_downward): Likewise.
14608 (cosh_test_upward): Likewise.
14609 (cpow_test): Likewise.
14610 (cproj_test): Likewise.
14611 (creal_test): Likewise.
14612 (csin_test): Likewise.
14613 (csinh_test): Likewise.
14614 (csqrt_test): Likewise.
14615 (ctan_test): Likewise.
14616 (ctan_test_tonearest): Likewise.
14617 (ctan_test_towardzero): Likewise.
14618 (ctan_test_downward): Likewise.
14619 (ctan_test_upward): Likewise.
14620 (ctanh_test): Likewise.
14621 (ctanh_test_tonearest): Likewise.
14622 (ctanh_test_towardzero): Likewise.
14623 (ctanh_test_downward): Likewise.
14624 (ctanh_test_upward): Likewise.
14625 (erf_test): Likewise.
14626 (erfc_test): Likewise.
14627 (exp_test): Likewise.
14628 (exp_test_tonearest): Likewise.
14629 (exp_test_towardzero): Likewise.
14630 (exp_test_downward): Likewise.
14631 (exp_test_upward): Likewise.
14632 (exp10_test): Likewise.
14633 (exp10_test_tonearest): Likewise.
14634 (exp10_test_towardzero): Likewise.
14635 (exp10_test_downward): Likewise.
14636 (exp10_test_upward): Likewise.
14637 (pow10_test): Likewise.
14638 (exp2_test): Likewise.
14639 (expm1_test): Likewise.
14640 (expm1_test_tonearest): Likewise.
14641 (expm1_test_towardzero): Likewise.
14642 (expm1_test_downward): Likewise.
14643 (expm1_test_upward): Likewise.
14644 (fabs_test): Likewise.
14645 (fdim_test): Likewise.
14646 (floor_test): Likewise.
14647 (fma_test): Likewise.
14648 (fma_test_towardzero): Likewise.
14649 (fma_test_downward): Likewise.
14650 (fma_test_upward): Likewise.
14651 (fmax_test): Likewise.
14652 (fmin_test): Likewise.
14653 (fmod_test): Likewise.
14654 (fpclassify_test): Likewise.
14655 (frexp_test): Likewise.
14656 (hypot_test): Likewise.
14657 (ilogb_test): Likewise.
14658 (isfinite_test): Likewise.
14659 (finite_test): Likewise.
14660 (isgreater_test): Likewise.
14661 (isgreaterequal_test): Likewise.
14662 (isinf_test): Likewise.
14663 (isless_test): Likewise.
14664 (islessequal_test): Likewise.
14665 (islessgreater_test): Likewise.
14666 (isnan_test): Likewise.
14667 (isnormal_test): Likewise.
14668 (issignaling_test): Likewise.
14669 (isunordered_test): Likewise.
14670 (j0_test): Likewise.
14671 (j1_test): Likewise.
14672 (jn_test): Likewise.
14673 (ldexp_test): Likewise.
14674 (lgamma_test): Likewise.
14675 (gamma_test): Likewise.
14676 (lrint_test): Likewise.
14677 (lrint_test_tonearest): Likewise.
14678 (lrint_test_towardzero): Likewise.
14679 (lrint_test_downward): Likewise.
14680 (lrint_test_upward): Likewise.
14681 (llrint_test): Likewise.
14682 (llrint_test_tonearest): Likewise.
14683 (llrint_test_towardzero): Likewise.
14684 (llrint_test_downward): Likewise.
14685 (llrint_test_upward): Likewise.
14686 (log_test): Likewise.
14687 (log10_test): Likewise.
14688 (log1p_test): Likewise.
14689 (log2_test): Likewise.
14690 (logb_test): Likewise.
14691 (logb_test_downward): Likewise.
14692 (lround_test): Likewise.
14693 (llround_test): Likewise.
14694 (modf_test): Likewise.
14695 (nearbyint_test): Likewise.
14696 (nextafter_test): Likewise.
14697 (nexttoward_test): Likewise.
14698 (pow_test): Likewise.
14699 (pow_test_tonearest): Likewise.
14700 (pow_test_towardzero): Likewise.
14701 (pow_test_downward): Likewise.
14702 (pow_test_upward): Likewise.
14703 (remainder_test): Likewise.
14704 (drem_test): Likewise.
14705 (remainder_test_tonearest): Likewise.
14706 (drem_test_tonearest): Likewise.
14707 (remainder_test_towardzero): Likewise.
14708 (drem_test_towardzero): Likewise.
14709 (remainder_test_downward): Likewise.
14710 (drem_test_downward): Likewise.
14711 (remainder_test_upward): Likewise.
14712 (drem_test_upward): Likewise.
14713 (remquo_test): Likewise.
14714 (rint_test): Likewise.
14715 (rint_test_tonearest): Likewise.
14716 (rint_test_towardzero): Likewise.
14717 (rint_test_downward): Likewise.
14718 (rint_test_upward): Likewise.
14719 (round_test): Likewise.
14720 (scalb_test): Likewise.
14721 (scalbn_test): Likewise.
14722 (scalbln_test): Likewise.
14723 (signbit_test): Likewise.
14724 (sin_test): Likewise.
14725 (sin_test_tonearest): Likewise.
14726 (sin_test_towardzero): Likewise.
14727 (sin_test_downward): Likewise.
14728 (sin_test_upward): Likewise.
14729 (sincos_test): Likewise.
14730 (sinh_test): Likewise.
14731 (sinh_test_tonearest): Likewise.
14732 (sinh_test_towardzero): Likewise.
14733 (sinh_test_downward): Likewise.
14734 (sinh_test_upward): Likewise.
14735 (sqrt_test): Likewise.
14736 (sqrt_test_tonearest): Likewise.
14737 (sqrt_test_towardzero): Likewise.
14738 (sqrt_test_downward): Likewise.
14739 (sqrt_test_upward): Likewise.
14740 (tan_test): Likewise.
14741 (tan_test_tonearest): Likewise.
14742 (tan_test_towardzero): Likewise.
14743 (tan_test_downward): Likewise.
14744 (tan_test_upward): Likewise.
14745 (tanh_test): Likewise.
14746 (tgamma_test): Likewise.
14747 (trunc_test): Likewise.
14748 (y0_test): Likewise.
14749 (y1_test): Likewise.
14750 (yn_test): Likewise.
14751 (significand_test): Likewise.
14753 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14754 individual tests in comment.
14755 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14756 (prev_max_error): New variable.
14757 (prev_real_max_error): Likewise.
14758 (prev_imag_max_error): Likewise.
14759 (compare_ulp_data): Don't refer to test names in comment.
14760 (find_test_ulps): Remove function.
14761 (find_function_ulps): Likewise.
14762 (find_complex_function_ulps): Likewise.
14763 (init_max_error): Take function name as argument. Look up ulps
14765 (print_ulps): Remove function.
14766 (print_max_error): Use prev_max_error instead of calling
14767 find_function_ulps.
14768 (print_complex_max_error): Use prev_real_max_error and
14769 prev_imag_max_error instead of calling find_complex_function_ulps.
14770 (check_float_internal): Take max_ulp parameter instead of calling
14771 find_test_ulps. Don't call print_ulps.
14772 (check_float): Update call to check_float_internal.
14773 (check_complex): Update calls to check_float_internal.
14774 (START): Pass argument to init_max_error.
14775 * math/gen-libm-test.pl (%results): Don't include "kind"
14777 (parse_ulps): Don't handle ulps of individual tests.
14778 (print_ulps_file): Likewise.
14779 (output_ulps): Likewise.
14780 * math/README.libm-test: Update.
14781 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14783 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14784 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14785 * sysdeps/arm/libm-test-ulps: Likewise.
14786 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14787 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14788 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14789 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14790 * sysdeps/microblaze/libm-test-ulps: Likewise.
14791 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14792 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14793 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14794 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14795 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14796 * sysdeps/sh/libm-test-ulps: Likewise.
14797 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14798 * sysdeps/tile/libm-test-ulps: Likewise.
14799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14801 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14803 * math/libm-test.inc (print_complex_max_error): Check separately
14804 whether real and imaginary errors are within allowed range and
14805 pass 0 to print_complex_function_ulps instead of value within
14808 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14810 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14812 (get_handles_fopen): Likewise.
14813 (do_write_test): Likewise.
14815 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14817 * libio/fileops.c (do_ftell): Use cached offset when
14819 * libio/iofwide.c (do_ftell_wide): Likewise.
14820 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14822 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14825 * libio/libioP.h (get_file_offset): New function.
14826 * libio/fileops.c (get_file_offset): Likewise.
14827 (do_ftell): Likewise.
14828 (_IO_new_file_seekoff): Split out ftell logic.
14829 * libio/wfileops.c (do_ftell_wide): Likewise.
14830 (_IO_wfile_seekoff): Split out ftell logic.
14831 * libio/tst-ftell-active-handler.c: New test case.
14832 * libio/Makefile (tests): Add it.
14834 2014-03-03 Roland McGrath <roland@hack.frob.com>
14836 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14837 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14839 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14842 * nscd/connections.c (nscd_init): Call do_exit.
14843 (start_threads): Call do_exit and notify_parent.
14844 (begin_drop_privileges): Call do_exit.
14845 (finish_drop_privileges): Likewise.
14846 * nscd/selinux.c (preserve_capabilities): Likewise.
14847 (install_real_capabilities): Likewise.
14848 (nscd_selinux_enabled): Likewise.
14849 (avc_create_thread): Likewise.
14850 (avc_alloc_lock): Likewise.
14851 (nscd_avc_init): Likewise.
14852 * nscd/nscd.c (parent_fd): New static variable.
14853 (main): Create a pipe between parent and child processes.
14854 Skip closing parent_fd.
14855 (monitor_child): New function.
14856 (do_exit): Likewise.
14857 (notify_parent): Likewise.
14858 * nscd/nscd.h (notify_parent): Likewise.
14859 (do_exit): Likewise.
14861 2014-03-03 Carlos O'Donell <carlos@redhat.com>
14863 * malloc/malloc.c (__libc_calloc): Revert last change.
14865 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14869 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14871 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14875 (__libc_ifunc_impl_list): Likewise.
14876 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14877 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14878 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14879 * string/strrchr.c: Define STRRCHR.
14881 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
14883 * benchtest/bench-strtok.c (simple_strtok): Delete.
14884 (strtok_string): Use as benchmark.
14885 * string/strtok (STRTOK): New macro.
14887 2014-02-28 Carlos O'Donell <carlos@redhat.com>
14889 * manual/threads.texi: Add header and standard comments to all
14892 * elf/dl-lookup.c (check_match): New function.
14893 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14894 (do_lookup_x): Remove nested function check_match. Use non-nested
14895 function check_match.
14897 2014-02-28 Roland McGrath <roland@hack.frob.com>
14899 * csu/Makefile (generated, before-compile): Use += rather than =.
14900 * catgets/Makefile (generated, generated-dirs): Likewise.
14901 * debug/Makefile (generated): Likewise.
14902 * dlfcn/Makefile (generated): Likewise.
14903 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14904 * iconvdata/Makefile (before-compile, generated): Likewise.
14905 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14906 * libio/Makefile (generated): Likewise.
14907 * malloc/Makefile (generated): Likewise.
14908 * manual/Makefile (generated, generated-dirs): Likewise.
14909 * misc/Makefile (generated): Likewise.
14910 * posix/Makefile (generated): Likewise.
14911 * resolv/Makefile (generated): Likewise.
14912 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14913 * timezone/Makefile (generated, generated-dirs): Likewise.
14915 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14917 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14920 power8 implementation.
14921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14922 file: POWER8 llround ifunc implementation.
14923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14924 (__lllround): Add POWER8 implementation.
14925 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14926 POWER8 llround implementation.
14928 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14929 power8 implementation.
14930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14931 file: POWER8 llrint ifunc implementation.
14932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14933 Add POWER8 implementation.
14934 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14935 POWER8 llrint implementation.
14937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14938 power8 implementation.
14939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14940 file: POWER8 finite ifunc implementation.
14941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14942 Add POWER8 implementation.
14943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14945 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14946 POWER8 finite implementation.
14947 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14949 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14950 power8 implementation.
14951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14952 file: POWER8 isinf ifunc implementation.
14953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14954 POWER8 implementation.
14955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14957 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14958 isinf implementation.
14959 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14961 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14962 (INIT_ARCH): Add hwcap2 initialization.
14963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14964 power8 implementation.
14965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14966 file: POWER8 isnan ifunc implementation.
14967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14968 POWER8 implementation.
14969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14971 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14972 isnan implementation.
14973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14975 2014-02-27 Joey Ye <joey.ye@arm.com>
14977 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14978 (_FP_NANFRAC_Q): Set to zero.
14980 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14983 * math/auto-libm-test-in: New test inputs.
14984 * math/auto-libm-test-out: Regenerate.
14985 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14988 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14990 2014-02-27 Joseph Myers <joseph@codesourcery.com>
14992 * scripts/evaluate-test.sh: Take new argument indicating whether
14993 failure is expected.
14994 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14995 indicating whether failure is expected.
14996 * conform/Makefile (test-xfail-run-conformtest): New variable.
14997 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14999 * posix/Makefile (test-xfail-annexc): New variable.
15000 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15002 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15004 * argp/Makefile: Include Makeconfig immediately after defining
15006 * assert/Makefile: Likewise.
15007 * benchtests/Makefile: Likewise.
15008 * catgets/Makefile: Likewise.
15009 * conform/Makefile: Likewise.
15010 * crypt/Makefile: Likewise.
15011 * csu/Makefile: Likewise.
15012 (all): Remove target.
15013 * ctype/Makefile: Include Makeconfig immediately after defining
15015 * debug/Makefile: Likewise.
15016 * dirent/Makefile: Likewise.
15017 * dlfcn/Makefile: Likewise.
15018 * gmon/Makefile: Likewise.
15019 * gnulib/Makefile: Likewise.
15020 * grp/Makefile: Likewise.
15021 * gshadow/Makefile: Likewise.
15022 * hesiod/Makefile: Likewise.
15023 * hurd/Makefile: Likewise.
15024 (all): Remove target.
15025 * iconvdata/Makefile: Include Makeconfig immediately after
15027 * inet/Makefile: Likewise.
15028 * intl/Makefile: Likewise.
15029 * io/Makefile: Likewise.
15030 * libio/Makefile: Likewise.
15031 (all): Remove target.
15032 * locale/Makefile: Include Makeconfig immediately after defining
15034 * login/Makefile: Likewise.
15035 * mach/Makefile: Likewise.
15036 (all): Remove target.
15037 * malloc/Makefile: Include Makeconfig immediately after defining
15039 (all): Remove target.
15040 * manual/Makefile: Include Makeconfig immediately after defining
15042 * math/Makefile: Likewise.
15043 * misc/Makefile: Likewise.
15044 * nis/Makefile: Likewise.
15045 * nss/Makefile: Likewise.
15046 * po/Makefile: Likewise.
15047 (all): Remove target.
15048 * posix/Makefile: Include Makeconfig immediately after defining
15050 * pwd/Makefile: Likewise.
15051 * resolv/Makefile: Likewise.
15052 * resource/Makefile: Likewise.
15053 * rt/Makefile: Likewise.
15054 * setjmp/Makefile: Likewise.
15055 * shadow/Makefile: Likewise.
15056 * signal/Makefile: Likewise.
15057 * socket/Makefile: Likewise.
15058 * soft-fp/Makefile: Likewise.
15059 * stdio-common/Makefile: Likewise.
15060 * stdlib/Makefile: Likewise.
15061 * streams/Makefile: Likewise.
15062 * string/Makefile: Likewise.
15063 * sunrpc/Makefile: Likewise.
15064 (all): Remove target.
15065 * sysvipc/Makefile: Include Makeconfig immediately after defining
15067 * termios/Makefile: Likewise.
15068 * time/Makefile: Likewise.
15069 * timezone/Makefile: Likewise.
15070 (all): Remove target.
15071 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15073 * wctype/Makefile: Likewise.
15075 2014-02-26 Steve Ellcey <sellcey@mips.com>
15077 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15078 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15079 (libc_feholdexcept_setround_mips): Ditto.
15080 (libc_feholdsetround): New.
15081 (libc_feholdsetroundf): New.
15082 (libc_feholdsetroundl): New.
15083 (libc_feupdateenv_test_mips): New.
15084 (libc_feupdateenv_test): New.
15085 (libc_feupdateenv_testf): New.
15086 (libc_feupdateenv_testl): New.
15087 (libc_feresetround): New.
15088 (libc_feresetroundf): New.
15089 (libc_feresetroundl): New.
15090 (libc_fetestexcept_mips): New.
15091 (libc_fetestexcept): New.
15092 (libc_fetestexceptf): New.
15093 (libc_fetestexceptl): New.
15094 (HAVE_RM_CTX): New.
15095 (libc_feholdexcept_setround_mips_ctx): New.
15096 (libc_feholdexcept_setround_ctx): New.
15097 (libc_feholdexcept_setroundf_ctx): New.
15098 (libc_feholdexcept_setroundl_ctx): New.
15099 (libc_fesetenv_mips_ctx): New.
15100 (libc_fesetenv_ctx): New.
15101 (libc_fesetenv_ctxf): New.
15102 (libc_fesetenv_ctxl): New.
15103 (libc_feupdateenv_mips_ctx): New.
15104 (libc_feupdateenv_ctx): New.
15105 (libc_feupdateenvf_ctx): New.
15106 (libc_feupdateenvl_ctx): New.
15107 (libc_feholdsetround_mips_ctx): New.
15108 (libc_feholdsetround_ctx): New.
15109 (libc_feholdsetroundf_ctx): New.
15110 (libc_feholdsetroundl_ctx): New.
15111 (libc_feresetround_mips_ctx): New.
15112 (libc_feresetround_ctx): New.
15113 (libc_feresetroundf_ctx): New.
15114 (libc_feresetroundl_ctx): New.
15116 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15118 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15120 * manual/ipc.texi: New file.
15121 * manual/Makefile (chapters): Add ipc.
15122 * manual/job.texi: Add "Inter-Process Communication" to next.
15123 * manual/process.texi: Add "Inter-Process Communication" to prev.
15125 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15129 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15131 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15133 * manual/arith.texi: Fix spaces after sentences.
15134 * manual/charset.texi: Likewise.
15135 * manual/errno.texi: Likewise.
15136 * manual/install.texi: Likewise.
15137 * manual/llio.texi: Likewise.
15138 * manual/locale.texi: Likewise.
15139 * manual/maint.texi: Likewise.
15140 * manual/math.texi: Likewise.
15141 * manual/memory.texi: Likewise.
15142 * manual/message.texi: Likewise.
15143 * manual/probes.texi: Likewise.
15144 * manual/resource.texi: Likewise.
15145 * manual/signal.texi: Likewise.
15146 * manual/socket.texi: Likewise.
15147 * manual/stdio.texi: Likewise.
15148 * manual/string.texi: Likewise.
15149 * manual/time.texi: Likewise.
15150 * manual/users.texi: Likewise.
15152 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15155 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15156 _DEFAULT_SOURCE is defined.
15158 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15159 Carlos O'Donell <carlos@redhat.com>
15162 * elf/dl-tls.c (_dl_count_modids): New function.
15163 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15164 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15165 audit library and increment generation counter.
15166 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15167 * elf/tst-audit9.c: New file.
15168 * elf/tst-auditmod9a.c: New file.
15169 * elf/tst-auditmod9b.c: New file.
15170 * elf/Makefile: Add rules to build and run tst-audit9.
15172 2014-02-25 Florian Weimer <fweimer@redhat.com>
15175 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15177 2014-02-25 Will Newton <will.newton@linaro.org>
15179 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15180 (__longjmp): Restore sp and lr before restoring callee
15181 saved registers. Add longjmp and longjmp_target
15182 SystemTap probe point.
15183 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15184 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15185 Define to zero to match jmpbuf layout.
15186 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15187 (__sigsetjmp): Save sp and lr before saving callee
15188 saved registers. Add setjmp SystemTap probe point.
15190 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15192 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15194 2014-02-24 Andreas Schwab <schwab@suse.de>
15197 * elf/pldd.c (wait_for_ptrace_stop): New function.
15198 (main): Call it after attaching.
15200 2014-02-22 Roland McGrath <roland@hack.frob.com>
15202 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15203 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15204 Versions files is now verboten.
15205 * hurd/Versions (libc: GLIBC_2.0):
15206 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15207 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15208 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15209 * mach/Versions: Likewise.
15211 * csu/Versions: Remove unused %include.
15212 * resolv/Versions: Likewise.
15214 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15216 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15217 ($(objpfx)check-local-headers.out): Likewise.
15218 ($(objpfx)begin-end-check.out): Likewise.
15219 * Makerules (check-abi-%.out): Likewise.
15220 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15221 ($(objpfx)test2.cat): Likewise.
15222 ($(objpfx)de/libc.cat): Likewise.
15223 ($(objpfx)test-gencat.out): Likewise.
15224 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15225 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15226 ($(objpfx)noload-mem): Likewise.
15227 ($(objpfx)tst-pathopt.out): Likewise.
15228 ($(objpfx)tst-rtld-load-self.out): Likewise.
15229 ($(objpfx)tst-array1-cmp.out): Likewise.
15230 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15231 ($(objpfx)tst-array2-cmp.out): Likewise.
15232 ($(objpfx)tst-array3-cmp.out): Likewise.
15233 ($(objpfx)tst-array4-cmp.out): Likewise.
15234 ($(objpfx)tst-array5-cmp.out): Likewise.
15235 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15236 ($(objpfx)check-textrel.out): Likewise.
15237 ($(objpfx)check-execstack.out): Likewise.
15238 ($(objpfx)check-localplt.out): Likewise.
15239 ($(objpfx)order2-cmp.out): Likewise.
15240 ($(objpfx)tst-leaks1-mem): Likewise.
15241 ($(objpfx)tst-leaks1-static-mem): Likewise.
15242 ($(objpfx)tst-initorder-cmp.out): Likewise.
15243 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15244 ($(objpfx)tst-unused-dep.out): Likewise.
15245 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15246 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15247 * iconv/Makefile (test-iconvconfig): Likewise.
15248 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15249 ($(objpfx)iconv-test.out): Likewise.
15250 ($(objpfx)tst-tables.out): Likewise.
15251 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15252 ($(objpfx)tst-gettext.out): Likewise.
15253 ($(objpfx)tst-translit.out): Likewise.
15254 ($(objpfx)tst-gettext2.out): Likewise.
15255 ($(objpfx)tst-gettext4.out): Likewise.
15256 ($(objpfx)tst-gettext6.out): Likewise.
15257 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15258 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15259 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15260 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15261 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15262 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15263 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15264 ($(objpfx)wordexp-tst.out): Likewise.
15265 ($(objpfx)annexc.out): Likewise.
15266 ($(objpfx)tst-fnmatch-mem): Likewise.
15267 ($(objpfx)bug-regex2-mem): Likewise.
15268 ($(objpfx)bug-regex14-mem): Likewise.
15269 ($(objpfx)bug-regex21-mem): Likewise.
15270 ($(objpfx)bug-regex31-mem): Likewise.
15271 ($(objpfx)tst-vfork3-mem): Likewise.
15272 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15273 ($(objpfx)tst-pcre-mem): Likewise.
15274 ($(objpfx)tst-boost-mem): Likewise.
15275 ($(objpfx)tst-getconf.out): Likewise.
15276 ($(objpfx)bug-ga2-mem): Likewise.
15277 ($(objpfx)bug-glob2-mem): Likewise.
15278 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15279 ($(objpfx)mtrace-tst-leaks2): Likewise.
15280 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15281 ($(objpfx)tst-printf.out): Likewise.
15282 ($(objpfx)tst-setvbuf1.out): Likewise.
15283 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15284 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15285 ($(objpfx)tst-fmtmsg.out): Likewise.
15286 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15287 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15289 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15290 * bits/sigaction.h [__USE_MISC]: Likewise.
15291 * bits/waitstatus.h: Update #endif comments.
15292 * ctype/ctype.h: Likewise.
15293 * dirent/dirent.h: Likewise.
15294 [__USE_MISC]: Remove redundant conditionals.
15295 * grp/grp.h: Update #endif comments.
15296 [__USE_GNU]: Remove redundant conditionals.
15297 [__USE_MISC]: Likewise.
15298 * inet/netinet/in.h [__USE_GNU]: Likewise.
15299 * io/sys/stat.h [__USE_MISC]: Likewise.
15300 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15301 * libio/bits/stdio.h: Update #endif comments.
15302 [__USE_MISC]: Remove redundant conditionals.
15303 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15304 * libio/stdio.h: Update #endif comments.
15305 [__USE_MISC]: Remove redundant conditionals.
15306 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15307 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15308 * math/math.h: Update #else and #endif comments.
15309 [__USE_MISC]: Remove redundant conditionals.
15310 * misc/sys/uio.h: Update #endif comments.
15311 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15312 * posix/glob.h [__USE_MISC]: Likewise.
15313 * posix/sys/types.h: Update #endif comments.
15314 [__USE_MISC]: Remove redundant conditionals.
15315 * posix/sys/wait.h: Update #endif comments.
15316 [__USE_MISC]: Remove redundant conditionals.
15317 * posix/unistd.h: Update #endif comments.
15318 [__USE_MISC]: Remove redundant conditionals.
15319 * pwd/pwd.h [__USE_GNU]: Likewise.
15320 [__USE_MISC]: Likewise.
15321 * resolv/netdb.h [__USE_GNU]: Likewise.
15322 * signal/signal.h: Update #endif comments.
15323 [__USE_MISC]: Remove redundant conditionals.
15324 * stdlib/stdlib.h: Update #else and #endif comments.
15325 [__USE_MISC]: Remove redundant conditionals.
15326 [__USE_GNU]: Likewise.
15327 * string/bits/string2.h [__USE_MISC]: Likewise.
15328 * string/string.h: Update #endif comments.
15329 [__USE_MISC]: Remove redundant conditionals.
15330 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15332 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15333 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15334 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15336 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15338 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15340 [__USE_MISC]: Remove redundant conditionals.
15341 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15342 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15343 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15344 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15345 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15347 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15348 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15350 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15351 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15353 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15355 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15356 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15358 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15360 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15361 * sysdeps/x86/bits/string.h: Update #endif comments.
15362 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15364 * time/sys/time.h: Update #endif comments.
15365 * time/time.h: Likewise.
15366 [__USE_MISC]: Remove redundant conditionals.
15368 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15371 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15373 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15375 * Versions.def (librt): Add GLIBC_2.17.
15377 2014-02-21 Adam Conrad <adconrad@0c3.net>
15379 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15380 synonym for _SYS_AUXV_H to allow direct inclusion.
15381 * sysdeps/sparc/bits/hwcap.h: Likewise.
15382 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15383 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15384 * sysdeps/sparc/sysdep.h: Likewise.
15386 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15388 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15390 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15392 * benchtests/bench-strrchr.c: Print length instead of position.
15394 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15397 * sysdeps/unix/sysv/linux/kernel-features.h
15398 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15399 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15400 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15401 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15403 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15404 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15405 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15406 (__ASSUME_SENDMMSG): Define instead of using previous
15407 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15408 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15409 (__ASSUME_SENDMMSG_SYSCALL): Define.
15410 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15411 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15413 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15414 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15416 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15417 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15419 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15420 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15421 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15422 [__ASSUME_SENDMMSG]: Change conditionals to
15423 [__ASSUME_SENDMMSG_SOCKETCALL].
15424 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15425 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15427 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15428 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15430 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15431 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15432 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15433 [!__ASSUME_SENDMMSG]: Change conditional to
15434 [!__ASSUME_SENDMMSG_SOCKETCALL].
15435 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15436 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15440 * sysdeps/unix/sysv/linux/kernel-features.h
15441 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15442 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15443 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15444 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15445 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15446 [__i386__ || __sparc__]
15447 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15448 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15449 (__ASSUME_RECVMMSG): Define instead of using previous
15450 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15451 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15452 (__ASSUME_RECVMMSG_SYSCALL): Define.
15453 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15454 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15456 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15457 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15459 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15460 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15462 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15463 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15464 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15465 [__ASSUME_RECVMMSG]: Change condition to
15466 [__ASSUME_RECVMMSG_SOCKETCALL].
15467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15468 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15470 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15471 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15472 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15474 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15475 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15476 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15477 [!__ASSUME_RECVMMSG]: Change condition to
15478 [!__ASSUME_RECVMMSG_SOCKETCALL].
15479 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15480 (__ASSUME_RECVMMSG_SYSCALL): Define.
15483 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15484 __powerpc__ || __s390__ || __sh__ || __sparc__]
15485 (__ASSUME_SOCKETCALL): Define.
15486 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15487 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15488 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15489 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15490 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15491 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15492 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15493 (__ASSUME_ACCEPT4): Define instead of using previous
15494 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15495 __powerpc__ || __sparc__ || __s390__)] condition.
15496 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15497 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15498 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15499 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15500 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15501 [!__ASSUME_ACCEPT4]: Change condition to
15502 [!__ASSUME_ACCEPT4_SOCKETCALL].
15503 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15504 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15505 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15506 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15507 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15508 __ASSUME_ACCEPT4_SYSCALL.
15509 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15510 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15511 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15512 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15513 __ASSUME_ACCEPT4_SYSCALL.
15514 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15515 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15516 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15517 [__ASSUME_ACCEPT4]: Change condition to
15518 [__ASSUME_ACCEPT4_SOCKETCALL].
15519 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15520 (__ASSUME_SOCKETCALL): Define.
15521 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15522 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15523 (__ASSUME_SOCKETCALL): Define.
15524 (__ASSUME_ACCEPT4): Remove.
15525 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15527 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15528 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15530 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15531 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15533 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15535 (HWCAP_ARM_LPAE): Likewise.
15536 (HWCAP_ARM_EVTSTRM): Likewise.
15537 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15538 Add vpfd32, lpae and evtstrm.
15539 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15542 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15544 * math/auto-libm-test-in: Add tests of clog10.
15545 * math/auto-libm-test-out: Regenerated.
15546 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15547 * sysdeps/i386/fpu/libm-test-ulps: Update.
15548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15550 2014-02-18 Andreas Schwab <schwab@suse.de>
15553 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15554 Store non-zero if the second buffer was newly allocated.
15555 (send_dg): Likewise.
15556 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15557 to send_vc and send_dg.
15558 (res_nsend): Pass NULL for ansp2_malloced.
15559 * resolv/res_query.c (__libc_res_nquery): Add parameter
15560 answerp2_malloced and pass it down to __libc_res_nsend.
15561 (res_nquery): Pass additional NULL to __libc_res_nquery.
15562 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15563 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15564 second answer buffer if answerp2_malloced was set.
15565 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15566 (__libc_res_nquerydomain): Add parameter
15567 answerp2_malloced and pass it down to __libc_res_nquery.
15568 (res_nquerydomain): Pass additional NULL to
15569 __libc_res_nquerydomain.
15570 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15571 additional NULL to __libc_res_nsend and __libc_res_nquery.
15572 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15573 additional NULL to __libc_res_nsearch.
15574 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15575 parameter of __libc_res_nsearch to check for separately allocated
15577 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15579 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15580 additional NULL to __libc_res_nquery.
15581 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15582 __libc_res_nsearch.
15583 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15584 * include/resolv.h: Update prototypes of __libc_res_nquery,
15585 __libc_res_nsearch, __libc_res_nsend.
15587 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15589 * math/auto-libm-test-in: Add tests of fma.
15590 * math/auto-libm-test-out: Regenerated.
15591 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15592 (fma_towardzero_test_data): Likewise.
15593 (fma_downward_test_data): Likewise.
15594 (fma_upward_test_data): Likewise.
15595 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15597 (rounding_modes): Add values for new field.
15598 (func_calc_method): Add value mpfr_fff_f.
15599 (func_calc_desc): Add mpfr_fff_f union field.
15600 (test_function): Add field exact_args.
15601 (FUNC): Add macro argument EXACT_ARGS.
15602 (FUNC_mpfr_f_f): Update call to FUNC.
15603 (FUNC_mpfr_f_f): Likewise.
15604 (FUNC_mpfr_ff_f): Likewise.
15605 (FUNC_mpfr_if_f): Likewise.
15606 (FUNC_mpc_c_f): Likewise.
15607 (FUNC_mpc_c_c): Likewise.
15608 (test_functions): Add fma. Update calls to FUNC.
15609 (handle_input_arg): Add argument exact_args.
15610 (add_test): Update call to handle_input_arg.
15611 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15612 (output_for_one_input_case): Update call to calc_generic_results.
15613 Recalculate exact zero results in each rounding mode.
15615 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15616 non-negative before setting low bit.
15617 * math/auto-libm-test-in: Mark one asin test possibly having
15618 spurious underflow.
15619 * math/auto-libm-test-out: Regenerated.
15620 * sysdeps/i386/fpu/libm-test-ulps: Update.
15621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15623 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15625 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15626 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15627 ports/sysdeps/unix/sysv/linux/microblaze.
15628 * README: Add missing listing for microblaze*-*-linux-gnu.
15630 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15632 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15635 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15637 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15638 * sysdeps/unix/sysv/linux/ia64: Move directory from
15639 ports/sysdeps/unix/sysv/linux/ia64.
15640 * README: Update listing for ia64-*-linux-gnu.
15642 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15643 Joseph Myers <joseph@codesourcery.com>
15645 * Makeconfig (test-name): New variable.
15646 (evaluate-test): Likewise.
15647 * Makerules (do-test-clean): Remove .test-result files.
15648 (common-mostlyclean): Likewise.
15649 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15650 * scripts/evaluate-test.sh: New file.
15652 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15654 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15655 separate $(objpfx)tst-fopenloc-cmp.out and
15656 $(objpfx)tst-fopenloc-mem.out targets.
15657 (tests): Update dependencies.
15658 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15659 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15660 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15661 (tst-rxspencer-no-utf8-ARGS): New variable.
15662 (tst-rxspencer-no-utf8-ENV): Likewise.
15663 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15664 instead of $(objpfx)tst-rxspencer-mem.
15665 ($(objpfx)tst-rxspencer-mem): Change target to
15666 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15667 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15668 * posix/tst-rxspencer-no-utf8.c: New file.
15670 * elf/Makefile ($(objpfx)order.out): Remove rule.
15671 [$(run-built-tests) = yes] (tests): Depend on
15672 $(objpfx)order-cmp.out.
15673 ($(objpfx)order-cmp.out): New rule.
15674 [$(run-built-tests) = yes] (tests): Depend on
15675 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15676 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15677 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15678 $(objpfx)tst-array5-static-cmp.out.
15679 ($(objpfx)tst-array1.out): Remove rule.
15680 ($(objpfx)tst-array1-cmp.out): New rule.
15681 ($(objpfx)tst-array1-static.out): Remove rule.
15682 ($(objpfx)tst-array1-static-cmp.out): New rule.
15683 ($(objpfx)tst-array2.out): Remove rule.
15684 ($(objpfx)tst-array2-cmp.out): New rule.
15685 ($(objpfx)tst-array3.out): Remove rule.
15686 ($(objpfx)tst-array3-cmp.out): New rule.
15687 ($(objpfx)tst-array4.out): Remove rule.
15688 ($(objpfx)tst-array4-cmp.out): New rule.
15689 ($(objpfx)tst-array5.out): Remove rule.
15690 ($(objpfx)tst-array5-cmp.out): New rule.
15691 ($(objpfx)tst-array5-static.out): Remove rule.
15692 ($(objpfx)tst-array5-static-cmp.out): New rule.
15693 [$(run-built-tests) = yes] (tests): Depend on
15694 $(objpfx)order2-cmp.out.
15695 ($(objpfx)order2.out): Remove rule.
15696 ($(objpfx)order2-cmp.out): New rule.
15697 ($(objpfx)tst-initorder.out): Remove rule.
15698 [$(run-built-tests) = yes] (tests): Depend on
15699 $(objpfx)tst-initorder-cmp.out.
15700 ($(objpfx)tst-initorder-cmp.out): New rule.
15701 ($(objpfx)tst-initorder2.out): Remove rule.
15702 [$(run-built-tests) = yes] (tests): Depend on
15703 $(objpfx)tst-initorder2-cmp.out.
15704 ($(objpfx)tst-initorder2-cmp.out): New rule.
15705 [$(run-built-tests) = yes] (tests): Depend on
15706 $(objpfx)tst-unused-dep-cmp.out.
15707 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15708 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15709 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15710 on $(objpfx)tst-setvbuf1-cmp.out.
15711 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15712 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15713 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15714 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15715 ($(objpfx)tst-svc.out): Remove rule.
15716 ($(objpfx)tst-svc-cmp.out): New rule.
15718 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15720 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15721 * ctype/ctype.h [__USE_MISC]: Likewise.
15722 * dirent/dirent.h [__USE_MISC]: Likewise.
15723 * grp/grp.h [__USE_MISC]: Likewise.
15724 * io/fcntl.h [__USE_MISC]: Likewise.
15725 * io/sys/stat.h [__USE_MISC]: Likewise.
15726 * libio/stdio.h [__USE_MISC]: Likewise.
15727 * posix/unistd.h [__USE_MISC]: Likewise.
15728 * pwd/pwd.h [__USE_MISC]: Likewise.
15729 * stdlib.h [__USE_MISC]: Likewise.
15730 * string/bits/string2.h [__USE_MISC]: Likewise.
15731 * string/string.h [__USE_MISC]: Likewise.
15732 * time/time.h [__USE_MISC]: Likewise.
15734 2014-02-13 Andreas Schwab <schwab@suse.de>
15737 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15738 second answer buffer if it was separately allocated.
15740 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15742 * sysdeps/mips/math-tests.h: Include <features.h>.
15743 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15744 (ROUNDING_TESTS_long_double): Do not define.
15745 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15746 (EXCEPTION_TESTS_long_double): Likewise.
15747 * sysdeps/mips/mips64/libm-test-ulps: Update.
15749 * include/features.h (__USE_BSD): Remove macro definitions.
15750 (__USE_SVID): Likewise.
15751 (_BSD_SOURCE): Likewise.
15752 (_SVID_SOURCE): Likewise.
15753 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15754 from definition of _DEFAULT_SOURCE.
15755 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15757 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15758 * bits/mman.h [__USE_BSD]: Likewise.
15759 * bits/termios.h [__USE_BSD]: Likewise.
15760 * bits/waitstatus.h [__USE_BSD]: Likewise.
15761 * ctype/ctype.h [__USE_SVID]: Likewise.
15762 * dirent/dirent.h [__USE_BSD]: Likewise.
15763 * grp/grp.h [__USE_SVID]: Likewise.
15764 [__USE_BSD]: Likewise.
15765 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15766 * io/fcntl.h [__USE_BSD]: Likewise.
15767 * io/ftw.h [__USE_BSD]: Likewise.
15768 * io/sys/stat.h [__USE_BSD]: Likewise.
15769 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15770 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15771 * libio/stdio.h [__USE_SVID]: Likewise.
15772 [__USE_BSD]: Likewise.
15773 * math/math.h [__USE_SVID]: Likewise.
15774 [__USE_BSD]: Likewise.
15775 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15776 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15777 * misc/search.h [__USE_SVID]: Likewise.
15778 * misc/sys/mman.h [__USE_BSD]: Likewise.
15779 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15780 * misc/sys/uio.h [__USE_BSD]: Likewise.
15781 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15782 * posix/glob.h [__USE_BSD]: Likewise.
15783 * posix/regex.h [__USE_BSD]: Likewise.
15784 * posix/sys/types.h [__USE_BSD]: Likewise.
15785 [__USE_SVID]: Likewise.
15786 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15787 * posix/sys/wait.h [__USE_BSD]: Likewise.
15788 [__USE_SVID]: Likewise.
15789 * posix/unistd.h [__USE_BSD]: Likewise.
15790 [__USE_SVID]: Likewise.
15791 * pwd/pwd.h [__USE_SVID]: Likewise.
15792 * resolv/netdb.h [__USE_BSD]: Likewise.
15793 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15794 * signal/signal.h [__USE_BSD]: Likewise.
15795 [__USE_SVID]: Likewise.
15796 * socket/sys/socket.h [__USE_BSD]: Likewise.
15797 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15798 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15799 [__USE_SVID]: Likewise.
15800 * string/bits/string2.h [__USE_BSD]: Likewise.
15801 [__USE_SVID]: Likewise.
15802 * string/bits/string3.h [__USE_BSD]: Likewise.
15803 * string/endian.h [__USE_BSD]: Likewise.
15804 * string/string.h [__USE_SVID]: Likewise.
15805 [__USE_BSD]: Likewise.
15806 * string/strings.h [__USE_BSD]: Likewise.
15807 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15808 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15809 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15810 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15811 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15812 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15814 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15816 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15817 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15819 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15820 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15822 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15824 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15825 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15826 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15828 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15830 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15831 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15832 * termios/termios.h [__USE_BSD]: Likewise.
15833 * time/sys/time.h [__USE_BSD]: Likewise.
15834 * time/time.h [__USE_BSD]: Likewise.
15835 [__USE_SVID]: Likewise.
15837 * Makefile (subdir_targets): Remove subdir_lint.out.
15839 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15840 (do-tst-printf): Likewise.
15841 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15842 $(objpfx)tst-printf.out.
15844 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15846 * Makerules (check-abi-%): Change target to
15847 $(objpfx)check-abi-%.out.
15848 (check-abi target): Update dependencies.
15849 (check-abi-pattern variable): Redirect output of diff to $@.
15850 (check-abi variable): Likewise.
15851 * elf/Makefile (check-abi): Update dependencies.
15853 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15855 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15856 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15858 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15859 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15860 value has largest subnormal exponent.
15861 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15862 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15863 * sysdeps/aarch64/soft-fp/sfp-machine.h
15864 (_FP_TININESS_AFTER_ROUNDING): New macro.
15865 * sysdeps/alpha/soft-fp/sfp-machine.h
15866 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15867 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15869 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15870 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15871 * sysdeps/mips/soft-fp/sfp-machine.h
15872 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15873 * sysdeps/powerpc/soft-fp/sfp-machine.h
15874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15875 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15877 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15878 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15879 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15880 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15881 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15884 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
15887 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15890 2014-02-12 Richard Henderson <rth@redhat.com>
15892 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15893 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15894 * sysdeps/unix/sysv/linux/alpha: Move directory from
15895 ports/sysdeps/unix/sysv/linux/alpha.
15896 * README: Update listing for alpha-*-linux-gnu.
15898 2014-02-11 Joseph Myers <joseph@codesourcery.com>
15900 * include/features.h: Update comment documenting feature test
15902 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15904 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15905 (_SVID_SOURCE): Likewise.
15906 (_DEFAULT_SOURCE): Update description of default features.
15907 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15909 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15910 (S_ISVTX): Likewise.
15911 * manual/math.texi (Mathematical Constants): Likewise.
15912 * manual/signal.texi (Interrupted Primitives): Likewise.
15913 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15914 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15915 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15916 Don't refer to _SVID_SOURCE in warning text.
15918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15920 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15922 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15923 * sysdeps/mips/dl-lookup.c: Remove.
15924 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15926 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15929 * math/auto-libm-test-in: Add testcase for expl.
15930 * math/auto-libm-test-out: Regenerate.
15931 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15932 calculation of unsafe.
15933 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15935 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15937 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15938 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15939 ports/sysdeps/unix/sysv/linux/aarch64.
15940 * README: Update listing for aarch64*-*-linux-gnu.
15942 2014-02-11 Will Newton <will.newton@linaro.org>
15944 * manual/probes.texi (Mathematical Function Probes): Use
15945 "triggered" instead of "hit".
15947 * manual/probes.texi (Internal Probes): Add documentation
15948 of setjmp, longjmp and longjmp_target probes.
15950 * include/stap-probe.h: Add comment about probe argument
15953 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15954 definition. (tr_where, tr_freehook, tr_mallochook,
15955 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15957 2014-02-11 David S. Miller <davem@davemloft.net>
15959 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15960 processing int_tests.
15962 2014-02-10 Joseph Myers <joseph@codesourcery.com>
15964 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15965 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15966 * sysdeps/unix/sysv/linux/mips: Move directory from
15967 ports/sysdeps/unix/sysv/linux/mips.
15968 * README: Update listing for mips-*-linux-gnu and
15969 mips64-*-linux-gnu.
15971 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15973 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15974 * sysdeps/unix/sysv/linux/m68k: Move directory from
15975 ports/sysdeps/unix/sysv/linux/m68k.
15976 * README: Update listing for m68k-*-linux-gnu.
15978 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15980 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15981 * sysdeps/unix/sysv/linux/generic: Move directory from
15982 ports/sysdeps/unix/sysv/linux/generic.
15983 * sysdeps/unix/sysv/linux/tile: Move directory from
15984 ports/sysdeps/unix/sysv/linux/tile.
15985 * README: Update listing for tile*-*-linux-gnu.
15987 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
15989 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15991 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15992 * catgets/open_catalog.c (__open_catalog): Likewise.
15993 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15994 * debug/confstr_chk.c: Likewise.
15995 * debug/fread_chk.c (__fread_chk): Likewise.
15996 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15997 * debug/getgroups_chk.c: Likewise.
15998 * debug/mbsnrtowcs_chk.c: Likewise.
15999 * debug/mbsrtowcs_chk.c: Likewise.
16000 * debug/mbstowcs_chk.c: Likewise.
16001 * debug/memcpy_chk.c: Likewise.
16002 * debug/memmove_chk.c: Likewise.
16003 * debug/mempcpy_chk.c: Likewise.
16004 * debug/memset_chk.c: Likewise.
16005 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16006 * debug/strcat_chk.c (__strcat_chk): Likewise.
16007 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16008 * debug/strncat_chk.c (__strncat_chk): Likewise.
16009 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16010 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16011 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16012 * debug/wcpncpy_chk.c: Likewise.
16013 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16014 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16015 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16016 * debug/wcsncpy_chk.c: Likewise.
16017 * debug/wcsnrtombs_chk.c: Likewise.
16018 * debug/wcsrtombs_chk.c: Likewise.
16019 * debug/wcstombs_chk.c: Likewise.
16020 * debug/wmemcpy_chk.c: Likewise.
16021 * debug/wmemmove_chk.c: Likewise.
16022 * debug/wmempcpy_chk.c: Likewise.
16023 * debug/wmemset_chk.c: Likewise.
16024 * dirent/scandirat.c (SCANDIRAT): Likewise.
16025 * dlfcn/dladdr1.c (dladdr1): Likewise.
16026 * dlfcn/dladdr.c (dladdr): Likewise.
16027 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16028 * dlfcn/dlerror.c (__dlerror): Likewise.
16029 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16030 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16031 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16032 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16033 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16034 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16035 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16036 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16038 * elf/dl-conflict.c: Likewise.
16039 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16040 * elf/dl-dst.h: Likewise.
16041 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16042 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16043 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16044 * elf/dl-init.c (call_init, _dl_init): Likewise.
16045 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16046 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16047 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16049 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16051 * elf/dl-minimal.c (__libc_memalign): Likewise.
16052 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16053 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16054 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16055 * elf/dl-sym.c (do_sym): Likewise.
16056 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16057 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16058 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16059 * elf/dl-writev.h (_dl_writev): Likewise.
16060 * elf/ldconfig.c (search_dir): Likewise.
16061 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16062 (dl_main): Likewise.
16063 * elf/setup-vdso.h (setup_vdso): Likewise.
16064 * grp/compat-initgroups.c (compat_call): Likewise.
16065 * grp/fgetgrent.c (fgetgrent): Likewise.
16066 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16067 * grp/putgrent.c (putgrent): Likewise.
16068 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16070 * hurd/hurdinit.c: Likewise.
16071 * iconvdata/8bit-gap.c (struct): Likewise.
16072 * iconvdata/ansi_x3.110.c : Likewise.
16073 * iconvdata/big5.c : Likewise.
16074 * iconvdata/big5hkscs.c : Likewise.
16075 * iconvdata/cp1255.c: Likewise.
16076 * iconvdata/cp1258.c : Likewise.
16077 * iconvdata/cp932.c : Likewise.
16078 * iconvdata/euc-cn.c: Likewise.
16079 * iconvdata/euc-jisx0213.c : Likewise.
16080 * iconvdata/euc-jp.c: Likewise.
16081 * iconvdata/euc-jp-ms.c : Likewise.
16082 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16083 * iconvdata/gb18030.c : Likewise.
16084 * iconvdata/gbbig5.c (const): Likewise.
16085 * iconvdata/gbgbk.c: Likewise.
16086 * iconvdata/gbk.c : Likewise.
16087 * iconvdata/ibm1364.c : Likewise.
16088 * iconvdata/ibm930.c : Likewise.
16089 * iconvdata/ibm932.c: Likewise.
16090 * iconvdata/ibm933.c : Likewise.
16091 * iconvdata/ibm935.c : Likewise.
16092 * iconvdata/ibm937.c : Likewise.
16093 * iconvdata/ibm939.c : Likewise.
16094 * iconvdata/ibm943.c: Likewise.
16095 * iconvdata/iso_11548-1.c: Likewise.
16096 * iconvdata/iso-2022-cn.c : Likewise.
16097 * iconvdata/iso-2022-cn-ext.c : Likewise.
16098 * iconvdata/iso-2022-jp-3.c: Likewise.
16099 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16100 * iconvdata/iso-2022-kr.c : Likewise.
16101 * iconvdata/iso646.c (gconv_end): Likewise.
16102 * iconvdata/iso_6937-2.c : Likewise.
16103 * iconvdata/iso_6937.c : Likewise.
16104 * iconvdata/iso8859-1.c: Likewise.
16105 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16106 * iconvdata/shift_jisx0213.c : Likewise.
16107 * iconvdata/sjis.c : Likewise.
16108 * iconvdata/t.61.c : Likewise.
16109 * iconvdata/tcvn5712-1.c : Likewise.
16110 * iconvdata/tscii.c: Likewise.
16111 * iconvdata/uhc.c : Likewise.
16112 * iconvdata/unicode.c (gconv_end): Likewise.
16113 * iconvdata/utf-16.c (gconv_end): Likewise.
16114 * iconvdata/utf-32.c (gconv_end): Likewise.
16115 * iconvdata/utf-7.c (base64): Likewise.
16116 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16117 * iconv/gconv_close.c (__gconv_close): Likewise.
16118 * iconv/gconv_open.c (__gconv_open): Likewise.
16119 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16120 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16121 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16122 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16123 (ucs4le_internal_loop_single): Likewise.
16124 * iconv/iconv.c (iconv): Likewise.
16125 * iconv/iconv_close.c: Likewise.
16126 * iconv/loop.c (SINGLE): Likewise.
16127 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16128 * include/atomic.h: Likewise.
16129 * inet/inet6_option.c (option_alloc): Likewise.
16130 * intl/bindtextdom.c (set_binding_values): Likewise.
16131 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16132 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16133 * intl/localealias.c (read_alias_file): Likewise.
16134 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16135 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16136 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16137 * libio/fmemopen.c (fmemopen): Likewise.
16138 * libio/iofgets.c (_IO_fgets): Likewise.
16139 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16140 * libio/iofgetws.c (fgetws): Likewise.
16141 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16142 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16143 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16144 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16145 * locale/findlocale.c (_nl_find_locale): Likewise.
16146 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16147 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16149 * locale/setlocale.c (setlocale): Likewise.
16150 * login/programs/pt_chown.c (main): Likewise.
16151 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16152 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16153 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16154 (mmap, mmap64, mremap, munmap): Likewise.
16155 * math/e_exp2l.c: Likewise.
16156 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16157 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16158 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16159 * math/s_catan.c (__catan): Likewise.
16160 * math/s_catanf.c (__catanf): Likewise.
16161 * math/s_catanh.c (__catanh): Likewise.
16162 * math/s_catanhf.c (__catanhf): Likewise.
16163 * math/s_catanhl.c (__catanhl): Likewise.
16164 * math/s_catanl.c (__catanl): Likewise.
16165 * math/s_ccosh.c (__ccosh): Likewise.
16166 * math/s_ccoshf.c (__ccoshf): Likewise.
16167 * math/s_ccoshl.c (__ccoshl): Likewise.
16168 * math/s_cexp.c (__cexp): Likewise.
16169 * math/s_cexpf.c (__cexpf): Likewise.
16170 * math/s_cexpl.c (__cexpl): Likewise.
16171 * math/s_clog10.c (__clog10): Likewise.
16172 * math/s_clog10f.c (__clog10f): Likewise.
16173 * math/s_clog10l.c (__clog10l): Likewise.
16174 * math/s_clog.c (__clog): Likewise.
16175 * math/s_clogf.c (__clogf): Likewise.
16176 * math/s_clogl.c (__clogl): Likewise.
16177 * math/s_csin.c (__csin): Likewise.
16178 * math/s_csinf.c (__csinf): Likewise.
16179 * math/s_csinh.c (__csinh): Likewise.
16180 * math/s_csinhf.c (__csinhf): Likewise.
16181 * math/s_csinhl.c (__csinhl): Likewise.
16182 * math/s_csinl.c (__csinl): Likewise.
16183 * math/s_csqrt.c (__csqrt): Likewise.
16184 * math/s_csqrtf.c (__csqrtf): Likewise.
16185 * math/s_csqrtl.c (__csqrtl): Likewise.
16186 * math/s_ctan.c (__ctan): Likewise.
16187 * math/s_ctanf.c (__ctanf): Likewise.
16188 * math/s_ctanh.c (__ctanh): Likewise.
16189 * math/s_ctanhf.c (__ctanhf): Likewise.
16190 * math/s_ctanhl.c (__ctanhl): Likewise.
16191 * math/s_ctanl.c (__ctanl): Likewise.
16192 * math/w_pow.c: Likewise.
16193 * math/w_powf.c: Likewise.
16194 * math/w_powl.c: Likewise.
16195 * math/w_scalb.c (sysv_scalb): Likewise.
16196 * math/w_scalbf.c (sysv_scalbf): Likewise.
16197 * math/w_scalbl.c (sysv_scalbl): Likewise.
16198 * misc/error.c (error_tail): Likewise.
16199 * misc/pselect.c (__pselect): Likewise.
16200 * nis/nis_callback.c (__nis_create_callback): Likewise.
16201 * nis/nis_call.c (__nisfind_server): Likewise.
16202 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16203 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16204 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16205 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16206 * nis/nis_lookup.c (nis_lookup): Likewise.
16207 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16208 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16209 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16210 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16211 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16212 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16213 * nis/nss_compat/compat-initgroups.c (add_group)
16214 (internal_getgrent_r): Likewise.
16215 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16216 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16217 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16218 (internal_getspnam_r): Likewise.
16219 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16220 (_nss_nis_getaliasbyname_r): Likewise.
16221 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16222 (_nss_nis_getntohost_r): Likewise.
16223 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16224 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16225 (_nss_nis_getgrgid_r): Likewise.
16226 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16227 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16228 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16229 (_nss_nis_gethostbyname4_r): Likewise.
16230 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16231 (initgroups_netid): Likewise.
16232 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16233 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16234 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16235 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16236 (_nss_nis_getprotobynumber_r): Likewise.
16237 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16238 (_nss_nis_getsecretkey): Likewise.
16239 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16240 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16241 (_nss_nis_getpwuid_r): Likewise.
16242 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16243 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16244 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16245 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16246 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16247 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16248 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16250 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16251 (_nss_nisplus_getntohost_r): Likewise.
16252 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16253 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16254 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16255 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16257 * nis/nss_nisplus/nisplus-initgroups.c
16258 (_nss_nisplus_initgroups_dyn): Likewise.
16259 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16260 (_nss_nisplus_getnetbyaddr_r): Likewise.
16261 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16262 (_nss_nisplus_getprotobynumber_r): Likewise.
16263 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16264 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16265 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16267 * nis/nss_nisplus/nisplus-service.c
16268 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16269 (_nss_nisplus_getservbyport_r): Likewise.
16270 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16271 (_nss_nisplus_getspnam_r): Likewise.
16272 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16274 * nscd/aicache.c (addhstaiX): Likewise.
16275 * nscd/cache.c (cache_search, prune_cache): Likewise.
16276 * nscd/connections.c (register_traced_file, send_ro_fd)
16277 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16278 (main_loop_epoll): Likewise.
16279 * nscd/grpcache.c (addgrbyX): Likewise.
16280 * nscd/hstcache.c (addhstbyX): Likewise.
16281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16282 * nscd/mem.c (gc, mempool_alloc): Likewise.
16283 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16284 (addinnetgrX): Likewise.
16285 * nscd/nscd-client.h (__nscd_acquire_maplock)
16286 (__nscd_drop_map_ref): Likewise.
16287 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16288 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16289 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16291 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16292 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16293 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16294 (__nscd_get_map_ref): Likewise.
16295 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16296 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16298 * nscd/pwdcache.c (addpwbyX): Likewise.
16299 * nscd/selinux.c (preserve_capabilities): Likewise.
16300 * nscd/servicescache.c (addservbyX): Likewise.
16301 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16302 * posix/fnmatch.c (fnmatch): Likewise.
16303 * posix/getopt.c (_getopt_internal_r): Likewise.
16304 * posix/glob.c (glob, glob_in_dir): Likewise.
16305 * posix/wordexp.c (exec_comm_child): Likewise.
16306 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16307 (getanswer_r, gaih_getanswer_slice): Likewise.
16308 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16309 * resolv/res_init.c: Likewise.
16310 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16311 * resolv/res_query.c (__libc_res_nquery): Likewise.
16312 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16314 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16315 * stdio-common/perror.c (perror): Likewise.
16316 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16317 * stdio-common/tmpnam.c (tmpnam): Likewise.
16318 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16319 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16320 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16322 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16323 * stdlib/putenv.c (putenv): Likewise.
16324 * stdlib/setenv.c (__add_to_environ): Likewise.
16325 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16326 * stdlib/strtol_l.c (INTERNAL): Likewise.
16327 * string/memmem.c (memmem): Likewise.
16328 * string/strerror.c (strerror): Likewise.
16329 * string/strnlen.c (__strnlen): Likewise.
16330 * string/test-memmem.c (simple_memmem): Likewise.
16331 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16332 * sunrpc/pm_getport.c (__get_socket): Likewise.
16333 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16334 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16335 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16336 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16338 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16340 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16341 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16342 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16343 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16345 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16347 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16348 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16349 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16350 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16351 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16353 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16354 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16355 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16356 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16357 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16358 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16360 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16362 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16364 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16366 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16367 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16368 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16369 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16370 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16371 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16372 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16373 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16374 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16375 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16376 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16377 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16379 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16381 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16383 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16385 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16387 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16388 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16389 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16391 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16392 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16393 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16394 * sysdeps/posix/sleep.c: Likewise.
16395 * sysdeps/posix/tempname.c: Likewise.
16396 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16397 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16399 * sysdeps/powerpc/powerpc32/dl-machine.h
16400 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16401 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16403 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16404 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16406 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16407 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16408 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16409 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16410 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16411 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16412 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16413 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16414 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16415 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16417 (elf_machine_lazy_rel): Likewise.
16418 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16420 (elf_machine_lazy_rel): Likewise.
16421 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16422 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16423 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16424 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16425 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16426 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16427 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16428 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16430 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16431 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16432 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16433 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16434 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16435 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16436 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16437 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16438 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16439 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16440 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16442 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16443 (__posix_fallocate64_l64): Likewise.
16444 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16445 (posix_fallocate): Likewise.
16446 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16449 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16450 (getifaddrs_internal): Likewise.
16451 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16452 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16453 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16454 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16455 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16456 (__posix_fallocate64_l64): Likewise.
16457 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16459 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16460 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16461 (__get_clockfreq): Likewise.
16462 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16463 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16464 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16465 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16466 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16467 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16468 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16469 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16471 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16472 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16473 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16474 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16475 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16476 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16477 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16479 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16480 (posix_fallocate): Likewise.
16481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16482 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16483 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16484 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16485 (elf_machine_rela, elf_machine_rela_relative)
16486 (elf_machine_lazy_rel): Likewise.
16487 * time/asctime.c (asctime_internal): Likewise.
16488 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16489 * time/tzset.c (__tzset_parse_tz): Likewise.
16490 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16491 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16492 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16493 * wcsmbs/wcsmbsload.h: Likewise.
16496 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16498 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16499 (arena_get2): Remove THREAD_STATS conditionals.
16500 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16501 (__malloc_stats, int): Likewise.
16503 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16505 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16506 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16508 * manual/setjmp.texi: Fix typos/grammar errors.
16510 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16511 Only return early when n is <= 0. Delete unused return statement.
16513 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16514 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16515 * debug/tst-longjmp_chk3.c: New file.
16517 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16518 (test_main): Replace code with set_fortify_handler call.
16519 * debug/test-strcpy_chk.c: Likewise.
16520 * debug/tst-chk1.c: Likewise.
16521 * debug/tst-longjmp_chk.c: Likewise.
16522 * test-skeleton.c: Include fcntl.h & paths.h
16523 (set_fortify_handler): Define.
16525 * debug/tst-longjmp_chk.c: Add header comment and include
16526 ../test-skeleton.c.
16527 (do_test): Mark static.
16528 (TEST_FUNCTION): Define.
16530 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16531 (IP_PMTUDISC_INTERFACE): Likewise.
16532 (IP_MULTICAST_IF): Likewise.
16533 (IP_MULTICAST_TTL): Likewise.
16534 (IP_MULTICAST_LOOP): Likewise.
16535 (IP_ADD_MEMBERSHIP): Likewise.
16536 (IP_DROP_MEMBERSHIP): Likewise.
16537 (IP_UNBLOCK_SOURCE): Likewise.
16538 (IP_BLOCK_SOURCE): Likewise.
16539 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16540 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16541 (IP_MSFILTER): Likewise.
16542 (MCAST_JOIN_GROUP): Likewise.
16543 (MCAST_BLOCK_SOURCE): Likewise.
16544 (MCAST_UNBLOCK_SOURCE): Likewise.
16545 (MCAST_LEAVE_GROUP): Likewise.
16546 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16547 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16548 (MCAST_MSFILTER): Likewise.
16549 (IP_MULTICAST_ALL): Likewise.
16550 (IP_UNICAST_IF): Likewise.
16552 * timezone/Makefile: Delete $(have-ksh) check.
16553 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16554 * timezone/tzselect.ksh: Add +x mode bits.
16556 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16557 (ANON_INODE_FS_MAGIC): Likewise.
16558 (BDEVFS_MAGIC): Likewise.
16559 (BINFMTFS_MAGIC): Likewise.
16560 (BTRFS_TEST_MAGIC): Likewise.
16561 (CRAMFS_MAGIC_WEND): Likewise.
16562 (DEBUGFS_MAGIC): Likewise.
16563 (ECRYPTFS_SUPER_MAGIC): Likewise.
16564 (EXT3_SUPER_MAGIC): Likewise.
16565 (EXT4_SUPER_MAGIC): Likewise.
16566 (FUTEXFS_SUPER_MAGIC): Likewise.
16567 (HOSTFS_SUPER_MAGIC): Likewise.
16568 (HUGETLBFS_MAGIC): Likewise.
16569 (MINIX3_SUPER_MAGIC): Likewise.
16570 (MTD_INODE_FS_MAGIC): Likewise.
16571 (NILFS_SUPER_MAGIC): Likewise.
16572 (OPENPROM_SUPER_MAGIC): Likewise.
16573 (PIPEFS_MAGIC): Likewise.
16574 (PSTOREFS_MAGIC): Likewise.
16575 (QNX6_SUPER_MAGIC): Likewise.
16576 (RAMFS_MAGIC): Likewise.
16577 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16578 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16579 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16580 (SECURITYFS_MAGIC): Likewise.
16581 (SELINUX_MAGIC): Likewise.
16582 (SMACK_MAGIC): Likewise.
16583 (SOCKFS_MAGIC): Likewise.
16584 (SQUASHFS_MAGIC): Likewise.
16585 (STACK_END_MAGIC): Likewise.
16586 (TMPFS_MAGIC): Likewise.
16587 (USBDEVICE_SUPER_MAGIC): Likewise.
16588 (V9FS_MAGIC): Likewise.
16589 (XENFS_SUPER_MAGIC): Likewise.
16590 (CRAMFS_MAGIC): Fix typo in comment.
16591 (EXT2_SUPER_MAGIC): Update comment.
16592 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16594 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16596 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16597 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16598 * sysdeps/unix/sysv/linux/arm: Move directory from
16599 ports/sysdeps/unix/sysv/linux/arm.
16600 * README: Update listing for arm-*-linux-gnueabi.
16602 * README: Remove mention of am33.
16604 2014-02-07 Roland McGrath <roland@hack.frob.com>
16606 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16607 than the comma operator, to avoid "rhs of comma has no effect"
16609 (__sigfillset, __sigandset, __sigorset): Likewise.
16610 * include/signal.h (__sigemptyset): Likewise.
16611 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16613 2014-02-07 Allan McRae <allan@archlinux.org>
16615 * version.h (RELEASE): Set to "development".
16616 (VERSION): Set to "2.19.90"
16617 * NEWS: Add 2.20 section.
16619 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16622 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16624 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16626 * manual/contrib.texi: Update entry for Carlos O'Donell,
16627 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16629 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16631 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16633 * sysdeps/unix/sysv/linux/kernel-features.h
16634 [__LINUX_KERNEL_VERSION >= 0x020621]
16635 (__ASSUME_PROC_PID_TASK_COMM): Define.
16637 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16640 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16641 conversion when destination buffer does not have enough space.
16642 * libio/tst-ftell-partial-wide.c: New test case.
16643 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16645 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16646 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16647 Leonard and Allan McRae.
16649 2014-02-04 David S. Miller <davem@davemloft.net>
16651 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16654 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16683 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16685 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16686 * shlib-versions: Likewise.
16688 2014-02-04 Roland McGrath <roland@hack.frob.com>
16689 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16691 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16692 (abilist-pattern): New variable, set to %-le.abilist.
16694 * Makerules (abilist-pattern): New variable.
16695 (vpath): Use $(abilist-pattern) in place of %.abilist.
16696 (check-abi-% pattern rule): Likewise.
16697 (check-abi, update-abi): Likewise.
16699 2014-02-04 Eric Wong <normalperson@yhbt.net>
16701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16703 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16705 * manual/startup.texi: Add next, previous, and top entries for
16706 the `Program Arguments' and `Environment Variables' nodes.
16708 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16710 * manual/macros.texi: Add comments before MTASC-safety macros.
16712 * manual/users.texi: Document MTASC-safety properties.
16714 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16715 (pthread_getspecific, pthread_setspecific): Format with
16716 @deftypefun, and add @safety note.
16717 * manual/signal.texi: Move comments that analyze the above
16718 functions to their home place.
16720 2014-02-03 Allan McRae <allan@archlinux.org>
16722 * po/sl.po: Update Slovenian translation from translation project.
16724 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16726 * manual/time.texi (timegm): Add missing blank after @c.
16727 Reported by Joseph Myers <joseph@codesourcery.com>.
16729 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16731 * manual/check-safety.sh: New.
16732 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16734 * manual/terminal.texi: Document MTASC-safety properties.
16736 * manual/filesys.texi: Document MTASC-safety properties.
16738 * manual/errno.texi: Document MTASC-safety properties.
16740 * manual/intro.texi: Document safety identifiers and
16743 * manual/string.texi (wcstok): Fix prototype.
16744 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16746 * manual/time.texi: Document MTASC-safety properties.
16748 * manual/string.texi: Document MTASC-safety properties.
16750 * manual/threads.texi: Document MTASC-safety properties.
16752 * manual/stdio.texi: Document MTASC-safety properties.
16754 * manual/syslog.texi: Document MTASC-safety properties.
16756 * manual/sysinfo.texi: Document MTASC-safety properties.
16758 * manual/startup.texi: Document MTASC-safety properties.
16760 * manual/socket.texi: Document MTASC-safety properties.
16762 * manual/signal.texi: Document MTASC-safety properties.
16764 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16766 * manual/setjmp.texi: Document MTASC-safety properties.
16768 * manual/search.texi: Document MTASC-safety properties.
16770 * manual/resource.texi: Document MTASC-safety properties.
16772 * manual/process.texi: Document MTASC-safety properties.
16774 * manual/platform.texi: Document MTASC-safety properties.
16776 * manual/pipe.texi: Document MTASC-safety properties.
16778 * manual/pattern.texi: Document MTASC-safety properties.
16780 * manual/message.texi: Document MTASC-safety properties.
16783 * manual/memory.texi: Document MTASC-safety properties.
16785 * manual/math.texi: Document MTASC-safety properties.
16787 * manual/locale.texi: Document MTASC-safety properties.
16789 * manual/llio.texi: Document MTASC-safety properties.
16791 * manual/libdl.texi: New.
16793 * manual/lang.texi: Document MTASC-safety properties.
16795 * manual/job.texi: Document MTASC-safety properties.
16797 * manual/getopt.texi: Document MTASC-safety properties.
16799 * manual/ctype.texi: Document MTASC-safety properties.
16801 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16804 * csu/libc-tls.c (static_map): Remove variable.
16805 (__libc_setup_tls): Use main executable's link map for TLS data.
16806 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16807 casing for LM_ID_BASE and GL(dl_nns).
16808 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16809 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16810 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16811 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16812 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16814 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16817 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
16819 * manual/debug.texi: Document MTASC-safety properties.
16821 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16824 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16825 of __x86_64__ when disabling x87 inline functions.
16827 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
16829 * manual/charset.texi: Document MTASC-safety properties.
16831 * manual/crypt.texi: Document MTASC-safety properties.
16833 * manual/conf.texi: Document MTASC-safety properties.
16835 * manual/arith.texi: Document MTASC-safety properties.
16837 * manual/argp.texi: Document MTASC-safety properties.
16839 * manual/macros.texi: Introduce macros to document multi
16840 thread, asynchronous signal and asynchronous cancellation
16842 * manual/intro.texi: Introduce the properties themselves.
16844 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16846 * sysdeps/sh/sh4/Makefile: New file.
16848 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16850 * math/gen-libm-test.pl ($srcdir): New variable.
16851 ($auto_input): Use it.
16853 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16856 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16857 access beyond array bounds when parsing netgroups file.
16859 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16860 the old buffer before realloc.
16862 2014-01-27 Allan McRae <allan@archlinux.org>
16864 * po/fr.po: Update French translation from translation project.
16866 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16868 * sysdeps/sh/libm-test-ulps: Regenerate.
16870 2014-01-24 David S. Miller <davem@davemloft.net>
16872 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16874 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16876 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16877 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16879 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16882 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16883 string pointers after reallocation.
16885 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16887 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16888 __SH4A__ instead of __SH_FPU_ANY__.
16890 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16892 * sysdeps/sh/fpu_control.h: New file.
16893 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16894 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16895 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16896 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16897 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16898 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16899 * sysdeps/sh/sys/ucontext.h: Remove.
16900 * sysdeps/sh/sys: Remove directory.
16902 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16904 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16905 s390/sys/ucontext.h.
16906 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16907 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16909 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16912 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16914 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16917 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16918 Adjust the vDSO correctly for internal calls.
16919 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16921 2014-01-20 Allan McRae <allan@archlinux.org>
16923 * po/ca.po: Update Catalan translation from translation project.
16925 2014-01-16 Mike Frysinger <vapier@gentoo.org>
16927 * sysdeps/s390/sotruss-lib.c: New file.
16929 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16932 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16933 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16934 local calls issues by not having a PLT stub required for IFUNC calls.
16935 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16937 2014-01-16 Joseph Myers <joseph@codesourcery.com>
16939 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16940 * math/test-fpucw-static.c: Likewise.
16942 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16945 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16947 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16949 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16950 implementation for powerpc.
16952 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
16955 * sysdeps/posix/system.c (__libc_system): Do not enable
16956 asynchronous cancellation.
16958 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16961 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16962 handling only for numbers special also in the IEEE case.
16964 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16966 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16968 2014-01-11 Allan McRae <allan@archlinux.org>
16970 * po/bg.po: Update Bulgarian translation from translation project.
16972 * po/de.po: Update German translation from translation project.
16974 2014-01-10 Roland McGrath <roland@hack.frob.com>
16976 * sysdeps/generic/gcc-compat.h: New file.
16978 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16980 * benchtests/asin-inputs: Correct slow inputs.
16981 * benchtests/acos-inputs: Likewise.
16983 2014-01-10 Allan McRae <allan@archlinux.org>
16985 * po:sv.po: Update Swedish translation from translation project.
16987 * po/vi.po: Update Vietnamese translation from translation project.
16989 * po/eo.po: Update Esperanto translation from translation project.
16991 * po/cs.po: Update Czech translation from translation project.
16993 * po/nl.po: Update Dutch translation from translation project.
16995 * po/pl.po: Update Polish translation from translation project.
16997 * po/ru.po: Update Russian translation from translation project.
16999 * po/uk.po: Update Ukrainian translation from translation project.
17001 2014-01-08 Brooks Moses <bmoses@google.com>
17003 * elf/dl-load.c: Fix comment typo.
17005 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17007 * po/header.pot: Rename to...
17008 * po/pot.header: ... this.
17009 * po/Makefile: Use pot.header.
17011 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17012 Maxim Kuvyrkov <maxim@kugelworks.com>
17015 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17016 SRC and DEST against LEN.
17018 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17021 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17023 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17025 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17029 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17032 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17033 for large positive arguments.
17035 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17037 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17039 * math/auto-libm-test-in: Mark various tests with
17040 xfail-rounding:ldbl-128ibm.
17041 * math/auto-libm-test-out: Regenerated.
17044 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17045 Increase overflow threshold.
17047 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17050 * stdio-common/vfprintf.c: Check for integer overflow.
17052 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17054 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17055 the first argument and return value of __tls_get_addr_internal.
17057 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17059 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17060 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17062 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17064 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17065 * sysdeps/s390/rtld-global-offsets.sym: New file.
17066 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17068 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17069 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17070 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17072 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17073 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17079 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17080 halfs of GPRs for high_gprs contexts.
17081 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17082 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17084 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17086 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17088 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17089 for high GPRs (uc_high_gprs) and for future extensions
17091 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17092 for future extensions (__reserved).
17093 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17095 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17096 SC_HIGHGPRS offset definition.
17097 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17098 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17100 * Versions.def: Add GLIBC_2.19 for libpthread.
17101 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17102 siglongjmp for libpthread with GLIBC_2.19 symver.
17103 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17104 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17105 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17106 * sysdeps/s390/__longjmp.c: New file.
17107 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17108 * sysdeps/s390/longjmp.c: New file.
17109 * sysdeps/s390/setjmp.S: New file.
17110 * sysdeps/s390/sigjmp.S: New file.
17111 * sysdeps/s390/v1-longjmp.c: New file.
17112 * sysdeps/s390/v1-setjmp.h: New file.
17113 * sysdeps/s390/v1-sigjmp.c: New file.
17114 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17115 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17116 GLIBC_2.19 version.
17117 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17118 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17119 versioned symbols for ____longjmp_chk.
17120 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17130 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17131 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17132 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17133 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17134 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17135 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17136 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17137 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17138 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17139 * sysdeps/s390/rtld-__longjmp.c: New file.
17140 * sysdeps/s390/rtld-setjmp.S: New file.
17142 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17146 Return -__logl (x) for small positive arguments without evaluating
17149 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17151 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17153 (__ptrace_peeksiginfo_args): ... this.
17154 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17155 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17156 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17158 2014-01-06 Allan McRae <allan@archlinux.org>
17160 * inet/netinet/in.h: Fix typo in comment.
17162 2014-01-05 Andreas Jaeger <aj@suse.de>
17164 * sysdeps/i386/fpu/libm-test-ulps: Update.
17166 2014-01-05 Allan McRae <allan@archlinux.org>
17168 * po/libc.pot: Regenerated.
17170 * malloc/memusagestat.c: Fix gettext call formatting.
17172 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17174 * nscd/nscd.c: Improve usage() output.
17176 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17178 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17179 * sysdeps/unix/sysv/linux/configure: Regenerated.
17180 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17181 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17183 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17186 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17187 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17189 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17191 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17192 extra tokens at end of #undef directive.
17193 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17194 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17195 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17197 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17199 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17201 * math/auto-libm-test-in: Mark various tests with
17202 xfail-rounding:ldbl-128ibm.
17203 * math/auto-libm-test-out: Regenerated.
17205 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17208 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17209 numbers with subnormal high part when calculating exponent.
17212 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17218 (__ieee754_acoshl): Use __log1pl not __log1p.
17220 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17222 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17223 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17224 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17225 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17226 (reused_arena, arena_get2): Convert to GNU style.
17227 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17228 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17229 (memalign_check, __malloc_set_state): Likewise.
17230 * malloc/mallocbug.c (main): Likewise.
17231 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17232 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17233 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17234 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17235 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17236 (__posix_memalign, malloc_info): Likewise.
17237 * malloc/malloc.h: Likewise.
17238 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17239 (mallochook, memalignhook, reallochook, mabort): Likewise.
17240 * malloc/mcheck.h: Likewise.
17241 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17242 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17243 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17244 * malloc/morecore.c (__default_morecore): Likewise.
17245 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17246 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17247 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17248 (print_and_abort): Likewise.
17249 * malloc/obstack.h: Likewise.
17250 * malloc/set-freeres.c (__libc_freeres): Likewise.
17251 * malloc/tst-mallocstate.c (main): Likewise.
17252 * malloc/tst-mtrace.c (main): Likewise.
17253 * malloc/tst-realloc.c (do_test): Likewise.
17255 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17258 * nscd/netgroupcache.c (do_notfound): New function.
17259 (addgetnetgrentX): Use it.
17262 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17263 NSS_STATUS_NOTFOUND.
17265 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17267 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17270 2014-01-01 Allan McRae <allan@archlinux.org>
17272 * scripts/update-copyrights: Update configure input file suffix.
17274 * NEWS: Update copyright year.
17275 * catgets/gencat.c: Likewise.
17276 * csu/version.c: Likewise.
17277 * debug/catchsegv.sh: Likewise.
17278 * debug/pcprofiledump.c: Likewise.
17279 * debug/xtrace.sh: Likewise.
17280 * elf/ldconfig.c: Likewise.
17281 * elf/ldd.bash.in: Likewise.
17282 * elf/pldd.c: Likewise.
17283 * elf/sotruss.ksh: Likewise.
17284 * elf/sprof.c: Likewise.
17285 * iconv/iconv_prog.c: Likewise.
17286 * iconv/iconvconfig.c: Likewise.
17287 * locale/programs/locale.c: Likewise.
17288 * locale/programs/localedef.c: Likewise.
17289 * login/programs/pt_chown.c: Likewise.
17290 * malloc/memusage.sh: Likewise.
17291 * malloc/memusagestat.c: Likewise.
17292 * malloc/mtrace.pl: Likewise.
17293 * manual/libc.texinfo: Likewise.
17294 * nscd/nscd.c: Likewise.
17295 * nss/getent.c: Likewise.
17296 * nss/makedb.c: Likewise.
17297 * posix/getconf.c: Likewise.
17298 * scripts/test-installation.pl: Likewise.
17300 * All files with FSF copyright notices: Update copyright dates
17301 using scripts/update-copyrights.
17302 * intl/plural.c: Regenerated.
17303 * locale/programs/charmap-kw.h: Likewise.
17304 * locale/programs/locfile-kw.h: Likewise.
17306 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17308 * sysdeps/unix/sysv/linux/configure: Regenerated.
17309 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17310 the linux/fanotify.h header.
17311 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17312 HAVE_LINUX_FANOTIFY_H is defined.
17314 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17316 * benchtests/cos-inputs: New inputs.
17317 * benchtests/sin-inputs: Likewise.
17319 * benchtests/atan-inputs: New inputs. Fix name of multiple
17320 precision fallback inputs.
17322 * benchtests/atanh-inputs: New inputs.
17323 * benchtests/tanh-inputs: Likewise.
17325 * benchtests/acosh-inputs: New inputs.
17326 * benchtests/asinh-inputs: Likewise.
17328 * benchtests/cosh-inputs: New inputs.
17329 * benchtests/sinh-inputs: Likewise.
17331 * benchtests/acos-inputs: Add more inputs.
17332 * benchtests/asin-inputs: Likewise.
17334 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17337 * manual/arith.texi: Fix spelling.
17338 * manual/charset.texi: Likewise.
17339 * manual/errno.texi: Likewise.
17340 * manual/filesys.texi: Likewise.
17341 * manual/lang.texi: Likewise.
17342 * manual/llio.texi: Likewise.
17343 * manual/locale.texi: Likewise.
17344 * manual/message.texi: Likewise.
17345 * manual/resource.texi: Likewise.
17346 * manual/search.texi: Likewise.
17347 * manual/setjmp.texi: Likewise.
17348 * manual/stdio.texi: Likewise.
17349 * manual/string.texi: Likewise.
17350 * manual/sysinfo.texi: Likewise.
17351 * manual/time.texi: Likewise.
17353 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17355 * po/sl.po: New file.
17357 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17359 * .gitignore: Add core/.gdbinit/.gdb_history.
17361 2013-12-27 Allan McRae <allan@archlinux.org>
17364 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17365 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17367 2013-12-24 Brooks Moses <bmoses@google.com>
17369 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17370 all compilers that claim C++98 compliance, not just GCC.
17371 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17374 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17376 * NEWS: Restore accidentally deleted bug-fix entries.
17378 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17379 Ondřej Bílka <neleai@seznam.cz>
17382 * malloc/malloc.c (_int_free): Perform sanity check only if we
17385 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17388 * manual/stdio.texi (String Input Conversions): Clarify that character
17389 classes are not supported.
17391 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17395 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17398 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17399 Calculate results for small negative arguments directly rather
17400 than using reflection formula with special underflow handling.
17402 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17403 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17404 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17405 (fchflags): Likewise.
17406 (revoke): Likewise.
17407 (setlogin): Likewise.
17408 (sigaltstack): Likewise.
17410 (sigblock): Remove.
17411 (sigsetmask): Likewise.
17413 (waitpid): Likewise.
17414 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17415 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17417 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17418 * sysdeps/unix/bsd/Makefile: ... here.
17419 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17420 * sysdeps/unix/bsd/Versions: ... here.
17421 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17422 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17423 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17424 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17425 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17426 * sysdeps/unix/bsd/sigblock.c: ... here.
17427 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17428 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17429 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17430 * sysdeps/unix/bsd/sigvec.c: ... here.
17431 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17432 * sysdeps/unix/bsd/tcdrain.c: ... here.
17433 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17434 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17435 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17436 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17437 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17438 * sysdeps/unix/bsd/wait.c: ... here.
17439 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17440 * sysdeps/unix/bsd/wait3.c: ... here.
17441 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17442 * sysdeps/unix/bsd/waitpid.c: ... here.
17444 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17447 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17448 round-to-nearest for [!USE_AS_EXPM1L].
17449 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17450 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17451 more tests of exp and exp10. Expect some exp10 tests to miss
17452 exceptions or fail in directed rounding modes.
17453 * math/auto-libm-test-out: Regenerated.
17454 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17455 (exp10_test_tonearest): New function.
17456 (exp10_towardzero_test_data): New array.
17457 (exp10_test_towardzero): New function.
17458 (exp10_downward_test_data): New array.
17459 (exp10_test_downward): New function.
17460 (exp10_upward_test_data): New array.
17461 (exp10_test_upward): New function.
17462 (main): Call the new functions.
17463 * sysdeps/i386/fpu/libm-test-ulps: Update.
17464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17466 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17468 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17469 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17470 * math/auto-libm-test-out: Regenerated.
17471 * math/libm-test.inc (acosh_test_data): Add more tests.
17472 (atanh_test_data): Likewise.
17473 (ceil_test_data): Likewise.
17474 (copysign_test_data): Likewise.
17475 * sysdeps/i386/fpu/libm-test-ulps: Update.
17476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17478 * timezone/checktab.awk: Update from tzcode 2013i.
17479 * timezone/private.h: Likewise.
17480 * timezone/scheck.c: Likewise.
17481 * timezone/tzfile.h: Likewise.
17482 * timezone/tzselect.ksh: Likewise.
17483 * timezone/zdump.c: Likewise.
17484 * timezone/zic.c: Likewise.
17486 * math/auto-libm-test-in: Add tests of cpow.
17487 * math/auto-libm-test-out: Regenerated.
17488 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17489 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17491 (func_calc_desc): Add mpc_cc_c union field.
17492 (test_functions): Add cpow.
17493 (special_fill_2pi): New function.
17494 (special_real_inputs): Add 2pi.
17495 (calc_generic_results): Handle mpc_cc_c.
17496 * sysdeps/i386/fpu/libm-test-ulps: Update.
17497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17499 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17500 csqrt, ctan and ctanh.
17501 * math/auto-libm-test-out: Regenerated.
17502 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17503 (TEST_COND_x86): Likewise.
17504 (ccos_test_data): Use AUTO_TESTS_c_c.
17505 (ccosh_test_data): Likewise.
17506 (cexp_test_data): Likewise.
17507 (clog_test_data): Likewise.
17508 (csqrt_test_data): Likewise.
17509 (ctan_test_data): Likewise.
17510 (ctan_tonearest_test_data): Likewise.
17511 (ctan_towardzero_test_data): Likewise.
17512 (ctan_downward_test_data): Likewise.
17513 (ctan_upward_test_data): Likewise.
17514 (ctanh_test_data): Likewise.
17515 (ctanh_tonearest_test_data): Likewise.
17516 (ctanh_towardzero_test_data): Likewise.
17517 (ctanh_downward_test_data): Likewise.
17518 (ctanh_upward_test_data): Likewise.
17519 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17521 (func_calc_desc): Add mpc_c_c union field.
17522 (FUNC_mpc_c_c): New macro.
17523 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17524 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17526 (special_fill_min_subnorm_p120): New function.
17527 (special_real_inputs): Add min_subnorm_p120.
17528 (calc_generic_results): Handle mpc_c_c.
17529 * sysdeps/i386/fpu/libm-test-ulps: Update.
17530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17532 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17534 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17535 (do_sin_slow): New functions.
17536 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17537 (cslow2, csloww1, csloww2): Use the new functions.
17539 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17540 Use M to change sign of result instead of X. Assume X is
17542 (csloww1): Likewise.
17546 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17547 arguments A and DA.
17551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17553 (sloww1): Don't adjust sign of DX.
17554 (csloww1): Likewise.
17555 (sloww2): Use X directly and don't adjust sign of DX.
17556 (csloww2): Likewise.
17558 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17560 * math/auto-libm-test-in: Add tests of cabs and carg.
17561 * math/auto-libm-test-out: Regenerated.
17562 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17563 (carg_test_data): Likewise.
17564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17566 (func_calc_desc): Add mpc_c_f union field.
17567 (test_functions): Add cabs and carg.
17568 (calc_generic_results): Handle mpc_c_f.
17570 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17571 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17572 as a macro and a compat symbol.
17573 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17574 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17575 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17576 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17577 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17578 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17580 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17582 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17584 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17586 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17588 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17590 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17591 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17594 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17598 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17600 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17601 trailing whitespace removed.
17602 * scripts/config.guess: Update to version 2013-11-29.
17603 * scripts/config.sub: Update to version 2013-10-01.
17605 * math/auto-libm-test-in: Add tests of sincos.
17606 * math/auto-libm-test-out: Regenerated.
17607 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17608 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17610 (func_calc_desc): Add mpfr_f_11 union field.
17611 (test_functions): Add sincos.
17612 (calc_generic_results): Handle mpfr_f_11.
17613 * sysdeps/i386/fpu/libm-test-ulps: Update.
17614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17616 2013-12-19 Andreas Schwab <schwab@suse.de>
17618 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17620 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17621 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17622 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17624 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17626 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17627 * sysdeps/i386/fpu/libm-test-ulps: Update.
17628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17631 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17632 round-to-nearest mode when using frndint.
17633 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17634 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17635 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17637 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17639 * math/auto-libm-test-out: Regenerated.
17640 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17641 (TEST_COND_x86): Likewise.
17642 (expm1_tonearest_test_data): New array.
17643 (expm1_test_tonearest): New function.
17644 (expm1_towardzero_test_data): New array.
17645 (expm1_test_towardzero): New function.
17646 (expm1_downward_test_data): New array.
17647 (expm1_test_downward): New function.
17648 (expm1_upward_test_data): New array.
17649 (expm1_test_upward): New function.
17650 (main): Run the new test functions.
17651 * sysdeps/i386/fpu/libm-test-ulps: Update.
17652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17654 * include/features.h: Update comment documenting feature test
17655 macros. Mention _DEFAULT_SOURCE in comment.
17656 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17657 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17658 _BSD_SOURCE and _SVID_SOURCE.
17659 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17660 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17661 !_SVID_SOURCE]: Likewise.
17662 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17663 (__USE_POSIX_IMPLICITLY): Define.
17664 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17665 (_POSIX_SOURCE): Undefine and redefine.
17666 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17667 (_POSIX_C_SOURCE): Likewise.
17668 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17669 (Feature Test Macros): Update documentation of default features.
17671 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17673 * benchtests/Makefile: Add bench-strtok.
17674 * benchtests/bench-strtok.c: New file: strtok benchtest.
17676 2013-12-19 Allan McRae <allan@archlinux.org>
17678 * manual/install.texi: Suppress menu for plain text output.
17679 * INSTALL: Regenerated.
17681 2013-12-18 Brooks Moses <bmoses@google.com>
17684 * misc/getauxval.c: Include errno.h.
17685 (__getauxval): Set errno to ENOENT if the requested type is not
17687 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17688 don't declare with __attribute_const__.
17689 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17690 * manual/startup.texi: Document that getauxval sets errno.
17692 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17694 * math/auto-libm-test-in: Add tests of jn and yn.
17695 * math/auto-libm-test-out: Regenerated.
17696 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17697 (yn_test_data): Likewise.
17698 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17700 (func_calc_desc): Add mpfr_if_f union field.
17701 (FUNC_mpfr_if_f): New macro.
17702 (test_functions): Add jn and yn.
17703 (calc_generic_results): Assert type of second input for
17704 mpfr_ff_f. Handle mpfr_if_f.
17705 (output_for_one_input_case): Disable all checking for arguments
17706 fitting floating-point types in case of an integer argument.
17707 * sysdeps/i386/fpu/libm-test-ulps: Update.
17708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17711 Don't expect fegetround reference in libm.so.
17713 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17715 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17716 $(config-cflags-nofma).
17718 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17720 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17721 * math/auto-libm-test-out: Regenerated.
17724 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17725 to determine exponent and adjust argument to have exponent of -1.
17726 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17728 * math/auto-libm-test-out: Regenerated.
17729 * sysdeps/i386/fpu/libm-test-ulps: Update.
17730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17732 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17734 * manual/probes.texi: Remove cases when per-thread arenas are
17737 2013-12-18 Andreas Schwab <schwab@suse.de>
17739 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17740 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17741 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17742 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17743 * sysdeps/i386/i686/multiarch/Makefile: Update.
17744 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17746 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17748 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17749 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17751 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17754 Support TZ transition times < 00:00:00.
17755 This is needed for version-3 tz-format files; it supports time
17756 stamps past 2037 for America/Godthab (the only entry in the tz
17757 database for which this change is relevant).
17758 * manual/time.texi (TZ Variable): Document transition times
17759 from -167:59:59 through -00:00:01.
17760 * time/tzset.c (tz_rule): Time of day is now signed.
17761 (__tzset_parse_tz): Parse negative time of day.
17763 Document TZ transition times >= 25:00:00.
17764 * manual/time.texi (TZ Variable): Document transition times from
17765 25:00:00 through 167:59:59. These are already supported, and this
17766 support will help with version-3 tz-format files.
17768 * manual/time.texi (TZ Variable): Modernize North America example
17769 to reflect current (i.e., 2007-and-later) daylight saving rules.
17771 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17773 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17775 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17776 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17777 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17779 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17780 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17781 * sysdeps/unix/bsd/clock.c: Likewise.
17782 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17783 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17784 * sysdeps/unix/bsd/init-posix.c: Likewise.
17785 * sysdeps/unix/bsd/poll.c: Likewise.
17786 * sysdeps/unix/bsd/ptsname.c: Likewise.
17787 * sysdeps/unix/bsd/seekdir.c: Likewise.
17788 * sysdeps/unix/bsd/setegid.c: Likewise.
17789 * sysdeps/unix/bsd/seteuid.c: Likewise.
17790 * sysdeps/unix/bsd/setgid.c: Likewise.
17791 * sysdeps/unix/bsd/setrgid.c: Likewise.
17792 * sysdeps/unix/bsd/setruid.c: Likewise.
17793 * sysdeps/unix/bsd/setsid.c: Likewise.
17794 * sysdeps/unix/bsd/setuid.c: Likewise.
17795 * sysdeps/unix/bsd/sigaction.c: Likewise.
17796 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17797 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17798 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17799 * sysdeps/unix/bsd/telldir.c: Likewise.
17800 * sysdeps/unix/bsd/times.c: Likewise.
17801 * sysdeps/unix/bsd/usleep.c: Likewise.
17803 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17804 ($(objpfx)libbsd-compat.a): Remove rule.
17806 * include/features.h (__FAVOR_BSD): Do not define.
17807 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17808 features conflicting with POSIX.
17809 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17810 (_BSD_SOURCE): Remove description of not being a subset of other
17811 feature test macros.
17812 * manual/job.texi (getpgrp): Do not document BSD version.
17813 (getpgid): Do not document by reference to BSD getpgrp.
17814 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17815 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17816 * signal/signal.h [__FAVOR_BSD]: Likewise.
17817 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17818 instead of making contents conditional on [__FAVOR_BSD].
17819 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17821 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17825 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17828 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17829 values below 2**-450, not 2**-500.
17830 * math/auto-libm-test-in: Don't allow spurious underflow from
17832 * math/auto-libm-test-out: Regenerated.
17836 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17837 values of ha and hb and sort them after adjusting subnormal
17839 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17841 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17842 values of ea and eb and sort them after adjusting subnormal
17844 * math/auto-libm-test-in: Do not expect some hypot tests of
17845 subnormals to fail. Add more hypot tests.
17846 * math/auto-libm-test-out: Regenerated.
17848 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17851 * sysdeps/sh/s_fma.c: New file.
17852 * sysdeps/sh/s_fmaf.c: New file.
17853 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17855 * sysdeps/sh/Implies: Add sh/soft-fp.
17857 2013-12-16 Roland McGrath <roland@hack.frob.com>
17859 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17860 level of indirection to members `objname', `errstring', `malloced'.
17861 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17862 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17863 it as the __longjmp argument (just pass 1 instead).
17864 (_dl_catch_error): Initialize C with argument pointers and address of
17865 volatile local ERRCODE rather than copying values out of C at return.
17867 2013-12-16 Joseph Myers <joseph@codesourcery.com>
17869 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17870 * math/auto-libm-test-out: Regenerated.
17871 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17872 (hypot_test_data): Likewise.
17873 (pow_test_data): Likewise.
17874 (pow_tonearest_test_data): Likewise.
17875 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17877 (func_calc_desc): Add mpfr_ff_f union field.
17878 (FUNC_mpfr_ff_f): New macro.
17879 (test_functions): Add atan2, hypot and pow.
17880 (special_fill_min): New function.
17881 (special_fill_minus_min): Likewise.
17882 (special_fill_min_subnorm): Likewise.
17883 (special_fill_minus_min_subnorm): Likewise.
17884 (special_real_inputs): Add min, -min, min_subnorm and
17886 (calc_generic_results): Handle mpfr_ff_f.
17887 * sysdeps/i386/fpu/libm-test-ulps: Update.
17888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17890 2013-12-16 Will Newton <will.newton@linaro.org>
17892 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17893 (Aligned Memory Blocks): Add documentation for aligned_alloc
17894 and suggest it as an alternative to posix_memalign.
17895 (Hooks for Malloc): Document __memalign_hook is also called
17896 for aligned_alloc. (Summary of Malloc): Add summary for
17897 aligned alloc. Document __memalign_hook is also called
17900 2013-12-16 Will Newton <will.newton@linaro.org>
17902 * manual/memory.texi (Malloc Examples): Clarify default
17903 alignment documentation. Suggest posix_memalign rather
17904 than memalign or valloc.
17905 (Aligned Memory Blocks): Remove suggestion to use memalign
17906 or valloc. Remove obsolete comment about BSD.
17907 Document memalign errno values and mark the function obsolete.
17908 Document posix_memalign returned error codes. Mark valloc
17909 as obsolete. (Hooks for Malloc): __memalign_hook is also
17910 called for posix_memalign and valloc.
17911 (Summary of Malloc): Add posix_memalign to function summary.
17912 __memalign_hook is also called for posix_memalign and valloc.
17914 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17916 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17920 (sloww): Use mynumber union. Expand ternary operator into
17921 if-else statements.
17922 (cslow): use mynumber union.
17924 2013-12-16 Allan McRae <allan@archlinux.org>
17926 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17927 * configure: Regenerated.
17929 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17932 * configure.ac: Added --enable-maintainer-mode. Check for
17933 autoconf when enabled.
17934 * configure: Regenerated.
17936 * nscd/nscd.service: New file.
17937 * nscd/nscd.tmpfiles: New file.
17939 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
17942 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17943 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17944 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17945 (strstr): Add __strstr_sse2_unaligned ifunc.
17946 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17947 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17948 (strcasestr): Remove __strcasestr_sse42 ifunc.
17949 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17953 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17955 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17956 * sysdeps/sh/bits/fenv.h: ... here.
17957 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17959 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17961 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17964 hypotf multiarch implementations.
17965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17968 multiarch hypot for PPC64.
17969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17970 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17971 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17972 multiarch hypotf for PPC64.
17974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17975 modff multiarch implementations.
17976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17979 multiarch modf for PPC64.
17980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17983 multiarch modff for PPC64.
17985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17986 and logl multiarch implementations.
17987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17990 multiarch logb for PPC64.
17991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17994 multiarch logb for PPC64.
17995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17998 multiarch logb for PPC64.
18000 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18001 isinff multiarch implementation.
18002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18006 multiarch isinf for PPC64.
18007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18010 multiarch isinff for PPC64.
18012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18013 finitef multiarch implementation.
18014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18018 multiarch finite for PPC64.
18019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18022 multiarch finitef for PPC64.
18024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18025 lrint multiarch implementation.
18026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18030 multiarch llrint for PPC64.
18031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18032 multiarch lrint for PPC64.
18034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18035 copysignf multiarch implementation.
18036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18041 multiarch copysign for PPC64.
18042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18043 multiarch copysignf for PPC64.
18045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18046 multiarch implementation.
18047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18055 multiarch llround for PPC64.
18056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18057 multiarch trunc for PPC64.
18058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18059 multiarch truncf for PPC64.
18061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18062 multiarch implementation.
18063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18071 multiarch llround for PPC64.
18072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18073 multiarch round for PPC64.
18074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18075 multiarch roundf for PPC64.
18077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18078 multiarch implementation.
18079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18087 multiarch llround for PPC64.
18088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18089 multiarch floor for PPC64.
18090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18091 multiarch floorf for PPC64.
18093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18094 multiarch implementation.
18095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18103 multiarch llround for PPC64.
18104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18105 multiarch ceil for PPC64.
18106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18107 multiarch ceilf for PPC64.
18109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18110 multiarch implementation.
18111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18118 multiarch llround for PPC64.
18119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18120 multiarch lround for PPC64.
18122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18123 multiarch implementation.
18124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18131 multiarch isnan for PPC64.
18132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18133 multiarch isnanf for PPC64.
18135 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18136 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18137 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18138 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18139 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18142 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18143 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18144 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18145 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18148 multiarch implementations.
18149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18150 (__libc_ifunc_impl_list): Likewise.
18151 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18152 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18153 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18154 multiarch stpcpy for PPC64.
18156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18157 multiarch implementations.
18158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18159 (__libc_ifunc_impl_list): Likewise.
18160 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18161 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18162 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18163 multiarch strcpy for PPC64.
18165 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18166 redefine function name.
18167 (_wordcopy_fwd_dest_aligned): Likewise.
18168 (_wordcopy_bwd_aligned): Likewise.
18169 (_wordcopy_bwd_dest_aligned): Likewise.
18170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18171 multiarch implementations.
18172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18173 (__libc_ifunc_impl_list): Likewise.
18174 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18175 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18176 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18177 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18178 multiarch wcscpy for PPC64.
18180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18181 multiarch implementations.
18182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18183 (__libc_ifunc_impl_list): Likewise.
18184 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18185 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18186 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18187 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18188 multiarch wcscpy for PPC64.
18190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18191 multiarch implementations.
18192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18193 (__libc_ifunc_impl_list): Likewise.
18194 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18195 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18196 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18197 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18198 multiarch wcsrchr for PPC64.
18200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18201 multiarch implementations.
18202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18203 (__libc_ifunc_impl_list): Likewise.
18204 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18205 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18206 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18207 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18208 multiarch wcschr for PPC64.
18210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18211 multiarch implementations.
18212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18213 (__libc_ifunc_impl_list): Likewise.
18214 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18215 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18216 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18217 multiarch strchrnul for PPC64.
18219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18222 (__libc_ifunc_impl_list): Likewise.
18223 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18224 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18225 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18226 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18232 (__libc_ifunc_impl_list): Likewise.
18233 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18234 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18235 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18236 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18240 multiarch implementations.
18241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18242 (__libc_ifunc_impl_list): Likewise.
18243 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18244 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18245 strncasecmp for PPC64.
18246 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18247 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18248 multiarch strncasecmp_l for PPC64.
18250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18251 multiarch implementations.
18252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18253 (__libc_ifunc_impl_list): Likewise.
18254 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18255 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18256 multiarch strcasecmp for PPC64.
18257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18260 multiarch strcasecmp_l for PPC64.
18262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18265 (__libc_ifunc_impl_list): Likewise.
18266 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18267 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18268 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18274 (__libc_ifunc_impl_list): Likewise.
18275 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18276 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18277 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18283 (__libc_ifunc_impl_list): Likewise.
18284 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18285 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18286 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18287 rawmemrchr for PPC64.
18289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18292 (__libc_ifunc_impl_list): Likewise.
18293 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18294 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18295 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18301 (__libc_ifunc_impl_list): Likewise.
18302 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18303 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18304 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18310 (__libc_ifunc_impl_list): Likewise.
18311 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18312 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18313 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18316 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18317 avoid cretion of __bzero symbol.
18318 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18320 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18322 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18325 multiarch implementations.
18326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18327 (__libc_ifunc_impl_list): Likewise.
18328 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18329 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18330 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18331 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18333 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18334 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18335 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18336 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18337 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18339 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18341 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18345 (__libc_ifunc_impl_list): Likewise.
18346 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18347 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18348 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18349 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18353 multiarch for POWER/PPC64.
18354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18355 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18356 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18357 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18360 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18362 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18365 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18366 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18367 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18368 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18369 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18370 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18371 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18372 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18373 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18374 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18375 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18376 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18377 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18378 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18379 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18388 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18390 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18392 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18394 * benchtests/Makefile (bench): Add exp2 and log2.
18395 (LDLIBS-bench-exp2): Add -lm.
18396 (LDLIBS-bench-log2): Likewise.
18397 * benchtests/exp2-inputs: New inputs file.
18398 * benchtests/log2-inputs: New inputs file.
18399 * benchtests/log-inputs: Add new inputs.
18400 * benchtests/tan-inputs: Likewise.
18402 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18404 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18406 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18407 (csloww2): ... from here.
18409 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18410 instead of structures.
18411 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18412 (POLYNOMIAL): Likewise.
18413 (TAYLOR_SLOW): Likewise.
18419 (sloww1); Likewise.
18420 (sloww2): Likewise.
18421 (bsloww1): Likewise.
18422 (bsloww2): Likewise.
18423 (cslow2): Likewise.
18424 (csloww): Likewise.
18425 (csloww1): Likewise.
18426 (csloww2): Likewise.
18428 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18430 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18431 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18432 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18433 * malloc/hooks.c (realloc_check): Likewise.
18435 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18436 * malloc/arena.c: Remove PER_THREAD conditional.
18437 [!PER_THREAD]: Remove code.
18438 (ptmalloc_unlock_all2): Likewise.
18439 (ptmalloc_init): Likewise.
18440 (_int_new_arena): Likewise.
18441 (arena_get2): Likewise.
18442 * malloc/hooks.c (__malloc_get_state): Likewise.
18443 (__malloc_set_state): Likewise.
18444 * malloc/malloc.c: Likewise.
18445 (struct malloc_state): Likewise.
18446 (struct malloc_par): Likewise.
18447 (__libc_realloc): Likewise.
18448 (__libc_mallopt): Likewise.
18450 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18452 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18454 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18456 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18457 macro to a function. Check for zero perturb_byte.
18458 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18460 * malloc/malloc.c: (force_reg): Remove.
18461 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18462 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18463 force_reg by atomic_forced_read.
18464 * malloc/arena.c (ptmalloc_init): Likewise.
18465 * malloc/hooks.c (top_check): Likewise.
18467 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18471 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18475 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18477 * math/auto-libm-test-in: Add tests of lgamma.
18478 * math/auto-libm-test-out: Regenerated.
18479 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18480 (M_LOG_2_SQRT_PIl): Likewise.
18481 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18482 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18484 (func_calc_desc): Add mpfr_f_f1 union field.
18485 (ARGS1): New macro.
18493 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18494 (test_functions): Add lgamma.
18495 (calc_generic_results): Handle mpfr_f_f1.
18496 * sysdeps/i386/fpu/libm-test-ulps: Update.
18497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18499 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18501 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18502 __mpn_add_n for PowerPC64/POWER7.
18503 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18504 __mpn_sub_n for PowerPC64/POWER7.
18506 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18507 __mpn_addmul_1 for PowerPC64.
18508 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18509 __mpn_submul_1 for PowerPC64.
18510 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18512 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18515 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18518 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18520 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18522 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18524 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18525 add multiarch folders.
18526 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18527 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18528 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18529 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18530 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18531 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18532 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18533 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18534 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18535 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18536 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18545 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18551 multiarch __ieee754_hypot for PowerPC32.
18552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18557 multiarch __ieee754_hypotf for PowerPC32.
18559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18560 long_double_symbol only if __logbl is defined.
18561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18562 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18563 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18564 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18565 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18566 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18567 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18568 path for implementation.
18569 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18572 logb, and logbl multiarch implementations for PowerPC32.
18573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18578 multiarch logb for PowerPC32.
18579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18584 multiarch logbf for PowerPC32.
18585 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18589 multiarch logbl implementation for PowerPC32.
18591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18592 and modff multiarch implementations.
18593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18598 multiarch modf for PowerPC32.
18599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18604 multiarch modff for PowerPC32.
18606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18607 and lrintf multiarch implementations.
18608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18613 multiarch lrint for PowerPC32.
18614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18615 file: multiarch lrintf for PowerPC32.
18617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18618 and lroundf multiarch implementations.
18619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18626 multiarch lround for PowerPC32.
18627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18628 file: multiarch lroundf for PowerPC32.
18630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18631 copysign and copysignf multiarch implementations.
18632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18637 file: multiarch copysign for PowerPC32.
18638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18639 file: multiarch copysignf for PowerPC32.
18641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18642 and truncf multiarch implementations.
18643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18648 multiarch trunc for PowerPC32.
18649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18654 multiarch truncf for PowerPC32.
18656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18657 and roundf multiarch implementations.
18658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18663 multiarch round for PowerPC32.
18664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18669 multiarch roundf for PowerPC32.
18671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18672 and floorf multiarch implementations.
18673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18678 multiarch floor for PowerPC32.
18679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18684 multiarch floorf for PowerPC32.
18686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18687 and ceilf multiarch implementations.
18688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18693 multiarch ceil for PowerPC32.
18694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18699 multiarch ceilf for PowerPC32.
18701 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18703 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18704 FINITEF is defined.
18705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18706 and finitef multiarch implementations.
18707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18712 multiarch finite for PowerPC32.
18713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18716 file: multiarch finitef for PowerPC32.
18718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18719 and isinff multiarch implementations.
18720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18725 multiarch isinf for PowerPC32.
18726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18729 multiarch isinff for PowerPC32.
18731 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18732 alias when __isnan is defined.
18733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18734 and isnanf multiarch implementations.
18735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18744 multiarch isnan for PowerPC32.
18745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18750 multiarch isnanf for PowerPC32.
18752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18753 and sqrtf multiarch implementations.
18754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18759 multiarch sqrt for PowerPC32.
18760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18765 multiarch sqrtf for PowerPC32.
18767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18768 and llroundf multiarch implementations.
18769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18776 file: multiarch llround for PowerPC32.
18777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18778 file: multiarch llroundf for PowerPC32.
18780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18781 multiarch PowerPC32 fpu implementations.
18782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18787 multiarch llrint for PowerPC32.
18788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18797 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18799 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18801 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18803 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18804 multiarch wordcopy for PPC32.
18805 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18807 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18808 (__libc_ifunc_impl_list): Likewise.
18809 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18810 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18811 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18812 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18813 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18814 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18816 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18824 multiarch wcscpy for PPC32.
18825 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18827 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18828 (__libc_ifunc_impl_list): Likewise.
18829 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18830 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18831 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18832 sysdeps/powerpc/power6/wcscpy.c.
18834 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18842 multiarch wcsrchr for PPC32.
18843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18846 (__libc_ifunc_impl_list): Likewise.
18847 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18848 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18849 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18850 sysdeps/powerpc/power6/wcsrchr.c.
18852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18858 multiarch wcschr for PPc32.
18859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18862 (__libc_ifunc_impl_list): Likewise.
18863 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18864 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18865 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18866 sysdeps/powerpc/power6/wcschr.c.
18868 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18869 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18871 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18872 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18873 file: multiarch strchr for PPC32.
18874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18877 (__libc_ifunc_impl_list): Likewise.
18879 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18881 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18883 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18885 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18886 multiarch strchrnul for PPC32.
18887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18890 (__libc_ifunc_impl_list): Likewise.
18892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18895 multiarch strncasecmp for PPC32.
18896 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18898 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18899 multiarch strncasecmp_l for PPC32.
18900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18901 strncasecmp multiarch objects.
18902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18903 (__libc_ifunc_impl_list): Likewise.
18905 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18908 multiarch strncasecmp for PPC32.
18909 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18911 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18912 multiarch strcasecmp_l for PPC32.
18913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18916 (__libc_ifunc_impl_list): Likewise.
18918 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18920 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18922 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18923 multiarch strncmp for PPC32.
18924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18927 (__libc_ifunc_impl_list): Likewise.
18929 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18930 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18932 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18933 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18937 (__libc_ifunc_impl_list): Likewise.
18939 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18941 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18943 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18947 (__libc_ifunc_impl_list): Likewise.
18949 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18951 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18953 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18954 multiarch rawmemchr for PPC32.
18955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18958 (__libc_ifunc_impl_list): Likewise.
18960 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18962 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18964 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18965 file: memrchr multiarch for PPC32.
18966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18969 (__libc_ifunc_impl_list): Likewise.
18971 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18972 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18974 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18975 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18976 multiarch memchr for PPC32.
18977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18980 (__libc_ifunc_impl_list): Likewise.
18982 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18983 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18985 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18987 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18988 file: multiarch mempcpy for PPC32.
18989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18992 (__libc_ifunc_impl_list): Likewise.
18994 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18995 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18996 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18997 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18998 multiarch bzero for PPC32.
18999 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19001 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19003 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19004 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19005 file: multiarch memset for PPC32.
19006 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19008 memset multiarch objects.
19009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19010 (__libc_ifunc_impl_list): Likewise.
19012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19015 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19017 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19021 (__libc_ifunc_impl_list): Likewise.
19023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19024 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19029 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19032 multiarch memcpy for PPC32.
19033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19036 (__libc_ifunc_impl_list): Likewise.
19038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19039 support multiarch for POWER/PPC32.
19040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19042 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19044 Implies file to make multiarch folder appers before the fpu and
19045 default folder for power4 configuration.
19047 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19049 * scripts/bench.pl: Append volatile keyword to type.
19051 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19053 * sysdeps/sh/sotruss-lib.c: New file.
19054 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19056 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19060 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19063 * math/w_tgamma.c: Include <errno.h>.
19064 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19065 * math/w_tgammaf.c: Include <errno.h>.
19066 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19067 * math/w_tgammal.c: Include <errno.h>.
19068 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19069 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19070 underflow. Add more tgamma tests.
19071 * math/auto-libm-test-out: Regenerated.
19072 * sysdeps/i386/fpu/libm-test-ulps: Update.
19073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19075 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19076 sin, sinh, tan, tanh, tgamma, y0 and y1.
19077 * math/auto-libm-test-out: Regenerated.
19078 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19079 (TEST_COND_x86): Likewise.
19080 (M_E2l): Remove macro.
19082 (M_2_SQRT_PIl): Likewise.
19083 (M_SQRT_PIl): Likewise.
19084 (M_1_DIV_El): Likewise.
19085 (log_test_data): Use AUTO_TESTS_f_f.
19086 (log10_test_data): Likewise.
19087 (log1p_test_data): Likewise.
19088 (log2_test_data): Likewise.
19089 (sin_test_data): Likewise.
19090 (sin_tonearest_test_data): Likewise.
19091 (sin_towardzero_test_data): Likewise.
19092 (sin_downward_test_data): Likewise.
19093 (sin_upward_test_data): Likewise.
19094 (sinh_test_data): Likewise.
19095 (sinh_tonearest_test_data): Likewise.
19096 (sinh_towardzero_test_data): Likewise.
19097 (sinh_downward_test_data): Likewise.
19098 (sinh_upward_test_data): Likewise.
19099 (tan_test_data): Likewise.
19100 (tan_tonearest_test_data): Likewise.
19101 (tan_towardzero_test_data): Likewise.
19102 (tan_downward_test_data): Likewise.
19103 (tan_upward_test_data): Likewise.
19104 (tanh_test_data): Likewise.
19105 (tgamma_test_data): Likewise.
19106 (y0_test_data): Likewise.
19107 (y1_test_data): Likewise.
19108 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19109 (special_real_inputs): Add pi/4.
19110 * sysdeps/i386/fpu/libm-test-ulps: Update.
19111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19113 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19115 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19116 "longjmp_target" static probes.
19117 (__longjmp): Rename to __longjmp_symbol.
19118 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19119 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19120 on which longjmp to generate.
19121 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19122 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19124 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19125 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19126 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19127 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19128 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19129 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19131 __longjmp_symbol based on which __longjmp to generate.
19132 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19134 (setjmp): Rename to setjmp_symbol.
19135 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19136 (_setjmp): Rename to _setjmp_symbol.
19137 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19138 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19139 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19140 which setjmp to generate.
19141 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19142 "longjmp_target" static probes.
19144 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19146 * benchtests/README: Add note about output arguments.
19147 * benchtests/bench-sincos.c: Remove file.
19148 * benchtests/sincos-inputs: New file.
19149 * scripts/bench.pl: Identify output arguments and define
19150 static variables for them.
19152 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19155 * Makefile (INSTALL): Add install-plain.texi as the primary
19157 * manual/install-plain.texi: New file.
19158 * manual/install.texi: Include node directive only for
19159 non-plaintext output.
19161 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19163 * stdlib/longlong.h: Update from GCC.
19167 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19168 * math/w_j0f.c (y0f): Likewise.
19169 * math/w_j0l.c (__y0l): Likewise.
19170 * math/w_j1.c (y1): Likewise.
19171 * math/w_j1f.c (y1f): Likewise.
19172 * math/w_j1l.c (__y1l): Likewise
19173 * math/w_jn.c (yn): Likewise.
19174 * math/w_jnf.c (ynf): Likewise.
19175 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19176 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19177 value for Bessel function domain errors outside _SVID_ mode.
19178 Adjust sign of return value for yn (negative integer, 0).
19179 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19180 by zero in return for negative x and set sign appropriately for
19182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19183 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19184 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19185 expectations in error cases.
19186 (y1_test_data): Likewise.
19187 (yn_test_data): Likewise.
19188 * sysdeps/i386/fpu/libm-test-ulps: Update.
19189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19191 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19193 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19194 "64" to "64-v1". Add "64-v2".
19195 (abi-64-options): Rename to ...
19196 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19197 (abi-64-condition): Rename to ...
19198 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19199 (abi-64-ld-soname): Rename to ...
19200 (abi-64-v1-ld-soname): ... this.
19201 (abi-64-v2-options): Define.
19202 (abi-64-v2-condition): Likewise.
19203 (abi-64-v2-ld-soname): Likewise.
19204 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19205 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19210 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19211 Alan Modra <amodra@gmail.com>
19213 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19214 New versions for use with the ELFv2 ABI.
19215 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19216 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19218 (struct La_ppc64v2_retval): Likewise.
19219 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19220 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19221 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19222 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19223 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19224 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19225 Do not save or restore CR.
19226 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19227 (_dl_profile_resolve): Do no save or restore CR. Support extended
19228 return values for ELFv2 ABI. Fix location of FPR return registers.
19229 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19230 updated values for _CALL_ELF == 2.
19231 (La_regs, La_retval, int_retval): Likewise.
19233 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19235 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19236 (FRAME_MIN_SIZE_PARM): Likewise.
19237 (FRAME_BACKCHAIN): Likewise.
19238 (FRAME_CR_SAVE): Likewise.
19239 (FRAME_LR_SAVE): Likewise.
19240 (FRAME_TOC_SAVE): Likewise.
19241 (FRAME_PARM_SAVE): Likewise.
19242 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19243 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19244 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19245 (call_mcount_parm_offset): New macro.
19246 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19247 (PROF): Use symbolic stack frame offsets.
19248 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19249 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19250 Redefine in terms of FRAME_MIN_SIZE.
19251 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19252 (_dl_profile_resolve): Likewise. Update comment.
19253 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19254 symbols stack frame offsets.
19255 (__sigsetjmp): Likewise.
19256 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19257 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19258 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19259 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19262 (FRAME_BACKCHAIN): Remove.
19263 (FRAME_CR_SAVE): Likewise.
19264 (FRAME_LR_SAVE): Likewise.
19265 (FRAME_COMPILER_DW): Likewise.
19266 (FRAME_LINKER_DW): Likewise.
19267 (FRAME_TOC_SAVE): Likewise.
19268 (FRAME_PARM_SAVE): Likewise.
19269 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19270 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19271 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19273 (CHECK_SP): Use symbolic stack frame offsets.
19274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19275 zone" instead of caller's parameter save area for temp storage.
19276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19277 Likewise. Also, use symbolic stack frame offsets.
19278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19279 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19280 our own stack frame instead of the caller's.
19281 (__socket): Use symbolic stack frame offsets.
19283 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19284 Alan Modra <amodra@gmail.com>
19286 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19288 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19289 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19290 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19292 (elf_machine_fixup_plt): Call it.
19293 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19295 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19296 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19297 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19298 r2 before calling target.
19300 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19301 Alan Modra <amodra@gmail.com>
19303 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19304 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19305 versions of macros to support ELFv2 ABI.
19306 (LOCALENTRY): New macro.
19307 (ENTRY, EALIGN): Use it.
19308 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19309 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19310 fall through into ENTRY entry point.
19311 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19312 Only define if _CALL_ELF != 2.
19314 (elf_machine_matches_host): Verify ABI version matches.
19315 (RTLD_START): Use LOCALENTRY.
19316 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19317 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19318 (PLT_ENTRY_WORDS): New macro.
19319 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19320 (elf_machine_runtime_setup): Support ELFv2 ABI.
19321 (elf_machine_fixup_plt): Likewise.
19322 (elf_machine_plt_conflict): Likewise.
19323 (resolve_ifunc): Likewise.
19324 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19325 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19328 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19330 (makecontext): Support ELFv2 ABI.
19331 * elf/elf.h (EF_PPC64_ABI): Define.
19333 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19335 * sysdeps/powerpc/powerpc64/sysdep.h
19336 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19337 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19338 (ENTRY) [ASSEMBLER]: ... but instead here ...
19339 (EALIGN) [ASSEMBLER]: ... and here.
19340 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19341 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19342 (ENTRY_2) [!ASSEMBLER]: Use it.
19343 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19344 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19345 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19346 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19347 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19349 Use PPC64_LOAD_FUNCPTR.
19351 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19353 2013-12-04 Alan Modra <amodra@gmail.com>
19355 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19356 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19357 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19358 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19360 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19361 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19362 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19363 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19364 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19365 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19367 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19370 (__makecontext): Fix incorrect CFI when backtracing out of
19371 context created via makecontext.
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19373 (__setcontext): Fix incorrect CFI during switch to new context.
19374 (__novec_setcontext): Likewise.
19376 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19379 * time/strptime_l.c (__strptime_internal): Allow modifiers
19381 * time/tst-strptime.c (day_tests): Add testcase.
19383 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19385 * scripts/bench.pl: Skip over blank lines.
19387 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19390 * manual/time.texi (Calendar Time): Clarify what timezone functions
19393 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19397 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19399 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19401 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19402 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19403 * debug/memset_chk.c (__memset_chk): Likewise.
19404 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19405 * debug/strncpy_chk.c: Likewise.
19407 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19411 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19412 (__ieee754_exp): For possibly underflowing results, check size of
19413 result and force underflow exception if required.
19414 * math/auto-libm-test-in: Add more tests of exp.
19415 * math/auto-libm-test-out: Regenerated.
19416 * sysdeps/i386/fpu/libm-test-ulps: Update.
19417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19420 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19421 * math/w_exp2f.c (__exp2f): Likewise.
19422 * math/w_exp2l.c (__exp2l): Likewise.
19423 * math/auto-libm-test-in: Do not allow missing errno on exp2
19425 * math/auto-libm-test-out: Regenerated.
19427 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19430 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19431 handle filename validation.
19432 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19435 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19438 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19439 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19440 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19442 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19443 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19444 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19445 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19446 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19447 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19448 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19449 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19450 Add more erfc tests.
19451 * math/auto-libm-test-out: Regenerated.
19452 * sysdeps/i386/fpu/libm-test-ulps: Update.
19453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19455 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19456 exp2, expm1, j0 and j1.
19457 * math/auto-libm-test-out: Regenerated.
19458 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19459 (erfc_test_data): Likewise.
19460 (exp_test_data): Likewise.
19461 (exp_tonearest_test_data): Likewise.
19462 (exp_towardzero_test_data): Likewise.
19463 (exp_downward_test_data): Likewise.
19464 (exp_upward_test_data): Likewise.
19465 (exp10_test_data): Likewise.
19466 (exp2_test_data): Likewise.
19467 (expm1_test_data): Likewise.
19468 (j0_test_data): Likewise.
19469 (j1_test_data): Likewise.
19470 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19471 (input_flag_type): Add flag_xfail_rounding.
19472 (input_flags): Add xfail-rounding.
19473 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19474 (output_for_one_input_case): Handle flag_xfail_rounding.
19475 * sysdeps/i386/fpu/libm-test-ulps: Update.
19476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19478 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19481 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19484 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19487 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19488 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19489 (STAP_PROBE0): New macro.
19490 (STAP_PROBE1): Likewise.
19491 (STAP_PROBE2): Likewise.
19492 (STAP_PROBE3): Likewise.
19493 (STAP_PROBE4): Likewise.
19495 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19497 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19499 2013-12-02 Steve Ellcey <sellcey@mips.com>
19501 * benchtests/Makefile (bench): Add sqrt.
19502 (LDLIBS-bench-sqrt): New.
19503 * benchtests/sqrt-input: New.
19505 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19507 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19508 (GAIH_EAI): Likewise.
19509 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19510 (gaih_inet): Likewise.
19511 (getaddrinfo): Don't use GAIH_EAI.
19513 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19514 (struct gaih): Remove definition.
19516 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19518 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19519 Use HERRNOP directly.
19521 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19525 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19527 * math/gen-auto-libm-tests.c (test_functions): Add more
19528 single-argument functions.
19529 (special_fill_pi_2): New function.
19530 (special_fill_minus_pi_2): Likewise.
19531 (special_fill_pi_6): Likewise.
19532 (special_fill_minus_pi_6): Likewise.
19533 (special_fill_pi_3): Likewise.
19534 (special_fill_2pi_3): Likewise.
19535 (special_fill_e): Likewise.
19536 (special_fill_1_e): Likewise.
19537 (special_fill_e_minus_1): Likewise.
19538 (special_real_inputs): Add more special inputs.
19539 (output_for_one_input_case): Do not require ERANGE on underflow to
19540 zero if round-to-nearest result does not underflow to zero, unless
19541 exact results required.
19542 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19543 atan, atanh, cbrt, cos and cosh.
19544 * math/auto-libm-test-out: Regenerated.
19545 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19546 (acos_tonearest_test_data): Likewise.
19547 (acos_towardzero_test_data): Likewise.
19548 (acos_downward_test_data): Likewise.
19549 (acos_upward_test_data): Likewise.
19550 (acosh_test_data): Likewise.
19551 (asin_test_data): Likewise.
19552 (asin_tonearest_test_data): Likewise.
19553 (asin_towardzero_test_data): Likewise.
19554 (asin_upward_test_data): Likewise.
19555 (asinh_test_data): Likewise.
19556 (atan_test_data): Likewise.
19557 (atanh_test_data): Likewise.
19558 (cbrt_test_data): Likewise.
19559 (cos_test_data): Likewise.
19560 (cos_tonearest_test_data): Likewise.
19561 (cos_towardzero_test_data): Likewise.
19562 (cos_downward_test_data): Likewise.
19563 (cos_upward_test_data): Likewise.
19564 (cosh_test_data): Likewise.
19565 (cosh_tonearest_test_data): Likewise.
19566 (cosh_towardzero_test_data): Likewise.
19567 (cosh_downward_test_data): Likewise.
19568 (cosh_upward_test_data): Likewise.
19569 * sysdeps/i386/fpu/libm-test-ulps: Update.
19570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19572 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19575 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19576 * math/w_exp10f.c (__exp10f): Likewise.
19577 * math/w_exp10l.c (__exp10l): Likewise.
19578 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19579 errno settings in existing tests.
19582 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19583 precision control set to double precision.
19584 * sysdeps/i386/fpu/w_sqrt.c: New file.
19585 * math/auto-libm-test-in: Add more tests.
19586 * math/auto-libm-test-out: Update.
19588 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19589 (sqrt_test_tonearest): New function.
19590 (sqrt_towardzero_test_data): New variable.
19591 (sqrt_test_towardzero): New function.
19592 (sqrt_downward_test_data): New variable.
19593 (sqrt_test_downward): New function.
19594 (sqrt_upward_test_data): New variable.
19595 (sqrt_test_upward): New function.
19596 (main): Call the new functions.
19598 * math/gen-auto-libm-tests.c: New file.
19599 * math/auto-libm-test-in: Likewise.
19600 * math/auto-libm-test-out: New generated file.
19601 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19603 (%beautify): Add generated representations of zero.
19604 (top level): Set $auto_input and call parse_auto_input.
19605 (beautify): Remove trailing "f" from hex float constants.
19606 (parse_args): Handle XFAIL_TEST.
19607 (convert_condition): New function.
19608 (or_value): Likewise.
19609 (or_cond_value): Likewise.
19610 (generate_testfile): Handle AUTO_TESTS_* lines.
19611 (parse_auto_input): New function.
19612 * math/libm-test.inc (XFAIL_TEST): New macro.
19613 (ERRNO_UNCHANGED): Update value.
19614 (ERRNO_EDOM): Likewise.
19615 (ERRNO_ERANGE): Likewise.
19616 (IGNORE_RESULT): Likewise.
19617 (TEST_COND_flt_32): New macro.
19618 (TEST_COND_dbl_64): Likewise.
19619 (TEST_COND_ldbl_96_intel): Likewise.
19620 (TEST_COND_ldbl_96_m68k): Likewise.
19621 (TEST_COND_ldbl_128): Likewise.
19622 (TEST_COND_ldbl_128ibm): Likewise.
19623 (TEST_COND_long32): Likewise.
19624 (TEST_COND_long64): Likewise.
19625 (TEST_COND_before_rounding): Likewise.
19626 (TEST_COND_after_rounding): Likewise.
19627 (enable_test): Handle XFAIL_TEST flag.
19628 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19629 with finite results.
19630 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19631 auto-libm-test-out.
19633 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19634 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19637 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19638 __tls_get_addr_internal instead of __tls_get_offset in order to
19639 avoid GOT pointer dependency. Make rtld export
19640 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19641 __tls_get_addr since we are a __tls_get_offset platform.
19642 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19643 GOT pointer being set up before.
19644 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19646 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19648 * manual/math.texi (Errors in Math Functions): Document accuracy
19652 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19653 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19654 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19655 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19656 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19657 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19658 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19659 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19660 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19661 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19662 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19663 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19664 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19665 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19666 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19667 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19669 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19670 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19671 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19672 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19673 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19675 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19677 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19679 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19680 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19681 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19682 atomic-feupdateenv and flt-rounds.
19683 * sysdeps/powerpc/nofpu/Versions (libc): Add
19684 __atomic_feholdexcept, __atomic_feclearexcept,
19685 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19686 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19687 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19688 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19689 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19694 * manual/arith.texi (FP Exceptions): Document that exceptions may
19695 not be raised when matherr is used.
19696 (Math Error Reporting): Document overflow in directed rounding
19697 modes. Document that errno may not be set when finite values are
19698 returned on overflow. Document intent to set errno on underflow
19699 only for underflow to zero.
19702 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19703 round-to-nearest then adjust result for other rounding modes.
19704 * include/fenv.h (fegetround): Use libm_hidden_proto.
19705 * math/fegetround.c (fegetround): Use libm_hidden_def.
19706 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19707 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19708 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19709 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19711 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19712 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19713 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19714 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19716 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19719 * nss/Versions (libnss_files): Add
19720 _nss_files_gethostbyname3_r.
19721 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19723 (HOST_DB_LOOKUP): Remove macro.
19724 (_nss_files_gethostbyname_r): Implement function without the
19725 HOST_DB_LOOKUP macro.
19726 (_nss_files_gethostbyname2_r): Likewise.
19728 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19730 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19732 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19734 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19735 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19738 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19740 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19741 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19742 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19743 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19744 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19745 __fe_nomask_env_priv and attribute_hidden.
19746 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19747 (libc_feupdateenv_test_ppc): Likewise.
19748 (libc_feresetround_ppc): Likewise.
19749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19750 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19751 compat_symbol macro.
19752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19753 (__fe_nomask_env): Likewise.
19754 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19756 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19758 * string/Makefile: Remove ifunc tests.
19759 * string/test-string.h: Define TEST_IFUNC.
19760 * string/test-bcopy-ifunc.c: Remove.
19761 * string/test-bzero-ifunc.c: Likewise.
19762 * string/test-memccpy-ifunc.c: Likewise.
19763 * string/test-memchr-ifunc.c: Likewise.
19764 * string/test-memcmp-ifunc.c: Likewise.
19765 * string/test-memcpy-ifunc.c: Likewise.
19766 * string/test-memmem-ifunc.c: Likewise.
19767 * string/test-memmove-ifunc.c: Likewise.
19768 * string/test-mempcpy-ifunc.c: Likewise.
19769 * string/test-memrchr-ifunc.c: Likewise.
19770 * string/test-memset-ifunc.c: Likewise.
19771 * string/test-rawmemchr-ifunc.c: Likewise.
19772 * string/test-stpcpy-ifunc.c: Likewise.
19773 * string/test-stpncpy-ifunc.c: Likewise.
19774 * string/test-strcasecmp-ifunc.c: Likewise.
19775 * string/test-strcasestr-ifunc.c: Likewise.
19776 * string/test-strcat-ifunc.c: Likewise.
19777 * string/test-strchr-ifunc.c: Likewise.
19778 * string/test-strchrnul-ifunc.c: Likewise.
19779 * string/test-strcmp-ifunc.c: Likewise.
19780 * string/test-strcpy-ifunc.c: Likewise.
19781 * string/test-strcspn-ifunc.c: Likewise.
19782 * string/test-strlen-ifunc.c: Likewise.
19783 * string/test-strncasecmp-ifunc.c: Likewise.
19784 * string/test-strncat-ifunc.c: Likewise.
19785 * string/test-strncmp-ifunc.c: Likewise.
19786 * string/test-strncpy-ifunc.c: Likewise.
19787 * string/test-strnlen-ifunc.c: Likewise.
19788 * string/test-strpbrk-ifunc.c: Likewise.
19789 * string/test-strrchr-ifunc.c: Likewise.
19790 * string/test-strspn-ifunc.c: Likewise.
19791 * string/test-strstr-ifunc.c: Likewise.
19793 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19795 * benchtests/Makefile: Remove ifunc tests.
19796 * benchtests/bench-string.h: Define TEST_IFUNC.
19797 * benchtests/bench-bcopy-ifunc.c: Remove.
19798 * benchtests/bench-bzero-ifunc.c: Likewise.
19799 * benchtests/bench-memccpy-ifunc.c: Likewise.
19800 * benchtests/bench-memchr-ifunc.c: Likewise.
19801 * benchtests/bench-memcmp-ifunc.c: Likewise.
19802 * benchtests/bench-memcpy-ifunc.c: Likewise.
19803 * benchtests/bench-memmem-ifunc.c: Likewise.
19804 * benchtests/bench-memmove-ifunc.c: Likewise.
19805 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19806 * benchtests/bench-memrchr-ifunc.c: Likewise.
19807 * benchtests/bench-memset-ifunc.c: Likewise.
19808 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19809 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19810 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19811 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19812 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19813 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19814 * benchtests/bench-strcat-ifunc.c: Likewise.
19815 * benchtests/bench-strchr-ifunc.c: Likewise.
19816 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19817 * benchtests/bench-strcmp-ifunc.c: Likewise.
19818 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19819 * benchtests/bench-strcpy-ifunc.c: Likewise.
19820 * benchtests/bench-strcspn-ifunc.c: Likewise.
19821 * benchtests/bench-strlen-ifunc.c: Likewise.
19822 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19823 * benchtests/bench-strncat-ifunc.c: Likewise.
19824 * benchtests/bench-strncmp-ifunc.c: Likewise.
19825 * benchtests/bench-strncpy-ifunc.c: Likewise.
19826 * benchtests/bench-strnlen-ifunc.c: Likewise.
19827 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19828 * benchtests/bench-strrchr-ifunc.c: Likewise.
19829 * benchtests/bench-strsep-ifunc.c: Likewise.
19830 * benchtests/bench-strspn-ifunc.c: Likewise.
19831 * benchtests/bench-strstr-ifunc.c: Likewise.
19833 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19835 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19837 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19839 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19840 * rt/aio.h: Likewise.
19841 * sysdeps/gnu/bits/utmp.h: Likewise.
19842 * sysdeps/gnu/bits/utmpx.h: Likewise.
19843 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19844 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19845 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19846 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19847 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19848 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19849 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19850 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19851 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19852 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19853 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19854 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19855 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19857 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19858 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19859 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19860 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19861 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19862 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19863 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19864 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19865 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19866 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19867 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19868 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19869 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19870 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19871 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19872 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19873 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19874 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19875 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19876 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19877 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19878 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19879 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19880 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19881 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19882 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19883 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19884 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19886 2013-11-25 Carlos O'Donell <carlos@redhat.com>
19889 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19890 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19892 2013-11-25 Joseph Myers <joseph@codesourcery.com>
19894 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19895 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19898 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19900 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19901 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19902 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19903 (__fesetround): Remove define.
19904 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19905 rounding and exceptions handling.
19906 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19907 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19908 (__fe_nomask_env): Likewise.
19909 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19910 __fegetround instead of fegetround.
19911 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19912 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19914 2013-11-21 Roland McGrath <roland@hack.frob.com>
19916 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19919 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19921 2013-11-21 Meador Inge <meadori@codesourcery.com>
19924 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19925 (encrypt_r): Likewise.
19926 * malloc/obstack.h (obstack_free): Likewise.
19927 * posix/unistd.h (encrypt): Likewise.
19929 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19931 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19932 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19933 DL_CALL_DT_FINI() that call the functions directly.
19934 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19935 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19936 * elf/dl-fini.c: Likewise.
19938 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
19940 * malloc/hooks.c (memalign_check): Add alignment rounding.
19941 * malloc/malloc.c (_mid_memalign): New function.
19942 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19943 Implement by calling _mid_memalign.
19944 * manual/probes.texi (Memory Allocation Probes): Remove
19945 memory_valloc_retry and memory_pvalloc_retry.
19947 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19949 * locale/programs/locarchive.c (open_archive): Add const
19950 qualifier to ARCHIVEFNAME and copy default fname to
19954 * libio/tst-widetext.input: Rename Oriya to Odia.
19955 * locale/iso-639.def: Likewise.
19957 * manual/probes.texi (Mathematical Function Probes): Add
19958 documentation for sin, cos, asin and acos probes.
19959 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19960 (__sin32): Add slowasin probe.
19961 (__cos32): Add slowacos probe.
19962 (__mpsin): Add slowsin probe.
19963 (__mpcos): Add slowcos probe.
19965 2013-11-19 Joseph Myers <joseph@codesourcery.com>
19968 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19969 thread-local __sim_exceptions_thread and global
19970 __sim_exceptions_global.
19971 (__sim_disabled_exceptions): Change to thread-local
19972 __sim_disabled_exceptions_thread and global
19973 __sim_disabled_exceptions_global.
19974 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19975 and global __sim_round_mode_global.
19976 (__simulate_exceptions): Use thread-local floating-point state and
19977 set global state from it as needed.
19978 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19979 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19980 __sim_round_mode_thread.
19981 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19982 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19983 and global __sim_exceptions_global.
19984 (__sim_disabled_exceptions): Change to thread-local
19985 __sim_disabled_exceptions_thread and global
19986 __sim_disabled_exceptions_global.
19987 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19988 and global __sim_round_mode_global.
19989 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19990 (SIM_SET_GLOBAL): Likewise.
19991 * sysdeps/powerpc/soft-fp/sfp-machine.h
19992 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19993 __sim_round_mode_thread.
19994 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19995 __sim_disabled_exceptions_thread.
19996 (__sim_exceptions): Change to __sim_exceptions_thread.
19997 (__sim_disabled_exceptions): Change to
19998 __sim_disabled_exceptions_thread.
19999 (__sim_round_mode): Change to __sim_round_mode_thread.
20000 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20001 thread-local floating-point state and set global state from it as
20003 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20004 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20005 (__sim_disabled_exceptions): Remove extern declaration.
20006 (feenableexcept): Use thread-local floating-point state and set
20007 global state from it as needed.
20008 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20009 extern declaration.
20010 (__sim_disabled_exceptions): Likewise.
20011 (__sim_round_mode): Likewise.
20012 (__fegetenv): Use thread-local floating-point state.
20013 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20014 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20015 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20016 floating-point state and set global state from it as needed.
20017 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20018 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20019 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20021 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20022 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20024 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20025 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20026 Use __sim_round_mode_thread.
20027 * math/test-fenv-tls.c: New file.
20028 * math/Makefile (tests): Add test-fenv-tls.
20029 ($(objpfx)test-fenv-tls): Depend on
20030 $(common-objpfx)nptl/libpthread.so.
20032 2013-11-19 Andreas Schwab <schwab@suse.de>
20034 * locale/programs/locale.c (show_info): Decode wordarray elements.
20035 * locale/categories.def (LC_MONETARY): Add element for
20036 _NL_MONETARY_CRNCYSTR.
20037 * locale/C-monetary.c (conversion_rate): New variable.
20038 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20041 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20043 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20044 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20046 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20048 * elf/Makefile (tst-auxv): New test.
20049 * elf/tst-auxv.c: New
20050 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20052 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20054 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20055 (hidden_proto): Caller changed.
20056 (hidden_tls_proto): New macro.
20057 (libc_hidden_tls_proto): Likewise.
20058 (rtld_hidden_tls_proto): Likewise.
20059 (libm_hidden_tls_proto): Likewise.
20060 (libresolv_hidden_tls_proto): Likewise.
20061 (librt_hidden_tls_proto): Likewise.
20062 (libdl_hidden_tls_proto): Likewise.
20063 (libnss_files_hidden_tls_proto): Likewise.
20064 (libnsl_hidden_tls_proto): Likewise.
20065 (libnss_nisplus_hidden_tls_proto): Likewise.
20066 (libutil_hidden_tls_proto): Likewise.
20068 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20071 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20072 (decompose_rpath): Defer expansion to fillin_rpath.
20073 (_dl_init_paths): Pass linkmap to fillin_rpath.
20075 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20077 * benchtests/Makefile: Add strsep.
20078 * benchtests/bench-strsep.c: New file: strsep benchtest.
20079 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20081 2013-11-18 Andreas Schwab <schwab@suse.de>
20083 * locale/programs/locale.c (show_info) [case byte]: Check for
20084 '\377' instead of '\177'.
20085 * locale/C-monetary.c (not_available): Always use "\377".
20086 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20087 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20088 detect unavailable sign_posn locale elements.
20089 * locale/localeconv.c (__localeconv): For grouping and
20090 mon_grouping handle "\177" and "\377" like no grouping.
20091 (INT_ELEM): New macro. Use it to set all numeric members.
20092 * locale/programs/ld-monetary.c (monetary_read)
20093 <tok_mon_grouping>: Normalize single -1 to the empty string.
20094 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20097 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20100 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20101 when we match (nil).
20102 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20104 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20106 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20107 (NO_TEST_INLINE): Update value.
20108 (ERRNO_UNCHANGED): Likewise.
20109 (ERRNO_EDOM): Likewise.
20110 (ERRNO_ERANGE): Likewise.
20111 (IGNORE_RESULT): Likewise.
20112 (check_float_internal): Check signs of NaN results if
20113 TEST_NAN_SIGN used.
20114 (check_complex): Pass TEST_NAN_SIGN flag through to second
20115 check_float_internal call.
20116 (copysign_test_data): Add tests with quiet NaNs as second
20117 argument. Use TEST_NAN_SIGN.
20118 (fabs_test_data): Add test of negative quiet NaN argument. Use
20120 (signbit_test_data): Add tests of quiet NaN argument.
20121 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20123 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20125 (parse_args): Handle function results specified as IGNORE.
20126 * math/libm-test.inc (IGNORE_RESULT): New macro.
20127 (check_float_internal): Do not check numerical result if flag
20129 (check_complex): Pass through IGNORE_RESULT to second
20130 check_float_internal call.
20131 (check_int): Do not check numerical result if flag IGNORE_RESULT
20133 (check_long): Likewise.
20134 (check_bool): Likewise.
20135 (check_longlong): Likewise.
20136 (lrint_test_data): Add tests of infinite and NaN arguments.
20137 (lrint_tonearest_test_data): Likewise.
20138 (lrint_towardzero_test_data): Likewise.
20139 (lrint_downward_test_data): Likewise.
20140 (lrint_upward_test_data): Likewise.
20141 (llrint_test_data): Likewise.
20142 (llrint_tonearest_test_data): Likewise.
20143 (llrint_towardzero_test_data): Likewise.
20144 (llrint_downward_test_data): Likewise.
20145 (llrint_upward_test_data): Likewise.
20146 (lround_test_data): Likewise.
20147 (llround_test_data): Likewise.
20149 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20150 (ERRNO_UNCHANGED): Update value.
20151 (ERRNO_EDOM): Likewise.
20152 (ERRNO_ERANGE): Likewise.
20153 (NO_TEST_INLINE_FLOAT): New macro.
20154 (NO_TEST_INLINE_DOUBLE): Likewise.
20155 (enable_test): New function.
20156 (RUN_TEST_f_f): Check enable_test before running test.
20157 (RUN_TEST_2_f): Likewise.
20158 (RUN_TEST_fff_f): Likewise.
20159 (RUN_TEST_c_f): Likewise.
20160 (RUN_TEST_f_f1): Likewise.
20161 (RUN_TEST_fF_f1): Likewise.
20162 (RUN_TEST_fI_f1): Likewise.
20163 (RUN_TEST_ffI_f1): Likewise.
20164 (RUN_TEST_c_c): Likewise.
20165 (RUN_TEST_cc_c): Likewise.
20166 (RUN_TEST_f_i): Likewise.
20167 (RUN_TEST_f_i_tg): Likewise.
20168 (RUN_TEST_ff_i_tg): Likewise.
20169 (RUN_TEST_f_b): Likewise.
20170 (RUN_TEST_f_b_tg): Likewise.
20171 (RUN_TEST_f_l): Likewise.
20172 (RUN_TEST_f_L): Likewise.
20173 (RUN_TEST_fFF_11): Likewise.
20174 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20176 (cosh_test_data): Likewise.
20177 (exp_test_data): Likewise.
20178 (expm1_test_data): Likewise.
20179 (hypot_test_data): Likewise.
20180 (pow_test_data): Likewise.
20181 (sinh_test_data): Likewise.
20182 (tanh_test_data): Likewise.
20183 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20186 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20187 tests with quiet NaN input and output.
20188 (acosh_test_data): Likewise.
20189 (asin_test_data): Likewise.
20190 (asinh_test_data): Likewise.
20191 (atan_test_data): Likewise.
20192 (atanh_test_data): Likewise.
20193 (atan2_test_data): Likewise.
20194 (cbrt_test_data): Likewise.
20195 (cos_test_data): Likewise.
20196 (cosh_test_data): Likewise.
20197 (erf_test_data): Likewise.
20198 (erfc_test_data): Likewise.
20199 (exp_test_data): Likewise.
20200 (exp10_test_data): Likewise.
20201 (exp2_test_data): Likewise.
20202 (expm1_test_data): Likewise.
20203 (hypot_test_data): Likewise.
20204 (j0_test_data): Likewise.
20205 (j1_test_data): Likewise.
20206 (jn_test_data): Likewise.
20207 (lgamma_test_data): Likewise.
20208 (log_test_data): Likewise.
20209 (log10_test_data): Likewise.
20210 (log1p_test_data): Likewise.
20211 (log2_test_data): Likewise.
20212 (pow_test_data): Likewise.
20213 (scalb_test_data): Likewise.
20214 (sin_test_data): Likewise.
20215 (sincos_test_data): Likewise.
20216 (sinh_test_data): Likewise.
20217 (tan_test_data): Likewise.
20218 (tanh_test_data): Likewise.
20219 (tgamma_test_data): Likewise.
20220 (y0_test_data): Likewise.
20221 (y1_test_data): Likewise.
20222 (yn_test_data): Likewise.
20225 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20226 argument being NaN and avoid computations with second argument in
20228 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20229 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20230 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20232 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20234 * locale/iso-639.def: Add Chitwani Tharu (the).
20236 2013-11-14 Andreas Schwab <schwab@suse.de>
20238 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20239 word instead of empty string.
20241 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20244 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20246 (__fe_nomask_env): Likewise.
20248 2013-11-13 Steve Ellcey <sellcey@mips.com>
20250 * benchtests/bench-timing.h: Include time.h.
20252 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20255 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20257 * sysdeps/unix/sysv/linux/configure: Regenerated.
20259 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20262 * stdlib/strtod_l.c (round_and_return): Do not consider
20263 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20264 exponent one less than half the least subnormal exponent.
20265 * stdlib/test-strtod-round-data: Add more tests.
20266 * stdlib/tst-strtod-round.c (tests): Regenerated.
20268 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20271 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20272 (__fe_mask_env): Likewise.
20273 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20274 libm_hidden_proto and add function prototype.
20275 (__fe_mask_env): Add function prototype.
20276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20277 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20279 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20281 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20283 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20285 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20286 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20288 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20290 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20291 of htab_find_slot().
20293 2013-11-11 David S. Miller <davem@davemloft.net>
20296 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20297 symbol in the non-vis3 case in static builds.
20298 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20299 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20300 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20301 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20303 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20306 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20309 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20311 * benchtests/Makefile: Add bench-strtod.
20312 * benchtests/bench-strtod.c: New file: strtod benchtest
20314 2013-11-11 Andreas Schwab <schwab@suse.de>
20317 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20318 terminating NUL in key length.
20320 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20322 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20323 Add artificial ODP entry for vDSO symbol for PPC64.
20324 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20325 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20327 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20330 * nss/getent.c (services_keys): Recognize services starting with digit.
20332 2013-11-06 David S. Miller <davem@davemloft.net>
20335 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20336 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20338 2013-11-06 Will Newton <will.newton@linaro.org>
20340 * manual/memory.texi (Malloc Examples): Remove register
20341 keyword from examples.
20343 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20345 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20347 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20350 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20351 depending on [__GCC_IEC_559 > 0].
20352 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20353 depending on [__GCC_IEC_559_COMPLEX > 0].
20355 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20357 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20360 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20362 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20364 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20367 * malloc/malloc (malloc_info): Do not handle first bin as
20370 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20372 * locale/iso-639.def: Add Central Nahuatl (nhn).
20374 2013-11-01 Bruno Haible <bruno@clisp.org>
20377 * manual/math.texi (BSD Random): Specify range upper bound as
20380 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20382 * locale/iso-639.def: Add Meadow Mari (mhr).
20384 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20386 [BZ #14752], [BZ #15763]
20387 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20389 * rt/tst_shm.c: Add test for escaping directory.
20391 2013-10-31 Andreas Schwab <schwab@suse.de>
20394 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20395 followed by 'x' as part of digit sequence.
20396 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20398 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20401 * configure.ac: allow GNU Make 4.0 and greater.
20402 * configure: Regenerated.
20404 2013-10-30 Will Newton <will.newton@linaro.org>
20407 * malloc/hooks.c (memalign_check): Limit alignment to the
20408 maximum representable power of two.
20409 * malloc/malloc.c (__libc_memalign): Likewise.
20410 * malloc/tst-memalign.c (do_test): Add test for very
20411 large alignment values.
20412 * malloc/tst-posix_memalign.c (do_test): Likewise.
20414 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20417 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20418 (munmap_chunk): Likewise.
20419 (mremap_chunk): Likewise.
20421 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20424 * stdlib/div.c (div): Remove obsolete code.
20425 * stdlib/ldiv.c (ldiv): Likewise.
20426 * stdlib/lldiv.c (lldiv): Likewise.
20428 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20431 * nss/nss_files/files-XXX.c (get_contents_ret): New
20433 (get_contents): New function.
20434 (internal_getent): Use it. Expand size of LINEBUFLEN.
20436 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20438 * configure.in: Moved to ...
20439 * configure.ac: ... here. Change reference to configure.in
20441 * sysdeps/arm/preconfigure.ac: ... here.
20442 configure.in to configure.ac.
20443 * sysdeps/gnu/configure.in: Moved to ...
20444 * sysdeps/gnu/configure.ac: ... here.
20445 * sysdeps/i386/configure.in: Moved to ...
20446 * sysdeps/i386/configure.ac: ... here.
20447 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20448 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20449 * sysdeps/mach/configure.in: Moved to ...
20450 * sysdeps/mach/configure.ac: ... here.
20451 * sysdeps/mach/hurd/configure.in: Moved to ...
20452 * sysdeps/mach/hurd/configure.ac: ... here.
20453 * sysdeps/powerpc/configure.in: Moved to ...
20454 * sysdeps/powerpc/configure.ac: ... here.
20455 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20456 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20457 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20458 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20459 * sysdeps/s390/s390-32/configure.in: Moved to ...
20460 * sysdeps/s390/s390-32/configure.ac: ... here.
20461 * sysdeps/s390/s390-64/configure.in: Moved to ...
20462 * sysdeps/s390/s390-64/configure.ac: ... here.
20463 * sysdeps/sh/configure.in: Moved to ...
20464 * sysdeps/sh/configure.ac: ... here.
20465 * sysdeps/sparc/configure.in: Moved to ...
20466 * sysdeps/sparc/configure.ac: ... here.
20467 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20468 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20469 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20470 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20471 * sysdeps/x86_64/configure.in: Moved to ...
20472 * sysdeps/x86_64/configure.ac: ... here.
20473 * sysdeps/x86_64/preconfigure.in: Moved to ...
20474 * sysdeps/x86_64/preconfigure.ac: ... here.
20475 * aclocal.m4: Change reference to configure.in to configure.ac.
20476 * config.h.in: Likewise.
20477 * manual/install.texi: Likewise.
20478 * manual/maint.texi: Likewise.
20479 * Makefile: Likewise.
20480 * malloc/Makefile: Likewise.
20481 * nscd/Makefile: Likewise.
20482 * Makeconfig: Change reference to configure.in and
20483 preconfigure.in to configure.ac and preconfigure.ac
20485 * INSTALL: Regenerated.
20486 * configure: Likewise.
20487 * sysdeps/gnu/configure: Likewise.
20488 * sysdeps/i386/configure: Likewise.
20489 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20490 * sysdeps/mach/configure: Likewise.
20491 * sysdeps/mach/hurd/configure: Likewise.
20492 * sysdeps/powerpc/configure: Likewise.
20493 * sysdeps/powerpc/powerpc32/configure: Likewise.
20494 * sysdeps/powerpc/powerpc64/configure: Likewise.
20495 * sysdeps/s390/s390-32/configure: Likewise.
20496 * sysdeps/s390/s390-64/configure: Likewise.
20497 * sysdeps/sh/configure: Likewise.
20498 * sysdeps/sparc/configure: Likewise.
20499 * sysdeps/unix/sysv/linux/configure: Likewise.
20500 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20501 * sysdeps/x86_64/configure: Likewise.
20502 * sysdeps/x86_64/preconfigure: Likewise.
20504 2013-10-29 Andreas Schwab <schwab@suse.de>
20506 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20508 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20510 * benchtests/pow-inputs: Add new inputs.
20512 * benchtests/exp-inputs: Add new inputs.
20514 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20515 conditional check for return value.
20516 (__cos32): Likewise.
20518 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20520 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20521 to provide a boost for large inputs with word alignment.
20522 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20523 implementation based on optimized PPC64 strcpy.
20524 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20525 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20526 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20527 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20529 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20532 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20534 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20537 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20538 * time/tst-strptime.c (day_tests): Add testcase.
20540 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20543 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20545 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20548 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20549 MAP_FAILED on error.
20551 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20554 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20555 heap for large requests.
20557 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20560 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20561 result if the result has no associated interface.
20562 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20563 interface for all 127.X.Y.Z addresses.
20565 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20567 * locale/iso-639.def: Add Ligurian (lij)
20569 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20572 * sunrpc/rpc_main.c: Document rpcgen -5.
20574 2013-10-19 Michael Stahl <mstahl@redhat.com>
20576 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20578 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20581 * posix/glob.c: Match only directories when trailing slash is present.
20582 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20583 (main): Add testcase.
20585 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20588 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20590 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20592 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20593 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20594 AUTH_DES and cindex for FIPS 140-2.
20595 (DES Encryption): Add cindex FIPS 46-3.
20597 * locale/locarchive.h (struct locarhandle): Add fname.
20598 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20599 if an optional argument was specified to --list-archive,
20601 * locale/programs/locarchive.c (show_archive_content): Take new
20602 argument fname and pass it via ah.fname to open_archive.
20603 * locale/programs/localedef.h: Update decl.
20604 (open_archive): If AH->fname is non-null, open that file
20605 rather than the default file name, and don't ignore ENOENT.
20606 (create_archive): Set AH.fname to NULL.
20607 (delete_locales_from_archive): Likewise.
20608 (add_locales_to_archive): Likewise.
20609 * locale/programs/locfile.c (write_all_categories): Likewise.
20611 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20612 Aldy Hernandez <aldyh@redhat.com>
20614 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20615 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20616 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20617 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20618 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20619 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20620 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20621 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20622 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20623 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20624 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20625 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20626 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20627 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20628 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20630 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20632 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20634 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20636 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20637 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20639 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20640 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20641 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20642 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20644 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20645 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20646 * sysdeps/powerpc/preconfigure: Likewise.
20647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20649 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20650 Replace contents of file by #include of <fenv_libc.h>.
20651 * sysdeps/powerpc/soft-fp/sfp-machine.h
20652 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20654 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20664 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20667 Allow copysignl PLT reference to be missing.
20669 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20670 Joseph Myers <joseph@codesourcery.com
20673 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20675 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20677 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20679 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20680 * elf/tst-tls1.c: Likewise.
20681 * elf/tst-tls10.h: Likewise.
20682 * elf/tst-tls14.c: Likewise.
20683 * elf/tst-tls2.c: Likewise.
20684 * elf/tst-tls3.c: Likewise.
20685 * elf/tst-tls4.c: Likewise.
20686 * elf/tst-tls5.c: Likewise.
20687 * elf/tst-tls6.c: Likewise.
20688 * elf/tst-tls7.c: Likewise.
20689 * elf/tst-tls8.c: Likewise.
20690 * elf/tst-tls9.c: Likewise.
20691 * elf/tst-tlsmod1.c: Likewise.
20692 * elf/tst-tlsmod13.c: Likewise.
20693 * elf/tst-tlsmod13a.c: Likewise.
20694 * elf/tst-tlsmod14a.c: Likewise.
20695 * elf/tst-tlsmod16a.c: Likewise.
20696 * elf/tst-tlsmod16b.c: Likewise.
20697 * elf/tst-tlsmod2.c: Likewise.
20698 * elf/tst-tlsmod3.c: Likewise.
20699 * elf/tst-tlsmod4.c: Likewise.
20700 * elf/tst-tlsmod5.c: Likewise.
20701 * elf/tst-tlsmod6.c: Likewise.
20703 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20706 * malloc/malloc.c: remove checks for statistics.
20708 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20711 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20712 * inet/tst-network.c: Add testcase.
20714 2013-10-17 Andreas Schwab <schwab@suse.de>
20717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20718 to determine canonical name.
20720 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20722 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20723 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20724 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20725 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20726 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20727 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20728 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20729 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20730 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20731 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20732 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20733 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20734 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20735 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20736 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20737 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20738 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20739 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20740 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20741 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20742 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20743 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20744 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20745 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20746 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20747 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20748 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20749 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20750 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20751 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20752 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20754 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20755 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20756 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20757 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20758 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20759 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20760 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20761 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20762 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20763 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20764 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20765 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20766 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20767 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20768 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20769 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20770 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20771 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20772 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20773 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20774 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20775 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20776 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20777 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20779 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20781 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20784 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20785 make result into a quiet NaN.
20787 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20789 * soft-fp/adddf3.c: Fix horizontal whitespace.
20790 * soft-fp/addsf3.c: Likewise.
20791 * soft-fp/addtf3.c: Likewise.
20792 * soft-fp/divdf3.c: Likewise.
20793 * soft-fp/divsf3.c: Likewise.
20794 * soft-fp/divtf3.c: Likewise.
20795 * soft-fp/double.h: Likewise.
20796 * soft-fp/eqdf2.c: Likewise.
20797 * soft-fp/eqsf2.c: Likewise.
20798 * soft-fp/eqtf2.c: Likewise.
20799 * soft-fp/extenddftf2.c: Likewise.
20800 * soft-fp/extended.h: Likewise.
20801 * soft-fp/extendsfdf2.c: Likewise.
20802 * soft-fp/extendsftf2.c: Likewise.
20803 * soft-fp/extendxftf2.c: Likewise.
20804 * soft-fp/fixdfdi.c: Likewise.
20805 * soft-fp/fixdfsi.c: Likewise.
20806 * soft-fp/fixdfti.c: Likewise.
20807 * soft-fp/fixsfdi.c: Likewise.
20808 * soft-fp/fixsfsi.c: Likewise.
20809 * soft-fp/fixsfti.c: Likewise.
20810 * soft-fp/fixtfdi.c: Likewise.
20811 * soft-fp/fixtfsi.c: Likewise.
20812 * soft-fp/fixtfti.c: Likewise.
20813 * soft-fp/fixunsdfdi.c: Likewise.
20814 * soft-fp/fixunsdfsi.c: Likewise.
20815 * soft-fp/fixunsdfti.c: Likewise.
20816 * soft-fp/fixunssfdi.c: Likewise.
20817 * soft-fp/fixunssfsi.c: Likewise.
20818 * soft-fp/fixunssfti.c: Likewise.
20819 * soft-fp/fixunstfdi.c: Likewise.
20820 * soft-fp/fixunstfsi.c: Likewise.
20821 * soft-fp/fixunstfti.c: Likewise.
20822 * soft-fp/floatdidf.c: Likewise.
20823 * soft-fp/floatdisf.c: Likewise.
20824 * soft-fp/floatditf.c: Likewise.
20825 * soft-fp/floatsidf.c: Likewise.
20826 * soft-fp/floatsisf.c: Likewise.
20827 * soft-fp/floatsitf.c: Likewise.
20828 * soft-fp/floattidf.c: Likewise.
20829 * soft-fp/floattisf.c: Likewise.
20830 * soft-fp/floattitf.c: Likewise.
20831 * soft-fp/floatundidf.c: Likewise.
20832 * soft-fp/floatundisf.c: Likewise.
20833 * soft-fp/floatunditf.c: Likewise.
20834 * soft-fp/floatunsidf.c: Likewise.
20835 * soft-fp/floatunsisf.c: Likewise.
20836 * soft-fp/floatunsitf.c: Likewise.
20837 * soft-fp/floatuntidf.c: Likewise.
20838 * soft-fp/floatuntisf.c: Likewise.
20839 * soft-fp/floatuntitf.c: Likewise.
20840 * soft-fp/fmadf4.c: Likewise.
20841 * soft-fp/fmasf4.c: Likewise.
20842 * soft-fp/fmatf4.c: Likewise.
20843 * soft-fp/gedf2.c: Likewise.
20844 * soft-fp/gesf2.c: Likewise.
20845 * soft-fp/getf2.c: Likewise.
20846 * soft-fp/ledf2.c: Likewise.
20847 * soft-fp/lesf2.c: Likewise.
20848 * soft-fp/letf2.c: Likewise.
20849 * soft-fp/muldf3.c: Likewise.
20850 * soft-fp/mulsf3.c: Likewise.
20851 * soft-fp/multf3.c: Likewise.
20852 * soft-fp/negdf2.c: Likewise.
20853 * soft-fp/negsf2.c: Likewise.
20854 * soft-fp/negtf2.c: Likewise.
20855 * soft-fp/op-1.h: Likewise.
20856 * soft-fp/op-2.h: Likewise.
20857 * soft-fp/op-4.h: Likewise.
20858 * soft-fp/op-8.h: Likewise.
20859 * soft-fp/op-common.h: Likewise.
20860 * soft-fp/quad.h: Likewise.
20861 * soft-fp/single.h: Likewise.
20862 * soft-fp/soft-fp.h: Likewise.
20863 * soft-fp/sqrtdf2.c: Likewise.
20864 * soft-fp/sqrtsf2.c: Likewise.
20865 * soft-fp/sqrttf2.c: Likewise.
20866 * soft-fp/subdf3.c: Likewise.
20867 * soft-fp/subsf3.c: Likewise.
20868 * soft-fp/subtf3.c: Likewise.
20869 * soft-fp/truncdfsf2.c: Likewise.
20870 * soft-fp/trunctfdf2.c: Likewise.
20871 * soft-fp/trunctfsf2.c: Likewise.
20872 * soft-fp/trunctfxf2.c: Likewise.
20873 * soft-fp/unorddf2.c: Likewise.
20874 * soft-fp/unordsf2.c: Likewise.
20875 * soft-fp/unordtf2.c: Likewise.
20877 2013-10-15 Joseph Myers <joseph@codesourcery.com>
20879 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20880 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20882 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
20884 * elf/dl-libc.c: Clear initfini list after freeing.
20886 2013-10-14 Joseph Myers <joseph@codesourcery.com>
20888 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20889 * soft-fp/addsf3.c: Likewise.
20890 * soft-fp/addtf3.c: Likewise.
20891 * soft-fp/divdf3.c: Likewise.
20892 * soft-fp/divsf3.c: Likewise.
20893 * soft-fp/divtf3.c: Likewise.
20894 * soft-fp/double.h: Likewise.
20895 * soft-fp/eqdf2.c: Likewise.
20896 * soft-fp/eqsf2.c: Likewise.
20897 * soft-fp/eqtf2.c: Likewise.
20898 * soft-fp/extenddftf2.c: Likewise.
20899 * soft-fp/extended.h: Likewise.
20900 * soft-fp/extendsfdf2.c: Likewise.
20901 * soft-fp/extendsftf2.c: Likewise.
20902 * soft-fp/extendxftf2.c: Likewise.
20903 * soft-fp/fixdfdi.c: Likewise.
20904 * soft-fp/fixdfsi.c: Likewise.
20905 * soft-fp/fixdfti.c: Likewise.
20906 * soft-fp/fixsfdi.c: Likewise.
20907 * soft-fp/fixsfsi.c: Likewise.
20908 * soft-fp/fixsfti.c: Likewise.
20909 * soft-fp/fixtfdi.c: Likewise.
20910 * soft-fp/fixtfsi.c: Likewise.
20911 * soft-fp/fixtfti.c: Likewise.
20912 * soft-fp/fixunsdfdi.c: Likewise.
20913 * soft-fp/fixunsdfsi.c: Likewise.
20914 * soft-fp/fixunsdfti.c: Likewise.
20915 * soft-fp/fixunssfdi.c: Likewise.
20916 * soft-fp/fixunssfsi.c: Likewise.
20917 * soft-fp/fixunssfti.c: Likewise.
20918 * soft-fp/fixunstfdi.c: Likewise.
20919 * soft-fp/fixunstfsi.c: Likewise.
20920 * soft-fp/fixunstfti.c: Likewise.
20921 * soft-fp/floatdidf.c: Likewise.
20922 * soft-fp/floatdisf.c: Likewise.
20923 * soft-fp/floatditf.c: Likewise.
20924 * soft-fp/floatsidf.c: Likewise.
20925 * soft-fp/floatsisf.c: Likewise.
20926 * soft-fp/floatsitf.c: Likewise.
20927 * soft-fp/floattidf.c: Likewise.
20928 * soft-fp/floattisf.c: Likewise.
20929 * soft-fp/floattitf.c: Likewise.
20930 * soft-fp/floatundidf.c: Likewise.
20931 * soft-fp/floatundisf.c: Likewise.
20932 * soft-fp/floatunsidf.c: Likewise.
20933 * soft-fp/floatunsisf.c: Likewise.
20934 * soft-fp/floatuntidf.c: Likewise.
20935 * soft-fp/floatuntisf.c: Likewise.
20936 * soft-fp/floatuntitf.c: Likewise.
20937 * soft-fp/fmadf4.c: Likewise.
20938 * soft-fp/fmasf4.c: Likewise.
20939 * soft-fp/fmatf4.c: Likewise.
20940 * soft-fp/gedf2.c: Likewise.
20941 * soft-fp/gesf2.c: Likewise.
20942 * soft-fp/getf2.c: Likewise.
20943 * soft-fp/ledf2.c: Likewise.
20944 * soft-fp/lesf2.c: Likewise.
20945 * soft-fp/letf2.c: Likewise.
20946 * soft-fp/muldf3.c: Likewise.
20947 * soft-fp/mulsf3.c: Likewise.
20948 * soft-fp/multf3.c: Likewise.
20949 * soft-fp/negdf2.c: Likewise.
20950 * soft-fp/negsf2.c: Likewise.
20951 * soft-fp/negtf2.c: Likewise.
20952 * soft-fp/op-1.h: Likewise.
20953 * soft-fp/op-2.h: Likewise.
20954 * soft-fp/op-4.h: Likewise.
20955 * soft-fp/op-8.h: Likewise.
20956 * soft-fp/op-common.h: Likewise.
20957 * soft-fp/quad.h: Likewise.
20958 * soft-fp/single.h: Likewise.
20959 * soft-fp/soft-fp.h: Likewise.
20960 * soft-fp/sqrtdf2.c: Likewise.
20961 * soft-fp/sqrtsf2.c: Likewise.
20962 * soft-fp/sqrttf2.c: Likewise.
20963 * soft-fp/subdf3.c: Likewise.
20964 * soft-fp/subsf3.c: Likewise.
20965 * soft-fp/subtf3.c: Likewise.
20966 * soft-fp/truncdfsf2.c: Likewise.
20967 * soft-fp/trunctfdf2.c: Likewise.
20968 * soft-fp/trunctfsf2.c: Likewise.
20969 * soft-fp/trunctfxf2.c: Likewise.
20970 * soft-fp/unorddf2.c: Likewise.
20971 * soft-fp/unordsf2.c: Likewise.
20972 * soft-fp/unordtf2.c: Likewise.
20974 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
20977 * misc/error.c (error_tail): Fix possible buffer overflow.
20979 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20982 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20985 2013-10-14 P. J. McDermott <pj@pehjota.net>
20988 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20989 testing pipefail option.
20991 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20993 * soft-fp/double.h: Indent preprocessor directives inside #if.
20994 * soft-fp/extended.h: Likewise.
20995 * soft-fp/op-2.h: Likewise.
20996 * soft-fp/op-4.h: Likewise.
20997 * soft-fp/op-common.h: Likewise.
20998 * soft-fp/quad.h: Likewise.
20999 * soft-fp/single.h: Likewise.
21000 * soft-fp/soft-fp.h: Likewise.
21002 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21004 * iconv/iconv_prog.c: Fix typos.
21005 * stdio-common/psiginfo-data.h: Likewise.
21007 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21010 * locale/setlocale.c: Fix typo.
21012 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21015 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21016 signaling NaN arguments.
21017 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21018 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21021 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21022 unordered operands.
21023 * soft-fp/gesf2.c (__gesf2): Likewise.
21024 * soft-fp/getf2.c (__getf2): Likewise.
21025 * soft-fp/ledf2.c (__ledf2): Likewise.
21026 * soft-fp/lesf2.c (__lesf2): Likewise.
21027 * soft-fp/letf2.c (__letf2): Likewise.
21029 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21030 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21031 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21032 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21033 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21034 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21035 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21036 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21037 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21038 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21039 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21040 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21041 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21042 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21043 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21044 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21045 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21046 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21047 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21048 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21049 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21050 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21051 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21052 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21053 * soft-fp/floattidf.c (__floattidf): Likewise.
21054 * soft-fp/floattisf.c (__floattisf): Likewise.
21055 * soft-fp/floattitf.c (__floattitf): Likewise.
21056 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21057 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21058 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21059 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21060 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21061 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21062 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21063 * soft-fp/gesf2.c (__gesf2): Likewise.
21064 * soft-fp/getf2.c (__getf2): Likewise.
21065 * soft-fp/ledf2.c (__ledf2): Likewise.
21066 * soft-fp/lesf2.c (__lesf2): Likewise.
21067 * soft-fp/letf2.c (__letf2): Likewise.
21069 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21070 Undefine and redefine.
21071 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21072 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21073 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21074 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21075 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21076 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21077 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21078 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21079 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21080 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21081 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21082 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21083 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21084 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21085 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21088 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21089 without decrementing exponent if mantissa >= that for the
21090 denominator, not >.
21091 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21092 denominator, not >. Decrement exponent in < case instead of
21093 incrementing in >= case.
21094 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21095 without decrementing exponent if mantissa >= that for the
21096 denominator, not >.
21098 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21099 computing saturated result for unsigned overflow.
21101 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21102 Jeff Law <law@redhat.com>
21104 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21105 (atan2Mp): Add systemtap probe marker.
21106 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21107 (__ieee754_log): Add systemtap probe marker.
21108 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21109 (atanMp): Add systemtap probe marker.
21110 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21111 (tanMp): Add systemtap probe marker.
21112 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21113 (__slowexp): Add systemtap probe marker.
21114 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21115 (__slowpow): Add systemtap probe marker.
21116 * manual/probes.texi: Document probes.
21118 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21121 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21123 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21125 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21126 written to buffer but not flushed.
21127 * libio/iofwrite_u.c: Likewise.
21128 * libio/iopadn.c: Return bytes returned even if EOF was
21130 * libio/iowpadn.c: Likewise.
21131 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21132 if _IO_padn does not write the whole buffer.
21133 [!COMPILE_WPRINTF] (PAD): Likewise.
21135 2013-10-10 David S. Miller <davem@davemloft.net>
21137 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21140 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21142 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21143 instead of FSF address.
21144 * soft-fp/fixdfti.c: Likewise.
21145 * soft-fp/fixsfti.c: Likewise.
21146 * soft-fp/fixtfti.c: Likewise.
21147 * soft-fp/fixunsdfti.c: Likewise.
21148 * soft-fp/fixunssfti.c: Likewise.
21149 * soft-fp/fixunstfti.c: Likewise.
21150 * soft-fp/floattidf.c: Likewise.
21151 * soft-fp/floattisf.c: Likewise.
21152 * soft-fp/floattitf.c: Likewise.
21153 * soft-fp/floatuntidf.c: Likewise.
21154 * soft-fp/floatuntisf.c: Likewise.
21155 * soft-fp/floatuntitf.c: Likewise.
21156 * soft-fp/trunctfxf2.c: Likewise.
21158 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21159 * soft-fp/fixdfti.c: Likewise.
21160 * soft-fp/fixsfti.c: Likewise.
21161 * soft-fp/fixtfti.c: Likewise.
21162 * soft-fp/fixunsdfti.c: Likewise.
21163 * soft-fp/fixunssfti.c: Likewise.
21164 * soft-fp/fixunstfti.c: Likewise.
21165 * soft-fp/floattidf.c: Likewise.
21166 * soft-fp/floattisf.c: Likewise.
21167 * soft-fp/floattitf.c: Likewise.
21168 * soft-fp/floatuntidf.c: Likewise.
21169 * soft-fp/floatuntisf.c: Likewise.
21170 * soft-fp/floatuntitf.c: Likewise.
21171 * soft-fp/trunctfxf2.c: Likewise.
21173 2013-10-10 David S. Miller <davem@davemloft.net>
21175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21177 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21179 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21180 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21181 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21182 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21183 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21184 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21185 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21187 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21188 for NaNs before doing comparisons on argument.
21189 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21192 2013-10-10 Will Newton <will.newton@linaro.org>
21194 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21195 passed to _int_memalign does not overflow.
21197 2013-10-10 Torvald Riegel <triegel@redhat.com>
21199 * scripts/bench.pl: Add include-sources directive.
21200 * benchtests/README: Update documentation.
21202 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21204 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21205 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21206 instead of FP_INIT_ROUNDMODE.
21207 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21208 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21211 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21212 copy class of input value.
21213 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21214 not handle exceptions.
21215 * soft-fp/negsf2.c (__negsf2): Likewise.
21216 * soft-fp/negtf2.c (__negtf2): Likewise.
21217 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21219 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21221 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21222 semicolon. From Linux kernel.
21224 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21226 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21228 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21231 * manual/socket.texi: Added statement about buffer
21232 for gethostbyname2_r.
21234 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21236 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21237 Use .p2align directive instead, throughout.
21238 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21239 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21240 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21241 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21242 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21243 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21244 * sysdeps/x86_64/strchr.S: Likewise.
21245 * sysdeps/x86_64/strrchr.S: Likewise.
21247 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21249 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21251 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21253 * sysdeps/generic/math_private.h (__mpsin1): Remove
21255 (__mpcos1): Likewise.
21256 (__mpsin): New argument __range_reduce.
21257 (__mpcos): Likewise.
21258 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21259 (slow): Use __mpsin and __mpcos.
21263 (sloww1): Likewise.
21264 (sloww2): Likewise.
21265 (bsloww): Likewise.
21266 (bsloww1): Likewise.
21267 (bsloww2): Likewise.
21268 (cslow2): Likewise.
21269 (csloww): Likewise.
21270 (csloww1): Likewise.
21271 (csloww2): Likewise.
21272 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21273 range_reduce. Merge in __mpsin1.
21274 (__mpcos): Likewise.
21275 (__mpsin1): Remove.
21276 (__mpcos1): Likewise.
21278 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21280 * locale/loadlocale.c (_nl_intern_locale_data): Use
21282 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21283 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21284 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21285 obstack data is appropriately aligned.
21286 (obstack_int32_grow_fast): Likewise.
21287 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21288 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21289 (add_locale_uint32_array): Likewise.
21291 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21293 * benchtests/Makefile: Remove ARGLIST and RET variables.
21294 ($(objpfx)bench-%.c): Pass only function name to the script.
21295 * benchtests/README: Update documentation.
21296 * benchtests/acos-inputs: Add new directives.
21297 * benchtests/acosh-inputs: Likewise.
21298 * benchtests/asin-inputs: Likewise.
21299 * benchtests/asinh-inputs: Likewise.
21300 * benchtests/atan-inputs: Likewise.
21301 * benchtests/atanh-inputs: Likewise.
21302 * benchtests/cos-inputs: Likewise.
21303 * benchtests/cosh-inputs: Likewise.
21304 * benchtests/exp-inputs: Likewise.
21305 * benchtests/log-inputs: Likewise.
21306 * benchtests/pow-inputs: Likewise.
21307 * benchtests/rint-inputs: Likewise.
21308 * benchtests/sin-inputs: Likewise.
21309 * benchtests/sinh-inputs: Likewise.
21310 * benchtests/tan-inputs: Likewise.
21311 * benchtests/tanh-inputs: Likewise.
21312 * scripts/bench.pl: Add support for new directives.
21314 2013-10-07 Alan Modra <amodra@gmail.com>
21316 * README: Fix careless merge.
21318 2013-10-05 Alan Modra <amodra@gmail.com>
21320 * NEWS: Mention powerpc64le support and bugs fixed.
21321 * README: Both big-endian and little-endian powerpc64 supported.
21323 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21325 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21326 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21327 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21328 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21330 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21332 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21335 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21337 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21338 Move -mhard-float appending from
21339 ports/sysdeps/powerpc/powerpc32/Makefile.
21340 [$(with-fp) = yes] (ASFLAGS): Likewise.
21341 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21342 * sysdeps/powerpc/nofpu: Move directory from
21343 ports/sysdeps/powerpc/nofpu.
21344 * sysdeps/powerpc/soft-fp: Move directory from
21345 ports/sysdeps/powerpc/soft-fp.
21346 * sysdeps/powerpc/powerpc32/405: Move directory from
21347 ports/sysdeps/powerpc/powerpc32/405.
21348 * sysdeps/powerpc/powerpc32/440: Move directory from
21349 ports/sysdeps/powerpc/powerpc32/440.
21350 * sysdeps/powerpc/powerpc32/464: Move directory from
21351 ports/sysdeps/powerpc/powerpc32/464.
21352 * sysdeps/powerpc/powerpc32/476: Move directory from
21353 ports/sysdeps/powerpc/powerpc32/476.
21354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21355 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21359 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21361 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21363 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21364 * README: Update for powerpc-*-linux-gnu software floating point
21367 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21368 case to powerpc/powerpc32*.
21369 * sysdeps/unix/sysv/linux/configure: Regenerated.
21371 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21372 (_FPU_MASK_OM): Define as 0x04.
21373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21381 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21384 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21387 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21388 and setcontext_e500.
21390 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21392 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21394 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21396 * manual/threads.texi (Default Thread Attributes): Fix typo.
21398 2013-10-04 Will Newton <will.newton@linaro.org>
21400 * malloc/Makefile: Add tst-memalign.
21401 * malloc/tst-memalign.c: New file.
21403 * malloc/tst-posix_memalign.c: Add comments.
21404 (do_test): Add comments and call free on all potentially
21405 allocated pointers. Add space after cast.
21407 * malloc/tst-pvalloc.c: Add comments.
21408 (do_test): Add comments and call free on all potentially
21409 allocated pointers. Remove duplicate check for NULL pointer.
21410 Add space after cast.
21412 * malloc/tst-valloc.c: Add comments.
21413 (do_test): Add comments and call free on all potentially
21414 allocated pointers. Remove duplicate check for NULL pointer.
21415 Add space after cast.
21417 2013-10-04 Alan Modra <amodra@gmail.com>
21419 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21420 Use stdint types in rather than __attribute__((mode())).
21421 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21423 2013-10-04 Alan Modra <amodra@gmail.com>
21425 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21426 Correct handling of unaligned relocs for little-endian.
21427 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21429 2013-10-04 Alan Modra <amodra@gmail.com>
21431 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21432 * configure: Regenerate.
21433 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21434 * shlib-versions: Likewise.
21436 2013-10-04 Alan Modra <amodra@gmail.com>
21438 * string/tester.c (test_memrchr): Increment reported test cycle.
21440 2013-10-04 Alan Modra <amodra@gmail.com>
21442 * string/test-memcpy.c (do_one_test): When reporting errors, print
21443 string address and don't overrun end of string.
21445 2013-10-04 Alan Modra <amodra@gmail.com>
21447 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21448 insrdi. Make better use of reg selection to speed exit slightly.
21449 Schedule entry path a little better. Remove useless "are we done"
21450 checks on entry to main loop. Handle wrapping around zero address.
21451 Correct main loop count. Handle single left-over word from main
21452 loop inline rather than by using loop_small. Remove extra word
21453 case in loop_small caused by wrong loop count. Add little-endian
21455 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21456 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21458 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21459 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21460 support. Avoid rlwimi.
21461 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21463 2013-10-04 Alan Modra <amodra@gmail.com>
21465 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21466 insrdi. Formatting.
21467 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21468 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21469 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21470 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21471 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21472 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21474 2013-10-04 Alan Modra <amodra@gmail.com>
21476 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21477 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21478 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21479 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21480 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21481 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21482 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21483 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21484 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21485 use of regs. Use power7 mtocrf. Tidy function tails.
21487 2013-10-04 Alan Modra <amodra@gmail.com>
21489 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21490 Formatting. Consistently use rXXX register defines or rN defines.
21491 Use early exit labels that avoid restoring unused non-volatile regs.
21492 Make cr field use more consistent with rWORDn compares. Rename
21493 regs used as shift registers for unaligned loop, using rN defines
21494 for short lifetime/multiple use regs.
21495 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21496 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21497 addi 1,1,64 to pop stack frame. Simplify return value code.
21498 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21500 2013-10-04 Alan Modra <amodra@gmail.com>
21502 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21503 support. Correct typos, formatting. Optimize tail. Use insrdi
21504 rather than rlwimi.
21505 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21506 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21507 little-endian support. Correct typos.
21508 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21509 rather than rlwimi.
21510 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21511 in loop and entry code to keep "and." results.
21512 (strchr): Add little-endian support. Comment. Move cntlzd
21514 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21516 2013-10-04 Alan Modra <amodra@gmail.com>
21518 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21519 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21520 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21521 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21523 2013-10-04 Alan Modra <amodra@gmail.com>
21525 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21526 (rTMP): Define as r11.
21527 (strcmp): Add little-endian support. Optimise tail.
21528 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21529 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21530 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21531 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21532 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21533 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21534 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21536 2013-10-04 Alan Modra <amodra@gmail.com>
21538 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21539 little-endian support. Remove unnecessary "are we done" tests.
21540 Handle "s" wrapping around zero and extremely large "size".
21541 Correct main loop count. Handle single left-over word from main
21542 loop inline rather than by using small_loop. Correct comments.
21543 Delete "zero" tail, use "end_max" instead.
21544 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21546 2013-10-04 Alan Modra <amodra@gmail.com>
21548 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21549 support. Don't branch over align.
21550 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21551 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21552 support. Rearrange tmp reg use to suit. Comment.
21553 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21555 2013-10-04 Alan Modra <amodra@gmail.com>
21557 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21559 2013-10-04 Alan Modra <amodra@gmail.com>
21561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21562 conditional form of branch and link when obtaining pc.
21563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21565 2013-10-04 Alan Modra <amodra@gmail.com>
21567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21572 2013-10-04 Alan Modra <amodra@gmail.com>
21574 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21575 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21576 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21577 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21578 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21579 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21580 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21581 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21582 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21583 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21585 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21586 Alistair Popple <alistair@ozlabs.au.ibm.com>
21587 Alan Modra <amodra@gmail.com>
21590 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21591 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21592 _dl_hwcap access for little-endian.
21593 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21594 destroy vmx regs when saving unaligned.
21595 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21596 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21597 destroy vmx regs when saving unaligned.
21599 2013-10-04 Alan Modra <amodra@gmail.com>
21601 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21602 Don't use a union to pack hi/low value.
21604 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21606 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21608 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21609 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21610 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21611 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21612 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21614 2013-10-04 Alan Modra <amodra@gmail.com>
21616 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21617 constants to usual value for .cst8 section, and remove redundant
21619 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21620 constant for 0x1p52. Load little-endian words of double from
21621 correct stack offsets.
21623 2013-10-04 Alan Modra <amodra@gmail.com>
21625 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21626 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21627 words of double from correct stack offsets.
21628 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21629 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21630 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21631 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21632 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21633 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21634 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21635 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21636 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21637 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21638 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21639 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21640 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21641 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21642 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21643 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21644 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21646 2013-10-04 Alan Modra <amodra@gmail.com>
21648 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21649 64-bit int/double union.
21650 (_FPU_SETCW): Likewise.
21651 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21652 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21654 2013-10-04 Alan Modra <amodra@gmail.com>
21656 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21657 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21659 2013-10-04 Alan Modra <amodra@gmail.com>
21661 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21662 use vector int constants.
21663 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21665 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21667 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21668 array with long long.
21669 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21670 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21671 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21672 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21673 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21674 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21675 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21676 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21677 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21678 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21679 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21680 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21681 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21683 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21685 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21686 (__signbit): Likewise. Correct for little-endian.
21687 (__signbitl): Call __signbit.
21688 (lrint): Correct for little-endian.
21689 (lrintf): Call lrint.
21691 2013-10-04 Alan Modra <amodra@gmail.com>
21693 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21694 union 32-bit int array member with 64-bit int array.
21695 (t515, tm256): Double rather than long double.
21696 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21698 2013-10-04 Alan Modra <amodra@gmail.com>
21700 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21702 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21703 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21704 version of math_ldbl.h.
21706 2013-10-04 Alan Modra <amodra@gmail.com>
21708 [BZ #15734], [BZ #15735]
21709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21710 all uses of ieee875 long double macros and unions. Simplify test
21711 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21712 ldbl_extract_mantissa value for ix,iy exponents. Properly
21713 normalize after ldbl_extract_mantissa, and don't add hidden bit
21714 already handled. Don't treat low word of ieee854 mantissa like
21715 low word of IBM long double and mask off bit when testing for
21717 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21718 all uses of ieee875 long double macros and unions. Simplify tests
21719 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21720 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21721 two1022, instead use their values. Recognise that tests for large
21722 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21723 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21724 Rewrite all uses of ieee875 long double macros and unions. Simplify
21725 test for 0.0L and nan. Correct negation.
21726 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21727 ieee875 long double macros and unions. Correct output for large
21728 magnitude x. Correct absolute value calculation.
21729 (__erfcl): Likewise.
21730 * math/libm-test.inc: Add tests for errors discovered in IBM long
21731 double versions of fmodl, remainderl, erfl and erfcl.
21733 2013-10-04 Alan Modra <amodra@gmail.com>
21735 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21736 all uses of ieee854 long double macros and unions. Simplify tests
21737 for long doubles that are fully specified by the high double.
21738 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21740 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21741 Remove dead code too.
21742 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21743 (__ieee754_ynl): Likewise.
21744 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21745 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21746 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21747 Remove dead code too.
21748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21749 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21750 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21751 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21753 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21755 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21756 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21757 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21758 Comment on variable precision.
21759 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21760 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21762 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21764 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21765 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21766 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21768 2013-10-04 Alan Modra <amodra@gmail.com>
21770 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21771 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21772 all uses of ieee854 long double macros and unions.
21773 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21774 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21775 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21776 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21778 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21780 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21781 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21782 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21783 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21784 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21785 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21786 Simplify sign and nan test too.
21787 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21788 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21789 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21790 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21792 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21793 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21795 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21796 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21797 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21799 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21802 2013-10-04 Alan Modra <amodra@gmail.com>
21804 * stdio-common/printf_size.c (__printf_size): Don't use
21805 union ieee854_long_double in fpnum union.
21806 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21807 signbit macro to retrieve sign from long double.
21808 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21809 retrieve sign from long double.
21810 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21811 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21812 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21813 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21814 * math/test-misc.c (main): Don't use union ieee854_long_double.
21816 2013-10-04 Alan Modra <amodra@gmail.com>
21819 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21820 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21821 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21822 calculation. Remove unnecessary test for denormal exponent.
21823 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21824 Correct handling of denormals. Avoid undefined shift behaviour.
21825 Correct normalisation of low mantissa when low double is denormal.
21826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21827 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21828 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21829 Correct normalisation of low mantissa. Test for overflow of high
21830 mantissa and normalise.
21831 (ldbl_nearbyint): Use more readable constant for two52.
21832 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21833 (__mpn_construct_long_double): Fix test for overflow of high
21834 mantissa and correct normalisation. Avoid undefined shift.
21836 2013-10-04 Alan Modra <amodra@gmail.com>
21838 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21839 (union ibm_extended_long_double): Define as an array of ieee754_double.
21840 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21841 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21842 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21843 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21844 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21845 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21847 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21848 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21849 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21850 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21852 2013-10-03 Joseph Myers <joseph@codesourcery.com>
21854 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21855 page size instead of calling getpagesize.
21857 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21858 (LOCFILE_ALIGN_MASK): Likewise.
21859 (LOCFILE_ALIGN_UP): Likewise.
21860 (LOCFILE_ALIGNED_P): Likewise.
21861 * locale/programs/ld-collate.c (collate_output): Use the new
21862 macros instead of __alignof__ (int32_t).
21863 * locale/weight.h (findidx): Likewise.
21865 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
21868 * manual/string.texi: Fix strncat and wcsncat.
21870 2013-10-03 Brooks Moses <bmoses@google.com>
21873 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21874 * Makerules: ...here, and adjust associated comments.
21876 2013-10-02 Will Newton <will.newton@linaro.org>
21878 * malloc/Makefile: Add tst-pvalloc.
21879 * malloc/tst-pvalloc.c: New file.
21881 2013-10-02 Will Newton <will.newton@linaro.org>
21883 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21884 improve test coverage.
21886 2013-10-02 Will Newton <will.newton@linaro.org>
21888 * malloc/Makefile: Add tst-posix_memalign.
21889 * malloc/tst-posix_memalign.c: New file.
21891 2013-10-01 Eric Blake <eblake@redhat.com>
21893 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21894 Use __THROWNL rather than __THROW on static functions.
21896 2013-09-30 Petr Machata <pmachata@redhat.com>
21898 * elf/elf.h (R_AARCH64_ABS16): New macro.
21899 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21900 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21901 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21902 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21903 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21904 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21905 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21906 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21907 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21908 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21909 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21910 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21911 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21912 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21913 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21914 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21915 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21916 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21917 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21918 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21919 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21920 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21921 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21922 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21923 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21924 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21925 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21926 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21927 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21928 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21929 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21930 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21931 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21932 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21933 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21934 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21935 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21936 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21937 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21938 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21939 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21940 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21941 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21942 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21943 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21944 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21945 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21946 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21947 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21948 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21949 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21950 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21951 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21952 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21953 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21954 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21955 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21956 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21957 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21958 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21959 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21960 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21961 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21962 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21963 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21964 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21965 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21966 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21967 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21968 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21969 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21970 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21971 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21972 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21973 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21974 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21975 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21976 (R_AARCH64_TLSDESC_LDR): Likewise.
21977 (R_AARCH64_TLSDESC_ADD): Likewise.
21978 (R_AARCH64_TLSDESC_CALL): Likewise.
21980 2013-09-30 Andreas Schwab <schwab@suse.de>
21983 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21984 the nss database lookup.
21985 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21988 2013-09-28 Mike Frysinger <vapier@gentoo.org>
21990 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21992 2013-09-28 P. J. McDermott <pj@pehjota.net>
21994 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21995 ${Bash-specific parameter/pattern/string} parameter expansion.
21996 * sysdeps/unix/make-syscalls.sh: Likewise.
21998 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22000 * sysdeps/sh/stackguard-macros.h: New file.
22002 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22006 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22007 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22008 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22009 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22011 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22013 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22014 Fix thread ID register.
22016 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22018 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22019 [POSIX || UNIX98]: Require rather than permitting all symbols from
22021 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22022 element of struct sched_param.
22023 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22024 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22025 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22026 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22029 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22031 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22032 argument calculation.
22034 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22036 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22038 [POSIX] (pthread_attr_t): Do not require type.
22039 [POSIX] (pthread_cond_t): Likewise.
22040 [POSIX] (pthread_condattr_t): Likewise.
22041 [POSIX] (pthread_key_t): Likewise.
22042 [POSIX] (pthread_mutex_t): Likewise.
22043 [POSIX] (pthread_mutexattr_t): Likewise.
22044 [POSIX] (pthread_once_t): Likewise.
22045 [POSIX] (pthread_t): Likewise.
22046 [POSIX-based standards] (pthread_atfork): Expect function.
22048 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22049 Richard Sandiford <richard@codesourcery.com>
22051 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22052 (swap_endianness_p): New extern variable.
22053 (set_big_endian): New inline function.
22054 (maybe_swap_uint32): Likewise.
22055 (maybe_swap_uint32_array): Likewise.
22056 (maybe_swap_uint32_obstack): Likewise.
22057 * locale/programs/locfile.c: Include <stdbool.h>.
22058 (swap_endianness_p): New variable.
22059 (add_locale_uint32): Call maybe_swap_uint32.
22060 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22061 (write_locale_data): Call maybe_swap_uint32_array.
22062 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22064 (obstack_int32_grow_fast): Likewise.
22065 (output_weightwc): Call maybe_swap_uint32_obstack.
22066 (collate_output): Likewise.
22067 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22068 (OPT_LITTLE_ENDIAN): Likewise.
22069 (options): Add --little-endian and --big-endian options.
22070 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22071 * locale/programs/locarchive.c: Include "locfile.h".
22075 (create_archive): Use the new macros to access fields of
22076 structures directly mapped from or written to locale archives.
22077 (oldlocrecentcmp): Likewise.
22078 (enlarge_archive): Likewise.
22079 (insert_name): Likewise.
22080 (add_alias): Likewise.
22081 (add_locale): Likewise.
22082 (delete_locales_from_archive): Likewise.
22083 (show_archive_content): Likewise.
22084 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22087 2013-09-24 Roland McGrath <roland@hack.frob.com>
22089 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22090 http://www.gnu.org/doc/freemanuals.texi.
22091 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22093 2013-09-24 Will Newton <will.newton@linaro.org>
22095 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22098 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22100 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22103 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22105 * manual/threads.texi (POSIX Threads): Fix a typo.
22107 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22110 * string/tst-strcoll-overflow.c: New test case.
22111 * string/Makefile (xtests): Add tst-strcoll-overflow.
22112 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22113 cache if string sizes may cause integer overflow.
22116 * string/strcoll_l.c (coll_seq): New members rule, idx,
22117 save_idx and back_us.
22118 (get_next_seq_nocache): New function.
22119 (do_compare_nocache): New function.
22120 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22123 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22126 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22127 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22128 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22131 * elf/Makefile (tests): Add tst-ptrguard1.
22132 (tests-static): Add tst-ptrguard1-static.
22133 (tst-ptrguard1-ARGS): Define.
22134 (tst-ptrguard1-static-ARGS): Define.
22135 * elf/tst-ptrguard1.c: New file.
22136 * elf/tst-ptrguard1-static.c: New file.
22137 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22138 * sysdeps/i386/stackguard-macros.h: Likewise.
22139 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22140 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22141 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22142 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22143 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22144 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22146 2013-09-23 Hector Marco <hecmargi@upv.es>
22147 Ismael Ripoll <iripoll@disca.upv.es>
22148 Carlos O'Donell <carlos@redhat.com>
22151 * sysdeps/generic/stackguard-macros.h: Define
22152 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22153 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22154 Define __pointer_chk_guard_local.
22155 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22156 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22158 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22161 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22163 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22165 * include/string.h (__ffs): Declare as hidden.
22166 * string/ffs.c (__ffs): Define as hidden.
22167 * sysdeps/i386/ffs.c (__ffs): Likewise.
22168 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22169 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22170 * sysdeps/s390/ffs.c (__ffs): Likewise.
22171 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22173 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22175 * NEWS: Mention malloc probes.
22177 * malloc/arena.c (new_heap): New memory_heap_new probe.
22178 (grow_heap): New memory_heap_more probe.
22179 (shrink_heap): New memory_heap_less probe.
22180 (heap_trim): New memory_heap_free probe.
22181 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22182 (systrim): New memory_sbrk_less probe.
22183 * manual/probes.texi: Document them.
22185 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22186 * manual/probes.texi: Document it.
22188 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22189 (__libc_realloc): Add memory_realloc_retry probe.
22190 (__libc_memalign): Add memory_memalign_retry probe.
22191 (__libc_valloc): Add memory_valloc_retry probe.
22192 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22193 (__libc_calloc): Add memory_calloc_retry probe.
22194 * manual/probes.texi: Document them.
22196 * malloc/arena.c (get_free_list): Add probe
22197 memory_arena_reuse_free_list.
22198 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22199 and memory_arena_reuse.
22200 (arena_get2) [!PER_THREAD]: Likewise.
22201 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22202 memory_arena_reuse_realloc.
22203 * manual/probes.texi: Document them.
22205 * malloc/malloc.c (__libc_free): Add
22206 memory_mallopt_free_dyn_thresholds probe.
22207 (__libc_mallopt): Add multiple memory_mallopt probes.
22208 * manual/probes.texi: Document them.
22210 * malloc/malloc.c: Include stap-probe.h.
22211 (__libc_mallopt): Add memory_mallopt probe.
22212 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22213 * manual/probes.texi: New.
22214 * manual/Makefile (chapters): Add probes.
22215 * manual/threads.texi: Set next node.
22217 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22219 [BZ #15963, #13985]
22220 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22221 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22222 Add `Chinese' to `nan' entry name.
22224 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22226 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22227 (POLYNOMIAL): Likewise.
22228 (TAYLOR_SINCOS): Likewise.
22229 (TAYLOR_SLOW): Likewise.
22230 (__sin): Use TAYLOR_SINCOS.
22232 (slow): Use TAYLOR_SLOW.
22234 (bsloww): Likewise.
22235 (csloww): Likewise.
22237 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22239 * stdlib/strtod_l.c: Fix buffer overrun.
22241 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22243 * benchtests/Makefile (bench): Add sincos.
22244 * benchtests/bench-sincos.c: New file.
22246 * math/libm-test.inc (cos_test_data): New test inputs.
22247 (sin_test_data): Likewise.
22249 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22255 (sloww1): Likewise.
22256 (sloww2): Likewise.
22257 (bsloww1): Likewise.
22258 (bsloww2): Likewise.
22259 (cslow2): Likewise.
22260 (csloww1): Likewise.
22261 (csloww2): Likewise.
22263 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22272 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22274 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22275 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22276 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22277 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22278 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22279 * elf/cache.c (print_entry): Handle the new cache flags.
22281 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22282 Aldy Hernandez <aldyh@redhat.com>
22284 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22285 Change condition to [_SOFT_FLOAT].
22286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22298 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22301 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22304 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22306 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22307 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22308 (__longjmp): Use LOAD_GP to load saved GPRs.
22309 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22310 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22311 (__sigsetjmp): Use SAVE_GP to save GPRs.
22313 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22314 Do not append -msoft-float.
22315 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22317 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22319 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22321 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22324 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22325 (_FPU_GETCW): Use initial "__" on variable and field names but not
22326 on macro parameter name.
22327 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22328 parentheses around reference to macro parameter.
22330 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22332 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22334 (ctype_startup): Use uint32_t in cast and sizeof for
22337 2013-09-11 Jia Liu <proljc@gmail.com>
22339 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22341 [__FreeBSD__]: Likewise.
22343 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22345 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22346 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22347 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22348 (strchr): Remove __strchr_sse42 ifunc selection.
22349 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22350 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22352 2013-09-11 Will Newton <will.newton@linaro.org>
22354 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22355 parameter to RES. Remove hardcoded 1000 value.
22356 * benchtests/bench-skeleton.c (main): Pass RES parameter
22357 to TIMING_INIT and multiply result by 1000.
22359 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22363 2013-09-11 Andreas Schwab <schwab@suse.de>
22365 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22367 (O_TMPFILE) [__USE_GNU]: Define.
22368 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22371 2013-09-11 Will Newton <will.newton@linaro.org>
22374 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22377 2013-09-11 Will Newton <will.newton@linaro.org>
22380 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22383 2013-09-11 Will Newton <will.newton@linaro.org>
22386 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22389 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22391 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22392 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22393 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22394 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22395 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22397 2013-09-10 Allan McRae <allan@archlinux.org>
22400 * manual/arith.texi (Parsing of Floats): Clarify
22404 * manual/install.texi (Running make install): Mention
22406 * INSTALL: Regenerated.
22408 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22410 * csu/init-first.c (_init): Remove the !SHARED condition around
22411 FPU control word initialization.
22412 * elf/dl-support.c (_dl_fpu_control): New variable.
22413 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22414 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22415 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22416 * math/test-fpucw-static.c: New file.
22417 * math/test-fpucw-ieee.c: New file.
22418 * math/test-fpucw-ieee-static.c: New file.
22419 * math/Makefile (tests): Add `test-fpucw-ieee' and
22421 (tests-static): New variable.
22422 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22424 [($(build-shared),yes)]
22425 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22427 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22430 2013-09-09 Allan McRae <allan@archlinux.org>
22433 * manual/string.texi (Collation Functions): Fix typo in
22435 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22438 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22441 * libio/memstream.c (open_memstream): Fix memory leak.
22442 * libio/wmemstream.c (open_wmemstream): Likewise.
22445 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22447 2013-09-09 Will Newton <will.newton@linaro.org>
22449 * malloc/Makefile: Add tst-realloc to tests.
22450 * malloc/tst-realloc.c: New file.
22452 2013-09-09 Allan McRae <allan@archlinux.org>
22455 * COPYING: Update from GNU website to fix FSF address.
22456 * COPYING.LIB: Likewise.
22458 2013-09-06 David S. Miller <davem@davemloft.net>
22460 * po/zh_TW.po: Update Chinese (traditional) translation from
22461 translation project.
22463 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22464 Joseph Myers <joseph@codesourcery.com>
22466 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22468 (obstack_chunk_alloc): New macro.
22469 (obstack_chunk_free): Likewise.
22470 (record_offset): New function.
22471 (init_locale_data): Likewise.
22472 (align_locale_data): Likewise.
22473 (add_locale_empty): Likewise.
22474 (add_locale_raw_data): Likewise.
22475 (add_locale_raw_obstack): Likewise.
22476 (add_locale_string): Likewise.
22477 (add_locale_wstring): Likewise.
22478 (add_locale_uint32): Likewise.
22479 (add_locale_uint32_array): Likewise.
22480 (add_locale_char): Likewise.
22481 (start_locale_structure): Likewise.
22482 (end_locale_structure): Likewise.
22483 (start_locale_prelude): Likewise.
22484 (end_locale_prelude): Likewise.
22485 (write_locale_data): Take locale_file structure rather than an
22487 * locale/programs/locfile.h: Include "obstack.h".
22488 (struct locale_file): Change to store locale file contents instead
22490 (init_locale_data): New prototype.
22491 (align_locale_data): Likewise.
22492 (add_locale_empty): Likewise.
22493 (add_locale_raw_data): Likewise.
22494 (add_locale_raw_obstack): Likewise.
22495 (add_locale_string): Likewise.
22496 (add_locale_wstring): Likewise.
22497 (add_locale_uint32): Likewise.
22498 (add_locale_uint32_array): Likewise.
22499 (add_locale_char): Likewise.
22500 (start_locale_structure): Likewise.
22501 (end_locale_structure): Likewise.
22502 (start_locale_prelude): Likewise.
22503 (end_locale_prelude): Likewise.
22504 (write_locale_data): Update prototype.
22505 * locale/programs/3level.h (struct TABLE): Remove result field.
22506 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22507 Use new locale_file interface.
22508 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22509 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22510 * locale/programs/ld-address.c (address_output): Use new
22511 locale_file interface.
22512 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22514 (collate_finish): Don't call collseq_table_finalize.
22515 (collate_output): Use new locale_file interface.
22516 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22518 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22519 (TABLE): Move defines earlier in file.
22520 (ELEMENT): Likewise.
22521 (DEFAULT): Likewise.
22522 (wctrans_table_add): Move macro and inline function earlier in
22524 (struct wctype_table): Move type earlier in file.
22525 (add_locale_wctype_table): New static prototype.
22526 (struct locale_ctype_t): Use logical types instead of struct iovec
22527 pointers for members.
22528 (ctype_output): Use new locale_file interface.
22529 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22530 new locale_file interface.
22531 (allocate_arrays): Update for use of new locale_file interface.
22532 * locale/programs/ld-identification.c (identification_output): Use
22533 new locale_file interface.
22534 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22535 * locale/programs/ld-messages.c (messages_output): Likewise.
22536 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22537 * locale/programs/ld-name.c (name_output): Likewise.
22538 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22539 * locale/programs/ld-paper.c (paper_output): Likewise.
22540 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22541 * locale/programs/ld-time.c (time_output): Likewise.
22543 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22545 * benchtests/Makefile: Add memrchr benchmark.
22546 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22547 benchmark as memrchr.
22548 * benchtests/bench-memrchr-ifunc.c: New file.
22549 * benchtests/bench-memrchr.c: New file.
22551 2013-09-06 Will Newton <will.newton@linaro.org>
22553 * benchtests/Makefile (string-bench): Add memcpy.
22555 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22556 Cong Wang <amwang@redhat.com>
22559 * sysdeps/unix/sysv/linux/bits/in.h
22560 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22561 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22562 before __USE_KERNEL_IPV6_DEFS uses.
22563 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22565 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22566 sockaddr_in6, or ipv6_mreq.
22568 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22570 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22571 memory access for final bytes in some large inputs.
22572 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22574 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22576 * string/test-memrchr.c: New file.
22577 * string/test-memrchr-ifunc.c: New file.
22578 * string/Makefile: Add new memrchr testcase.
22580 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22582 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22583 fanotify_init returns EPERM.
22585 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22587 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22589 (top level): Treat second token from macro or constant entries for
22590 allowed headers as allowed.
22591 * include/complex.h: Condition internal declarations on
22593 * include/fenv.h: Condition include of <stdbool.h> and internal
22594 declarations on [!_ISOMAC].
22596 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22599 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22601 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22603 * configure.in (--enable-versioning): Remove configure option.
22604 (libc_cv_asm_symver_directive): Remove configure test.
22605 (libc_cv_ld_version_script_option): Likewise.
22606 (VERSIONING): Remove variable and AC_SUBST.
22607 (DO_VERSIONING): Remove AC_DEFINE.
22608 * configure: Regenerated.
22609 * config.h.in (DO_VERSIONING): Remove macro.
22610 * Makerules [$(versioning) = yes]: Change conditionals to
22611 [$(build-shared) = yes].
22612 * config.make.in (versioning): Remove variable.
22613 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22614 [$(build-shared) = yes].
22615 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22616 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22617 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22618 [$(build-shared) = yes].
22619 * extra-lib.mk [$(versioning) = yes]: Likewise.
22620 * hurd/Makefile [$(versioning) = yes]: Likewise.
22621 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22623 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22625 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22626 [SHARED && !NO_HIDDEN].
22627 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22629 [SHARED && DO_VERSIONING]: Likewise..
22630 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22631 [$(build-shared) = yes].
22632 * manual/install.texi (--disable-versioning): Remove
22634 * INSTALL: Regenerated.
22635 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22637 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22638 [$(build-shared) = yes].
22639 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22640 * sysdeps/i386/i686/multiarch/strstr-c.c
22641 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22642 [SHARED && !NO_HIDDEN].
22643 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22644 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22645 * sysdeps/powerpc/powerpc32/dl-machine.c
22646 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22647 * sysdeps/powerpc/powerpc32/sysdep.h
22648 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22649 to [SHARED && PIC && !NO_HIDDEN].
22650 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22651 conditional to [SHARED].
22653 2013-09-04 Will Newton <will.newton@linaro.org>
22655 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22656 * benchtests/bench-string.h: Include bench-timing.h instead
22657 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22658 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22659 call to HP_TIMING_DIFF_INIT.
22660 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22661 instead of hp-timing.h macros.
22662 * benchtests/bench-memchr.c: Likewise.
22663 * benchtests/bench-memcmp.c: Likewise.
22664 * benchtests/bench-memcpy.c: Likewise.
22665 * benchtests/bench-memmem.c: Likewise.
22666 * benchtests/bench-memmove.c: Likewise.
22667 * benchtests/bench-memset.c: Likewise.
22668 * benchtests/bench-rawmemchr.c: Likewise.
22669 * benchtests/bench-strcasecmp.c: Likewise.
22670 * benchtests/bench-strcasestr.c: Likewise.
22671 * benchtests/bench-strcat.c: Likewise.
22672 * benchtests/bench-strchr.c: Likewise.
22673 * benchtests/bench-strcmp.c: Likewise.
22674 * benchtests/bench-strcpy.c: Likewise.
22675 * benchtests/bench-strcpy_chk.c: Likewise.
22676 * benchtests/bench-strlen.c: Likewise.
22677 * benchtests/bench-strncasecmp.c: Likewise.
22678 * benchtests/bench-strncat.c: Likewise.
22679 * benchtests/bench-strncmp.c: Likewise.
22680 * benchtests/bench-strncpy.c: Likewise.
22681 * benchtests/bench-strnlen.c: Likewise.
22682 * benchtests/bench-strpbrk.c: Likewise.
22683 * benchtests/bench-strrchr.c: Likewise.
22684 * benchtests/bench-strspn.c: Likewise.
22685 * benchtests/bench-strstr.c: Likewise.
22687 2013-09-04 Will Newton <will.newton@linaro.org>
22689 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22691 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22694 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22695 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22696 * math/libm-test.inc (lgamma_test_data): Add more tests.
22697 * sysdeps/i386/fpu/libm-test-ulps: Update.
22698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22700 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22702 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22706 Add strcmp-sse2-unaligned
22707 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22709 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22711 * Versions.def (libc): Add GLIBC_2.19.
22713 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22715 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22716 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22718 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22721 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22722 intermediate calculations in recurrence.
22723 (__ieee754_ynf): Likewise.
22724 * math/libm-test.inc (jn_test_data): Do not allow spurious
22725 underflow exception. Add more tests.
22726 (yn_test_data): Add more tests.
22727 * sysdeps/i386/fpu/libm-test-ulps: Update.
22728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22730 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22734 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22736 * csu/init-first.c: Fix then/than typos.
22737 * locale/programs/ld-collate.c: Likewise.
22738 * locale/programs/linereader.h: Likewise.
22739 * manual/charset.texi: Likewise.
22740 * manual/filesys.texi: Likewise.
22741 * manual/stdio.texi: Likewise.
22742 * manual/string.texi: Likewise.
22743 * stdlib/fmtmsg.c: Likewise.
22744 * sysdeps/i386/stpncpy.S: Likewise.
22745 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22746 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22747 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22748 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22750 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22752 * elf/dl-open.c: Fix typos.
22753 * iconvdata/gbbig5.c: Likewise.
22754 * iconvdata/iso-2022-jp.c: Likewise.
22755 * iconv/gconv_int.h: Likewise.
22756 * iconv/loop.c: Likewise.
22757 * nis/rpcsvc/nis.h: Likewise.
22758 * resolv/ns_name.c: Likewise.
22759 * stdio-common/vfscanf.c: Likewise.
22760 * streams/stropts.h: Likewise.
22761 * sunrpc/rpc_thread.c: Likewise.
22762 * sysdeps/i386/strpbrk.S: Likewise.
22763 * sysdeps/ieee754/k_standard.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22765 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22766 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22767 * sysdeps/mach/hurd/profil.c: Likewise.
22768 * sysdeps/s390/dl-procinfo.h: Likewise.
22769 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22770 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22771 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22772 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22773 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22775 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22777 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22780 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22782 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22783 aix specific files.
22784 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22785 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22786 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22787 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22788 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22789 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22790 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22791 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22793 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22794 Roland McGrath <roland@hack.frob.com>
22796 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22797 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22799 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22801 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22802 __executable_start symbol instead of _start.
22804 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22806 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22807 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22809 * sysdeps/gnu/ldsodefs.h: ... this new file.
22811 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22812 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22813 instead of ELFOSABI_LINUX.
22815 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22816 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22817 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22818 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22820 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22821 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22822 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22824 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22825 (ibm_extended_long_double): Add ieee_nan member.
22826 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22827 (do_test): New function.
22829 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22831 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22832 functions, renamed from truncdfsf_test, trunctfsf_test,
22834 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22836 (do_test): Run all these.
22838 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22840 * argp/argp-help.c: Fix typos.
22841 * argp/argp-parse.c: Likewise.
22842 * debug/backtracesyms.c: Likewise.
22843 * elf/elf.h: Likewise.
22844 * malloc/malloc.c: Likewise.
22845 * nis/nis_print.c: Likewise.
22846 * resolv/res_comp.c: Likewise.
22847 * stdlib/stdlib.h: Likewise.
22848 * sunrpc/clnt_tcp.c: Likewise.
22849 * sunrpc/clnt_udp.c: Likewise.
22850 * sunrpc/clnt_unix.c: Likewise.
22851 * sysdeps/unix/bsd/ptsname.c: Likewise.
22852 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22853 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22860 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22862 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22864 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22867 2013-08-27 Mike Frysinger <vapier@gentoo.org>
22870 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22871 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22872 ($(objpfx)bug-dl-leaf): New rule.
22873 ($(objpfx)bug-dl-leaf.so): Likewise.
22874 ($(objpfx)bug-dl-leaf.out): Likewise.
22875 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22876 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22877 * dlfcn/bug-dl-leaf.c: New test.
22878 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22879 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22880 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22881 (dlclose): Likewise.
22882 (dlmopen): Likewise.
22884 2013-08-27 Roland McGrath <roland@hack.frob.com>
22886 * include/netdb.h [!_ISOMAC]:
22887 Don't include <tls.h>.
22888 (h_errno, __libc_h_errno): Move declaration and macros out of
22891 * include/resolv.h [_RESOLV_H_]:
22892 Don't include <tls.h>.
22893 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22894 * resolv/res_libc.c: Don't include <tls.h>.
22895 (_res): Use __attribute__ ((nocommon)) in place of
22896 __attribute__ ((section (".bss"))).
22898 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22899 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22901 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22903 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22904 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22906 * resolv/res_mkquery.c: Include <sys/time.h>.
22908 * inet/ifreq.c: Moved to ...
22909 * sysdeps/unix/ifreq.c: ... here.
22910 * inet/ifreq.c: New file, true stub version.
22912 * socket/sa_len.c: New file.
22913 * socket/Makefile (aux): Add it.
22914 * sysdeps/unix/sysv/linux/Makefile
22915 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22916 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22917 and #include <socket/sa_len.c>.
22918 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22919 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22921 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22922 * bits/socket.h: ... here.
22924 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22925 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22926 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22928 2013-08-27 Andreas Schwab <schwab@suse.de>
22931 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22932 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22933 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22934 * string/test-strcasecmp.c (test_main): Run tests in several
22936 * string/test-strncasecmp.c (test_main): Likewise.
22938 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22939 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22940 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22942 (__strncasecmp_ssse3) [PIC]: Likewise.
22944 2013-08-26 Roland McGrath <roland@hack.frob.com>
22946 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22948 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22949 instead of explicitly declaring xdecrypt.
22950 * nis/nss_nis/nis-publickey.c: Likewise.
22952 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22955 * nscd/aicache.c: Include res_hconf.h.
22956 (addhstaiX): Initialize res_hconf.
22958 2013-08-26 Andreas Schwab <schwab@suse.de>
22960 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22961 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22963 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22965 * nscd/aicache.c (addhstaiX): Fix indentation.
22967 2013-08-25 Mike Frysinger <vapier@gentoo.org>
22969 * configure.ac: Quote $build_pt_chown test.
22970 * configure: Regenerated.
22972 2013-08-23 Joseph Myers <joseph@codesourcery.com>
22975 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22976 * math/s_cexpf.c (__cexpf): Likewise.
22977 * math/s_cexpl.c (__cexpl): Likewise.
22978 * math/libm-test.inc (cexp_test_data): Correct expected return
22979 value for NaN + i0. Add another test.
22981 2013-08-22 David S. Miller <davem@davemloft.net>
22983 * po/ca.po: Update Catalan translation from translation project.
22984 * po/uk.po: Add Ukrainian translations from translation project.
22986 2013-08-21 Joseph Myers <joseph@codesourcery.com>
22989 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22990 is infinite, not alongside NaN test.
22991 * math/s_fdimf.c (__fdimf): Likewise.
22992 * math/s_fdiml.c (__fdiml): Likewise.
22993 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22994 errno is unchanged.
22996 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
22998 * argp/argp-help.c: Fix typos.
22999 * crypt/speeds.c: Likewise.
23000 * csu/check_fds.c: Likewise.
23001 * elf/dl-load.c: Likewise.
23002 * elf/dl-open.c: Likewise.
23003 * elf/reldep3.c: Likewise.
23004 * elf/reldep.c: Likewise.
23005 * elf/sprof.c: Likewise.
23006 * iconv/iconv_charmap.c: Likewise.
23007 * iconv/skeleton.c: Likewise.
23008 * iconv/strtab.c: Likewise.
23009 * io/lockf64.c: Likewise.
23010 * libio/libioP.h: Likewise.
23011 * resolv/gai_notify.c: Likewise.
23012 * resolv/ns_name.c: Likewise.
23013 * resolv/ns_samedomain.c: Likewise.
23014 * resolv/res_send.c: Likewise.
23015 * stdlib/random.c: Likewise.
23016 * sunrpc/rpc/xdr.h: Likewise.
23017 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23018 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23019 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23020 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23021 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23022 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23024 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23025 * sysdeps/mach/hurd/check_fds.c: Likewise.
23026 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23027 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23028 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23029 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23030 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23031 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23032 * sysdeps/pthread/aio_notify.c: Likewise.
23033 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23034 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23035 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23036 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23037 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23039 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23041 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23042 version if bit_Slow_SSE4_2 is set.
23043 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23044 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23046 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23049 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23050 trampoline stack frame information.
23051 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23052 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23053 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23054 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23055 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23056 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23057 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23058 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23060 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23061 interrupting a syscall and set with option SA_SIGINFO.
23063 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23066 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23067 argument is infinite.
23068 * math/s_cprojf.c (__cprojf): Likewise.
23069 * math/s_cprojl.c (__cprojl): Likewise.
23070 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23071 * math/libm-test.inc (cproj_test_data): Add more tests.
23073 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23075 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23076 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23077 size. Use __ffs to determine corresponding shift.
23079 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23080 Roland McGrath <roland@hack.frob.com>
23082 * Makefile (INSTALL): Remove trailing blank lines from output of
23085 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23087 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23088 Align 32 bit compat elf_greg to 8 bytes.
23090 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23092 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23094 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23096 * string/strcoll_l.c (coll_seq): New structure.
23097 (get_next_seq_cached): New function.
23098 (get_next_seq): New function.
23099 (do_compare): New function.
23100 (STRCOLL): Use GNU style definition. Simplify implementation
23101 by using get_next_seq, get_next_seq_cached and do_compare.
23103 2013-08-16 Florian Weimer <fweimer@redhat.com>
23107 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23109 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23111 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23112 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23113 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23115 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23116 GETDENTS_64BIT_ALIGNED.
23117 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23118 * manual/filesys.texi (Reading/Closing Directory): Document
23119 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23121 * manual/conf.texi (Limits for Files): Add portability note to
23122 NAME_MAX, PATH_MAX.
23123 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23125 2013-08-13 Andreas Schwab <schwab@suse.de>
23128 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23130 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23131 LDBL_MAX_EXP >= 16384]: Add tests for it.
23133 2013-08-12 David S. Miller <davem@davemloft.net>
23135 * version.h (RELEASE): Set to "development".
23136 (VERSION): Set to "2.18.90".
23137 * NEWS: Add 2.19 section.
23139 2013-08-03 David S. Miller <davem@davemloft.net>
23141 * po/ko.po: Update Korean translation from translation project.
23143 2013-08-01 David S. Miller <davem@davemloft.net>
23145 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23146 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23149 2013-07-30 David S. Miller <davem@davemloft.net>
23151 * po/fr.po: Update French translation from translation project.
23153 2013-07-28 David S. Miller <davem@davemloft.net>
23155 * po/cs.po: Update Czech translation from translation project.
23157 * po/sv.po: Update Swedish translation from translation project.
23159 2013-07-27 David S. Miller <davem@davemloft.net>
23161 * po/eo.po: Update Esperanto translation from translation project.
23163 * po/vi.po: Update Vietnamese translation from translation project.
23165 * po/de.po: Update German translation from translation project.
23167 2013-07-26 David S. Miller <davem@davemloft.net>
23169 * po/bg.po: Update Bulgarian translation from translation project.
23171 * po/nl.po: Update Dutch translation from translation project.
23172 * po/pl.po: Update Polish translation from translation project.
23173 * po/ru.po: Update Russian translation from translation project.
23175 2013-07-24 David S. Miller <davem@davemloft.net>
23177 * po/libc.pot: Update.
23179 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23181 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23182 variable page size.
23183 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23184 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23185 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23187 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23189 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23191 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23192 Andreas Schwab <schwab@suse.de>
23193 Roland McGrath <roland@hack.frob.com>
23194 Joseph Myers <joseph@codesourcery.com>
23195 Carlos O'Donell <carlos@redhat.com>
23198 * config.h.in: Define HAVE_PT_CHOWN.
23199 * config.make.in (build-pt-chown): New variable.
23200 * configure.in (--enable-pt_chown): New configure option.
23201 * configure: Regenerate.
23202 * login/Makefile: Include Makeconfig. Build pt_chown only if
23203 build-pt-chown is enabled.
23204 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23205 pt_chown to fix pty ownership.
23206 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23208 * manual/install.texi (Configuring and compiling): Mention
23209 --enable-pt_chown. Add @findex for grantpt.
23210 * INSTALL: Regenerate.
23212 2013-07-20 David S. Miller <davem@davemloft.net>
23214 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23215 difference between 32-bit and 64-bit.
23217 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23220 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23221 Avoid system header dependency with -ffreestanding.
23222 ($(objpfx)bits/syscall%d): Likewise.
23224 2013-07-13 David S. Miller <davem@davemloft.net>
23226 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23227 underflows from atanl/atan2l due to bug 15319.
23228 (casinh_test_data): Likewise.
23230 2013-07-07 David S. Miller <davem@davemloft.net>
23232 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23234 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23236 * sysdeps/i386/fpu/libm-test-ulps: Update.
23237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23239 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23241 * configure.in (--enable-lock-elision): Fix message text.
23242 * INSTALL: Regenerate.
23243 * configure: Regenerate.
23245 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23249 2013-07-03 Andreas Jaeger <aj@suse.de>
23251 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23253 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23254 (ptrace_peeksiginfo_args): Add.
23255 (__ptrace_peeksiginfo_flags): Add.
23256 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23257 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23258 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23260 2013-07-03 Allan McRae <allan@archlinux.org>
23262 * sysdeps/i386/fpu/libm-test-ulps: Update.
23264 2013-07-02 David S. Miller <davem@davemloft.net>
23266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23268 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23272 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23274 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23277 2013-07-02 Andi Kleen <ak@linux.intel.com>
23279 * config.h.in (ENABLE_LOCK_ELISION): Add.
23280 * configure.in (--enable-lock-elision): Add option.
23281 * manual/install.texi: Document --enable lock elision.
23282 * configure: Regenerate
23283 * INSTALL: Regenerate.
23285 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23287 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23288 SSE4.2 strcasecmp for libc.a.
23289 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23291 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23294 * soft-fp/op-common.h (_FP_FMA): New macro.
23295 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23296 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23297 (_FP_MUL_MEAT_1_imm): ... here.
23298 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23299 (_FP_MUL_MEAT_1_wide): ... here.
23300 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23301 (_FP_MUL_MEAT_1_hard): ... here.
23302 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23303 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23304 (_FP_MUL_MEAT_2_wide): ... here.
23305 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23306 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23307 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23308 (_FP_MUL_MEAT_2_gmp): ... here.
23309 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23310 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23311 (_FP_MUL_MEAT_4_wide): ... here.
23312 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23313 (_FP_MUL_MEAT_4_gmp): ... here.
23314 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23315 (_FP_WFRACBITS_DW_S): Likewise.
23316 (_FP_WFRACXBITS_DW_S): Likewise.
23317 (_FP_HIGHBIT_DW_S): Likewise.
23318 (FP_FMA_S): Likewise.
23319 (_FP_FRAC_HIGH_DW_S): Likewise.
23320 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23321 (_FP_WFRACBITS_DW_D): Likewise.
23322 (_FP_WFRACXBITS_DW_D): Likewise.
23323 (_FP_HIGHBIT_DW_D): Likewise.
23324 (FP_FMA_D): Likewise.
23325 (_FP_FRAC_HIGH_DW_D): Likewise.
23326 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23327 (_FP_WFRACBITS_DW_E): Likewise.
23328 (_FP_WFRACXBITS_DW_E): Likewise.
23329 (_FP_HIGHBIT_DW_E): Likewise.
23330 (FP_FMA_E): Likewise.
23331 (_FP_FRAC_HIGH_DW_E): Likewise.
23332 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23333 (_FP_WFRACBITS_DW_Q): Likewise.
23334 (_FP_WFRACXBITS_DW_Q): Likewise.
23335 (_FP_HIGHBIT_DW_Q): Likewise.
23336 (FP_FMA_Q): Likewise.
23337 (_FP_FRAC_HIGH_DW_Q): Likewise.
23338 * soft-fp/fmasf4.c: New file.
23339 * soft-fp/fmadf4.c: Likewise.
23340 * soft-fp/fmatf4.c: Likewise.
23342 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23345 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23347 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23349 (index_Slow_SSE4_2): Likewise.
23350 (index_Prefer_PMINUB_for_stringop): Likewise.
23351 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23352 bit_Slow_SSE4_2 is set.
23353 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23354 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23356 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23358 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23359 rtld_global._dl_hwcap2.
23360 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23362 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23363 POWER8 feature descriptions defined in _dl_hwcap2.
23364 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23365 string handling for POWER8 feature bits.
23366 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23367 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23368 _dl_powerpc_cap_flags.
23369 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23370 * sysdeps/powerpc/rtld-global-offsets.sym
23371 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23372 _dl_hwcap2 in the rtld_global_ro structure.
23374 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23376 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23377 hardware capabilities in support of AT_HWCAP2.
23378 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23379 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23381 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23382 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23383 explicitly the unknown a_type display mechanism is used.
23384 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23385 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23387 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23388 to macro prototype for AT_HWCAP2 support.
23389 * sysdeps/i386/dl-procinfo.h: Likewise.
23390 * sysdeps/s390/dl-procinfo.h: Likewise.
23391 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23392 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23393 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23394 return -1 for unknown a_type display fallback.
23395 * sysdeps/sparc/dl-procinfo.h: Likewise.
23396 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23397 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23399 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23401 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23402 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23404 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23407 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23408 mprotect making __stack_prot writable.
23410 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23411 Joseph Myers <joseph@codesourcery.com>
23413 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23414 as being properly aligned.
23416 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23418 * dlfcn/modstatic5.c: New file.
23419 * dlfcn/tststatic5.c: New file.
23420 * dlfcn/Makefile (tests): Add tststatic5.
23421 (tests-static): Likewise.
23422 (modules-names): Add modstatic5.
23423 (tststatic5-ENV): New variable.
23424 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23427 * elf/dl-support.c (_dl_main_map): New variable.
23428 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23429 (_dl_nns, _dl_load_adds): Set to 1.
23430 (_dl_initial_searchlist): Refer to _dl_main_map.
23431 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23432 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23433 call to _dl_get_origin.
23434 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23436 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23437 * dlfcn/modstatic3.c: New file.
23438 * dlfcn/tststatic3.c: New file.
23439 * dlfcn/tststatic4.c: New file.
23440 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23441 (tests-static): Likewise.
23442 (modules-names): Add modstatic3.
23443 (tststatic3-ENV, tststatic4-ENV): New variables.
23444 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23445 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23447 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23449 * configure.in (CC): Require GCC version 4.4 or later.
23450 * configure: Regenerated.
23451 * manual/install.texi (Tools for Compilation): Update GCC version
23453 * INSTALL: Regenerated.
23455 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23458 * string/test-memcmp.c (check2): New.
23459 (main): Call check2.
23461 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23463 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23466 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23468 (dl_open_worker) [!SHARED]: ... here.
23470 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23472 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23474 2013-06-25 Richard Henderson <rth@redhat.com>
23476 * locale/programs/locarchive.c: Include <libc-internal.h>
23478 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23480 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23481 trailing whitespace removed.
23483 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23486 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23487 * locale/programs/locarchive.c: Include libc-mmap.h.
23488 (prepare_address_space): Take two new outputs (the mmap base and len).
23489 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23491 (create_archive): Declare new mmap base and len values for
23492 prepare_address_space, and store the result in ah.
23493 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23494 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23495 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23496 Declare new mmap base and len values for
23497 prepare_address_space, and store the result in new_ah.
23498 (open_archive): Declare new mmap base and len values for
23499 prepare_address_space, and store the result in ah.
23500 (close_archive): If ah->mmap_base is not NULL, use that and
23501 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23502 * sysdeps/generic/libc-mmap.h: New file.
23504 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23506 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23507 (ALIGN_UP): Likewise.
23508 (PTR_ALIGN_DOWN): Likewise.
23509 (PTR_ALIGN_UP): Likewise.
23511 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23513 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23514 entry mapped to PPC_PLATFORM_POWER8.
23515 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23517 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23518 (_dl_string_platform): Add case for exporting platform position for
23520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23521 search path to sysdeps/powerpc/powerpc32/power8 directory.
23522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23523 search path to sysdeps/powerpc/powerpc64/power8 directory.
23524 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23525 power7 directories.
23526 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23527 power7 directories.
23529 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23531 * INSTALL: Regenerate.
23533 * nscd/connections.c (nscd_init): Fix comment.
23535 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23537 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23540 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23541 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23543 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23545 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23547 (DL_DST_REQ_STATIC): Remove macro.
23549 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23552 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23553 with a shift of 0 bits.
23555 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23557 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23560 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23563 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23565 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23567 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23568 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23569 accepts -fno-tree-loop-distribute-patterns.
23570 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23571 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23573 * string/memset.c (memset): Likewise.
23574 * string/test-memmove.c (simple_memmove): Disable loop transformation
23576 * string/test-memset.c (simple_memset): Likewise.
23577 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23578 * benchtests/bench-memset.c (simple_memset): Likewise.
23579 * configure: Regenerated.
23581 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23583 * math/test-misc.c (main): Ignore fesetround failure when failures
23584 of subsequent rounding tests would be ignored.
23587 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23588 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23589 * math/fegetenv.c (__fegetenv): Return 0.
23590 * math/fegetexcept.c (fegetexcept): Return 0.
23591 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23593 * math/feholdexcpt.c (feholdexcept): Return 0.
23594 * math/fesetenv.c (__fesetenv): Return 0.
23595 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23596 argument FE_TONEAREST.
23597 * math/feupdateenv.c (__feupdateenv): Return 0.
23598 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23600 2013-06-18 Roland McGrath <roland@hack.frob.com>
23602 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23603 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23604 ($(objpfx)rtld-%.os rules): Use them.
23606 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23608 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23611 2013-06-17 Roland McGrath <roland@hack.frob.com>
23613 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23614 length of target pattern, then descending length of dependency pattern.
23615 * configure.in (AWK): Require gawk 3.1.2 or newer.
23616 * manual/install.texi (Tools for Compilation): Say that we do.
23617 * configure: Regenerated.
23619 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23620 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23621 * scripts/sysd-rules.awk: ... this new script.
23622 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23623 than a glob-style pattern.
23625 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23627 * math/test-misc.c (main): Do not treat incorrectly rounded
23628 conversions as failure unless ROUNDING_TESTS passes.
23630 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23633 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23634 restore exception state around main square root computation, then
23635 check for inexactness explicitly.
23637 * math/libm-test.inc (fma_test_data): Add another test.
23639 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23641 * manual/threads.texi (Non-POSIX Extensions): New document
23642 node. Document pthread_getattr_default_np and
23643 pthread_setattr_default_np.
23645 * Versions.def (libpthread): Add GLIBC_2.18.
23646 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23655 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23666 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23669 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23671 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23672 H.J. Lu <hjl.tools@gmail.com>
23675 * sysdeps/x86_64/rtld-memset.c: Remove file.
23676 * sysdeps/x86_64/rtld-memset.S: New file.
23678 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23680 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23681 (test_in_one_mode): Take arguments for whether the rounding mode
23682 is supported for each floating-point type.
23683 (do_test): Pass new arguments to test_in_one_mode using
23686 2013-06-13 Roland McGrath <roland@hack.frob.com>
23688 * posix/tst-waitid.c (do_test): Distinguish different instances of
23689 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23690 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23691 before entering the kernel for waitpid.
23693 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23695 * NEWS: Fix note on clock function precision. Text by Roland
23698 2013-06-13 Roland McGrath <roland@hack.frob.com>
23700 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23701 it into place only when and if the sanity check passes.
23703 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23705 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23706 output for whether conversion result is exact. Take argument
23707 indicating whether type is IBM long double.
23708 (round_for_all): Change need_exact field to ibm_ld.
23709 * stdlib/tst-strtod-round.c (struct exactness): New type.
23710 (struct test): Change bool ld_ok field to struct exactness exact.
23711 (TEST): Update all definitions for change to field.
23712 (tests): Regenerate array contents.
23713 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23714 field value. Check for IBM long double here.
23715 (do_test): Update calls to test_in_one_mode.
23717 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23720 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23721 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23723 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23726 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23727 generated by the compiler on loop optimizations.
23728 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23729 general definitions.
23731 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23733 * math/bug-nextafter.c: Include <math-tests.h>.
23734 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23736 * math/bug-nexttoward.c: Include <math-tests.h>.
23737 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23739 * math/test-misc.c: Include <math-tests.h>.
23740 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23743 2013-06-12 Andreas Jaeger <aj@suse.de>
23745 * po/ia.po: Update Interlingua translation from translation
23748 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23750 * include/fenv.h: Include stdbool.h.
23751 (struct rm_ctx): New structure.
23752 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23754 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23755 (SET_RESTORE_ROUNDF): Likewise.
23756 (SET_RESTORE_ROUNDL): Likewise.
23757 (SET_RESTORE_ROUND_NOEX): Likewise.
23758 (SET_RESTORE_ROUND_NOEXF): Likewise.
23759 (SET_RESTORE_ROUND_NOEXL): Likewise.
23760 (SET_RESTORE_ROUND_53BIT): Likewise.
23761 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23762 (libc_feresetround_noexf_ctx): Likewise.
23763 (libc_feresetround_noexl_ctx): Likewise.
23764 (libc_feholdsetround_53bit_ctx): Likewise.
23765 (libc_feresetround_53bit_ctx): Likewise.
23766 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23767 (libc_feholdexcept_setround_sse_ctx): New function.
23768 (libc_fesetenv_sse_ctx): Likewise.
23769 (libc_feupdateenv_sse_ctx): Likewise.
23770 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23771 (libc_feholdexcept_setround_387_ctx): Likewise.
23772 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23773 (libc_feholdsetround_387_prec_ctx): Likewise.
23774 (libc_feholdsetround_387_ctx): Likewise.
23775 (libc_feholdsetround_387_53bit_ctx): Likewise.
23776 (libc_feholdsetround_sse_ctx): Likewise.
23777 (libc_feresetround_sse_ctx): Likewise.
23778 (libc_feresetround_387_ctx): Likewise.
23779 (libc_feupdateenv_387_ctx): Likewise.
23780 (libc_feholdexcept_setroundf_ctx): Define macro.
23781 (libc_fesetenvf_ctx): Likewise.
23782 (libc_feupdateenvf_ctx): Likewise.
23783 (libc_feholdsetroundf_ctx): Likewise.
23784 (libc_feresetroundf_ctx): Likewise.
23785 (libc_feholdexcept_setround_ctx): Likewise.
23786 (libc_fesetenv_ctx): Likewise.
23787 (libc_feupdateenv_ctx): Likewise.
23788 (libc_feholdsetround_ctx): Likewise.
23789 (libc_feresetround_ctx): Likewise.
23790 (libc_feholdexcept_setroundl_ctx): Likewise.
23791 (libc_feupdateenvl_ctx): Likewise.
23792 (libc_feholdsetroundl_ctx): Likewise.
23793 (libc_feresetroundl_ctx): Likewise.
23794 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23795 (libc_feresetround_53bit_ctx): Likewise.
23797 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23799 * locale/iso-639.def: Convert to UTF-8.
23801 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23803 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23804 (EXCEPTION_TESTS_double): Likewise.
23805 (EXCEPTION_TESTS_long_double): Likewise.
23806 (EXCEPTION_TESTS): Likewise.
23807 * math/libm-test.inc (test_exceptions): Only test exceptions if
23808 EXCEPTION_TESTS (FLOAT).
23810 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23812 * benchtests/Makefile (string-bench): Add strcpy_chk and
23814 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23815 * benchtests/bench-stpcpy_chk.c: New file.
23816 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23817 * benchtests/bench-strcpy_chk.c: New file.
23818 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23820 (do_test): Likewise.
23822 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23824 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23825 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23826 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23827 with tabs where appropriate.
23828 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23830 [PPC_PLATFORM_PPC440]: Likewise.
23831 [PPC_PLATFORM_PPC464]: Likewise.
23832 [PPC_PLATFORM_PPC476]: Likewise.
23833 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23834 ppc464, and ppc476 platform strings merging from ports/
23837 2013-06-11 Andreas Schwab <schwab@suse.de>
23840 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23841 (from_ucs4_idx): Regenerate.
23842 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23843 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23844 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23845 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23846 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23847 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23848 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23849 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23850 from FROM_LOOP and TO_LOOP specific macros.
23851 (BODY): Handle combining characters.
23852 * iconvdata/BIG5HKSCS.irreversible: Update.
23853 * iconvdata/BIG5HKSCS.precomposed: New file.
23854 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23856 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23858 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23860 * include/sys/time.h: Fix indentation and add copyright header.
23862 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23863 (do_test): Likewise.
23864 * string/test-memchr.c (do_one_test): Likewise.
23865 (do_test): Likewise.
23866 * string/test-memcmp.c (do_one_test): Likewise.
23867 (do_test): Likewise.
23868 * string/test-memcpy.c (do_one_test): Likewise.
23869 (do_test): Likewise.
23870 * string/test-memmem.c (do_one_test): Likewise.
23871 (do_test): Likewise.
23872 (do_random_tests): Likewise.
23873 * string/test-memmove.c (do_one_test): Likewise.
23874 (do_test): Likewise.
23875 * string/test-memset.c (do_one_test): Likewise.
23876 (do_test): Likewise.
23877 * string/test-rawmemchr.c (do_one_test): Likewise.
23878 (do_test): Likewise.
23879 * string/test-strcasecmp.c (do_one_test): Likewise.
23880 (do_test): Likewise.
23881 * string/test-strcasestr.c (do_one_test): Likewise.
23882 (do_test): Likewise.
23883 * string/test-strcat.c (do_one_test): Likewise.
23884 (do_test): Likewise.
23885 * string/test-strchr.c (do_one_test): Likewise.
23886 (do_test): Likewise.
23887 * string/test-strcmp.c (do_one_test): Likewise.
23888 (do_test): Likewise.
23889 * string/test-strcpy.c (do_one_test): Likewise.
23890 (do_test): Likewise.
23891 * string/test-string.h: Likewise.
23892 (test_init): Likewise.
23893 * string/test-strlen.c (do_one_test): Likewise.
23894 (do_test): Likewise.
23895 * string/test-strncasecmp.c (do_one_test): Likewise.
23896 (do_test): Likewise.
23897 * string/test-strncat.c (do_one_test): Likewise.
23898 (do_test): Likewise.
23899 * string/test-strncmp.c (do_one_test): Likewise.
23900 (do_test_limit): Likewise.
23901 (do_test): Likewise.
23902 * string/test-strncpy.c (do_one_test): Likewise.
23903 (do_test): Likewise.
23904 * string/test-strnlen.c (do_one_test): Likewise.
23905 (do_test): Likewise.
23906 * string/test-strpbrk.c (do_one_test): Likewise.
23907 (do_test): Likewise.
23908 * string/test-strrchr.c (do_one_test): Likewise.
23909 (do_test): Likewise.
23910 * string/test-strspn.c (do_one_test): Likewise.
23911 (do_test): Likewise.
23912 * string/test-strstr.c (do_one_test): Likewise.
23913 (do_test): Likewise.
23915 * benchtests/Makefile (string-bench): Add string benchmarks.
23916 * benchtests/bench-bcopy-ifunc.c: New file.
23917 * benchtests/bench-bcopy.c: New file.
23918 * benchtests/bench-bzero-ifunc.c: New file.
23919 * benchtests/bench-bzero.c: New file.
23920 * benchtests/bench-memccpy-ifunc.c: New file.
23921 * benchtests/bench-memccpy.c: New file.
23922 * benchtests/bench-memchr-ifunc.c: New file.
23923 * benchtests/bench-memchr.c: New file.
23924 * benchtests/bench-memcmp-ifunc.c: New file.
23925 * benchtests/bench-memcmp.c: New file.
23926 * benchtests/bench-memmem-ifunc.c: New file.
23927 * benchtests/bench-memmem.c: New file.
23928 * benchtests/bench-memmove-ifunc.c: New file.
23929 * benchtests/bench-memmove.c: New file.
23930 * benchtests/bench-mempcpy-ifunc.c: New file.
23931 * benchtests/bench-mempcpy.c: New file.
23932 * benchtests/bench-memset-ifunc.c: New file.
23933 * benchtests/bench-memset.c: New file.
23934 * benchtests/bench-rawmemchr-ifunc.c: New file.
23935 * benchtests/bench-rawmemchr.c: New file.
23936 * benchtests/bench-stpcpy-ifunc.c: New file.
23937 * benchtests/bench-stpcpy.c: New file.
23938 * benchtests/bench-stpncpy-ifunc.c: New file.
23939 * benchtests/bench-stpncpy.c: New file.
23940 * benchtests/bench-strcasecmp-ifunc.c: New file.
23941 * benchtests/bench-strcasecmp.c: New file.
23942 * benchtests/bench-strcasestr-ifunc.c: New file.
23943 * benchtests/bench-strcasestr.c: New file.
23944 * benchtests/bench-strcat-ifunc.c: New file.
23945 * benchtests/bench-strcat.c: New file.
23946 * benchtests/bench-strchr-ifunc.c: New file.
23947 * benchtests/bench-strchr.c: New file.
23948 * benchtests/bench-strchrnul-ifunc.c: New file.
23949 * benchtests/bench-strchrnul.c: New file.
23950 * benchtests/bench-strcmp-ifunc.c: New file.
23951 * benchtests/bench-strcmp.c: New file.
23952 * benchtests/bench-strcpy-ifunc.c: New file.
23953 * benchtests/bench-strcpy.c: New file.
23954 * benchtests/bench-strcspn-ifunc.c: New file.
23955 * benchtests/bench-strcspn.c: New file.
23956 * benchtests/bench-strlen-ifunc.c: New file.
23957 * benchtests/bench-strlen.c: New file.
23958 * benchtests/bench-strncasecmp-ifunc.c: New file.
23959 * benchtests/bench-strncasecmp.c: New file.
23960 * benchtests/bench-strncat-ifunc.c: New file.
23961 * benchtests/bench-strncat.c: New file.
23962 * benchtests/bench-strncmp-ifunc.c: New file.
23963 * benchtests/bench-strncmp.c: New file.
23964 * benchtests/bench-strncpy-ifunc.c: New file.
23965 * benchtests/bench-strncpy.c: New file.
23966 * benchtests/bench-strnlen-ifunc.c: New file.
23967 * benchtests/bench-strnlen.c: New file.
23968 * benchtests/bench-strpbrk-ifunc.c: New file.
23969 * benchtests/bench-strpbrk.c: New file.
23970 * benchtests/bench-strrchr-ifunc.c: New file.
23971 * benchtests/bench-strrchr.c: New file.
23972 * benchtests/bench-strspn-ifunc.c: New file.
23973 * benchtests/bench-strspn.c: New file.
23974 * benchtests/bench-strstr-ifunc.c: New file.
23975 * benchtests/bench-strstr.c: New file.
23977 * benchtests/Makefile: Disable parallel execution of targets.
23978 (string-bench): Add memcpy.
23979 (benchset): New variable to store a list of benchmark sets.
23980 (bench-func): Renamed from bench.
23981 (bench-set): New target.
23982 (bench): Depend on bench-func and bench-set.
23983 * benchtests/README: Add section on benchmark sets.
23984 * benchtests/bench-memcpy-ifunc.c: New file.
23985 * benchtests/bench-memcpy.c: New file.
23986 * benchtests/bench-string.h: New file.
23988 2013-06-11 Andreas Schwab <schwab@suse.de>
23991 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23992 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23993 values in the triple.
23994 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23995 terminator in the group key.
23997 2013-06-11 Andreas Jaeger <aj@suse.de>
23999 * po/zh_TW.po: Update Chinese (traditional) translation from
24000 translation project.
24002 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24004 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24005 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24006 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24007 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24008 (clock_getcpuclockid): Likewise.
24009 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24010 Add weak_alias and libc_hidden_def.
24011 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24012 * rt/clock_gettime.c (clock_gettime): Rename to
24013 __clock_gettime. Add weak_alias and libc_hidden_def.
24014 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24015 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24016 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24017 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24018 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24020 * rt/clock_settime.c (clock_settime): Rename to
24021 __clock_settime. Add weak_alias and libc_hidden_def.
24022 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24024 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24026 * mach/err_boot.sub: Remove trailing whitespace.
24027 * mach/err_ipc.sub: Likewise.
24028 * mach/err_mach.sub: Likewise.
24030 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24031 (ROUNDING_TESTS_double): Likewise.
24032 (ROUNDING_TESTS_long_double): Likewise.
24033 (ROUNDING_TESTS): Likewise.
24034 * math/libm-test.inc: Include <math-tests.h>.
24035 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24036 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24037 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24038 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24040 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24042 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24045 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24047 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24048 otherwise empty TRANS lines.
24049 * sysdeps/gnu/errlist.c: Regenerated.
24051 * catgets/gencat.c (error_print): Use (void) in function
24053 * crypt/crypt_util.c (__init_des): Likewise.
24054 * crypt/speeds.c (Stop): Likewise.
24056 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24057 * inet/ruserpass.c (token): Likewise.
24058 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24059 * intl/localealias.c (extend_alias_table): Likewise.
24060 * intl/plural-exp.c (init_germanic_plural): Likewise.
24061 * libio/fcloseall.c (__fcloseall): Likewise.
24062 * libio/genops.c (_IO_flush_all): Likewise.
24063 (_IO_flush_all_linebuffered): Likewise.
24064 (_IO_cleanup): Likewise.
24065 (_IO_iter_begin): Likewise.
24066 (_IO_iter_end): Likewise.
24067 (_IO_list_lock): Likewise.
24068 (_IO_list_unlock): Likewise.
24069 (_IO_list_resetlock): Likewise.
24070 * libio/getchar.c (getchar): Likewise.
24071 * libio/getchar_u.c (getchar_unlocked): Likewise.
24072 * libio/getwchar.c (getwchar): Likewise.
24073 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24074 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24075 * login/getpt.c (__getpt): Likewise.
24076 * login/tst-utmp.c (main): Likewise.
24077 * malloc/hooks.c (__malloc_check_init): Likewise.
24078 * malloc/malloc.c (__malloc_stats): Likewise.
24079 * malloc/mtrace.c (tr_break): Likewise.
24080 (mtrace): Likewise.
24081 (muntrace): Likewise.
24082 * misc/fstab.c (endfsent): Likewise.
24083 * misc/getclktck.c (__getclktck): Likewise.
24084 * misc/getdtsz.c (__getdtablesize): Likewise.
24085 * misc/gethostid.c (gethostid): Likewise.
24086 * misc/getpagesize.c (__getpagesize): Likewise.
24087 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24088 (__get_nprocs): Likewise.
24089 (__get_phys_pages): Likewise.
24090 (__get_avphys_pages): Likewise.
24091 * misc/getttyent.c (getttyent): Likewise.
24092 (setttyent): Likewise.
24093 (endttyent): Likewise.
24094 * misc/getusershell.c (getusershell): Likewise.
24095 (endusershell): Likewise.
24096 (setusershell): Likewise.
24097 (initshells): Likewise.
24098 * misc/hsearch.c (__hdestroy): Likewise.
24099 * misc/sync.c (sync): Likewise.
24100 * misc/syslog.c (closelog_internal): Likewise.
24101 (closelog): Likewise.
24102 * misc/ttyslot.c (ttyslot): Likewise.
24103 * misc/vhangup.c (vhangup): Likewise.
24104 * posix/fork.c (__fork): Likewise.
24105 * posix/getegid.c (__getegid): Likewise.
24106 * posix/geteuid.c (__geteuid): Likewise.
24107 * posix/getgid.c (__getgid): Likewise.
24108 * posix/getpid.c (__getpid): Likewise.
24109 * posix/getppid.c (__getppid): Likewise.
24110 * posix/getuid.c (__getuid): Likewise.
24111 * posix/pause.c (pause): Likewise.
24112 * posix/setpgrp.c (setpgrp): Likewise.
24113 * posix/setsid.c (__setsid): Likewise.
24114 * posix/test-vfork.c (noop): Likewise.
24115 * resolv/gethnamaddr.c (_endhtent): Likewise.
24116 (_gethtent): Likewise.
24117 (ht_endhostent): Likewise.
24118 (gethostent): Likewise.
24119 (dns_service): Likewise.
24120 * stdlib/drand48.c (drand48): Likewise.
24121 * stdlib/lrand48.c (lrand48): Likewise.
24122 * stdlib/mrand48.c (mrand48): Likewise.
24123 * stdlib/rand.c (rand): Likewise.
24124 * stdlib/random.c (__random): Likewise.
24125 * stdlib/setenv.c (clearenv): Likewise.
24126 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24127 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24128 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24129 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24130 (__get_nprocs): Likewise.
24131 (__get_phys_pages): Likewise.
24132 (__get_avphys_pages): Likewise.
24133 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24134 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24135 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24136 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24137 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24138 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24139 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24140 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24141 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24142 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24143 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24144 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24145 * sysdeps/posix/clock.c (clock): Likewise.
24146 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24147 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24148 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24149 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24150 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24152 (__get_nprocs_conf): Likewise.
24153 (__get_phys_pages): Likewise.
24154 (__get_avphys_pages): Likewise.
24155 * time/clock.c (clock): Likewise.
24156 * time/tzset.c (__tzname_max): Likewise.
24158 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24160 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24161 (__bswap_32): Do not use "register".
24162 * crypt/crypt.c (_ufc_doit_r): Likewise.
24163 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24164 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24165 * gmon/gmon.c (__monstartup): Likewise.
24166 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24167 * hurd/hurdmalloc.c (more_memory): Likewise.
24168 (malloc): Likewise.
24170 (realloc): Likewise.
24171 (malloc_fork_prepare): Likewise.
24172 (malloc_fork_parent): Likewise.
24173 (malloc_fork_child): Likewise.
24174 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24175 (_svcauth_des): Likewise.
24176 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24177 * inet/inet_net.c (inet_network): Likewise.
24178 * inet/inet_netof.c (inet_netof): Likewise.
24179 * inet/rcmd.c (__validuser2_sa): Likewise.
24180 * io/fts.c (fts_open): Likewise.
24181 (fts_load): Likewise.
24182 (fts_close): Likewise.
24183 (fts_read): Likewise.
24184 (fts_children): Likewise.
24185 (fts_build): Likewise.
24186 (fts_stat): Likewise.
24187 (fts_sort): Likewise.
24188 (fts_alloc): Likewise.
24189 (fts_lfree): Likewise.
24190 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24191 (_IO_file_xsgetn): Likewise.
24192 (_IO_file_xsgetn_mmap): Likewise.
24193 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24194 (_IO_cookie_write): Likewise.
24195 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24196 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24197 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24198 * malloc/obstack.c (_obstack_begin): Likewise.
24199 (_obstack_begin_1): Likewise.
24200 (_obstack_newchunk): Likewise.
24201 (_obstack_allocated_p): Likewise.
24202 (obstack_free): Likewise.
24203 (_obstack_memory_used): Likewise.
24204 * misc/getttyent.c (getttynam): Likewise.
24205 (getttyent): Likewise.
24208 * misc/getusershell.c (initshells): Likewise.
24209 * misc/syslog.c (__vsyslog_chk): Likewise.
24210 * misc/ttyslot.c (ttyslot): Likewise.
24211 * nis/nis_hash.c (__nis_hash): Likewise.
24212 * posix/fnmatch_loop.c (FCT): Likewise.
24213 * posix/getconf.c (print_all): Likewise.
24215 * posix/getopt.c (exchange): Likewise.
24216 * posix/glob.c (globfree): Likewise.
24217 (prefix_array): Likewise.
24218 (__glob_pattern_type): Likewise.
24219 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24220 (NS_GET32): Likewise.
24221 (NS_PUT16): Likewise.
24222 (NS_PUT32): Likewise.
24223 * resolv/gethnamaddr.c (getanswer): Likewise.
24224 (gethostbyname2): Likewise.
24225 (gethostbyaddr): Likewise.
24226 (_gethtent): Likewise.
24227 (_gethtbyname2): Likewise.
24228 (_gethtbyaddr): Likewise.
24229 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24230 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24231 * resolv/res_init.c (__res_vinit): Likewise.
24232 (net_mask): Likewise.
24233 * resolv/res_mkquery.c (outchar): Likewise.
24235 * stdio-common/printf_fp.c (outchar): Likewise.
24237 * stdio-common/printf_fphex.c (outchar): Likewise.
24239 * stdio-common/printf_size.c (outchar): Likewise.
24241 * stdio-common/test_rdwr.c (main): Likewise.
24242 * stdio-common/tfformat.c (matches): Likewise.
24243 * stdio-common/vfprintf.c (outchar): Likewise.
24244 (printf_unknown): Likewise.
24245 (buffered_vfprintf): Likewise.
24246 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24247 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24248 (ReadFile): Likewise.
24249 * stdlib/qsort.c (SWAP): Likewise.
24250 (_quicksort): Likewise.
24251 * stdlib/setenv.c (__add_to_environ): Likewise.
24252 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24253 * stdlib/strtol_l.c (__strtol_l): Likewise.
24254 * stdlib/tst-strtod.c (main): Likewise.
24255 * stdlib/tst-strtol.c (main): Likewise.
24256 * stdlib/tst-strtoll.c (main): Likewise.
24257 * string/bits/string2.h (__strcmp_cc): Likewise.
24258 (__strcmp_cg): Likewise.
24259 (__strcspn_c1): Likewise.
24260 (__strcspn_c2): Likewise.
24261 (__strcspn_c3): Likewise.
24262 (__strspn_c1): Likewise.
24263 (__strspn_c2): Likewise.
24264 (__strspn_c3): Likewise.
24265 (__strsep_1c): Likewise.
24266 (__strsep_2c): Likewise.
24267 (__strsep_3c): Likewise.
24268 * string/memccpy.c (__memccpy): Likewise.
24269 * string/stpcpy.c (__stpcpy): Likewise.
24270 * string/strcmp.c (strcmp): Likewise.
24271 * string/strrchr.c (strrchr): Likewise.
24272 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24274 * sysdeps/mach/hurd/getcwd.c
24275 (_hurd_canonicalize_directory_name_internal): Likewise.
24276 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24277 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24278 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24279 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24280 Likewise, in both definitions.
24281 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24283 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24284 64] (__bswap_64): Likewise.
24285 * time/test_time.c (main): Likewise.
24286 * time/tzfile.c (__tzfile_read): Likewise.
24287 (__tzfile_compute): Likewise.
24288 * time/tzset.c (__tzset_parse_tz): Likewise.
24289 (tzset_internal): Likewise.
24290 (compute_change): Likewise.
24291 * wcsmbs/wcscat.c (__wcscat): Likewise.
24292 * wcsmbs/wcschr.c (wcschr): Likewise.
24293 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24294 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24295 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24296 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24297 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24298 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24299 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24300 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24301 * wcsmbs/wmemset.c (wmemset): Likewise.
24303 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24305 * scripts/config.guess: Update to version 2013-05-16.
24306 * scripts/config.sub: Update to version 2013-04-24.
24307 * scripts/install-sh: Update to version 2011-11-20.07.
24308 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24309 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24311 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24313 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24314 * elf/sln.c: Likewise.
24315 * hurd/hurd/ioctl.h: Likewise.
24316 * hurd/hurdmalloc.c: Likewise.
24317 * hurd/xattr.c: Likewise.
24318 * include/shlib-compat.h: Likewise.
24319 * inet/ruserpass.c: Likewise.
24320 * libio/iofgets_u.c: Likewise.
24321 * libio/iofgetws_u.c: Likewise.
24322 * locale/programs/ld-identification.c: Likewise.
24323 * locale/programs/ld-time.c: Likewise.
24324 * mach/msg-destroy.c: Likewise.
24325 * nss/nss_files/files-netgrp.c: Likewise.
24326 * resolv/res_data.c: Likewise.
24327 * soft-fp/op-1.h: Likewise.
24328 * soft-fp/op-2.h: Likewise.
24329 * soft-fp/op-4.h: Likewise.
24330 * soft-fp/op-common.h: Likewise.
24331 * stdio-common/printf_fphex.c: Likewise.
24332 * stdlib/strtod_l.c: Likewise.
24333 * sunrpc/rpc/clnt.h: Likewise.
24334 * sysdeps/generic/framestate.c: Likewise.
24335 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24336 * sysdeps/i386/bsd-setjmp.S: Likewise.
24337 * sysdeps/i386/__longjmp.S: Likewise.
24338 * sysdeps/i386/setjmp.S: Likewise.
24339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24340 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24341 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24342 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24343 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24346 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24349 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24351 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24352 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24353 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24355 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24357 * sysdeps/ieee754/support.c: Likewise.
24358 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24359 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24360 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24361 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24362 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24363 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24364 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24365 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24366 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24367 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24368 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24369 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24370 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24371 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24372 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24373 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24374 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24377 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24379 * posix/transbug.c: Remove executable mode.
24381 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24383 * crypt/speeds.c: Remove trailing whitespace.
24384 * dlfcn/default.c: Likewise.
24385 * elf/ifuncdep2.c: Likewise.
24386 * elf/ifuncmain1.c: Likewise.
24387 * elf/ifuncmain1vis.c: Likewise.
24388 * elf/testobj.h: Likewise.
24389 * elf/tst-stackguard1.c: Likewise.
24390 * gmon/sys/gmon.h: Likewise.
24391 * hurd/hurdmsg.c: Likewise.
24392 * hurd/new-fd.c: Likewise.
24393 * hurd/ports-get.c: Likewise.
24394 * iconvdata/ibm1008_420.c: Likewise.
24395 * inet/tst-getni1.c: Likewise.
24396 * inet/tst-getni2.c: Likewise.
24397 * libio/ioungetc.c: Likewise.
24398 * libio/wfiledoalloc.c: Likewise.
24399 * manual/libm-err-tab.pl: Likewise.
24400 * math/w_dremf.c: Likewise.
24401 * misc/ftruncate.c: Likewise.
24402 * posix/bug-glob2.c: Likewise.
24403 * posix/tst-pcre.c: Likewise.
24404 * posix/wait4.c: Likewise.
24405 * resolv/README: Likewise.
24406 * resolv/res_debug.h: Likewise.
24407 * resolv/tst-inet_ntop.c: Likewise.
24408 * setjmp/bug269-setjmp.c: Likewise.
24409 * soft-fp/extended.h: Likewise.
24410 * soft-fp/op-1.h: Likewise.
24411 * soft-fp/op-2.h: Likewise.
24412 * soft-fp/op-4.h: Likewise.
24413 * soft-fp/op-8.h: Likewise.
24414 * soft-fp/testit.c: Likewise.
24415 * stdio-common/bug16.c: Likewise.
24416 * stdlib/random.c: Likewise.
24417 * sunrpc/rpcsvc/rquota.x: Likewise.
24418 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24419 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24420 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24421 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24422 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24423 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24424 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24425 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24426 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24427 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24428 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24429 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24430 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24431 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24432 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24433 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24434 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24435 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24436 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24437 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24438 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24439 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24440 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24441 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24442 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24443 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24444 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24445 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24446 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24447 * sysdeps/ieee754/s_lib_version.c: Likewise.
24448 * sysdeps/mach/hurd/check_fds.c: Likewise.
24449 * sysdeps/mach/hurd/getsockname.c: Likewise.
24450 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24451 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24452 * sysdeps/powerpc/bits/link.h: Likewise.
24453 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24454 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24455 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24456 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24457 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24458 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24459 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24460 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24461 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24462 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24463 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24464 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24465 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24466 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24467 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24468 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24469 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24470 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24471 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24472 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24473 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24474 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24475 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24476 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24477 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24478 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24479 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24480 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24481 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24482 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24483 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24484 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24485 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24486 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24487 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24488 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24489 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24490 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24491 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24492 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24493 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24494 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24495 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24496 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24497 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24498 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24499 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24500 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24501 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24502 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24503 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24504 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24505 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24506 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24507 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24508 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24509 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24510 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24511 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24512 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24513 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24514 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24515 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24516 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24517 * sysdeps/powerpc/sysdep.h: Likewise.
24518 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24519 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24520 * sysdeps/sh/dl-trampoline.S: Likewise.
24521 * sysdeps/sh/memset.S: Likewise.
24522 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24523 * sysdeps/sh/strlen.S: Likewise.
24524 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24525 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24526 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24527 * sysdeps/sparc/sparc32/rem.S: Likewise.
24528 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24529 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24530 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24531 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24532 * sysdeps/sparc/sparc32/urem.S: Likewise.
24533 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24534 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24535 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24536 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24537 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24538 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24539 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24540 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24541 * sysdeps/unix/bsd/times.c: Likewise.
24542 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24543 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24547 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24548 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24549 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24550 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24551 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24552 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24553 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24554 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24555 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24556 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24557 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24558 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24559 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24560 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24561 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24562 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24563 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24564 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24565 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24566 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24567 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24568 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24569 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24570 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24571 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24572 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24573 * sysdeps/x86_64/strcspn.S: Likewise.
24575 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24577 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24578 generated file. Regenerate properly from gen-translit.pl.
24579 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24580 locale/C-translit.h.
24582 2013-06-05 Andreas Schwab <schwab@suse.de>
24585 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24586 week as 6 instead of -1.
24587 * time/tst-strptime.c (day_tests): Add test case.
24589 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24591 * sysdeps/generic/math_private.h
24592 (libc_feholdexcept_setround_53bit): Replace with
24593 libc_feholdsetround_53bit.
24594 (libc_feupdateenv_53bit): Replace with
24595 libc_feresetround_53bit.
24596 (SET_RESTORE_ROUND_53BIT): Adjust.
24598 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24600 * string/test-strchrnul.c: Add copyright header.
24602 * posix/tst-getaddrinfo4.c: Increase test timeout.
24604 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24607 * math/libm-test.inc (MAX_EXP): Remove
24609 (ulp): Use MIN_EXP - MANT_DIG.
24610 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24612 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24614 * po/be.po: Revert last change.
24615 * po/zh_CN.po: Likewise.
24616 * po/header.pot: Likewise.
24618 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24620 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24621 link-libc-deps to empty as target-specific variable.
24622 * Makerules (link-libc-args): New variable.
24623 (libc-for-link): Likewise.
24624 (link-libc-deps): Likewise.
24625 (lib%.so): Depend on $(link-libc-deps). Link with
24627 (build-module): Link with $(link-libc-args).
24628 (build-module-asneeded): Likewise.
24629 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24631 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24632 target-specific variable.
24633 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24634 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24635 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24637 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24639 ($(objpfx)libpcprofile.so): Likewise.
24640 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24642 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24643 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24644 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24646 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24647 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24648 * login/Makefile ($(objpfx)libutil.so): Likewise.
24649 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24650 * math/Makefile ($(objpfx)libm.so): Likewise.
24651 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24652 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24653 variable instead of depending directly on libc.
24654 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24655 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24657 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24659 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24660 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24661 ($(objpfx)libanl.so): Likewise.
24662 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24664 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24666 * sysdeps/i386/fpu/Makefile: Remove file.
24667 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24668 ($(objpfx)libm.so): Remove dependency on ld.so.
24670 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24673 * nis/yp_xdr.c (XDRMAXNAME): Define.
24674 (XDRMAXRECORD): Define.
24675 (xdr_domainname): Use XDRMAXNAME.
24676 (xdr_mapname): Likewise.
24677 (xdr_peername): Likewise.
24678 (xdr_keydat): Use XDRMAXRECORD.
24679 (xdr_valdat): Likewise.
24681 2013-05-30 Jeff Law <law@redhat.com>
24684 * manual/errno.texi (ESTALE): Update to account for more than
24685 just NFS file systems.
24686 * sysdeps/gnu/errlist.c: Regenerated.
24688 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24691 * elf/Makefile (tests): Add tst-null-argv.
24692 (modules-names): Add tst-null-argv-lib.
24693 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24694 (tst-null-argv-ENV): Set environment for tst-null-argv.
24695 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24696 (RTLD_PROGNAME): New macro.
24697 * elf/tst-null-argv.c: New test case.
24698 * elf/tst-null-argv-lib.c: Library for test case.
24699 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24700 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24701 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24702 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24703 * elf/dl-init.c (call_init): Likewise.
24704 (_dl_init): Likewise.
24705 * elf/dl-load.c (print_search_path): Likewise.
24706 (_dl_map_object): Likewise.
24707 * elf/dl-lookup.c (do_lookup_x): Likewise.
24708 (add_dependency): Likewise.
24709 (_dl_lookup_symbol_x): Likewise.
24710 (_dl_debug_bindings): Likewise.
24711 * elf/dl-open.c (_dl_show_scope): Likewise.
24712 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24713 * elf/dl-version.c (match_symbol): Likewise.
24714 (_dl_check_map_versions): Likewise.
24715 * elf/rtld.c (dl_main): Likewise.
24716 (print_unresolved): Use RTLD_PROGNAME.
24717 (print_missing_version): Likewise.
24718 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24719 (elf_machine_rela): Likewise.
24720 * sysdeps/powerpc/powerpc32/dl-machine.c
24721 (__process_machine_rela): Likewise.
24722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24724 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24726 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24728 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24735 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24737 * po/be.po: Add descriptive title.
24738 * po/zh_CN.po: Likewise.
24739 * po/header.pot: Likewise.
24741 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24743 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24745 (enlarge_archive): Likewise.
24747 2013-05-28 Ben North <ben@redfrontdoor.org>
24749 * manual/arith.texi (frexp): It is the magnitude of the return
24750 value which lies in [0.5, 1), not the return value itself.
24752 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24756 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24758 * stdio-common/bug26.c (main): Correct fscanf template.
24760 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24761 declare _dl_skip_args.
24763 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24766 * manual/platform.texi: Add missing @end deftypefun.
24768 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24771 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24772 bit of mantissa of 2^16382.
24773 * math/libm-test.inc (hypot_test_data): Add more tests.
24775 * math/libm-test.inc: Add drem and pow10 to list of tested
24777 (pow10_test): New function.
24778 (drem_test): Likewise.
24779 (drem_test_tonearest): Likewise.
24780 (drem_test_towardzero): Likewise.
24781 (drem_test_downward): Likewise.
24782 (drem_test_upward): Likewise.
24783 (main): Call the new functions.
24785 * math/libm-test.inc (finite_test_data): Remove.
24786 (finite_test): Run tests from isfinite_test_data.
24787 (gamma_test_data): Remove.
24788 (gamma_test): Run tests from lgamma_test_data.
24789 * sysdeps/i386/fpu/libm-test-ulps: Update.
24790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24792 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24794 * manual/platform.texi: Add PowerPC PPR function set documentation.
24795 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24798 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24800 * math/libm-test.inc (MAX_EXP): Define.
24802 (ulp): New function.
24803 (check_float_internal): Use ULPDIFF.
24804 (cpow_test): Disable failing test.
24805 (check_ulp): Test ulp() implemetnation.
24806 (main): Call check_ulp before starting tests.
24808 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24810 * math/gen-libm-test.pl (generate_testfile): Do not handle
24811 START_DATA and END_DATA.
24812 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24814 (acos_tonearest_test_data): Likewise.
24815 (acos_towardzero_test_data): Likewise.
24816 (acos_downward_test_data): Likewise.
24817 (acos_upward_test_data): Likewise.
24818 (acosh_test_data): Likewise.
24819 (asin_test_data): Likewise.
24820 (asin_tonearest_test_data): Likewise.
24821 (asin_towardzero_test_data): Likewise.
24822 (asin_downward_test_data): Likewise.
24823 (asin_upward_test_data): Likewise.
24824 (asinh_test_data): Likewise.
24825 (atan_test_data): Likewise.
24826 (atanh_test_data): Likewise.
24827 (atan2_test_data): Likewise.
24828 (cabs_test_data): Likewise.
24829 (cacos_test_data): Likewise.
24830 (cacosh_test_data): Likewise.
24831 (carg_test_data): Likewise.
24832 (casin_test_data): Likewise.
24833 (casinh_test_data): Likewise.
24834 (catan_test_data): Likewise.
24835 (catanh_test_data): Likewise.
24836 (cbrt_test_data): Likewise.
24837 (ccos_test_data): Likewise.
24838 (ccosh_test_data): Likewise.
24839 (ceil_test_data): Likewise.
24840 (cexp_test_data): Likewise.
24841 (cimag_test_data): Likewise.
24842 (clog_test_data): Likewise.
24843 (clog10_test_data): Likewise.
24844 (conj_test_data): Likewise.
24845 (copysign_test_data): Likewise.
24846 (cos_test_data): Likewise.
24847 (cos_tonearest_test_data): Likewise.
24848 (cos_towardzero_test_data): Likewise.
24849 (cos_downward_test_data): Likewise.
24850 (cos_upward_test_data): Likewise.
24851 (cosh_test_data): Likewise.
24852 (cosh_tonearest_test_data): Likewise.
24853 (cosh_towardzero_test_data): Likewise.
24854 (cosh_downward_test_data): Likewise.
24855 (cosh_upward_test_data): Likewise.
24856 (cpow_test_data): Likewise.
24857 (cproj_test_data): Likewise.
24858 (creal_test_data): Likewise.
24859 (csin_test_data): Likewise.
24860 (csinh_test_data): Likewise.
24861 (csqrt_test_data): Likewise.
24862 (ctan_test_data): Likewise.
24863 (ctan_tonearest_test_data): Likewise.
24864 (ctan_towardzero_test_data): Likewise.
24865 (ctan_downward_test_data): Likewise.
24866 (ctan_upward_test_data): Likewise.
24867 (ctanh_test_data): Likewise.
24868 (ctanh_tonearest_test_data): Likewise.
24869 (ctanh_towardzero_test_data): Likewise.
24870 (ctanh_downward_test_data): Likewise.
24871 (ctanh_upward_test_data): Likewise.
24872 (erf_test_data): Likewise.
24873 (erfc_test_data): Likewise.
24874 (exp_test_data): Likewise.
24875 (exp_tonearest_test_data): Likewise.
24876 (exp_towardzero_test_data): Likewise.
24877 (exp_downward_test_data): Likewise.
24878 (exp_upward_test_data): Likewise.
24879 (exp10_test_data): Likewise.
24880 (exp2_test_data): Likewise.
24881 (expm1_test_data): Likewise.
24882 (fabs_test_data): Likewise.
24883 (fdim_test_data): Likewise.
24884 (finite_test_data): Likewise.
24885 (floor_test_data): Likewise.
24886 (fma_test_data): Likewise.
24887 (fma_towardzero_test_data): Likewise.
24888 (fma_downward_test_data): Likewise.
24889 (fma_upward_test_data): Likewise.
24890 (fmax_test_data): Likewise.
24891 (fmin_test_data): Likewise.
24892 (fmod_test_data): Likewise.
24893 (fpclassify_test_data): Likewise.
24894 (frexp_test_data): Likewise.
24895 (gamma_test_data): Likewise.
24896 (hypot_test_data): Likewise.
24897 (ilogb_test_data): Likewise.
24898 (isfinite_test_data): Likewise.
24899 (isgreater_test_data): Likewise.
24900 (isgreaterequal_test_data): Likewise.
24901 (isinf_test_data): Likewise.
24902 (isless_test_data): Likewise.
24903 (islessequal_test_data): Likewise.
24904 (islessgreater_test_data): Likewise.
24905 (isnan_test_data): Likewise.
24906 (isnormal_test_data): Likewise.
24907 (issignaling_test_data): Likewise.
24908 (isunordered_test_data): Likewise.
24909 (j0_test_data): Likewise.
24910 (j1_test_data): Likewise.
24911 (jn_test_data): Likewise.
24912 (ldexp_test_data): Likewise.
24913 (lgamma_test_data): Likewise.
24914 (lrint_test_data): Likewise.
24915 (lrint_tonearest_test_data): Likewise.
24916 (lrint_towardzero_test_data): Likewise.
24917 (lrint_downward_test_data): Likewise.
24918 (lrint_upward_test_data): Likewise.
24919 (llrint_test_data): Likewise.
24920 (llrint_tonearest_test_data): Likewise.
24921 (llrint_towardzero_test_data): Likewise.
24922 (llrint_downward_test_data): Likewise.
24923 (llrint_upward_test_data): Likewise.
24924 (log_test_data): Likewise.
24925 (log10_test_data): Likewise.
24926 (log1p_test_data): Likewise.
24927 (log2_test_data): Likewise.
24928 (logb_test_data): Likewise.
24929 (logb_downward_test_data): Likewise.
24930 (lround_test_data): Likewise.
24931 (llround_test_data): Likewise.
24932 (modf_test_data): Likewise.
24933 (nearbyint_test_data): Likewise.
24934 (nextafter_test_data): Likewise.
24935 (nexttoward_test_data): Likewise.
24936 (pow_test_data): Likewise.
24937 (pow_tonearest_test_data): Likewise.
24938 (pow_towardzero_test_data): Likewise.
24939 (pow_downward_test_data): Likewise.
24940 (pow_upward_test_data): Likewise.
24941 (remainder_test_data): Likewise.
24942 (remainder_tonearest_test_data): Likewise.
24943 (remainder_towardzero_test_data): Likewise.
24944 (remainder_downward_test_data): Likewise.
24945 (remainder_upward_test_data): Likewise.
24946 (remquo_test_data): Likewise.
24947 (rint_test_data): Likewise.
24948 (rint_tonearest_test_data): Likewise.
24949 (rint_towardzero_test_data): Likewise.
24950 (rint_downward_test_data): Likewise.
24951 (rint_upward_test_data): Likewise.
24952 (round_test_data): Likewise.
24953 (scalb_test_data): Likewise.
24954 (scalbn_test_data): Likewise.
24955 (scalbln_test_data): Likewise.
24956 (signbit_test_data): Likewise.
24957 (sin_test_data): Likewise.
24958 (sin_tonearest_test_data): Likewise.
24959 (sin_towardzero_test_data): Likewise.
24960 (sin_downward_test_data): Likewise.
24961 (sin_upward_test_data): Likewise.
24962 (sincos_test_data): Likewise.
24963 (sinh_test_data): Likewise.
24964 (sinh_tonearest_test_data): Likewise.
24965 (sinh_towardzero_test_data): Likewise.
24966 (sinh_downward_test_data): Likewise.
24967 (sinh_upward_test_data): Likewise.
24968 (sqrt_test_data): Likewise.
24969 (tan_test_data): Likewise.
24970 (tan_tonearest_test_data): Likewise.
24971 (tan_towardzero_test_data): Likewise.
24972 (tan_downward_test_data): Likewise.
24973 (tan_upward_test_data): Likewise.
24974 (tanh_test_data): Likewise.
24975 (tgamma_test_data): Likewise.
24976 (trunc_test_data): Likewise.
24977 (y0_test_data): Likewise.
24978 (y1_test_data): Likewise.
24979 (yn_test_data): Likewise.
24980 (significand_test_data): Likewise.
24982 * math/gen-libm-test.pl (@functions): Remove variable.
24983 (generate_testfile): Don't handle START and END lines.
24984 * math/libm-test.inc (START): New macro.
24986 (END_COMPLEX): Likewise.
24987 (acos_test): Use END macro without arguments.
24988 (acos_test_tonearest): Likewise.
24989 (acos_test_towardzero): Likewise.
24990 (acos_test_downward): Likewise.
24991 (acos_test_upward): Likewise.
24992 (acosh_test): Likewise.
24993 (asin_test): Likewise.
24994 (asin_test_tonearest): Likewise.
24995 (asin_test_towardzero): Likewise.
24996 (asin_test_downward): Likewise.
24997 (asin_test_upward): Likewise.
24998 (asinh_test): Likewise.
24999 (atan_test): Likewise.
25000 (atanh_test): Likewise.
25001 (atan2_test): Likewise.
25002 (cabs_test): Likewise.
25003 (cacos_test): Use END_COMPLEX macro without arguments.
25004 (cacosh_test): Likewise.
25005 (carg_test): Use END macro without arguments.
25006 (casin_test): Use END_COMPLEX macro without arguments.
25007 (casinh_test): Likewise.
25008 (catan_test): Likewise.
25009 (catanh_test): Likewise.
25010 (cbrt_test): Use END macro without arguments.
25011 (ccos_test): Use END_COMPLEX macro without arguments.
25012 (ccosh_test): Likewise.
25013 (ceil_test): Use END macro without arguments.
25014 (cexp_test): Use END_COMPLEX macro without arguments.
25015 (cimag_test): Use END macro without arguments.
25016 (clog_test): Use END_COMPLEX macro without arguments.
25017 (clog10_test): Likewise.
25018 (conj_test): Likewise.
25019 (copysign_test): Use END macro without arguments.
25020 (cos_test): Likewise.
25021 (cos_test_tonearest): Likewise.
25022 (cos_test_towardzero): Likewise.
25023 (cos_test_downward): Likewise.
25024 (cos_test_upward): Likewise.
25025 (cosh_test): Likewise.
25026 (cosh_test_tonearest): Likewise.
25027 (cosh_test_towardzero): Likewise.
25028 (cosh_test_downward): Likewise.
25029 (cosh_test_upward): Likewise.
25030 (cpow_test): Use END_COMPLEX macro without arguments.
25031 (cproj_test): Likewise.
25032 (creal_test): Use END macro without arguments.
25033 (csin_test): Use END_COMPLEX macro without arguments.
25034 (csinh_test): Likewise.
25035 (csqrt_test): Likewise.
25036 (ctan_test): Likewise.
25037 (ctan_test_tonearest): Likewise.
25038 (ctan_test_towardzero): Likewise.
25039 (ctan_test_downward): Likewise.
25040 (ctan_test_upward): Likewise.
25041 (ctanh_test): Likewise.
25042 (ctanh_test_tonearest): Likewise.
25043 (ctanh_test_towardzero): Likewise.
25044 (ctanh_test_downward): Likewise.
25045 (ctanh_test_upward): Likewise.
25046 (erf_test): Use END macro without arguments.
25047 (erfc_test): Likewise.
25048 (exp_test): Likewise.
25049 (exp_test_tonearest): Likewise.
25050 (exp_test_towardzero): Likewise.
25051 (exp_test_downward): Likewise.
25052 (exp_test_upward): Likewise.
25053 (exp10_test): Likewise.
25054 (exp2_test): Likewise.
25055 (expm1_test): Likewise.
25056 (fabs_test): Likewise.
25057 (fdim_test): Likewise.
25058 (finite_test): Likewise.
25059 (floor_test): Likewise.
25060 (fma_test): Likewise.
25061 (fma_test_towardzero): Likewise.
25062 (fma_test_downward): Likewise.
25063 (fma_test_upward): Likewise.
25064 (fmax_test): Likewise.
25065 (fmin_test): Likewise.
25066 (fmod_test): Likewise.
25067 (fpclassify_test): Likewise.
25068 (frexp_test): Likewise.
25069 (gamma_test): Likewise.
25070 (hypot_test): Likewise.
25071 (ilogb_test): Likewise.
25072 (isfinite_test): Likewise.
25073 (isgreater_test): Likewise.
25074 (isgreaterequal_test): Likewise.
25075 (isinf_test): Likewise.
25076 (isless_test): Likewise.
25077 (islessequal_test): Likewise.
25078 (islessgreater_test): Likewise.
25079 (isnan_test): Likewise.
25080 (isnormal_test): Likewise.
25081 (issignaling_test): Likewise.
25082 (isunordered_test): Likewise.
25083 (j0_test): Likewise.
25084 (j1_test): Likewise.
25085 (jn_test): Likewise.
25086 (ldexp_test): Likewise.
25087 (lgamma_test): Likewise.
25088 (lrint_test): Likewise.
25089 (lrint_test_tonearest): Likewise.
25090 (lrint_test_towardzero): Likewise.
25091 (lrint_test_downward): Likewise.
25092 (lrint_test_upward): Likewise.
25093 (llrint_test): Likewise.
25094 (llrint_test_tonearest): Likewise.
25095 (llrint_test_towardzero): Likewise.
25096 (llrint_test_downward): Likewise.
25097 (llrint_test_upward): Likewise.
25098 (log_test): Likewise.
25099 (log10_test): Likewise.
25100 (log1p_test): Likewise.
25101 (log2_test): Likewise.
25102 (logb_test): Likewise.
25103 (logb_test_downward): Likewise.
25104 (lround_test): Likewise.
25105 (llround_test): Likewise.
25106 (modf_test): Likewise.
25107 (nearbyint_test): Likewise.
25108 (nextafter_test): Likewise.
25109 (nexttoward_test): Likewise.
25110 (pow_test): Likewise.
25111 (pow_test_tonearest): Likewise.
25112 (pow_test_towardzero): Likewise.
25113 (pow_test_downward): Likewise.
25114 (pow_test_upward): Likewise.
25115 (remainder_test): Likewise.
25116 (remainder_test_tonearest): Likewise.
25117 (remainder_test_towardzero): Likewise.
25118 (remainder_test_downward): Likewise.
25119 (remainder_test_upward): Likewise.
25120 (remquo_test): Likewise.
25121 (rint_test): Likewise.
25122 (rint_test_tonearest): Likewise.
25123 (rint_test_towardzero): Likewise.
25124 (rint_test_downward): Likewise.
25125 (rint_test_upward): Likewise.
25126 (round_test): Likewise.
25127 (scalb_test): Likewise.
25128 (scalbn_test): Likewise.
25129 (scalbln_test): Likewise.
25130 (signbit_test): Likewise.
25131 (sin_test): Likewise.
25132 (sin_test_tonearest): Likewise.
25133 (sin_test_towardzero): Likewise.
25134 (sin_test_downward): Likewise.
25135 (sin_test_upward): Likewise.
25136 (sincos_test): Likewise.
25137 (sinh_test): Likewise.
25138 (sinh_test_tonearest): Likewise.
25139 (sinh_test_towardzero): Likewise.
25140 (sinh_test_downward): Likewise.
25141 (sinh_test_upward): Likewise.
25142 (sqrt_test): Likewise.
25143 (tan_test): Likewise.
25144 (tan_test_tonearest): Likewise.
25145 (tan_test_towardzero): Likewise.
25146 (tan_test_downward): Likewise.
25147 (tan_test_upward): Likewise.
25148 (tanh_test): Likewise.
25149 (tgamma_test): Likewise.
25150 (trunc_test): Likewise.
25151 (y0_test): Likewise.
25152 (y1_test): Likewise.
25153 (yn_test): Likewise.
25154 (significand_test): Likewise.
25156 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25159 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25161 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25164 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25165 __ppc_mdoio and __ppc_mdoom.
25166 * manual/platform.texi: Document new functions __ppc_yield,
25167 __ppc_mdoio and __ppc_mdoom.
25169 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25171 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25172 (main): Mention "tls" pseudo-hwcap is legacy.
25173 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25175 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25177 * math/gen-libm-test.pl (parse_args): Output only string of
25178 arguments as text for test name, not full call or descriptions of
25179 tests for extra outputs.
25180 (generate_testfile): Do not pass function name to parse_args.
25181 Generate this_func variable from START.
25182 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25184 (struct test_ff_f_data): Likewise.
25185 (test_ff_f_data_nexttoward): Likewise.
25186 (struct test_fi_f_data): Likewise.
25187 (struct test_fl_f_data): Likewise.
25188 (struct test_if_f_data): Likewise.
25189 (struct test_fff_f_data): Likewise.
25190 (struct test_c_f_data): Likewise.
25191 (struct test_f_f1_data): Likewise. Remove field extra_name.
25192 (struct test_fF_f1_data): Likewise.
25193 (struct test_ffI_f1_data): Likewise.
25194 (struct test_c_c_data): Rename test_name field to arg_str.
25195 (struct test_cc_c_data): Likewise.
25196 (struct test_f_i_data): Likewise.
25197 (struct test_ff_i_data): Likewise.
25198 (struct test_f_l_data): Likewise.
25199 (struct test_f_L_data): Likewise.
25200 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25202 (COMMON_TEST_SETUP): New macro.
25203 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25204 (COMMON_TEST_CLEANUP): Likewise.
25205 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25206 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25208 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25209 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25211 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25212 (RUN_TEST_fff_f): Take argument string. Call new setup and
25214 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25215 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25217 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25218 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25220 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25221 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25223 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25224 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25226 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25227 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25229 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25230 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25232 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25233 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25235 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25236 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25238 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25239 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25241 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25242 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25244 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25245 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25247 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25248 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25250 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25251 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25253 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25254 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25256 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25257 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25259 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25261 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25263 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25264 to _sifields.sigfault.
25265 (si_addr_lsb): Define new macro.
25266 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25268 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25270 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25273 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25275 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25277 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25278 loading the domain.
25280 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25282 * math/gen-libm-test.pl (parse_args): Do not include expected
25283 result in test name.
25284 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25285 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25286 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25287 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25288 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25291 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25293 * benchtests/Makefile: Sort function entries.
25295 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25296 tanh, asinh, acosh, atanh.
25297 * benchtests/acos-inputs: New file.
25298 * benchtests/acosh-inputs: New file.
25299 * benchtests/asin-inputs: New file.
25300 * benchtests/asinh-inputs: New file.
25301 * benchtests/atanh-inputs: New file.
25302 * benchtests/cosh-inputs: New file.
25303 * benchtests/log-inputs: New file.
25304 * benchtests/sinh-inputs: New file.
25305 * benchtests/tanh-inputs: New file.
25307 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25310 * posix/tst-getaddrinfo4.c: New test.
25311 * posix/Makefile (tests): Add it.
25313 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25316 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25317 when no services were used.
25318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25319 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25321 2013-05-21 Andreas Schwab <schwab@suse.de>
25324 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25325 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25327 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25328 redundant variable declarations and reallocation of buffer when
25329 parsing as IPv6 address. Always set NSS status when called from
25330 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25331 buffer too small. Correct computation of needed size.
25332 * nss/Makefile (tests): Add test-digits-dots.
25333 * nss/test-digits-dots.c: New test.
25335 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25337 * benchtests/Makefile: Remove instructions for adding
25339 * benchtests/README: New file to explain how to execute and
25340 enhance the benchmark tests.
25342 2013-05-21 Andreas Schwab <schwab@suse.de>
25345 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25346 * setjmp/tst-sigsetjmp.c: New test.
25348 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25350 * sysdeps/x86_64/memset.S (memset): New implementation.
25351 (__bzero): Likewise.
25352 (__memset_tail): New function.
25354 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25356 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25357 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25358 __memcpy_sse2_unaligned ifunc selection.
25359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25360 Add memcpy-sse2-unaligned.S.
25361 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25362 Add: __memcpy_sse2_unaligned.
25364 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25367 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25368 math_force_eval before restoring floating-point envrionment.
25369 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25370 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25372 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25374 (__nearbyintl): Use math_force_eval before restoring
25375 floating-point environment.
25376 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25378 * math/gen-libm-test.pl (special_functions): Remove.
25379 (parse_args): Don't handle TEST_extra. Handle functions with no
25381 * math/libm-test.inc (struct test_sincos_data): Replace with
25382 struct test_fFF_11_data.
25383 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25384 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25385 (sincos_test_data): Change element type to struct
25386 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25387 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25388 RUN_TEST_LOOP_sincos.
25389 * math/README.libm-test: Don't mention special handling of
25390 individual functions.
25391 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25393 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25394 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25395 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25398 * math/gen-libm-test.pl (get_variable): Remove function.
25399 (parse_args): Don't show pointer parameters to call in test
25400 names. Use "extra output N" in test names for extra outputs
25401 rather than naming variables.
25403 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25406 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25407 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25408 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25410 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25412 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25415 * math/gen-libm-test.pl (@tests): Remove variable.
25416 ($count): Likewise.
25417 (new_test): Remove function.
25418 (show_exceptions): New function.
25419 (special_functions): Use show_exceptions instead of new_test.
25420 (parse_args): Likewise.
25421 (generate_testfile): Pass only function name in generated call to
25422 print_max_error or print_complex_max_error.
25423 (get_ulps): Do not handle complex tests specially.
25424 (output_test): Rename to ...
25425 (get_all_ulps_for_test): ... this. Return a string rather than
25426 printing to a file. Require ulps to be present.
25427 (output_ulps): Generate arrays rather than #defines.
25428 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25429 (struct ulp_data): New type.
25430 (BUILD_COMPLEX_ULP): Remove macro.
25431 (compare_ulp_data): New function.
25432 (find_ulps): Likewise.
25433 (find_test_ulps): Likewise.
25434 (find_function_ulps): Likewise.
25435 (find_complex_function_ulps): Likewise.
25436 (print_max_error): Determine allowed ulps using
25437 find_function_ulps.
25438 (print_complex_max_error): Determine allowed ulps using
25439 find_complex_function_ulps.
25440 (check_float_internal): Determine max ulps using find_test_ulps.
25441 (check_float): Do not take max_ulp parameter. Update call to
25442 check_float_internal.
25443 (check_complex): Likewise.
25444 (check_int): Do not take max_ulp parameter.
25445 (check_long): Likewise.
25446 (check_bool): Likewise.
25447 (check_longlong): Likewise.
25448 (struct test_f_f_data): Remove max_ulp field.
25449 (struct test_ff_f_data): Likewise.
25450 (struct test_ff_f_data_nexttoward): Likewise.
25451 (struct test_fi_f_data): Likewise.
25452 (struct test_fl_f_data): Likewise.
25453 (struct test_if_f_data): Likewise.
25454 (struct test_fff_f_data): Likewise.
25455 (struct test_c_f_data): Likewise.
25456 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25457 (struct test_fF_f1_data): Likewise.
25458 (struct test_ffI_f1_data): Likewise.
25459 (struct test_c_c_data): Remove max_ulp field.
25460 (struct test_cc_c_data): Likewise.
25461 (struct test_f_i_data): Likewise.
25462 (struct test_ff_i_data): Likewise.
25463 (struct test_f_l_data): Likewise.
25464 (struct test_f_L_data): Likewise.
25465 (struct test_sincos_data): Likewise.
25466 (RUN_TEST_f_f): Do not handle ulps.
25467 (RUN_TEST_LOOP_f_f): Likewise.
25468 (RUN_TEST_2_f): Likewise.
25469 (RUN_TEST_LOOP_2_f): Likewise.
25470 (RUN_TEST_fff_f): Likewise.
25471 (RUN_TEST_LOOP_fff_f): Likewise.
25472 (RUN_TEST_c_f): Likewise.
25473 (RUN_TEST_LOOP_c_f): Likewise.
25474 (RUN_TEST_f_f1): Likewise.
25475 (RUN_TEST_LOOP_f_f1): Likewise.
25476 (RUN_TEST_fF_f1): Likewise.
25477 (RUN_TEST_LOOP_fF_f1): Likewise.
25478 (RUN_TEST_fI_f1): Likewise.
25479 (RUN_TEST_LOOP_fI_f1): Likewise.
25480 (RUN_TEST_ffI_f1): Likewise.
25481 (RUN_TEST_LOOP_ffI_f1): Likewise.
25482 (RUN_TEST_c_c): Likewise.
25483 (RUN_TEST_LOOP_c_c): Likewise.
25484 (RUN_TEST_cc_c): Likewise.
25485 (RUN_TEST_LOOP_cc_c): Likewise.
25486 (RUN_TEST_f_i): Likewise.
25487 (RUN_TEST_LOOP_f_i): Likewise.
25488 (RUN_TEST_f_i_tg): Likewise.
25489 (RUN_TEST_LOOP_f_i_tg): Likewise.
25490 (RUN_TEST_ff_i_tg): Likewise.
25491 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25492 (RUN_TEST_f_b): Likewise.
25493 (RUN_TEST_LOOP_f_b): Likewise.
25494 (RUN_TEST_f_b_tg): Likewise.
25495 (RUN_TEST_LOOP_f_b_tg): Likewise.
25496 (RUN_TEST_f_l): Likewise.
25497 (RUN_TEST_LOOP_f_l): Likewise.
25498 (RUN_TEST_f_L): Likewise.
25499 (RUN_TEST_LOOP_f_L): Likewise.
25500 (RUN_TEST_sincos): Likewise.
25501 (RUN_TEST_LOOP_sincos): Likewise.
25503 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25507 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25508 main case of finite arguments, set rounding mode to FE_TONEAREST
25509 and discard exceptions.
25510 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25512 (remainder_tonearest_test_data): New variable.
25513 (remainder_test_tonearest): New function.
25514 (remainder_towardzero_test_data): New variable.
25515 (remainder_test_towardzero): New function.
25516 (remainder_downward_test_data): New variable.
25517 (remainder_test_downward): New function.
25518 (remainder_upward_test_data): New variable.
25519 (remainder_test_upward): New function.
25520 (main): Call the new test functions.
25522 * math/libm-test.inc (struct test_f_f1_data): Remove field
25524 (struct test_fF_f1_data): Likewise.
25525 (struct test_ffI_f1_data): Likewise.
25526 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25527 based on value of EXTRA_EXPECTED.
25528 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25529 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25530 EXTRA_VAR based on value of EXTRA_EXPECTED.
25531 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25532 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25533 EXTRA_VAR based on value of EXTRA_EXPECTED.
25534 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25535 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25536 EXTRA_VAR based on value of EXTRA_EXPECTED.
25537 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25538 * math/gen-libm-test.pl (parse_args): Don't output initializers
25539 for extra output values.
25541 * math/libm-test.inc (check_int): Expect result to be exactly
25542 equal to expected value and do not handle ulps.
25543 (check_long): Likewise.
25544 (check_longlong): Likewise.
25546 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25548 (cimag_test_data): Likewise.
25549 (conj_test_data): Likewise.
25550 (copysign_test_data): Likewise.
25551 (cproj_test_data): Likewise.
25552 (creal_test_data): Likewise.
25553 (fabs_test_data): Likewise.
25554 (fdim_test_data): Likewise.
25555 (finite_test_data): Likewise.
25556 (floor_test_data): Likewise.
25557 (fmax_test_data): Likewise.
25558 (fmin_test_data): Likewise.
25559 (fmod_test_data): Likewise.
25560 (fpclassify_test_data): Likewise.
25561 (frexp_test_data): Likewise.
25562 (ilogb_test_data): Likewise.
25563 (isfinite_test_data): Likewise.
25564 (isgreater_test_data): Likewise.
25565 (isgreaterequal_test_data): Likewise.
25566 (isinf_test_data): Likewise.
25567 (isless_test_data): Likewise.
25568 (islessequal_test_data): Likewise.
25569 (islessgreater_test_data): Likewise.
25570 (isnan_test_data): Likewise.
25571 (isnormal_test_data): Likewise.
25572 (issignaling_test_data): Likewise.
25573 (isunordered_test_data): Likewise.
25574 (ldexp_test_data): Likewise.
25575 (lrint_test_data): Likewise.
25576 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25577 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25578 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25579 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25580 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25581 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25583 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25584 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25585 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25586 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25588 (lrint_downward_test_data): Test for "inexact" exceptions.
25589 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25590 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25591 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25593 (lrint_upward_test_data): Test for "inexact" exceptions.
25594 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25596 (llrint_test_data): Test for "inexact" exceptions.
25597 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25598 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25599 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25600 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25601 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25602 (llrint_downward_test_data): Test for "inexact" exceptions.
25603 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25604 (llrint_upward_test_data): Test for "inexact" exceptions.
25605 (logb_test_data): Likewise.
25606 (logb_downward_test_data): Likewise.
25607 (nextafter_test_data): Likewise.
25608 (nexttoward_test_data): Likewise.
25609 (remainder_test_data): Likewise.
25610 (remquo_test_data): Likewise.
25611 (scalbn_test_data): Likewise.
25612 (scalbln_test_data): Likewise.
25613 (signbit_test_data): Likewise.
25614 (sqrt_test_data): Likewise.
25615 (significand_test_data): Likewise.
25617 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25620 * benchtests/bench-modf.c (struct args): Mark arg0 as
25622 * scripts/bench.pl: Mark members of struct args as volatile.
25624 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25627 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25628 negative infinity on POWER6 or lower.
25629 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25631 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25634 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25635 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25636 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25637 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25638 (_FP_SETQNAN): New macro.
25639 (_FP_SETQNAN_SEMIRAW): Likewise.
25640 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25641 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25642 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25643 (FP_EXTEND): Use _FP_FRAC_SNANP.
25644 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25645 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25647 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25649 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25652 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25654 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25655 with DIVIDE_BY_ZERO_EXCEPTION.
25656 (gamma_test_data): Likewise.
25657 (lgamma_test_data): Likewise.
25658 (log_test_data): Likewise.
25659 (log10_test_data): Likewise.
25660 (log2_test_data): Likewise.
25661 (tgamma_test_data): Likewise.
25663 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25664 (acos_test_tonearest): Likewise.
25665 (acos_test_towardzero): Likewise.
25666 (acos_test_downward): Likewise.
25667 (acos_test_upward): Likewise.
25668 (acosh_test): Likewise.
25669 (asin_test): Likewise.
25670 (asin_test_tonearest): Likewise.
25671 (asin_test_towardzero): Likewise.
25672 (asin_test_downward): Likewise.
25673 (asin_test_upward): Likewise.
25674 (asinh_test): Likewise.
25675 (atan_test): Likewise.
25676 (atanh_test): Likewise.
25677 (atan2_test): Likewise.
25678 (cabs_test): Likewise.
25679 (cacos_test): Likewise.
25680 (cacosh_test): Likewise.
25681 (casin_test): Likewise.
25682 (casinh_test): Likewise.
25683 (catan_test): Likewise.
25684 (catanh_test): Likewise.
25685 (cbrt_test): Likewise.
25686 (ccos_test): Likewise.
25687 (ccosh_test): Likewise.
25688 (cexp_test): Likewise.
25689 (clog_test): Likewise.
25690 (clog10_test): Likewise.
25691 (cos_test): Likewise.
25692 (cos_test_tonearest): Likewise.
25693 (cos_test_towardzero): Likewise.
25694 (cos_test_downward): Likewise.
25695 (cos_test_upward): Likewise.
25696 (cosh_test): Likewise.
25697 (cosh_test_tonearest): Likewise.
25698 (cosh_test_towardzero): Likewise.
25699 (cosh_test_downward): Likewise.
25700 (cosh_test_upward): Likewise.
25701 (cpow_test): Likewise.
25702 (csin_test): Likewise.
25703 (csinh_test): Likewise.
25704 (csqrt_test): Likewise.
25705 (ctan_test): Likewise.
25706 (ctan_test_tonearest): Likewise.
25707 (ctan_test_towardzero): Likewise.
25708 (ctan_test_downward): Likewise.
25709 (ctan_test_upward): Likewise.
25710 (ctanh_test): Likewise.
25711 (ctanh_test_tonearest): Likewise.
25712 (ctanh_test_towardzero): Likewise.
25713 (ctanh_test_downward): Likewise.
25714 (ctanh_test_upward): Likewise.
25715 (erf_test): Likewise.
25716 (erfc_test): Likewise.
25717 (exp_test): Likewise.
25718 (exp_test_tonearest): Likewise.
25719 (exp_test_towardzero): Likewise.
25720 (exp_test_downward): Likewise.
25721 (exp_test_upward): Likewise.
25722 (exp10_test): Likewise.
25723 (exp2_test): Likewise.
25724 (expm1_test): Likewise.
25725 (fmod_test): Likewise.
25726 (gamma_test): Likewise.
25727 (hypot_test): Likewise.
25728 (j0_test): Likewise.
25729 (j1_test): Likewise.
25730 (jn_test): Likewise.
25731 (lgamma_test): Likewise.
25732 (log_test): Likewise.
25733 (log10_test): Likewise.
25734 (log1p_test): Likewise.
25735 (log2_test): Likewise.
25736 (logb_test_downward): Likewise.
25737 (pow_test): Likewise.
25738 (pow_test_tonearest): Likewise.
25739 (pow_test_towardzero): Likewise.
25740 (pow_test_downward): Likewise.
25741 (pow_test_upward): Likewise.
25742 (remainder_test): Likewise.
25743 (remquo_test): Likewise.
25744 (sin_test): Likewise.
25745 (sin_test_tonearest): Likewise.
25746 (sin_test_towardzero): Likewise.
25747 (sin_test_downward): Likewise.
25748 (sin_test_upward): Likewise.
25749 (sincos_test): Likewise.
25750 (sinh_test): Likewise.
25751 (sinh_test_tonearest): Likewise.
25752 (sinh_test_towardzero): Likewise.
25753 (sinh_test_downward): Likewise.
25754 (sinh_test_upward): Likewise.
25755 (sqrt_test): Likewise.
25756 (tan_test): Likewise.
25757 (tan_test_tonearest): Likewise.
25758 (tan_test_towardzero): Likewise.
25759 (tan_test_downward): Likewise.
25760 (tan_test_upward): Likewise.
25761 (tanh_test): Likewise.
25762 (tgamma_test): Likewise.
25763 (y0_test): Likewise.
25764 (y1_test): Likewise.
25765 (yn_test): Likewise.
25767 * math/gen-libm-test.pl (adjust_arg): Remove function.
25768 (special_function): Remove argument $in_func. Only handle
25769 generating output for tables of tests, not inside functions.
25770 (parse_args): Likewise.
25771 (generate_testfile): Remove variable $in_func. Update call to
25773 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25774 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25775 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25776 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25777 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25778 (MAX_VALUE_INIT): Rename macro to max_value.
25779 (MIN_VALUE_INIT): Rename macro to min_value.
25780 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25781 (plus_zero): Remove variable.
25782 (minus_zero): Likewise.
25783 (plus_infty): Likewise.
25784 (minus_infty): Likewise.
25785 (qnan_value): Likewise.
25786 (max_value): Likewise.
25787 (min_value): Likewise.
25788 (min_subnorm_value): Likewise.
25790 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25792 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25793 uint64_t or uint32_t usage.
25794 * crypt/sha256-block.c: Likewise.
25795 * crypt/sha256-crypt.c: Likewise.
25796 * crypt/sha256.c: Likewise.
25797 * crypt/sha512-block.c: Likewise.
25798 * crypt/sha512-crypt.c: Likewise.
25799 * crypt/sha512.c: Likewise.
25800 * debug/backtrace-tst.c: Likewise.
25801 * debug/pcprofiledump.c: Likewise.
25802 * elf/cache.c: Likewise.
25803 * elf/dl-cache.c: Likewise.
25804 * elf/dl-misc.c: Likewise.
25805 * elf/dl-profile.c: Likewise.
25806 * elf/dl-support.c: Likewise.
25807 * elf/ldconfig.c: Likewise.
25808 * elf/sprof.c: Likewise.
25809 * iconv/dummy-repertoire.c: Likewise.
25810 * iconv/iconv_charmap.c: Likewise.
25811 * iconv/skeleton.c: Likewise.
25812 * iconvdata/8bit-generic.c: Likewise.
25813 * iconvdata/cp737.h: Likewise.
25814 * iconvdata/cp775.h: Likewise.
25815 * iconvdata/ibm1008.h: Likewise.
25816 * iconvdata/ibm1025.h: Likewise.
25817 * iconvdata/ibm1046.h: Likewise.
25818 * iconvdata/ibm1097.h: Likewise.
25819 * iconvdata/ibm1112.h: Likewise.
25820 * iconvdata/ibm1122.h: Likewise.
25821 * iconvdata/ibm1123.h: Likewise.
25822 * iconvdata/ibm1124.h: Likewise.
25823 * iconvdata/ibm1129.h: Likewise.
25824 * iconvdata/ibm1130.h: Likewise.
25825 * iconvdata/ibm1132.h: Likewise.
25826 * iconvdata/ibm1133.h: Likewise.
25827 * iconvdata/ibm1137.h: Likewise.
25828 * iconvdata/ibm1140.h: Likewise.
25829 * iconvdata/ibm1141.h: Likewise.
25830 * iconvdata/ibm1142.h: Likewise.
25831 * iconvdata/ibm1143.h: Likewise.
25832 * iconvdata/ibm1144.h: Likewise.
25833 * iconvdata/ibm1145.h: Likewise.
25834 * iconvdata/ibm1146.h: Likewise.
25835 * iconvdata/ibm1147.h: Likewise.
25836 * iconvdata/ibm1148.h: Likewise.
25837 * iconvdata/ibm1149.h: Likewise.
25838 * iconvdata/ibm1153.h: Likewise.
25839 * iconvdata/ibm1154.h: Likewise.
25840 * iconvdata/ibm1155.h: Likewise.
25841 * iconvdata/ibm1156.h: Likewise.
25842 * iconvdata/ibm1157.h: Likewise.
25843 * iconvdata/ibm1158.h: Likewise.
25844 * iconvdata/ibm1160.h: Likewise.
25845 * iconvdata/ibm1161.h: Likewise.
25846 * iconvdata/ibm1162.h: Likewise.
25847 * iconvdata/ibm1163.h: Likewise.
25848 * iconvdata/ibm1164.h: Likewise.
25849 * iconvdata/ibm1166.h: Likewise.
25850 * iconvdata/ibm1167.h: Likewise.
25851 * iconvdata/ibm12712.h: Likewise.
25852 * iconvdata/ibm1390.h: Likewise.
25853 * iconvdata/ibm1399.h: Likewise.
25854 * iconvdata/ibm16804.h: Likewise.
25855 * iconvdata/ibm4517.h: Likewise.
25856 * iconvdata/ibm4899.h: Likewise.
25857 * iconvdata/ibm4909.h: Likewise.
25858 * iconvdata/ibm4971.h: Likewise.
25859 * iconvdata/ibm5347.h: Likewise.
25860 * iconvdata/ibm803.h: Likewise.
25861 * iconvdata/ibm856.h: Likewise.
25862 * iconvdata/ibm901.h: Likewise.
25863 * iconvdata/ibm902.h: Likewise.
25864 * iconvdata/ibm9030.h: Likewise.
25865 * iconvdata/ibm9066.h: Likewise.
25866 * iconvdata/ibm921.h: Likewise.
25867 * iconvdata/ibm922.h: Likewise.
25868 * iconvdata/ibm9448.h: Likewise.
25869 * iconvdata/isiri-3342.h: Likewise.
25870 * iconvdata/jis0201.h: Likewise.
25871 * include/link.h: Likewise.
25872 * include/netdb.h: Likewise.
25873 * inet/check_native.c: Likewise.
25874 * inet/check_pf.c: Likewise.
25875 * inet/getipv4sourcefilter.c: Likewise.
25876 * inet/getnameinfo.c: Likewise.
25877 * inet/getsourcefilter.c: Likewise.
25878 * inet/htonl.c: Likewise.
25879 * inet/setipv4sourcefilter.c: Likewise.
25880 * inet/setsourcefilter.c: Likewise.
25881 * inet/test-inet6_opt.c: Likewise.
25882 * inet/tst-network.c: Likewise.
25883 * locale/C-collate.c: Likewise.
25884 * locale/C-ctype.c: Likewise.
25885 * locale/C-time.c: Likewise.
25886 * locale/C-translit.h: Likewise.
25887 * locale/loadarchive.c: Likewise.
25888 * locale/programs/3level.h: Likewise.
25889 * locale/programs/charmap.c: Likewise.
25890 * locale/programs/charmap.h: Likewise.
25891 * locale/programs/ld-address.c: Likewise.
25892 * locale/programs/ld-collate.c: Likewise.
25893 * locale/programs/ld-ctype.c: Likewise.
25894 * locale/programs/ld-identification.c: Likewise.
25895 * locale/programs/ld-measurement.c: Likewise.
25896 * locale/programs/ld-messages.c: Likewise.
25897 * locale/programs/ld-monetary.c: Likewise.
25898 * locale/programs/ld-name.c: Likewise.
25899 * locale/programs/ld-numeric.c: Likewise.
25900 * locale/programs/ld-paper.c: Likewise.
25901 * locale/programs/ld-telephone.c: Likewise.
25902 * locale/programs/ld-time.c: Likewise.
25903 * locale/programs/linereader.c: Likewise.
25904 * locale/programs/locale.c: Likewise.
25905 * locale/programs/locarchive.c: Likewise.
25906 * locale/programs/locfile.h: Likewise.
25907 * locale/programs/repertoire.c: Likewise.
25908 * locale/programs/simple-hash.c: Likewise.
25909 * locale/programs/simple-hash.h: Likewise.
25910 * malloc/memusage.c: Likewise.
25911 * malloc/memusagestat.c: Likewise.
25912 * nis/nis_defaults.c: Likewise.
25913 * nis/nis_hash.c: Likewise.
25914 * nis/nis_print.c: Likewise.
25915 * nis/nis_xdr.c: Likewise.
25916 * nscd/connections.c: Likewise.
25917 * nscd/hstcache.c: Likewise.
25918 * nscd/nscd_gethst_r.c: Likewise.
25919 * nscd/nscd_getserv_r.c: Likewise.
25920 * nscd/nscd_helper.c: Likewise.
25921 * nscd/servicescache.c: Likewise.
25922 * nss/makedb.c: Likewise.
25923 * nss/nss_db/db-XXX.c: Likewise.
25924 * nss/nss_db/db-initgroups.c: Likewise.
25925 * nss/nss_db/db-netgrp.c: Likewise.
25926 * nss/nss_files/files-network.c: Likewise.
25927 * nss/nss_files/files-parse.c: Likewise.
25928 * posix/bug-regex5.c: Likewise.
25929 * posix/fnmatch_loop.c: Likewise.
25930 * posix/regcomp.c: Likewise.
25931 * posix/regexec.c: Likewise.
25932 * posix/tst-rfc3484-2.c: Likewise.
25933 * posix/tst-rfc3484-3.c: Likewise.
25934 * posix/tst-rfc3484.c: Likewise.
25935 * resolv/nss_dns/dns-canon.c: Likewise.
25936 * resolv/nss_dns/dns-network.c: Likewise.
25937 * resolv/res_init.c: Likewise.
25938 * resolv/res_mkquery.c: Likewise.
25939 * resolv/tst-aton.c: Likewise.
25940 * stdlib/cxa_atexit.c: Likewise.
25941 * stdlib/cxa_finalize.c: Likewise.
25942 * stdlib/gen-fpioconst.c: Likewise.
25943 * stdlib/strtol_l.c: Likewise.
25944 * string/tst-endian.c: Likewise.
25945 * sunrpc/auth_des.c: Likewise.
25946 * sunrpc/clnt_udp.c: Likewise.
25947 * sunrpc/rtime.c: Likewise.
25948 * sunrpc/svcauth_des.c: Likewise.
25949 * sunrpc/xdr.c: Likewise.
25950 * sunrpc/xdr_intXX_t.c: Likewise.
25951 * sunrpc/xdr_rec.c: Likewise.
25952 * sysdeps/generic/ldconfig.h: Likewise.
25953 * sysdeps/generic/ldsodefs.h: Likewise.
25954 * sysdeps/generic/memusage.h: Likewise.
25955 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25956 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25957 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25958 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25959 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25960 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25961 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25962 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25963 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25964 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25965 * sysdeps/posix/getaddrinfo.c: Likewise.
25966 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25967 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25968 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25969 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25970 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25971 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25972 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25973 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25974 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25975 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25976 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25977 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25978 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25979 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25980 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25981 * sysdeps/x86_64/dl-tls.h: Likewise.
25982 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25983 * time/alt_digit.c: Likewise.
25984 * time/era.c: Likewise.
25985 * wcsmbs/tst-c16c32-1.c: Likewise.
25987 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25989 * math/libm-test.inc (struct test_sincos_data): New type.
25990 (RUN_TEST_LOOP_sincos): New macro.
25991 (sincos_test_data): New variable.
25992 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25994 2013-05-16 Richard Henderson <rth@redhat.com>
25996 * math/atest-exp2.c (LIMB64): New macro.
25997 (CONSTSZ): New macro.
25998 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26000 (print_mpn_fp): ... to function scope.
26001 (read_mpn_hex): Remove.
26002 (get_log2): Remove.
26003 (exp2_mpn): Use mp_log2.
26004 (main): Use mp_exp1.
26006 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26008 * math/libm-test.inc: Remove comment about not testing "inexact"
26010 (INEXACT_EXCEPTION): New macro.
26011 (NO_INEXACT_EXCEPTION): Likewise.
26012 (INVALID_EXCEPTION_OK): Update value.
26013 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26014 (OVERFLOW_EXCEPTION_OK): Likewise.
26015 (UNDERFLOW_EXCEPTION_OK): Likewise.
26016 (IGNORE_ZERO_INF_SIGN): Likewise.
26017 (ERRNO_UNCHANGED): Likewise.
26018 (ERRNO_EDOM): Likewise.
26019 (ERRNO_ERANGE): Likewise.
26020 (test_exceptions): Handle testing "inexact" exceptions.
26021 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26022 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26023 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26024 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26026 (rint_towardzero_test_data): Likewise.
26027 (rint_downward_test_data): Likewise.
26028 (rint_upward_test_data): Likewise.
26030 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26031 with OVERFLOW_EXCEPTION.
26032 (exp10_test_data): Likewise.
26033 (exp2_test_data): Likewise.
26034 (expm1_test_data): Likewise.
26035 (lgamma_test_data): Likewise.
26036 (pow_test_data): Likewise.
26037 (tgamma_test_data): Likewise.
26038 (yn_test_data): Remove duplicate test of overflow.
26040 * math/libm-test.inc (struct test_cc_c_data): New type.
26041 (RUN_TEST_LOOP_cc_c): New macro.
26042 (cpow_test_data): New variable.
26043 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26045 * math/libm-test.inc (struct test_f_L_data): New type.
26046 (RUN_TEST_LOOP_f_L): New macro.
26047 (llrint_test_data): New variable.
26048 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26049 (llrint_tonearest_test_data): New variable.
26050 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26051 (llrint_towardzero_test_data): New variable.
26052 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26053 (llrint_downward_test_data): New variable.
26054 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26055 (llrint_upward_test_data): New variable.
26056 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26057 (llround_test_data): New variable.
26058 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26060 2013-05-13 Peter Collingbourne <pcc@google.com>
26062 * math/atest-exp2.c (get_log2): Remove const attribute.
26064 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26066 * math/libm-test.inc (struct test_f_l_data): New type.
26067 (RUN_TEST_LOOP_f_l): New macro.
26068 (lrint_test_data): New variable.
26069 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26070 (lrint_tonearest_test_data): New variable.
26071 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26072 (lrint_towardzero_test_data): New variable.
26073 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26074 (lrint_downward_test_data): New variable.
26075 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26076 (lrint_upward_test_data): New variable.
26077 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26078 (lround_test_data): New variable.
26079 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26081 2013-05-15 Peter Collingbourne <pcc@google.com>
26083 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26084 (EXTRACT_WORDS64) Use where appropriate.
26085 (INSERT_WORDS64) Likewise.
26087 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26088 constraints with x constraints.
26089 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26091 * malloc/obstack.c (_obstack_compat): Add initializer.
26093 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26095 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26096 si_trapno and add si_addr_lsb to _sifields.sigfault.
26097 (si_trapno): Remove macro.
26098 (si_addr_lsb): Define new macro.
26099 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26101 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26103 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26104 instead of TEST_f_l.
26105 (llrint_test_tonearest): Likewise.
26106 (llrint_test_towardzero): Likewise.
26107 (llrint_test_downward): Likewise.
26108 (llrint_test_upward): Likewise.
26109 (llround_test): Likewise.
26111 * math/libm-test.inc (struct test_f_i_data): Add comment.
26112 (RUN_TEST_LOOP_f_b): New macro.
26113 (RUN_TEST_LOOP_f_b_tg): Likewise.
26114 (finite_test_data): New variable.
26115 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26116 (isfinite_test_data): New variable.
26117 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26118 (isinf_test_data): New variable.
26119 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26120 (isnan_test_data): New variable.
26121 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26122 (isnormal_test_data): New variable.
26123 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26124 (issignaling_test_data): New variable.
26125 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26126 (signbit_test_data): New variable.
26127 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26129 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26130 with INVALID_EXCEPTION.
26131 (acosh_test_data): Likewise.
26132 (asin_test_data): Likewise.
26133 (atanh_test_data): Likewise.
26134 (fmod_test_data): Likewise.
26135 (log_test_data): Likewise.
26136 (log10_test_data): Likewise.
26137 (log2_test_data): Likewise.
26138 (pow_test_data): Likewise.
26139 (sqrt_test_data): Likewise.
26140 (y0_test_data): Likewise.
26141 (y1_test_data): Likewise.
26142 (yn_test_data): Likewise.
26144 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26147 * math/libm-test.inc (struct test_ff_i_data): New type.
26148 (RUN_TEST_LOOP_ff_i_tg): New macro.
26149 (isgreater_test_data): New variable.
26150 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26151 (isgreaterequal_test_data): New variable.
26152 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26153 (isless_test_data): New variable.
26154 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26155 (islessequal_test_data): New variable.
26156 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26157 (islessgreater_test_data): New variable.
26158 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26159 (isunordered_test_data): New variable.
26160 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26162 2013-05-14 David S. Miller <davem@davemloft.net>
26164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26166 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26168 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26170 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26172 (struct test_f_i_data): Change type of max_ulp to int.
26174 * math/libm-test.inc (test_ffI_f1_data): New type.
26175 (RUN_TEST_LOOP_ffI_f1): New macro.
26176 (remquo_test_data): New variable.
26177 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26179 * setjmp/tst-setjmp-fp.c: New file.
26180 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26181 (link-libm): New variable.
26182 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26184 * math/libm-test.inc (struct test_f_i_data): New type.
26185 (RUN_TEST_LOOP_f_i): New macro.
26186 (RUN_TEST_LOOP_f_i_tg): Likewise.
26187 (fpclassify_test_data): New variable.
26188 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26189 (ilogb_test_data): New variable.
26190 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26192 * math/libm-test.inc (scalbln_test): Correct function name in END
26195 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26196 (RUN_TEST_LOOP_fI_f1): New macro.
26197 (frexp_test_data): New variable.
26198 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26200 * math/libm-test.inc (struct test_fF_f1_data): New type.
26201 (RUN_TEST_LOOP_fF_f1): New macro.
26202 (modf_test_data): New variable.
26203 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26205 * math/libm-test.inc (struct test_f_f1_data): New type.
26206 (RUN_TEST_LOOP_f_f1): New macro.
26207 (gamma_test_data): New variable.
26208 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26209 (lgamma_test_data): New variable.
26210 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26212 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26214 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26215 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26216 (main): Comment "tls" pseudo-hwcap.
26218 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26220 * math/libm-test.inc (struct test_fl_f_data): New type.
26221 (RUN_TEST_LOOP_fl_f): New variable.
26222 (scalbln_test_data): New variable.
26223 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26225 * math/libm-test.inc (struct test_fi_f_data): New type.
26226 (RUN_TEST_LOOP_fi_f): New macro.
26227 (ldexp_test_data): New variable.
26228 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26229 (scalbn_test_data): New variable.
26230 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26232 * math/libm-test.inc (struct test_c_f_data): New type.
26233 (RUN_TEST_LOOP_c_f): New macro.
26234 (cabs_test_data): New variable.
26235 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26236 (carg_test_data): New variable.
26237 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26238 (cimag_test_data): New variable.
26239 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26240 (creal_test_data): New variable.
26241 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26243 * math/libm-test.inc (struct test_if_f_data): New type.
26244 (RUN_TEST_LOOP_if_f): New macro.
26245 (jn_test_data): New variable.
26246 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26247 (yn_test_data): New variable.
26248 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26250 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26252 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26254 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26255 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26257 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26259 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26260 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26261 (bench-deps): Add bench-timing.h.
26262 * benchtests-bench-skeleton.c: Include bench-timing.h.
26263 (main): Use TIMING_* macros instead of clock_gettime.
26264 * benchtests/bench-timing.h: New file.
26267 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26268 Renamed from _LIB_VERSION.
26269 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26271 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26273 * math/libm-test.inc (struct test_fff_f_data): New type.
26274 (RUN_TEST_LOOP_fff_f): New macro.
26275 (fma_test_data): New variable.
26276 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26277 (fma_towardzero_test_data): New variable.
26278 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26279 (fma_downward_test_data): New variable.
26280 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26281 (fma_upward_test_data): New variable.
26282 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26284 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26285 (struct test_c_c_data): New type.
26286 (RUN_TEST_LOOP_c_c): New macro.
26287 (cacos_test_data): New variable.
26288 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26289 (cacosh_test_data): New variable.
26290 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26291 (casin_test_data): New variable.
26292 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26293 (casinh_test_data): New variable.
26294 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26295 (catan_test_data): New variable.
26296 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26297 (catanh_test_data): New variable.
26298 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26299 (ccos_test_data): New variable.
26300 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26301 (ccosh_test_data): New variable.
26302 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26303 (cexp_test_data): New variable.
26304 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26305 (clog_test_data): New variable.
26306 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26307 (clog10_test_data): New variable.
26308 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26309 (conj_test_data): New variable.
26310 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26311 (cproj_test_data): New variable.
26312 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26313 (csin_test_data): New variable.
26314 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26315 (csinh_test_data): New variable.
26316 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26317 (csqrt_test_data): New variable.
26318 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26319 (ctan_test_data): New variable.
26320 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26321 (ctan_tonearest_test_data): New variable.
26322 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26323 (ctan_towardzero_test_data): New variable.
26324 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26325 (ctan_downward_test_data): New variable.
26326 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26327 (ctan_upward_test_data): New variable.
26328 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26329 (ctanh_test_data): New variable.
26330 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26331 (ctanh_tonearest_test_data): New variable.
26332 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26333 (ctanh_towardzero_test_data): New variable.
26334 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26335 (ctanh_downward_test_data): New variable.
26336 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26337 (ctanh_upward_test_data): New variable.
26338 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26339 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26342 * math/libm-test.inc (struct test_ff_f_data): New type.
26343 (struct test_ff_f_data_nexttoward): Likewise.
26344 (RUN_TEST_LOOP_2_f): New macro.
26345 (RUN_TEST_LOOP_ff_f): Likewise.
26346 (atan2_test_data): New variable.
26347 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26348 (copysign_test_data): New variable.
26349 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26350 (fdim_test_data): New variable.
26351 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26352 (fmax_test_data): New variable.
26353 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26354 (fmin_test_data): New variable.
26355 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26356 (fmod_test_data): New variable.
26357 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26358 (hypot_test_data): New variable.
26359 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26360 (nextafter_test_data): New variable.
26361 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26362 (nexttoward_test_data): New variable.
26363 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26364 (pow_test_data): New variable.
26365 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26366 (pow_tonearest_test_data): New variable.
26367 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26368 (pow_towardzero_test_data): New variable.
26369 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26370 (pow_downward_test_data): New variable.
26371 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26372 (pow_upward_test_data): New variable.
26373 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26374 (remainder_test_data): New variable.
26375 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26376 (scalb_test_data): New variable.
26377 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26378 * sysdeps/i386/fpu/libm-test-ulps: Update.
26380 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26382 * math/libm-test.inc (fma_test): Use max_value instead of local
26384 (nextafter_test): Likewise.
26386 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26387 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26388 (acos_downward_test_data): New variable.
26389 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26390 (acos_upward_test_data): New variable.
26391 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26392 (acosh_test_data): New variable.
26393 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26394 (asin_test_data): New variable.
26395 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26396 (asin_tonearest_test_data): New variable.
26397 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26398 (asin_towardzero_test_data): New variable.
26399 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26400 (asin_downward_test_data): New variable.
26401 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26402 (asin_upward_test_data): New variable.
26403 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26404 (asinh_test_data): New variable.
26405 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26406 (atan_test_data): New variable.
26407 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26408 (atanh_test_data): New variable.
26409 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26410 (cbrt_test_data): New variable.
26411 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26412 (ceil_test_data): New variable.
26413 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26414 (cos_test_data): New variable.
26415 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26416 (cos_tonearest_test_data): New variable.
26417 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26418 (cos_towardzero_test_data): New variable.
26419 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26420 (cos_downward_test_data): New variable.
26421 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26422 (cos_upward_test_data): New variable.
26423 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26424 (cosh_test_data): New variable.
26425 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26426 (cosh_tonearest_test_data): New variable.
26427 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26428 (cosh_towardzero_test_data): New variable.
26429 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26430 (cosh_downward_test_data): New variable.
26431 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26432 (cosh_upward_test_data): New variable.
26433 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26434 (erf_test_data): New variable.
26435 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26436 (erfc_test_data): New variable.
26437 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26438 (exp_test_data): New variable.
26439 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26440 (exp_tonearest_test_data): New variable.
26441 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26442 (exp_towardzero_test_data): New variable.
26443 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26444 (exp_downward_test_data): New variable.
26445 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26446 (exp_upward_test_data): New variable.
26447 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26448 (exp10_test_data): New variable.
26449 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26450 (exp2_test_data): New variable.
26451 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26452 (expm1_test_data): New variable.
26453 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26454 (fabs_test_data): New variable.
26455 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26456 (floor_test_data): New variable.
26457 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26458 (j0_test_data): New variable.
26459 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26460 (j1_test_data): New variable.
26461 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26462 (log_test_data): New variable.
26463 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26464 (log10_test_data): New variable.
26465 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26466 (log1p_test_data): New variable.
26467 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26468 (log2_test_data): New variable.
26469 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26470 (logb_test_data): New variable.
26471 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26472 (logb_downward_test_data): New variable.
26473 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26474 (nearbyint_test_data): New variable.
26475 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26476 (rint_test_data): New variable.
26477 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26478 (rint_tonearest_test_data): New variable.
26479 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26480 (rint_towardzero_test_data): New variable.
26481 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26482 (rint_downward_test_data): New variable.
26483 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26484 (rint_upward_test_data): New variable.
26485 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26486 (round_test_data): New variable.
26487 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26488 (sin_test_data): New variable.
26489 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26490 (sin_tonearest_test_data): New variable.
26491 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26492 (sin_towardzero_test_data): New variable.
26493 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26494 (sin_downward_test_data): New variable.
26495 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26496 (sin_upward_test_data): New variable.
26497 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26498 (sinh_test_data): New variable.
26499 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26500 (sinh_tonearest_test_data): New variable.
26501 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26502 (sinh_towardzero_test_data): New variable.
26503 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26504 (sinh_downward_test_data): New variable.
26505 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26506 (sinh_upward_test_data): New variable.
26507 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26508 (sqrt_test_data): New variable.
26509 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26510 (tan_test_data): New variable.
26511 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26512 (tan_tonearest_test_data): New variable.
26513 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26514 (tan_towardzero_test_data): New variable.
26515 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26516 (tan_downward_test_data): New variable.
26517 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26518 (tan_upward_test_data): New variable.
26519 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26520 (tanh_test_data): New variable.
26521 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26522 (tgamma_test_data): New variable.
26523 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26524 (trunc_test_data): New variable.
26525 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26526 (y0_test_data): New variable.
26527 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26528 (y1_test_data): New variable.
26529 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26530 (significand_test_data): New variable.
26531 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26533 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26536 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26538 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26540 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26542 2013-05-10 Andreas Jaeger <aj@suse.de>
26545 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26546 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26548 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26550 * math/gen-libm-test.pl (adjust_arg): New function.
26551 (special_functions): Handle generating output in both functions
26553 (parse_args): Likewise.
26554 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26555 $in_func argument to parse_args.
26556 * math/libm-test.inc (struct test_f_f_data): New type.
26557 (IF_ROUND_INIT_): New macro.
26558 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26559 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26560 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26561 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26562 (ROUND_RESTORE_): Likewise.
26563 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26564 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26565 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26566 (ROUND_RESTORE_FE_UPWARD): Likewise.
26567 (RUN_TEST_LOOP_f_f): New macro.
26568 (acos_test_data): New variable.
26569 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26570 (acos_tonearest_test_data): New variable.
26571 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26573 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26575 * benchtests/bench-skeleton.c (startup): Fix coding style.
26577 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26580 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26581 negative infinity argument.
26582 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26583 negative infinity argument.
26584 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26585 negative infinity argument.
26586 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26589 2013-05-10 Florian Weimer <fweimer@redhat.com>
26591 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26592 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26593 * iconv/iconv_prog.c (main): Likewise.
26594 * locale/programs/charmap-dir.c (charmap_readdir)
26595 (fopen_uncompressed): Likewise.
26596 * locale/programs/locfile.c (siblings_uncached)
26597 (write_locale_data): Use lstat64 instead of lstat.
26598 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26601 2013-05-10 Andreas Jaeger <aj@suse.de>
26604 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26606 Include <locale.h>.
26608 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26610 * elf/dl-close.c (_dl_close_worker): Add comments.
26612 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26615 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26617 (__ieee754_rem_pio2l): Update comments.
26620 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26622 (__ieee754_rem_pio2l): Update comments.
26624 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26625 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26627 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26630 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26631 (M_PI_34_LOG10El): Likewise.
26632 (M_PI2_LOG10El): Likewise.
26633 (M_PI4_LOG10El): Likewise.
26634 (M_PI_LOG10El): Likewise.
26636 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26640 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26642 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26643 (MINUS_ZERO_INIT): Likewise.
26644 (PLUS_INFTY_INIT): Likewise.
26645 (MINUS_INFTY_INIT): Likewise.
26646 (QNAN_VALUE_INIT): Likewise.
26647 (MAX_VALUE_INIT): Likewise.
26648 (MIN_VALUE_INIT): Likewise.
26649 (MIN_SUBNORM_VALUE_INIT): Likewise.
26650 (plus_zero): Initialize with PLUS_ZERO_INIT.
26651 (minus_zero): Initialize with MINUS_ZERO_INIT.
26652 (plus_infty): Initialize with PLUS_INFTY_INIT.
26653 (minus_infty): Initialize with MINUS_INFTY_INIT.
26654 (qnan_value): Initialize with QNAN_VALUE_INIT.
26655 (max_value): Initialize with MAX_VALUE_INIT.
26656 (min_value): Initialize with MIN_VALUE_INIT.
26657 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26659 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26660 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26661 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26662 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26664 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26665 (RUN_TEST_2_f): Likewise.
26666 (RUN_TEST_ff_f): Likewise.
26667 (RUN_TEST_fi_f): Likewise.
26668 (RUN_TEST_fl_f): Likewise.
26669 (RUN_TEST_fff_f): Likewise.
26670 (RUN_TEST_c_f): Likewise.
26671 (RUN_TEST_f_f1): Likewise.
26672 (RUN_TEST_fF_f1): Likewise.
26673 (RUN_TEST_fI_f1): Likewise.
26674 (RUN_TEST_ffI_f1): Likewise.
26675 (RUN_TEST_c_c): Likewise.
26676 (RUN_TEST_cc_c): Likewise.
26677 (RUN_TEST_f_i): Likewise.
26678 (RUN_TEST_f_i_tg): Likewise.
26679 (RUN_TEST_ff_i_tg): Likewise.
26680 (RUN_TEST_f_b): Likewise.
26681 (RUN_TEST_f_b_tg): Likewise.
26682 (RUN_TEST_f_l): Likewise.
26683 (RUN_TEST_f_L): Likewise.
26684 (RUN_TEST_sincos): Likewise.
26685 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26686 whether to show exceptions. Do not include ");\n" in return
26688 (special_functions): Output call to RUN_TEST_sincos instead of
26689 check_float calls. Update calls to new_test.
26690 (parse_args): Output call to single RUN_TEST_* macro instead of
26691 check_* calls and other assignments. Update calls to new_test.
26697 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26698 input to result for tgamma overflow.
26699 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26700 (gamma_coeff): New variable.
26701 (NCOEFF): New macro.
26702 (gamma_positive): New function.
26703 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26704 underflow here. Use gamma_positive instead of exp (lgamma) for
26706 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26707 (gamma_coeff): New variable.
26708 (NCOEFF): New macro.
26709 (gammaf_positive): New function.
26710 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26711 underflow here. Use gamma_positive instead of exp (lgamma) for
26713 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26714 (gamma_coeff): New variable.
26715 (NCOEFF): New macro.
26716 (gammal_positive): New function.
26717 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26718 underflow here. Use gamma_positive instead of exp (lgamma) for
26720 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26721 (gamma_coeff): New variable.
26722 (NCOEFF): New macro.
26723 (gammal_positive): New function.
26724 (__ieee754_gammal_r): Handle positive infinity, overflow and
26725 underflow here. Handle NaN the same as positive infinity. Remove
26726 check x < 0xffffffff for negative integers. Use gamma_positive
26727 instead of exp (lgamma) for other arguments.
26728 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26729 (gamma_coeff): New variable.
26730 (NCOEFF): New macro.
26731 (gammal_positive): New function.
26732 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26733 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26736 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26737 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26738 * sysdeps/generic/math_private.h (__gamma_productf): New
26740 (__gamma_product): Likewise.
26741 (__gamma_productl): Likewise.
26742 * math/Makefile (libm-calls): Add gamma_product.
26743 * math/libm-test.inc (tgamma_test): Add more tests.
26744 * sysdeps/i386/fpu/libm-test-ulps: Update.
26745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26747 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26749 * benchtests/bench-skeleton.c (main): Preheat CPU.
26751 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26753 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26755 2013-05-07 Roland McGrath <roland@hack.frob.com>
26757 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26758 and _dl_skip_args_internal.
26760 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26762 * manual/message.texi (Message Translation): Talk about users.
26763 Message to key mapping impacts design.
26765 2013-05-06 Roland McGrath <roland@hack.frob.com>
26767 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26769 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26771 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26772 * sysdeps/wordsize-64/glob64.c: ... here.
26774 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26775 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26778 * debug/getlogin_r_chk.c: Moved to ...
26779 * login/getlogin_r_chk.c: ... here.
26780 * debug/Makefile (routines): Move getlogin_r_chk to ...
26781 * login/Makefile (routines): ... here.
26782 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26783 * login/Versions (libc: GLIBC_2.4): ... here.
26785 * io/poll.c (__poll): Renamed from poll.
26786 Add libc_hidden_def.
26787 (poll): Define as weak alias.
26789 * debug/ptsname_r_chk.c: Moved to ...
26790 * login/ptsname_r_chk.c: ... here.
26791 * debug/Makefile (routines): Move ptsname_r_chk to ...
26792 * login/Makefile (routines): ... here.
26793 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26794 * login/Versions (libc: GLIBC_2.4): ... here.
26796 * posix/getlogin.c: Moved to ...
26797 * login/getlogin.c: ... here.
26798 * posix/getlogin_r.c: Moved to ...
26799 * login/getlogin_r.c: ... here.
26800 * posix/getlogin_r.c: Moved to ...
26801 * login/getlogin_r.c: ... here.
26802 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26803 * login/Makefile (routines): ... here.
26804 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26805 * login/Versions (libc: GLIBC_2.0): ... here.
26807 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26808 (setrlimit): Define as weak alias.
26810 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26811 Call __ names for open, ftruncate, and close.
26812 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26813 (truncate): Define as weak alias.
26815 2013-05-06 Joseph Myers <joseph@codesourcery.com>
26817 * math/gen-libm-test.pl (parse_args): Initialize x before each
26818 test of frexp, modf and remquo.
26820 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26821 test signgam value.
26823 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26827 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26829 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26831 2013-05-06 Roland McGrath <roland@hack.frob.com>
26833 * elf/dl-writev.h: New file.
26834 * elf/dl-misc.c: Include it.
26835 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26836 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26838 2013-05-04 Joseph Myers <joseph@codesourcery.com>
26840 * math/libm-test.inc (noXFails): Remove variable.
26841 (noXPasses): Likewise.
26842 (BUILD_COMPLEX_INT): Remove macro.
26843 (print_screen): Remove xfail argument.
26844 (print_screen_max_error): Likewise.
26845 (update_stats): Likewise.
26846 (print_max_error): Likewise. Update calls to other affected
26848 (print_complex_max_error): Likewise.
26849 (test_single_exception): Update calls to print_screen.
26850 (test_single_errno): Likewise.
26851 (check_float_internal): Remove xfail argument. Update calls to
26852 other affected functions.
26853 (check_float): Likewise.
26854 (check_complex): Likewise.
26855 (check_int): Likewise.
26856 (check_long): Likewise.
26857 (check_bool): Likewise.
26858 (check_longlong): Likewise.
26859 (main): Don't print noXFails and noXPasses.
26860 * math/gen-libm-test.pl (top level): Don't mention expected
26861 failure handling in comment.
26862 (new_test): Don't handle expected failures.
26863 (parse_args): Don't mention expected failure handling in comment.
26864 (generate_testfile): Don't handle expected failures.
26865 (parse_ulps): Likewise.
26866 (print_ulps_file): Likewise.
26867 (get_failure): Remove function.
26868 (output_test): Don't handle expected failures.
26869 * make/README.libm-test: Don't mention expected failure handling.
26871 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26872 (minus_zero): Likewise.
26873 (plus_infty): Likewise.
26874 (minus_infty): Likewise.
26875 (qnan_value): Likewise.
26876 (max_value): Likewise.
26877 (min_value): Likewise.
26878 (min_subnorm_value): Likewise.
26879 (initialize): Do not initialize those variables dynamically.
26881 2013-05-03 Roland McGrath <roland@hack.frob.com>
26883 * io/open.c (__open_2): Moved to ...
26884 * io/open_2.c: ... this new file.
26885 * io/open64.c (__open64_2): Moved to ...
26886 * io/open64_2.c: ... this new file.
26887 * io/openat.c (__openat_2): Moved to ...
26888 * io/openat_2.c: ... this new file.
26889 * io/openat64.c (__openat64_2): Moved to ...
26890 * io/openat64_2.c: ... this new file.
26891 * io/Makefile (routines): Add them.
26892 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26893 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26894 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26895 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26896 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26897 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26898 (__openat64): Add hidden_ver.
26899 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26900 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26902 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26903 Separately conditionalize setting of GLRO(dl_sysinfo) so
26904 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26905 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26907 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26909 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26910 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26912 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26913 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26914 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26915 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26916 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26918 2013-05-03 Joseph Myers <joseph@codesourcery.com>
26920 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26921 test signgam value.
26923 * math/libm-test.inc (hypot_test): Do not use
26924 IGNORE_ZERO_INF_SIGN.
26926 2013-05-03 Andreas Jaeger <aj@suse.de>
26928 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26930 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26931 (PF_MAX): Adjust for VSOCK change.
26933 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26937 2013-05-02 Carlos O'Donell <carlos@redhat.com>
26940 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26941 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26942 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26944 2013-05-02 David S. Miller <davem@davemloft.net>
26946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26948 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
26950 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26952 2013-05-01 Roland McGrath <roland@hack.frob.com>
26954 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26956 2013-05-01 Richard Smith <richard@metafoo.co.uk>
26959 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26960 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26961 Use __attribute__ ((__gnu_inline__)).
26962 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26963 Don't use __attribute__ ((__gnu_inline__)).
26965 2013-05-01 Joseph Myers <joseph@codesourcery.com>
26968 * math/s_catan.c (__catan): Handle small real or imaginary part of
26969 input specially to avoid spurious underflow.
26970 * math/s_catanf.c (__catanf): Likewise.
26971 * math/s_catanh.c (__catanh): Likewise.
26972 * math/s_catanhf.c (__catanhf): Likewise.
26973 * math/s_catanhl.c (__catanhl): Likewise.
26974 * math/s_catanl.c (__catanl): Likewise.
26975 * math/libm-test.inc (catan_test): Add more tests.
26976 (catanh_test): Likewise.
26977 * sysdeps/i386/fpu/libm-test-ulps: Update.
26978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26980 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26984 2013-04-30 Joseph Myers <joseph@codesourcery.com>
26987 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26988 accurately for denominator in atan2.
26989 * math/s_catanf.c (__catanf): Likewise.
26990 * math/s_catanh.c (__catanh): Likewise.
26991 * math/s_catanhf.c (__catanhf): Likewise.
26992 * math/s_catanhl.c (__catanhl): Likewise.
26993 * math/s_catanl.c (__catanl): Likewise.
26994 * math/libm-test.inc (catan_test): Add more tests.
26995 (catanh_test): Likewise.
26996 * sysdeps/i386/fpu/libm-test-ulps: Update.
26997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26999 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27001 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27003 * benchtests/Makefile (bench): Remove slow benchmarks.
27004 * benchtests/atan-inputs: Add slow benchmark inputs.
27005 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27006 (BENCH_FUNC): Accept variant offset.
27008 * benchtests/bench-skeleton.c (main): Run benchmark for each
27010 * benchtests/cos-inputs: Add slow benchmark inputs.
27011 * benchtests/exp-inputs: Likewise.
27012 * benchtests/pow-inputs: Likewise.
27013 * benchtests/sin-inputs: Likewise.
27014 * benchtests/slowatan-inputs: Remove.
27015 * benchtests/slowatan.c: Remove.
27016 * benchtests/slowcos-inputs: Remove.
27017 * benchtests/slowcos.c: Remove.
27018 * benchtests/slowexp-inputs: Remove.
27019 * benchtests/slowexp.c: Remove.
27020 * benchtests/slowpow-inputs: Remove.
27021 * benchtests/slowpow.c: Remove.
27022 * benchtests/slowsin-inputs: Remove.
27023 * benchtests/slowsin.c: Remove.
27024 * benchtests/slowtan-inputs: Remove.
27025 * benchtests/slowtan.c: Remove.
27026 * benchtests/tan-inputs: Add slow benchmark inputs.
27027 * scripts/bench.pl: Parse comments and directives.
27029 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27031 ($(objpfx)bench-%.c): Remove *-ITER.
27032 * benchtests/bench-modf.c: Remove definition of ITER.
27033 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27034 (main): Loop for DURATION seconds instead of fixed number of
27036 * scripts/bench.pl: Don't expect iterations in parameters.
27038 2013-04-29 Roland McGrath <roland@hack.frob.com>
27040 * io/fchdir.c (__fchdir): Renamed from fchdir.
27041 (fchdir): Define as weak alias.
27043 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27045 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27046 (ERRNO_EDOM): Likewise.
27047 (ERRNO_ERANGE): Likewise.
27048 (noErrnoTests): New variable.
27049 (init_max_error): Set errno to 0.
27050 (test_single_errno): New function.
27051 (test_errno): Likewise.
27052 (check_float_internal): Call test_errno. Set errno to 0.
27053 (check_complex): Refer to errno tests in comment.
27054 (check_int): Call test_errno. Set errno to 0.
27055 (check_long): Likewise.
27056 (check_bool): Likewise.
27057 (check_longlong): Likewise.
27058 (cos_test): Use ERRNO_* flags for errno tests instead of
27060 (expm1_test): Likewise.
27061 (fmod_test): Likewise.
27062 (ilogb_test): Likewise.
27063 (lgamma_test): Likewise.
27064 (pow_test): Likewise.
27065 (remainder_test): Likewise.
27066 (sin_test): Likewise.
27067 (tan_test): Likewise.
27068 (yn_test): Likewise.
27069 (initialize): Set errno to 0.
27070 (main): Print number of errno tests.
27071 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27073 2013-04-29 Andreas Jaeger <aj@suse.de>
27076 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27080 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27081 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27085 * stdlib/random.c (__initstate): Return NULL if
27089 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27090 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27093 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27097 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27099 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27100 of individual tests.
27101 (casin_test): Likewise.
27102 (casinh_test): Likewise.
27104 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27107 * math/s_catan.c (__catan): Handle arguments with large real or
27108 imaginary part separately without squaring.
27109 * math/s_catanf.c (__catanf): Likewise.
27110 * math/s_catanh.c (__catanh): Likewise.
27111 * math/s_catanhf.c (__catanhf): Likewise.
27112 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27114 (__catanhl): Handle arguments with large real or imaginary part
27115 separately without squaring.
27116 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27118 (__catanl): Handle arguments with large real or imaginary part
27119 separately without squaring.
27120 * math/libm-test.inc (catan_test): Add more tests.
27121 (catanh_test): Likewise.
27122 * sysdeps/i386/fpu/libm-test-ulps: Update.
27123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27125 2013-04-27 Andreas Jaeger <aj@suse.de>
27128 * stdlib/stdlib.h: Update guards for qecvt.
27129 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27132 2013-04-27 Allan McRae <allan@archlinux.org>
27134 * sysdeps/i386/fpu/libm-test-ulps: Update.
27136 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27139 * math/s_catan.c: Include <float.h>.
27140 (__catan): Ensure underflow exception occurs for underflowed
27142 * math/s_catanf.c: Include <float.h>.
27143 (__catanf): Ensure underflow exception occurs for underflowed
27145 * math/s_catanh.c: Include <float.h>.
27146 (__catanh): Ensure underflow exception occurs for underflowed
27148 * math/s_catanhf.c: Include <float.h>.
27149 (__catanhf): Ensure underflow exception occurs for underflowed
27151 * math/s_catanhl.c: Include <float.h>.
27152 (__catanhl): Ensure underflow exception occurs for underflowed
27154 * math/s_catanl.c: Include <float.h>.
27155 (__catanl): Ensure underflow exception occurs for underflowed
27157 * math/libm-test.inc (catan_test): Add more tests.
27158 (catanh_test): Likewise.
27161 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27162 underflowed result.
27163 * math/s_ccoshf.c (__ccoshf): Likewise.
27164 * math/s_ccoshl.c (__ccoshl): Likewise.
27165 * math/s_csin.c (__csin): Likewise.
27166 * math/s_csinf.c (__csinf): Likewise.
27167 * math/s_csinh.c (__csinh): Likewise.
27168 * math/s_csinhf.c (__csinhf): Likewise.
27169 * math/s_csinhl.c (__csinhl): Likewise.
27170 * math/s_csinl.c (__csinl): Likewise.
27171 * math/libm-test.inc (ccos_test): Add more tests.
27172 (ccosh_test): Likewise.
27173 (csin_test): Likewise.
27174 (csinh_test): Likewise.
27176 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27178 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27179 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27180 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27181 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27182 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27183 powerpc/power5+/fpu folders.
27184 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27187 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27191 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27193 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27194 additions to variable.
27195 [$(config-machine) = x86_64] (modules-names): Likewise.
27196 ($(objpfx)tst-audit3): Remove dependency.
27197 ($(objpfx)tst-audit3.out): Likewise.
27198 ($(objpfx)tst-audit4): Likewise.
27199 ($(objpfx)tst-audit4.out): Likewise.
27200 ($(objpfx)tst-audit5): Likewise.
27201 ($(objpfx)tst-audit5.out): Likewise.
27202 ($(objpfx)tst-audit6): Likewise.
27203 ($(objpfx)tst-audit6.out): Likewise.
27204 ($(objpfx)tst-audit7): Likewise.
27205 ($(objpfx)tst-audit7.out): Likewise.
27206 (tst-audit3-ENV): Remove variable.
27207 (tst-audit4-ENV): Likewise.
27208 (tst-audit5-ENV): Likewise.
27209 (tst-audit6-ENV): Likewise.
27210 (tst-audit7-ENV): Likewise.
27211 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27212 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27213 addition to variable.
27214 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27215 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27217 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27219 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27220 tst-audit3, tst-audit4 and tst-audit5.
27221 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27222 tst-audit6 and tst-audit7.
27223 [$(subdir) = elf] (modules-names): Add audit modules for those
27225 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27226 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27227 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27228 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27229 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27230 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27231 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27232 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27233 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27234 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27235 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27236 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27237 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27238 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27239 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27240 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27242 [$(subdir) = elf && $(config-cflags-avx) = yes]
27243 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27244 [$(subdir) = elf && $(config-cflags-avx) = yes]
27245 (CFLAGS-tst-auditmod4a.c): Likewise.
27246 [$(subdir) = elf && $(config-cflags-avx) = yes]
27247 (CFLAGS-tst-auditmod4b.c): Likewise.
27248 [$(subdir) = elf && $(config-cflags-avx) = yes]
27249 (CFLAGS-tst-auditmod6b.c): Likewise.
27250 [$(subdir) = elf && $(config-cflags-avx) = yes]
27251 (CFLAGS-tst-auditmod6c.c): Likewise.
27252 [$(subdir) = elf && $(config-cflags-avx) = yes]
27253 (CFLAGS-tst-auditmod7b.c): Likewise.
27254 * elf/tst-audit3.c: Move to ...
27255 * sysdeps/x86_64/tst-audit3.c: ... here.
27256 * elf/tst-audit4.c: Move to ...
27257 * sysdeps/x86_64/tst-audit4.c: ... here.
27258 * elf/tst-audit5.c: Move to ...
27259 * sysdeps/x86_64/tst-audit5.c: ... here.
27260 * elf/tst-audit6.c: Move to ...
27261 * sysdeps/x86_64/tst-audit6.c: ... here.
27262 * elf/tst-audit7.c: Move to ...
27263 * sysdeps/x86_64/tst-audit7.c: ... here.
27264 * elf/tst-auditmod3a.c: Move to ...
27265 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27266 * elf/tst-auditmod3b.c: Move to ...
27267 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27268 * elf/tst-auditmod4a.c: Move to ...
27269 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27270 * elf/tst-auditmod4b.c: Move to ...
27271 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27272 * elf/tst-auditmod5a.c: Move to ...
27273 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27274 * elf/tst-auditmod5b.c: Move to ...
27275 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27276 * elf/tst-auditmod6a.c: Move to ...
27277 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27278 * elf/tst-auditmod6b.c: Move to ...
27279 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27280 * elf/tst-auditmod6c.c: Move to ...
27281 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27282 * elf/tst-auditmod7a.c: Move to ...
27283 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27284 * elf/tst-auditmod7b.c: Move to ...
27285 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27287 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27290 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27291 define unconditionally.
27292 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27293 define unconditionally.
27294 (INT8_C, INT16_C, etc.): Likewise.
27296 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27298 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27299 __ehdr_start with hidden visibility.
27301 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27303 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27305 * math/libm-test.inc (cos_test): Use accurate hex constants.
27306 (sincost_test): Likewise.
27308 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27310 * math/libm-test.inc (catan_test): Add more tests.
27311 (catanh_test): Likewise.
27313 * math/s_catanf.c (__catanf): Use suffixed floating-point
27315 * math/s_catanhf.c (__catanhf): Likewise.
27316 * math/s_catanhl.c (__catanhl): Likewise.
27317 * math/s_catanl.c (__catanl): Likewise.
27320 * math/s_catan.c (__catan): Calculate imaginary part of result
27321 with log1p not log unless computing log of number close to 0.
27322 * math/s_catanf.c (__catanf): Likewise.
27323 * math/s_catanl.c (__catanl): Likewise.
27324 * math/s_catanh.c (__catanh): Calculate real part of result with
27325 log1p not log unless computing log of number close to 0.
27326 * math/s_catanhf.c (__catanhf): Likewise.
27327 * math/s_catanhl.c (__catanhl): Likewise.
27328 * math/libm-test.inc (catan_test): Add more tests.
27329 (catanh_test): Likewise.
27330 * sysdeps/i386/fpu/libm-test-ulps: Update.
27331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27333 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27335 * benchtests/Makefile: Mention files in which fast and slow
27336 paths of math functions are implemented.
27338 2013-04-23 Roland McGrath <roland@hack.frob.com>
27340 * sysdeps/posix/timespec_get.c: New file.
27342 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27344 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27346 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27348 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27349 powerpc/power5/fpu folders.
27350 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27351 * benchtests/Makefile: Add modf testcase.
27352 * benchtests/bench-modf.c: New file: Benchmark test for mo
27354 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27357 * time/Makefile (tests): Add tst-strptime-whitespace.
27358 * time/strptime_l.c (get_number): Use ISSPACE.
27359 (__strptime_internal): Likewise.
27360 * time/tst-strptime-whitespace.c: New test case.
27362 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27364 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27366 (_nss_files_init): Set it here.
27368 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27370 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27371 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27374 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27376 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27378 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27380 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27383 2013-04-21 David S. Miller <davem@davemloft.net>
27385 * po/ru.po: Update Russion translation from translation project.
27387 2013-04-17 Adam Conrad <adconrad@0c3.net>
27389 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27392 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27394 * configure.in: Remove i386 configure warning. Remove i386 case.
27395 * configure: Regenerate.
27396 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27397 Add example to error message.
27398 * sysdeps/i386/configure: Regenerate.
27400 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27402 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27404 * benchtests/cos-inputs: New file.
27405 * benchtests/slowcos-inputs: New file.
27406 * benchtests/slowcos.c: New file.
27407 * benchtests/slowtan-inputs: New file.
27408 * benchtests/slowtan.c: New file.
27409 * benchtests/tan-inputs: New file.
27411 2013-04-16 Roland McGrath <roland@hack.frob.com>
27413 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27416 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27418 * benchtests/Makefile: Include cppflags-iterator.mk to add
27419 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27421 * Makefile.in (bench-clean): New target.
27422 * benchtests/Makefile (bench-clean): Likewise.
27424 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27426 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27428 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27430 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27432 2013-04-15 Andreas Schwab <schwab@suse.de>
27434 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27436 * nscd/pwdcache.c (cache_addpw): Likewise.
27437 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27440 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27442 * benchtests/Makefile (bench): Write all output to
27443 bench-out.tmp together.
27445 2013-04-15 Andreas Schwab <schwab@suse.de>
27447 * nscd/nscd.c (main): Don't fork again after closing files.
27449 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27451 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27453 * benchtests/Rules (bench-deps): Collect dependencies into a
27454 single variable. Add Makefile to dependencies.
27455 ($(objpfx)bench-%.c): Depend on bench-deps.
27457 2013-04-12 Roland McGrath <roland@hack.frob.com>
27458 Xavier Roche <roche+kml2@exalead.com>
27461 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27462 just that it's a file descriptor.
27463 * manual/llio.texi (Synchronizing AIO Operations): Update description
27464 for EBADF error from aio_fsync.
27466 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27468 * Rules (bench): Move target definition...
27469 * benchtests/Makefile: ... here.
27471 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27473 * math/libm-test.inc (cos_test): Fix PI/2 test.
27474 (sincos_test): Likewise.
27475 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27476 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27478 2013-04-11 Andreas Schwab <schwab@suse.de>
27481 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27482 accept exponent character only when digits were seen.
27483 * stdio-common/Makefile (tests): Add bug26.
27484 * stdio-common/bug26.c: New file.
27487 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27490 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27492 * Makeconfig (rtld-prefix): Define built linker prefix.
27493 * Rules (run-bench): Use it.
27494 * math/Makefile (run-regen-ulps): Likewise.
27496 * Rules (bench): Remove eval.
27498 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27499 Roland McGrath <roland@hack.frob.com>
27500 Ondrej Bilka <neleai@seznam.cz>
27503 * time/getdate.c: Include ctype.h and alloca.h.
27504 (__getdate_r): Trim leading and trailing spaces of input.
27505 * time/tst-getdate.c (tests): Add tests with leading and
27508 2013-04-08 Roland McGrath <roland@hack.frob.com>
27511 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27512 when computing value.
27514 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27516 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27517 Use testrun.sh to run libm tests.
27520 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27522 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27525 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27527 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27529 * Makefile.in (regen-ulps): New target.
27530 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27531 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27532 [ifneq (no,$(PERL)] (regen-ulps): New target.
27533 [ifeq (no,$(PERL)] (regen-ulps): New target.
27534 * math/libm-test.inc (ulps_file_name): Define.
27535 (output_dir): New variable.
27536 (options): Add "output-dir" option.
27537 (parse_opt): Handle 'o' case.
27538 (main): If output_dir is non-NULL use it as a prefix
27540 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27542 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27544 [BZ #10060, #10062]
27545 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27546 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27547 fail configure if __sync_val_compare_and_swap is not inlined.
27548 * sysdeps/i386/configure: Regenerate.
27549 * configure.in: Build for i686 when configured for i386.
27550 * configure: Regenerate.
27551 * README: Remove i386 reference.
27553 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27555 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27558 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27560 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27561 (lmsnanval): New variables.
27562 (F): Add conversion tests.
27563 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27564 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27566 * stdio-common/tstdiomisc.c (F): Properly collect individual
27569 [BZ #14686, #15336]
27570 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27571 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27572 Instead, use input NaN values or generate a qNaN by arithmetic
27573 operation. Also fix bugs to comply with the standard.
27574 * math/libm-test.inc (remainder_test): Add more tests.
27576 [BZ #15335, #15342]
27577 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27578 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27579 input NaN values or generate a qNaN by arithmetic operation.
27581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27584 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27587 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27590 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27591 underflowed result.
27592 * math/s_cexpf.c (__cexpf): Likewise.
27593 * math/s_cexpl.c (__cexpl): Likewise.
27594 * math/libm-test.inc (cexp_test): Add more tests.
27596 2013-04-03 Andreas Schwab <schwab@suse.de>
27599 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27600 order arrays from heap if bigger than alloca cutoff.
27602 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27604 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27605 (SNAN_TESTS_double): Refer to GCC PR56831.
27606 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27609 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27611 * Rules (bench): Move bench.out after the run is complete.
27613 * Rules (bench): Echo currently running benchmark.
27615 * benchtests/Makefile (bench): Add atan and slowatan.
27616 * benchtests/atan-inputs: New file.
27617 * benchtests/slowatan-inputs: New file.
27618 * benchtests/slowatan.c: New file.
27620 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27621 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27625 * sysdeps/unix/sysv/linux/kernel-features.h
27626 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27627 __ASSUME_XFS_RESTRICTED_CHOWN.
27628 * sysdeps/unix/sysv/linux/pathconf.c
27629 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27630 Save and restore errno.
27632 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27635 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27636 arguments using __kernel_casinh.
27637 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27638 arguments using __kernel_casinhf.
27639 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27640 arguments using __kernel_casinhl.
27641 * math/libm-test.inc (cacosh_test): Add more tests.
27642 * sysdeps/i386/fpu/libm-test-ulps: Update.
27643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27645 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27647 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27650 * bench/Makefile (bench): Add sin and slowsin.
27651 * benchtests/sin-inputs: New file.
27652 * benchtests/slowsin-inputs: New file.
27653 * benchtests/slowsin.c: New file.
27655 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27656 (bench): Add slowexp and slowpow.
27657 (exp-ITER): Increase iterations.
27658 (pow-ITER): Likewise.
27659 * benchtests/exp-inputs: Change input.
27660 * benchtests/pow-inputs: Likewise.
27661 * benchtests/slowexp-inputs: New file.
27662 * benchtests/slowexp.c: New file.
27663 * benchtests/slowpow-inputs: New file.
27664 * benchtests/slowpow.c: New file.
27666 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27668 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27670 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27671 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27672 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27673 * benchtests/Makefile: Add rint benchtest.
27674 * benchtests/rint-inputs: Input for rint benchtest.
27676 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27678 * Versions.def (libm): Add GLIBC_2.18.
27679 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27680 hidden libm prototypes.
27681 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27682 * math/Makefile (libm-calls): Add s_issignaling.
27683 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27684 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27685 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27687 * math/math.h [__USE_GNU] (issignaling): New macro.
27688 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27689 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27690 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27691 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27694 * manual/arith.texi (issignaling): New section.
27695 * manual/libm-err-tab.pl (@all_functions): Update comment.
27696 * math/gen-libm-test.pl (parse_args): Apply special handling for
27698 * math/libm-test.inc (print_float, issignaling_test): New
27700 (check_float_internal): Add issignaling checks.
27701 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27702 default definition.
27703 * sysdeps/powerpc/math-tests.h: New file.
27704 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27706 * math/test-snan.c (TEST_FUNC): Likewise.
27708 2013-03-30 David S. Miller <davem@davemloft.net>
27710 * po/de.po: Update from translation team.
27712 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27715 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27716 imaginary part less than 1.0 and real part less than 0.5
27718 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27719 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27720 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27721 (cacos_test): Add more tests.
27722 (casin_test): Likewise.
27723 (casinh_test): Likewise.
27724 * sysdeps/i386/fpu/libm-test-ulps: Update.
27725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27727 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27729 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27730 ONE with its value.
27732 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27733 (__pow_mp): Replace ONE and MONE with their values.
27734 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27735 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27736 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27737 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27738 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27739 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27741 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27743 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27744 (__pow_mp): Replace ZERO and MZERO with their values.
27745 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27746 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27747 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27749 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27750 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27753 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27755 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27757 2013-03-28 Roland McGrath <roland@hack.frob.com>
27759 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27760 Declare with __attribute__ ((weak)).
27761 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27762 Call __call_tls_dtors only if it's not NULL.
27764 2013-03-28 Roland McGrath <roland@hack.frob.com>
27766 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27767 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27768 magic __ehdr_start linker symbol if it's defined.
27769 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27770 them up here if it was already done.
27772 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27773 (_dl_aux_init): Use const in cast when setting it.
27774 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27775 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27776 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27778 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27780 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27781 * csu/libc-tls.c: Nor here.
27782 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27784 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27785 (__libc_message): Never call vsyslog.
27787 2013-03-28 Alan Modra <amodra@gmail.com>
27789 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27791 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27794 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27797 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27801 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27804 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27805 Don't add gid passed as argument.
27807 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27809 2013-03-27 Joseph Myers <joseph@codesourcery.com>
27812 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27813 imaginary part between 1.0 and 1.5 and real part less than 0.5
27815 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27816 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27817 * math/libm-test.inc (cacos_test): Add more tests.
27818 (casin_test): Likewise.
27819 (casinh_test): Likewise.
27820 * sysdeps/i386/fpu/libm-test-ulps: Update.
27821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27823 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27825 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27828 (denorm): Likewise.
27829 (__dbl_mp): Likewise.
27830 (add_magnitudes): Likewise.
27831 (sub_magnitudes): Likewise.
27839 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27841 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27842 (__dubcos): Likewise.
27843 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27844 (__ieee754_acos): Likewise.
27845 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27846 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27847 (__exp1): Likewise.
27848 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27849 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27851 (my_log2): Likewise.
27852 (checkint): Likewise.
27853 * sysdeps/ieee754/dbl-64/e_remainder.c
27854 (__ieee754_remainder): Likewise.
27855 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27856 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27857 (bsloww): Likewise.
27858 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27860 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27861 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27862 MANTISSA_STORE_T to store computations on mantissa. Use
27863 macros for rounding and division.
27864 (denorm): Likewise.
27865 (__dbl_mp): Likewise.
27866 (add_magnitudes): Likewise.
27867 (sub_magnitudes): Likewise.
27870 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27871 powers of two in terms of TWOPOW macro.
27872 (mp_no): Make type of mantissa as MANTISSA_T.
27873 [!RADIXI]: Define RADIXI.
27874 [!TWO52]: Define TWO52.
27875 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27877 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27879 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27880 llroundl symbol when building for PPC32.
27882 2013-03-24 Mark H Weaver <mhw@netris.org>
27884 * manual/arith.texi (Normalization Functions): Fix prototypes for
27885 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27887 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27890 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27891 high value to check if expl overflow.
27892 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27893 to check for underflow and overflow.
27894 * math/libm-test.inc: Add exp test.
27896 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
27899 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27902 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27904 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27907 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27909 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27910 wrap blocks consisting of several statements.
27912 * sysdeps/generic/math-tests.h: New file.
27913 * sysdeps/i386/fpu/math-tests.h: Likewise.
27914 * math/test-snan.c: Include it.
27915 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27917 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27920 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27921 (__ieee754_j0l): Do not improve calculations using cos of twice
27922 input for inputs above LDBL_MAX / 2.0L.
27923 (__ieee754_y0l): Likewise.
27924 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27925 (__ieee754_j1l): Do not improve calculations using cos of twice
27926 input for inputs above LDBL_MAX / 2.0L.
27927 (__ieee754_y1l): Likewise.
27928 * math/libm-test.inc (j0_test): Add another test.
27929 (j1_test): Likewise.
27930 (y0_test): Likewise.
27931 (y1_test): Likewise.
27932 * sysdeps/i386/fpu/libm-test-ulps: Update.
27934 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27936 * Rules ($(objpfx)bench-%.c): Include code from a C source
27939 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27942 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27943 imaginary part 1.0 and real part less than 0.5 specially.
27944 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27945 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27946 * math/libm-test.inc (cacos_test): Add more tests.
27947 (casin_test): Likewise.
27948 (casinh_test): Likewise.
27949 * sysdeps/i386/fpu/libm-test-ulps: Update.
27950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27952 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27955 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27957 2013-03-20 Joseph Myers <joseph@codesourcery.com>
27959 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27960 * config.make.in (config-cflags-sse4): Remove variable.
27961 (config-cflags-avx): Likewise.
27962 (config-cflags-sse2avx): Likewise.
27963 (config-cflags-novzeroupper): Likewise.
27964 (config-asflags-i686): Likewise.
27965 (have-mfma4): Likewise.
27966 (have-as-vis3): Likewise.
27968 * configure.in (MIG): Do not AC_SUBST.
27969 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27970 (libc_cv_cc_sse4): Do not AC_SUBST.
27971 (libc_cv_cc_avx): Likewise.
27972 (libc_cv_cc_sse2avx): Likewise.
27973 (libc_cv_cc_novzeroupper): Likewise.
27974 (libc_cv_cc_fma4): Likewise.
27975 (libc_cv_as_i686): Likewise.
27976 (libc_cv_sparc_as_vis3): Likewise.
27977 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27979 (config-asflags-i686): Likewise.
27980 (config-cflags-avx): Likewise.
27981 (config-cflags-sse2avx): Likewise.
27982 (have-mfma4): Likewise.
27983 (config-cflags-novzeroupper): Likewise.
27984 * sysdeps/mach/configure.in (MIG): Likewise.
27985 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27986 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27988 (config-cflags-avx): Likewise.
27989 (config-cflags-sse2avx): Likewise.
27990 (have-mfma4): Likewise.
27991 (config-cflags-novzeroupper): Likewise.
27992 * configure: Regenerated.
27993 * sysdeps/i386/configure: Likewise.
27994 * sysdeps/mach/configure: Likewise.
27995 * sysdeps/sparc/configure: Likewise.
27996 * sysdeps/x86_64/configure: Likewise.
27998 2013-03-20 Roland McGrath <roland@hack.frob.com>
28001 * locale/programs/localedef.c (options): Put N_ translation marker
28002 on argument names, not just descriptions.
28004 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28006 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28008 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28011 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28013 2013-03-19 Roland McGrath <roland@hack.frob.com>
28015 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28016 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28017 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28018 [!BEFORE_ABORT] (before_abort): New function.
28019 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28020 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28021 (writev_for_fatal): New function.
28022 (WRITEV_FOR_FATAL): New macro; call that.
28023 (backtrace_and_maps): New function.
28024 (BEFORE_ABORT): New macro; call that.
28025 (struct str_list): Type removed.
28026 (__libc_message, __libc_fatal): Functions removed.
28027 Include <sysdeps/posix/libc_fatal.c> instead.
28029 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28031 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28033 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28036 2013-03-19 Andreas Schwab <schwab@suse.de>
28038 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28039 * sysdeps/gnu/configure: Regenerate.
28041 * configure.in: Substitute libc_cv_rtlddir.
28042 * configure: Regenerate.
28043 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28044 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28045 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28046 * elf/Makefile (install-others, CFLAGS-interp.c)
28047 (ldso_install, common-ldd-rewrite): Likewise.
28048 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28049 $(inst_slibdir)/$(rtld-installed-name).
28050 * scripts/rellns-sh: Add -p option.
28051 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28054 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28056 * manual/nptl.texi: Renamed to ...
28057 * manual/threads.texi: ... this.
28058 * manual/Makefile (chapters): Update.
28060 2013-03-18 Roland McGrath <roland@hack.frob.com>
28063 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28064 on argument names, not just descriptions.
28065 * malloc/memusagestat.c (options): Likewise.
28066 * nss/getent.c (options): Likewise.
28068 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28071 * iconv/iconv_prog.c (options): Put N_ translation marker
28072 on argument names, not just descriptions.
28073 * iconv/iconvconfig.c (options): Likewise.
28075 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28077 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28078 implementation which is faster on all x86_64 architectures.
28079 Tested on AMD, Intel Nehalem, SNB, IVB.
28080 * sysdeps/x86_64/strnlen.S: Likewise.
28082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28083 Remove all multiarch strlen and strnlen versions.
28084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28085 Remove strlen and strnlen related parts.
28087 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28088 Inline strlen part.
28089 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28091 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28092 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28093 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28094 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28095 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28096 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28098 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28100 * manual/memory.texi (Malloc Tunable Parameters):
28101 Sort parameters alphabetically. Add comments for missing entries.
28103 2013-03-17 David S. Miller <davem@davemloft.net>
28105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28107 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28110 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28111 for arguments at most half maximum finite value.
28112 * math/libm-test.inc (j0_test): Add more tests.
28113 (j1_test): Likewise.
28114 (y0_test): Likewise.
28115 (y1_test): Likewise.
28116 * sysdeps/i386/fpu/libm-test-ulps: Update.
28117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28120 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28121 1 / x and functions P and Q for arguments above 0x1p256L.
28122 (__ieee754_y0l): Likewise.
28123 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28124 (__ieee754_y1l): Likewise.
28125 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28126 (j1_test): Likewise.
28127 (y0_test): Likewise.
28128 (y1_test): Likewise.
28130 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28132 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28135 2013-03-15 Roland McGrath <roland@hack.frob.com>
28137 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28138 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28139 zero since it's initialized to EXEC_PAGESIZE.
28141 * sysdeps/unix/sysv/linux/ldsodefs.h
28142 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28143 * sysdeps/generic/ldsodefs.h: ... here.
28145 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28147 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28149 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28151 * math/test-snan.c: Renamed from
28152 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28153 * math/Makefile (tests): Add test-snan.
28154 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28157 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28158 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28160 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28161 __builtin_nan family of functions.
28162 * math/libm-test.inc (initialize): Initialize qnan_value with
28163 __builtin_nan family of functions.
28164 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28166 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28168 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28169 storage class. Initialize qNaN_var and sNaN_var with
28170 __builtin_nan and __builtin_nans families of functions,
28173 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28174 (sqrt_test): Remove duplicate test with qNaN input.
28175 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28176 (round_test, signbit_test, significand_test): Note missing +/-Inf
28177 as well as qNaN tests.
28179 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28180 qNaN_var. Fix a few strings, too.
28181 * math/libm-test.inc (nan_value): Rename to qnan_value.
28182 * math/gen-libm-test.pl (%beautify): Adjust to that.
28183 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28184 * math/test-misc.c (main): Likewise.
28185 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28186 to __qnan_bytes, and __qnan_union, respectively.
28187 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28189 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28190 and lqnanval, respectively.
28191 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28192 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28193 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28194 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28196 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28197 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28200 * math/test-misc.c (main): Fix copy'n'pastos.
28201 * misc/tst-efgcvt.c (special): Likewise.
28203 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28204 Remove declarations.
28206 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28208 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28209 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28210 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28211 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28213 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28215 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28216 macro to return vdso values correctly in IFUNC implementations.
28217 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28218 Optimization by using IFUNC.
28220 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28221 Richard Henderson <rth@redhat.com>
28222 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28224 * Makefile.in (bench): New target.
28225 * NEWS: Mention the benchmark framework.
28226 * Rules (bench): Likewise.
28227 (binaries-bench): Generate binaries for functions to
28229 * benchtests/Makefile: New makefile for benchmark tests.
28230 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28232 * benchtests/exp-inputs: New input file for EXP function.
28233 * benchtests/pow-inputs: New input file for POW function.
28234 * scripts/bench.pl: New script to generate source files for
28235 benchmark programs.
28237 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28239 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28240 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28241 computations on mantissa. Use macros for rounding and
28243 (denorm): Likewise.
28244 (__dbl_mp): Likewise.
28245 (add_magnitudes): Likewise.
28246 (sub_magnitudes): Likewise.
28249 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28250 powers of two in terms of TWOPOW macro.
28251 (mp_no): Make type of mantissa as MANTISSA_T.
28252 [!RADIXI]: Define RADIXI.
28253 [!TWO52]: Define TWO52.
28254 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28256 * manual/nptl.texi (cindex): Modify threads to pthreads.
28258 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28260 * sysdeps/x86_64/preconfigure: Regenerated.
28262 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28265 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28267 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28268 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28270 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28271 * math/libm-test.inc (j0_test): Do not allow one spurious
28272 underflow exception.
28273 (y1_test): Likewise.
28275 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28277 * manual/Makefile (chapters): Add nptl.
28278 * manual/debug.texi (Debugging Support): Add link to Threads
28280 * manual/nptl.texi: New file.
28282 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28284 2013-03-14 Petr Baudis <pasky@ucw.cz>
28286 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28287 for non-NULL pointer before the memory validity test. Pointed
28288 out by Holger Brunck <holger.brunck@keymile.com>.
28290 2013-03-13 Andreas Schwab <schwab@suse.de>
28292 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28295 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28297 * timezone/zic.c: Update from tzcode 2013b.
28299 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28301 * manual/install.texi (Configuring and compiling):
28302 Mention i686 and i586.
28303 * INSTALL: Regenerate.
28305 2013-03-12 Roland McGrath <roland@hack.frob.com>
28307 * sysdeps/init_array/elf-init.c: New file.
28309 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28310 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28312 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28313 __gmon_start__ as global, but as static with a .preinit_array pointer.
28314 * sysdeps/init_array/gmon-start.c: New file. Use that.
28315 * sysdeps/init_array/crti.S: New file, empty except for comments.
28316 * sysdeps/init_array/crtn.S: Likewise.
28318 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28320 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28323 Remove Prefer_SSE_for_memop.
28324 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28325 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28326 HAS_PREFER_SSE_FOR_MEMOP.
28327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28329 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28330 Remove bzero, memset ifunc support.
28331 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28332 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28333 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28334 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28336 2013-03-11 Andreas Schwab <schwab@suse.de>
28339 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28342 (GLIBC_2.16): Remove pthread_atfork.
28344 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28346 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28347 (ptestcases.h): Likewise.
28349 2013-03-08 Roland McGrath <roland@hack.frob.com>
28351 * Makeconfig ($(common-objpfx)config.status): Depend on
28352 sysdeps/*/preconfigure{,.in} too.
28354 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28356 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28357 (__free_hook): Use void * instead of __malloc_ptr_t.
28358 (__malloc_hook): Likewise.
28359 (__realloc_hook): Likewise.
28360 (__memalign_hook): Likewise.
28361 (__after_morecore_hook): Likewise.
28362 * malloc/arena.c (save_malloc_hook): Likewise.
28363 (save_free_hook): Likewise.
28364 * malloc/hooks.c (malloc_hook_ini): Likewise.
28365 (realloc_hook_ini): Likewise.
28366 (memalign_hook_ini): Likewise.
28367 * malloc/malloc.c (malloc_hook_ini): Likewise.
28368 (realloc_hook_ini): Likewise.
28369 (memalign_hook_ini): Likewise.
28370 (__free_hook): Likewise.
28371 (__malloc_hook): Likewise.
28372 (__realloc_hook): Likewise.
28373 (__memalign_hook): Likewise.
28374 (__libc_malloc): Likewise.
28375 (__libc_free): Likewise.
28376 (__libc_realloc): Likewise.
28377 (__libc_memalign): Likewise.
28378 (__libc_valloc): Likewise.
28379 (__libc_pvalloc): Likewise.
28380 (__libc_calloc): Likewise.
28381 (__posix_memalign): Likewise.
28382 * malloc/morecore.c (__sbrk): Likewise.
28383 (__default_morecore): Likewise.
28385 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28387 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28388 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28389 __malloc_ptrdiff_t.
28391 * malloc/malloc.h (__malloc_size_t): Remove macro.
28392 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28394 (old_memalign_hook): Likewise.
28395 (old_realloc_hook): Likewise.
28396 (struct hdr): Likewise.
28398 (mallochook): Likewise.
28399 (memalignhook): Likewise.
28400 (reallochook): Likewise.
28401 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28402 (tr_old_realloc_hook): Likewise.
28403 (tr_old_memalign_hook): Likewise.
28404 (tr_mallochook): Likewise.
28405 (tr_reallochook): Likewise.
28406 (tr_memalignhook): Likewise.
28408 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28410 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28411 default_ldbl_pack and using as default implementation.
28412 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28414 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28415 redundant definition.
28416 (ldbl_insert_mantissa): Likewise.
28417 (ldbl_canonicalize): Likewise.
28418 (ldbl_nearbyint): Likewise.
28419 (ldbl_pack): Rename to ldbl_pack_ppc.
28420 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28421 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28422 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28424 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28427 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28428 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28429 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28431 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28432 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28433 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28435 2013-03-07 Andreas Jaeger <aj@suse.de>
28437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28440 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28442 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28443 Include mpa.h and declare __MPEXP.
28444 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28445 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28446 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28447 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28448 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28449 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28450 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28452 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28453 (__slowpow): Use long double EXPL and LOGL functions to
28455 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28456 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28457 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28458 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28459 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28460 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28463 intermediate variable to calculate exponent.
28465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28469 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28470 [!NO__SQR]: Define __sqr.
28471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28472 and NO__SQR. Remove all code except __mul and __sqr. Include
28473 sysdeps/ieee754/dbl-64/mpa.c.
28474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28477 * posix/Makefile (tests): Add tst-pathconf.
28478 * posix/tst-pathconf.c: New test case.
28479 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28481 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28483 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28485 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28487 2013-03-06 Andreas Jaeger <aj@suse.de>
28489 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28490 definition via __MAP_ANONYMOUS.
28492 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28493 it's not part of Linux headers.
28495 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28496 (MAP_HUGE_MASK): Define.
28498 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28500 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28501 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28503 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28504 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28506 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28507 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28509 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28511 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28512 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28513 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28514 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28515 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28516 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28518 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28521 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28522 Handle f2fs and efivarfs.
28524 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28527 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28528 (EFIVARFS_MAGIC): Add.
28529 (F2FS_LINK_MAX): Add.
28531 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28533 * stdio-common/vfprintf.c: Replace __builtin_expect with
28536 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28539 * sysdeps/generic/bp-sym.h: Remove file.
28540 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28541 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28542 <bp-sym.h> and <bp-asm.h>.
28543 (__longjmp): Don't use BP_SYM.
28544 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28546 (memcpy): Don't use BP_SYM.
28547 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28548 <bp-sym.h> and <bp-asm.h>.
28549 (memcpy): Don't use BP_SYM.
28550 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28552 (memcpy): Don't use BP_SYM.
28553 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28555 (memset): Don't use BP_SYM.
28556 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28557 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28558 (__bzero): Don't use BP_SYM.
28559 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28560 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28561 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28562 <bp-sym.h> and <bp-asm.h>.
28563 (memcmp): Don't use BP_SYM. Remove comment about bounded
28565 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28566 <bp-sym.h> and <bp-asm.h>.
28567 (memcpy): Don't use BP_SYM.
28568 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28569 <bp-sym.h> and <bp-asm.h>.
28570 (memset): Don't use BP_SYM.
28571 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28572 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28573 (__bzero): Don't use BP_SYM.
28574 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28575 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28576 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28577 <bp-sym.h> and <bp-asm.h>.
28578 (strncmp): Don't use BP_SYM. Remove comment about bounded
28580 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28581 <bp-sym.h> and <bp-asm.h>.
28582 (memcpy): Don't use BP_SYM.
28583 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28584 <bp-sym.h> and <bp-asm.h>.
28585 (memset): Don't use BP_SYM.
28586 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28587 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28588 (__bzero): Don't use BP_SYM.
28589 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28590 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28592 <bp-sym.h> and <bp-asm.h>.
28593 (__memchr): Don't use BP_SYM.
28594 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28595 <bp-sym.h> and <bp-asm.h>.
28596 (memcmp): Don't use BP_SYM. Remove comment about bounded
28598 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28599 <bp-sym.h> and <bp-asm.h>.
28600 (memcpy): Don't use BP_SYM.
28601 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28602 <bp-sym.h> and <bp-asm.h>.
28603 (__mempcpy): Don't use BP_SYM.
28604 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28605 <bp-sym.h> and <bp-asm.h>.
28606 (__memrchr): Don't use BP_SYM.
28607 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28608 <bp-sym.h> and <bp-asm.h>.
28609 (memset): Don't use BP_SYM.
28610 (__bzero): Likewise.
28611 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28612 <bp-sym.h> and <bp-asm.h>.
28613 (__rawmemchr): Don't use BP_SYM.
28614 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28615 <bp-sym.h> and <bp-asm.h>.
28616 (__STRCMP): Don't use BP_SYM.
28617 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28618 <bp-sym.h> and <bp-asm.h>.
28619 (strchr): Don't use BP_SYM.
28620 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28621 <bp-sym.h> and <bp-asm.h>.
28622 (__strchrnul): Don't use BP_SYM.
28623 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28624 <bp-sym.h> and <bp-asm.h>.
28625 (strlen): Don't use BP_SYM.
28626 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28627 <bp-sym.h> and <bp-asm.h>.
28628 (strncmp): Don't use BP_SYM. Remove comment about bounded
28630 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28631 <bp-sym.h> and <bp-asm.h>.
28632 (__strnlen): Don't use BP_SYM.
28633 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28634 <bp-sym.h> and <bp-asm.h>.
28635 (__GI__setjmp): Don't use BP_SYM.
28636 (_setjmp): Likewise.
28637 (__sigsetjmp): Likewise.
28638 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28639 (L(start_addresses)): Don't use BP_SYM.
28640 (_start): Likewise.
28641 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28643 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28644 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28645 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28646 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28647 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28649 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28650 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28651 about bounded pointers.
28652 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28653 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28654 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28656 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28657 about bounded pointers. Remove GKM FIXME comments.
28658 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28659 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28661 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28662 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28663 Remove GKM FIXME comments.
28664 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28665 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28666 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28668 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28669 about bounded pointers. Remove GKM FIXME comment.
28670 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28672 (strncmp): Don't use BP_SYM. Remove comment about bounded
28674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28675 <bp-sym.h> and <bp-asm.h>.
28676 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28678 <bp-sym.h> and <bp-asm.h>.
28679 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28682 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28684 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28687 2013-03-05 David S. Miller <davem@davemloft.net>
28689 * po/es.po: Update from translation team.
28691 2013-03-05 Andreas Jaeger <aj@suse.de>
28693 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28694 <bits/mman-linux.h>.
28695 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28697 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28698 <bits/mman-linux.h> to end of file.
28699 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28701 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28702 <bits/mman-linux.h> to end of file.
28703 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28705 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28706 <bits/mman-linux.h> to end of file.
28708 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28709 (MCL_CURRENT, MCL_FUTURE): Define here.
28711 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28714 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28716 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28718 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28720 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28721 fourth parameter needed for rt_sigprocmask syscall.
28722 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28723 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28724 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28725 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28726 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28727 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28729 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28732 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28733 comment about bounded pointers.
28734 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28735 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28737 2013-03-04 Andreas Jaeger <aj@suse.de>
28739 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28740 common definitions.
28742 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28743 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28744 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28746 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28749 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28753 __ieee754_sqrl instead of __sqrl.
28755 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28757 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28758 * sysdeps/powerpc/fpu_control.h: ... here.
28759 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28760 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28761 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28762 * sysdeps/powerpc/bits/mathinline.h: ... here.
28764 2013-03-01 Roland McGrath <roland@hack.frob.com>
28766 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28767 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28768 to just [NEED_DL_SYSINFO_DSO].
28769 * elf/dl-support.c: Likewise.
28770 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28771 * elf/rtld.c (dl_main): Likewise.
28772 * elf/setup-vdso.h (setup_vdso): Likewise.
28773 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28774 * sysdeps/unix/sysv/linux/dl-sysdep.c
28775 (_dl_discover_osversion): Likewise.
28777 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28779 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28780 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28782 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28784 * NEWS: Mention libm performance improvements and non-x86 PI
28787 * csu/libc-start.c (__pthread_initialize_minimal): Change
28788 function arguments.
28789 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28791 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28794 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28795 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28796 <bp-sym.h> and <bp-asm.h>.
28797 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28798 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28800 (memcpy): Don't use BP_SYM.
28801 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28803 (__mpn_add_n): Don't use BP_SYM.
28804 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28805 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28807 (__mpn_addmul_1): Don't use BP_SYM.
28808 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28809 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28811 (_setjmp): Don't use BP_SYM.
28812 (__novmx_setjmp): Likewise.
28813 (__GI__setjmp): Likewise.
28814 (__vmx_setjmp): Likewise.
28815 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28817 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28818 (__bzero): Don't use BP_SYM.
28819 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28820 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28821 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28822 <bp-sym.h> and <bp-asm.h>.
28823 (memcpy): Don't use BP_SYM.
28824 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28825 <bp-sym.h> and <bp-asm.h>.
28826 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28827 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28828 <bp-sym.h> and <bp-asm.h>.
28829 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28830 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28832 (__mpn_lshift): Don't use BP_SYM.
28833 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28834 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28836 (memset): Don't use BP_SYM.
28837 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28838 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28839 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28841 (__mpn_mul_1): Don't use BP_SYM.
28842 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28843 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28844 <bp-sym.h> and <bp-asm.h>.
28845 (memcmp): Don't use BP_SYM.
28846 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28847 <bp-sym.h> and <bp-asm.h>.
28848 (memcpy): Don't use BP_SYM.
28849 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28850 <bp-sym.h> and <bp-asm.h>.
28851 (memset): Don't use BP_SYM.
28852 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28853 <bp-sym.h> and <bp-asm.h>.
28854 (strncmp): Don't use BP_SYM.
28855 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28856 <bp-sym.h> and <bp-asm.h>.
28857 (memcpy): Don't use BP_SYM.
28858 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28859 <bp-sym.h> and <bp-asm.h>.
28860 (memset): Don't use BP_SYM.
28861 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28862 <bp-sym.h> and <bp-asm.h>.
28863 (__memchr): Don't use BP_SYM.
28864 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28865 <bp-sym.h> and <bp-asm.h>.
28866 (memcmp): Don't use BP_SYM.
28867 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28868 <bp-sym.h> and <bp-asm.h>.
28869 (memcpy): Don't use BP_SYM.
28870 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28871 <bp-sym.h> and <bp-asm.h>.
28872 (__mempcpy): Don't use BP_SYM.
28873 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28874 <bp-sym.h> and <bp-asm.h>.
28875 (__memrchr): Don't use BP_SYM.
28876 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28877 <bp-sym.h> and <bp-asm.h>.
28878 (memset): Don't use BP_SYM.
28879 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28880 <bp-sym.h> and <bp-asm.h>.
28881 (__rawmemchr): Don't use BP_SYM.
28882 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28883 <bp-sym.h> and <bp-asm.h>.
28884 (__STRCMP): Don't use BP_SYM.
28885 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28886 <bp-sym.h> and <bp-asm.h>.
28887 (strchr): Don't use BP_SYM.
28888 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28889 <bp-sym.h> and <bp-asm.h>.
28890 (__strchrnul): Don't use BP_SYM.
28891 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28892 <bp-sym.h> and <bp-asm.h>.
28893 (strlen): Don't use BP_SYM.
28894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28895 <bp-sym.h> and <bp-asm.h>.
28896 (strncmp): Don't use BP_SYM.
28897 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28898 <bp-sym.h> and <bp-asm.h>.
28899 (__strnlen): Don't use BP_SYM.
28900 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28902 (__mpn_rshift): Don't use BP_SYM.
28903 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28904 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28905 <bp-sym.h> and <bp-asm.h>.
28906 (__sigsetjmp): Don't use BP_SYM.
28907 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28908 (L(start_addresses)): Don't use BP_SYM.
28909 (_start): Likewise.
28910 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28912 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28913 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28914 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28915 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28917 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28918 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28919 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28920 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28922 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28924 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28925 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28927 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28929 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28930 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28931 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28933 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28935 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28937 (strncmp): Don't use BP_SYM,
28938 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28940 (__mpn_sub_n): Don't use BP_SYM.
28941 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28942 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28944 (__mpn_submul_1): Don't use BP_SYM.
28945 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28947 <bp-sym.h> and <bp-asm.h>.
28948 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28950 <bp-sym.h> and <bp-asm.h>.
28951 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28954 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28957 Use ZK to minimize writes to Z.
28958 (sub_magnitudes): Simplify code a bit.
28959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28960 Use ZK to minimize writes to Z.
28961 (sub_magnitudes): Simplify code a bit.
28963 2013-02-27 Roland McGrath <roland@hack.frob.com>
28965 * csu/gmon-start.c: Add special exception to license text.
28967 2013-02-27 Richard Henderson <rth@redhat.com>
28969 * scripts/config.guess: Update from config.git.
28970 * scripts/config.sub: Likewise.
28972 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28974 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28976 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28978 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28980 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28982 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28984 2013-02-26 Roland McGrath <roland@hack.frob.com>
28986 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28987 [$(build-shared = yes].
28989 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28991 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28992 (__mul): Reduce iterations for calculating mantissa.
28994 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28996 (__mpranred): Likewise.
28999 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29000 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29002 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29004 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29005 Define __attribute__.
29007 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29009 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29011 * posix/regex_internal.h (__attribute): Remove.
29012 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29013 (re_string_context_at): Likewise.
29014 (bitset_not): Use __attribute__ and mark function as possibly
29016 (bitset_merge): Likewise.
29017 (bitset_mask): Likewise.
29018 (re_string_char_size_at): Likewise.
29019 (re_string_wchar_at): Likewise.
29020 (re_string_elem_size_at): Likewise.
29022 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29024 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29028 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29032 (denorm): Likewise.
29033 (__dbl_mp): Likewise.
29034 (add_magnitudes): Likewise.
29035 (sub_magnitudes): Likewise.
29039 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29042 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29045 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29049 up changes with default code.
29050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29053 2013-02-24 Allan McRae <allan@archlinux.org>
29055 * manual/socket.texi (The Internet Namespace): Order menu items
29056 to match that in the file.
29058 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29059 node listing of the info page menu.
29061 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29064 * sysdeps/i386/bp-asm.h: Remove file.
29065 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29066 (PARMS): Do not use macros from bp-asm.h.
29070 (__mpn_add_n): Do not use BP_SYM
29071 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29073 (PARMS): Do not use macros from bp-asm.h.
29076 (__mpn_addmul_1): Do not use BP_SYM
29077 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29079 (PARMS): Do not use macros from bp-asm.h.
29080 (SIGMSK): Likewise.
29081 (_setjmp): Likewise. Do not use BP_SYM.
29082 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29084 (PARMS): Do not use macros from bp-asm.h.
29085 (SIGMSK): Likewise.
29086 (setjmp): Likewise. Do not use BP_SYM.
29087 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29089 (PARMS): Do not use macros from bp-asm.h.
29090 (__frexp): Do not use BP_SYM.
29092 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29094 (PARMS): Do not use macros from bp-asm.h.
29095 (__frexpf): Do not use BP_SYM.
29096 (frexpf): Likewise.
29097 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29099 (PARMS): Do not use macros from bp-asm.h.
29100 (__frexpl): Do not use BP_SYM.
29101 (frexpl): Likewise.
29102 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29104 (PARMS): Do not use macros from bp-asm.h.
29105 (__remquo): Do not use BP_SYM.
29106 (remquo): Likewise.
29107 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29109 (PARMS): Do not use macros from bp-asm.h.
29110 (__remquof): Do not use BP_SYM.
29111 (remquof): Likewise.
29112 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29114 (PARMS): Do not use macros from bp-asm.h.
29115 (__remquol): Do not use BP_SYM.
29116 (remquol): Likewise.
29117 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29119 (PARMS): Do not use macros from bp-asm.h.
29122 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29123 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29125 (PARMS): Do not use macros from bp-asm.h.
29126 (strlen): Do not use BP_SYM.
29127 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29129 (PARMS): Do not use macros from bp-asm.h.
29133 (__mpn_add_n): Do not use BP_SYM.
29134 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29136 (PARMS): Do not use macros from bp-asm.h.
29139 (__mpn_addmul_1): Do not use BP_SYM.
29140 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29143 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29145 (PARMS): Do not use macros from bp-asm.h.
29148 (__mpn_lshift): Do not use BP_SYM.
29149 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29151 (PARMS): Do not use macros from bp-asm.h.
29155 (memcpy): Likewise. Do not use BP_SYM.
29156 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29157 libc_hidden_def and weak_alias.
29158 (mempcpy): Do not use BP_SYM in weak_alias.
29159 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29161 (PARMS): Do not use macros from bp-asm.h.
29164 [!BZERO_P] (CHR): Likewise.
29165 (memset): Likewise. Do not use BP_SYM.
29166 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29168 (PARMS): Do not use macros from bp-asm.h.
29171 (__mpn_mul_1): Do not use BP_SYM.
29172 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29174 (PARMS): Do not use macros from bp-asm.h.
29177 (__mpn_rshift): Do not use BP_SYM.
29178 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29180 (PARMS): Do not use macros from bp-asm.h.
29183 (strchr): Likewise. Do not use BP_SYM.
29184 (index): Do not use BP_SYM in weak_alias.
29185 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29187 (PARMS): Do not use macros from bp-asm.h.
29190 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29191 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29193 (PARMS): Do not use macros from bp-asm.h.
29194 (strlen): Do not use BP_SYM.
29195 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29197 (PARMS): Do not use macros from bp-asm.h.
29201 (__mpn_sub_n): Do not use BP_SYM.
29202 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29204 (PARMS): Do not use macros from bp-asm.h.
29207 (__mpn_submul_1): Do not use BP_SYM.
29208 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29210 (PARMS): Do not use macros from bp-asm.h.
29214 (__mpn_add_n): Do not use BP_SYM.
29215 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29218 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29220 (PARMS): Do not use macros from bp-asm.h.
29223 (memcmp): Do not use BP_SYM.
29224 (bcmp): Do not use BP_SYM in weak_alias.
29225 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29227 (PARMS): Do not use macros from bp-asm.h.
29231 (memcpy): Likewise. Do not use BP_SYM.
29232 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29234 (PARMS): Do not use macros from bp-asm.h.
29238 (memmove): Likewise. Do not use BP_SYM.
29239 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29241 (PARMS): Do not use macros from bp-asm.h.
29245 (__mempcpy): Likewise. Do not use BP_SYM.
29246 (mempcpy): Do not use BP_SYM in weak_alias.
29247 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29249 (PARMS): Do not use macros from bp-asm.h.
29252 [!BZERO_P] (CHR): Likewise.
29253 (memset): Likewise. Do not use BP_SYM.
29254 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29256 (PARMS): Do not use macros from bp-asm.h.
29258 (strcmp): Do not use BP_SYM.
29259 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29261 (PARMS): Do not use macros from bp-asm.h.
29264 [USE_AS_STRTOK_R] (SAVE): Likewise.
29265 (FUNCTION): Likewise. Do not use BP_SYM.
29266 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29268 (strtok_r): Likewise.
29269 (__GI___strtok_r): Likewise.
29270 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29271 (PARMS): Do not use macros from bp-asm.h.
29274 (__mpn_lshift): Do not use BP_SYM.
29275 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29276 (PARMS): Do not use macros from bp-asm.h.
29279 (__memchr): Do not use BP_SYM.
29280 (memchr): Do not use BP_SYM in weak_alias.
29281 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29282 (PARMS): Do not use macros from bp-asm.h.
29285 (memcmp): Do not use BP_SYM.
29286 (bcmp): Do not use BP_SYM in weak_alias.
29287 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29288 (PARMS): Do not use macros from bp-asm.h.
29291 (__mpn_mul_1): Do not use BP_SYM.
29292 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29294 (PARMS): Do not use macros from bp-asm.h.
29297 (__rawmemchr): Do not use BP_SYM.
29298 (rawmemchr): Do not use BP_SYM in weak_alias.
29299 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29300 (PARMS): Do not use macros from bp-asm.h.
29303 (__mpn_rshift): Do not use BP_SYM.
29304 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29305 (PARMS): Do not use macros from bp-asm.h.
29306 (SIGMSK): Likewise.
29307 (__sigsetjmp): Likewise. Do not use BP_SYM.
29308 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29309 (_start): Do not use BP_SYM.
29310 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29311 (PARMS): Do not use macros from bp-asm.h.
29314 (__stpcpy): Likewise. Do not use BP_SYM.
29315 (stpcpy): Do not use BP_SYM in weak_alias.
29316 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29318 (PARMS): Do not use macros from bp-asm.h.
29322 (__stpncpy): Likewise. Do not use BP_SYM.
29323 (stpncpy): Do not use BP_SYM in weak_alias.
29324 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29325 (PARMS): Do not use macros from bp-asm.h.
29328 (strchr): Likewise. Do not use BP_SYM.
29329 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29331 (PARMS): Do not use macros from bp-asm.h.
29334 (__strchrnul): Likewise. Do not use BP_SYM.
29335 (strchrnul): Do not use BP_SYM in weak_alias.
29336 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29338 (PARMS): Do not use macros from bp-asm.h.
29340 (strcspn): Do not use BP_SYM.
29341 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29343 (PARMS): Do not use macros from bp-asm.h.
29346 (strpbrk): Likewise. Do not use BP_SYM.
29347 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29349 (PARMS): Do not use macros from bp-asm.h.
29352 (strrchr): Likewise. Do not use BP_SYM.
29353 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29354 (PARMS): Do not use macros from bp-asm.h.
29356 (strspn): Do not use BP_SYM.
29357 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29358 (PARMS): Do not use macros from bp-asm.h.
29362 (FUNCTION): Likewise. Do not use BP_SYM.
29363 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29365 (strtok_r): Likewise.
29366 (__GI___strtok_r): Likewise.
29367 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29368 (PARMS): Do not use macros from bp-asm.h.
29372 (__mpn_sub_n): Do not use BP_SYM.
29373 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29375 (PARMS): Do not use macros from bp-asm.h.
29378 (__mpn_submul_1): Do not use BP_SYM.
29379 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29381 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29383 (PARMS): Do not use macros from bp-asm.h.
29388 (__clone): Do not use BP_SYM.
29389 (clone): Do not use BP_SYM in weak_alias.
29390 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29392 (PARMS): Do not use macros from bp-asm.h.
29394 (__mmap64): Do not use BP_SYM.
29395 (mmap64): Do not use BP_SYM in weak_alias.
29396 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29397 <bp-sym.h> and <bp-asm.h>.
29398 (PARMS): Do not use macros from bp-asm.h.
29399 (__posix_fadvise64_l64): Do not use BP_SYM.
29400 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29401 (PARMS): Do not use macros from bp-asm.h.
29403 (semtimedop): Do not use BP_SYM.
29404 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29407 2013-02-21 Allan McRae <allan@archlinux.org>
29409 * manual/message.texi (Charset conversion in gettext):
29410 Move @end statement to beginning of line.
29412 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29419 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29420 (denorm): Likewise.
29421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29424 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29426 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29427 tail-call to the resolved function if pltexit isn't needed.
29429 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29432 or Y being zero as being unlikely.
29433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29436 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29438 * manual/nss.texi (System Databases and Name Service Switch):
29439 Remove frobnicate @pxref.
29441 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29443 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29444 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29446 2013-02-20 Petr Machata <pmachata@redhat.com>
29448 * elf/elf.h (R_ARM_TARGET1): New macro.
29449 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29450 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29451 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29452 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29453 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29454 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29455 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29456 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29457 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29458 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29459 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29460 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29461 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29462 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29463 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29464 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29465 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29466 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29467 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29468 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29469 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29470 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29471 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29472 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29473 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29474 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29475 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29476 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29477 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29478 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29479 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29480 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29481 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29482 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29483 (R_ARM_THM_GOT_BREL12): Likewise.
29484 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29485 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29486 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29487 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29488 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29489 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29490 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29491 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29492 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29494 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29496 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29497 __attribute_used__ to __attribute__ ((unused)).
29499 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29501 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29504 comment formatting.
29505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29507 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29510 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29512 (ENTER): Remove both macro definitions.
29514 (CHECK_BOUNDS_LOW): Likewise.
29515 (CHECK_BOUNDS_HIGH): Likewise.
29516 (CHECK_BOUNDS_BOTH): Likewise.
29517 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29518 (RETURN_BOUNDED_POINTER): Likewise.
29519 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29520 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29521 (POP_ERRNO_LOCATION_RETURN): Likewise.
29522 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29523 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29524 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29526 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29527 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29528 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29529 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29530 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29531 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29532 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29533 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29534 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29535 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29536 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29537 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29538 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29539 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29541 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29542 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29544 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29545 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29546 * sysdeps/i386/i586/memset.S (memset): Likewise.
29547 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29548 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29549 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29551 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29552 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29553 Change uses of L(2) to L(out).
29554 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29555 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29556 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29557 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29558 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29560 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29561 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29563 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29564 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29565 (RETURN): Do not use macro LEAVE.
29566 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29567 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29568 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29569 * sysdeps/i386/i686/memset.S (memset): Likewise.
29570 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29571 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29572 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29573 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29575 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29576 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29577 L(1_2) and L(1_3) into L(1).
29578 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29579 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29580 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29581 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29582 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29583 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29584 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29585 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29586 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29588 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29589 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29590 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29591 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29592 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29593 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29594 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29595 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29596 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29597 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29598 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29599 * sysdeps/i386/strspn.S (strspn): Likewise.
29600 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29602 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29603 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29604 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29605 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29606 L(1_3) into L(1_1).
29607 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29608 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29609 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29611 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29613 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29615 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29618 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29620 * math/atest-exp.c (exp_mpn): Remove ROUND.
29621 * math/atest-exp2.c (exp_mpn): Likewise.
29622 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29624 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29625 * stdlib/tst-tls-atexit-lib.c: Likewise.
29626 * stdlib/tst-tls-atexit.c: Likewise.
29628 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29630 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29631 and __attribute_alloc_size__.
29633 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29635 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29636 __attribute_alloc_size__.
29637 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29638 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29640 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29642 * include/programs/xmalloc.h: New file.
29643 * catgets/gencat.c: Include it.
29644 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29645 * elf/pldd.c: Likewise.
29646 * iconv/iconv_charmap.c: Likewise.
29647 * iconv/iconvconfig.c: Likewise.
29648 * iconv/strtab.c: Likewise.
29649 * locale/programs/locale.c: Likewise.
29650 * locale/programs/localedef.h: Likewise.
29651 * locale/programs/simple-hash.c: Likewise.
29652 * nscd/nscd.h: Likewise.
29653 * nss/makedb.c: Likewise.
29654 * sysdeps/generic/ldconfig.h: Likewise.
29656 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29658 * Versions.def: Add GLIBC_2.18.
29659 * include/link.h (struct link_map): New member l_tls_dtor_count.
29660 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29661 (__call_tls_dtors): Likewise.
29662 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29663 __cxa_thread_atexit_impl.
29664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29680 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29681 (tests): Add test case tst-tls-atexit.
29682 (modules-names): Add shared library for tst-tls-atexit.
29683 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29684 (GLIBC_PRIVATE): Add __call_tls_dtors.
29685 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29687 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29688 * stdlib/tst-tls-atexit.c: New test case.
29689 * stdlib/tst-tls-atexit-lib.c: New test case.
29691 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29693 * elf/Versions (ld): Add _dl_find_dso_for_object.
29694 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29695 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29696 (dl_open_worker): Use _dl_find_dso_for_object.
29697 * elf/dl-sym.c (do_sym): Likewise.
29698 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29700 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29702 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29703 Syntactic changes only.
29704 (_dl_runtime_profile): Do a tail-call to the resolved function.
29706 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29709 * sysdeps/x86_64/bp-asm.h: Remove file.
29710 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29711 <bp-sym.h> and <bp-asm.h>.
29712 (__clone): Do not use BP_SYM.
29713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29714 <bp-sym.h> and <bp-asm.h>.
29715 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29716 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29718 (_setjmp): Do not use BP_SYM.
29719 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29721 (setjmp): Do not use BP_SYM.
29722 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29724 (mempcpy): Do not use BP_SYM in weak_alias.
29725 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29727 (strchr): Do not use BP_SYM.
29728 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29730 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29731 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29732 (_start): Do not use BP_SYM.
29733 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29735 (strcat): Do not use BP_SYM.
29736 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29738 (STRCMP): Do not use BP_SYM.
29739 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29741 (STRCPY): Do not use BP_SYM.
29742 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29744 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29746 (FUNCTION): Do not use BP_SYM.
29747 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29749 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29751 2013-02-17 Andreas Jaeger <aj@suse.de>
29753 * time/Versions: Sort entries.
29754 * string/Versions: Likewise.
29755 * resolv/Versions: Likewise.
29756 * posix/Versions: Likewise.
29757 * iconv/Versions: Likewise.
29758 * elf/Versions: Likewise.
29759 * wcsmbs/Versions: Likewise.
29761 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29763 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29764 loop termination condition.
29766 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29767 variable to calculate EZ.
29770 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29771 the lower precision input.
29773 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29776 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29777 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29778 (run-via-rtld-prefix): Do not handle %-bp tests.
29779 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29780 (all-object-suffixes): Remove .ob.
29781 (bppfx): Remove variable.
29782 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29783 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29784 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29785 [$(build-bounded) = yes] (libtype.ob): Likewise.
29786 * Makerules (elide-routines.ob): Remove variable.
29787 (do-tests-clean): Do not handle *-bp.out.
29788 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29789 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29790 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29791 (tests): Do not include $(tests-bp.out).
29792 (xtests): Do not include $(xtests-bp.out).
29793 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29794 [$(build-bounded) = yes] ($(addprefix
29795 $(objpfx),$(binaries-bounded))): Remove rule.
29796 ($(objpfx)%-bp.out): Remove rule.
29797 * config.make.in (build-bounded): Remove variable.
29798 * crypt/Makefile [$(build-bounded) = yes]
29799 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29800 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29801 append to variable.
29802 [$(build-bounded) = yes] (install-lib): Likewise.
29803 [$(build-bounded) = yes] (generated): Likewise.
29804 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29806 * intl/Makefile [$(build-bounded) = yes]
29807 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29808 * math/Makefile [$(build-bounded) = yes]
29809 ($(tests:%=$(objpfx)%-bp): Likewise.
29810 * misc/Makefile [$(build-bounded) = yes]
29811 ($(objpfx)tst-tsearch-bp): Likewise.
29812 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29813 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29815 * string/Makefile (o-objects.ob): Remove variable.
29816 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29817 (CFLAGS-.ob): Remove variable.
29818 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29819 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29820 both definitions of variable.
29821 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29822 (ASFLAGS-.ob): Remove variable.
29824 2013-02-14 Joseph Myers <joseph@codesourcery.com>
29827 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29828 Remove __BOUNDED_POINTERS__ from condition.
29829 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29830 * string/bits/string2.h [!__NO_STRING_INLINES &&
29831 !__BOUNDED_POINTERS__]: Likewise.
29832 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29834 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29835 Remove conditional code.
29836 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29837 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29838 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29842 * csu/libc-start.c: Do not include <bp-sym.h>.
29843 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29844 * elf/dl-open.c: Do not include <bp-sym.h>.
29845 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29846 * math/fegetenv.c: Do not include <bp-sym.h>.
29847 (fegetenv): Do not use BP_SYM in versioned symbols.
29848 * nptl/sysdeps/pthread/bits/libc-lockP.h
29849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29852 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29854 (__pthread_mutex_destroy): Likewise.
29855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29856 (__pthread_mutex_lock): Likewise.
29857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29858 (__pthread_mutex_trylock): Likewise.
29859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29860 (__pthread_mutex_unlock): Likewise.
29861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29862 (__pthread_mutexattr_init): Likewise.
29863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29864 (__pthread_mutexattr_destroy): Likewise.
29865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29866 (__pthread_mutexattr_settype): Likewise.
29867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29868 (__pthread_rwlock_init): Likewise.
29869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29870 (__pthread_rwlock_destroy): Likewise.
29871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29872 (__pthread_rwlock_rdlock): Likewise.
29873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29874 (__pthread_rwlock_tryrdlock): Likewise.
29875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29876 (__pthread_rwlock_wrlock): Likewise.
29877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29878 (__pthread_rwlock_trywrlock): Likewise.
29879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29880 (__pthread_rwlock_unlock): Likewise.
29881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29882 (__pthread_key_create): Likewise.
29883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29884 (__pthread_setspecific): Likewise.
29885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29886 (__pthread_getspecific): Likewise.
29887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29890 (_pthread_cleanup_push_defer): Likewise.
29891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29892 (_pthread_cleanup_pop_restore): Likewise.
29893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29894 (pthread_setcancelstate): Likewise.
29895 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29897 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29898 (memchr): Do not use BP_SYM in weak_alias.
29899 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29900 (fegetenv): Do not use BP_SYM in versioned symbols.
29901 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29902 (fesetenv): Do not use BP_SYM in versioned symbols.
29903 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29904 (feupdateenv): Do not use BP_SYM in versioned symbols.
29905 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29906 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29907 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29908 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29909 (open64): Do not use BP_SYM in weak_alias.
29910 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29911 (fegetenv): Do not use BP_SYM in versioned symbols.
29912 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29913 (fesetenv): Do not use BP_SYM in versioned symbols.
29914 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29915 (feupdateenv): Do not use BP_SYM in versioned symbols.
29916 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29917 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29918 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29919 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29920 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29921 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29922 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29924 (__libc_start_main): Do not use BP_SYM.
29926 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29929 redundant return line.
29931 (denorm): Likewise.
29932 (dbl_mp): Likewise.
29933 (sub_magnitudes): Likewise.
29939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29941 (denorm): Likewise.
29942 (dbl_mp): Likewise.
29943 (sub_magnitudes): Likewise.
29950 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29952 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29953 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29956 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29957 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29958 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29959 of __mul for squares.
29960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29964 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29965 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29967 2013-02-13 Joseph Myers <joseph@codesourcery.com>
29970 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29972 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29973 prototype or function definition. Rename ubp_* variables and
29974 parameters. Remove argv definitions conditional on
29975 [__BOUNDED_POINTERS__].
29976 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29977 * elf/dl-runtime.c (_dl_fixup): Likewise.
29978 * include/set-hooks.h (RUN_HOOK): Likewise.
29979 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29981 * string/strcpy.c (strcpy): Do not use __unbounded.
29982 * sysdeps/generic/frame.h (struct layout): Likewise.
29983 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29984 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29985 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29986 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29987 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29988 (__backtrace): Likewise.
29989 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29991 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29992 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29993 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29995 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29996 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29997 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29998 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29999 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30000 Do not use __unbounded.
30001 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30002 Rename __unboundedrlimits parameter to rlimits in prototype.
30003 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30004 Do not use __unbounded.
30005 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30006 not use __ptrvalue.
30007 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30008 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30009 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30010 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30011 __ptrvalue or __unbounded.
30012 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30013 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30015 (__new_msgctl): Do not use __ptrvalue.
30016 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30018 (__libc_msgrcv): Do not use __ptrvalue.
30019 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30020 startup_info): Do not use __unbounded.
30021 (__libc_start_main): Likewise. Rename ubp_* variables and
30022 parameters. Remove argv definitions conditional on
30023 [__BOUNDED_POINTERS__].
30024 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30026 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30028 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30030 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30032 (__new_shmctl): Do not use __ptrvalue.
30033 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30034 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30036 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30037 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30038 (__libc_sigaction): Likewise.
30039 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30040 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30042 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30044 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30046 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30048 * string/mempcpy.c: Implement by calling memcpy.
30050 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30057 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30058 values in the mantissa.
30060 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30061 minimize writes to Z.
30062 (sub_magnitudes): Simplify code a bit.
30064 2013-02-12 Roland McGrath <roland@hack.frob.com>
30066 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30067 from the message. The linker prefixes all warnings with that already.
30069 2013-02-12 Andreas Schwab <schwab@suse.de>
30072 * posix/regexec.c (extend_buffers): Add parameter min_len.
30073 (check_matching): Pass minimum needed length.
30074 (clean_state_log_if_needed): Likewise.
30075 (get_subexp): Likewise.
30076 * posix/Makefile (tests): Add bug-regex34.
30077 (bug-regex34-ENV): Define.
30078 * posix/bug-regex34.c: New file.
30081 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30082 elements compare against the byte sequence of it, not its name.
30083 * posix/Makefile (tests): Add bug-regex35.
30084 (bug-regex35-ENV): Define.
30085 * posix/bug-regex35.c: New file.
30087 2013-02-11 Tom de Vries <tom@codesourcery.com>
30089 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30091 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30092 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30093 (CHECK_EOL): Add undef.
30095 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30097 * bits/stdlib-bsearch.h: New file.
30098 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30099 * stdlib/stdlib.h: Likewise.
30101 2013-02-11 Roland McGrath <roland@hack.frob.com>
30103 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30104 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30106 * manual/search.texi (Array Search Function): Add missing const in
30108 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30109 declaration to use rlim_t.
30110 (Basic Scheduling Functions): Remove erroneous const from
30111 sched_getparam prototype. Remove erroneous * from
30112 sched_get_priority_max and sched_get_priority_min prototypes.
30113 (Resource Usage): Fix summary @comment on vtimes to refer to
30114 sys/vtimes.h rather than vtimes.h.
30115 Add missing *s in vtimes prototype.
30116 (Limits on Resources): Fix ulimit prototype to return long int.
30117 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30118 prototypes to use long int rather than double.
30119 (BSD Random): Fix initstate and setstate to use char *, not void *.
30120 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30121 prototype to make second argument 'struct aiocb64 *const[]'.
30122 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30123 (Status of AIO Operations): Remove erroneous const in aio_return and
30124 aio_return64 prototypes.
30125 (Synchronizing I/O): Fix sync prototype to return void.
30126 * manual/startup.texi (Suboptions): Remove an erroneous const in
30127 getsubopt prototype.
30128 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30129 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30130 use size_t rather than int.
30131 (Scanning All Users): Likewise for getpwent_r.
30132 (Setting Groups): Add missing const to setgroups prototype.
30133 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30134 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30135 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30136 'const void *' rather than 'const char *'.
30137 (Host Address Functions): Likewise for inet_ntop.
30138 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30139 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30140 ssize_t for return value.
30141 (Sending Data): Likewise for send, sendto, sendmsg.
30142 (Socket Option Functions): Add a missing const in setsockopt prototype.
30143 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30144 use wchar_t for the argument.
30145 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30146 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30148 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30149 double/float/long double for second argument.
30150 Fix return types of significand, significandf, significandl.
30151 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30152 argument in fchmod prototype.
30153 (File Owner): Use uid_t and gid_t in fchown prototype.
30154 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30155 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30156 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30157 use 'const struct dirent **' as argument types to CMP function pointer
30159 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30160 (File Times): Fix summary magic @comment for struct utimbuf and utime
30161 to refer to utime.h, not time.h.
30162 * manual/string.texi (Argz Functions): Add missing const in
30163 argz_extract and argz_next prototypes.
30164 (Finding Tokens in a String): Likewise for basename.
30165 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30166 (Copying and Concatenation): Fix typo in wmemmove prototype.
30167 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30168 (Signal Stack): Remove erroneous const in sigstack prototype.
30169 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30171 (Simple Calendar Time): Likewise for stime.
30172 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30174 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30175 say sys/sysctl.h instead.
30176 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30177 and vsyslog prototypes.
30179 2013-02-11 Tom de Vries <tom@codesourcery.com>
30181 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30184 2013-02-11 Roland McGrath <roland@hack.frob.com>
30186 * misc/sys/mman.h: Fix typo in mremap comment.
30188 2013-02-08 Roland McGrath <roland@hack.frob.com>
30190 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30191 the '\0' terminator.
30193 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30196 * debug/segfault.c: Don't include <bp-checks.h>.
30197 * sysdeps/generic/bp-checks.h: Remove file.
30198 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30199 (__GETDENTS): Don't use CHECK_N.
30200 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30201 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30202 (__getgroups): Don't use CHECK_N.
30203 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30204 (setgroups): Don't use CHECK_N.
30205 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30206 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30207 (__libc_msgrcv): Don't use CHECK_N.
30208 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30209 (__libc_msgsnd): Don't use CHECK_N.
30210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30212 (__libc_pread): Don't use CHECK_N.
30213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30214 include <bp-checks.h>.
30215 (__libc_pread64): Don't use CHECK_N.
30216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30217 include <bp-checks.h>.
30218 (__libc_pwrite): Don't use CHECK_N.
30219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30220 include <bp-checks.h>.
30221 (__libc_pwrite64): Don't use CHECK_N.
30222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30224 (__libc_pread): Don't use CHECK_N.
30225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30226 include <bp-checks.h>.
30227 (__libc_pread64): Don't use CHECK_N.
30228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30229 include <bp-checks.h>.
30230 (__libc_pwrite): Don't use CHECK_N.
30231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30232 include <bp-checks.h>.
30233 (__libc_pwrite64): Don't use CHECK_N.
30234 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30235 (do_pread): Don't use CHECK_N.
30236 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30237 (do_pread64): Don't use CHECK_N.
30238 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30239 (do_pwrite): Don't use CHECK_N.
30240 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30241 (do_pwrite64): Don't use CHECK_N.
30242 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30243 (__libc_readv): Don't use CHECK_N.
30244 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30245 (semop): Don't use CHECK_N.
30246 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30248 (semtimedop): Don't use CHECK_N.
30249 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30250 (__libc_pread): Don't use CHECK_N.
30251 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30253 (__libc_pread64): Don't use CHECK_N.
30254 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30256 (__libc_pwrite): Don't use CHECK_N.
30257 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30259 (__libc_pwrite64): Don't use CHECK_N.
30260 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30262 (__libc_msgrcv): Don't use CHECK_N.
30263 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30264 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30265 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30266 (__libc_writev): Don't use CHECK_N.
30268 2013-02-08 Roland McGrath <roland@hack.frob.com>
30270 * string/strcpy.c: Removed unused variable.
30272 * Makeconfig (+sysdep-includes): Define with := rather than =.
30273 Use an existing include/ subdir of each sysdeps dir before it.
30275 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30277 * nscd/connection.c (register_traced_file): Comment function.
30278 [HAVE_INOTIFY] (union __inev): Define.
30279 [HAVE_INOTIFY] (inotify_check_files): New function.
30280 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30281 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30283 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30285 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30287 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30288 loaded if not already and that a failure is permanent.
30290 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30293 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30294 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30296 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30299 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30300 (CHECK_1_NULL_OK): Likewise.
30301 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30302 (__fxstat): Do not use CHECK_1.
30303 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30305 (___fxstat64): Do not use CHECK_1.
30306 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30308 (__fxstatat): Do not use CHECK_1.
30309 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30311 (__fxstatat64): Do not use CHECK_1.
30312 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30314 (__fxstat): Do not use CHECK_1.
30315 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30317 (__fxstatat): Do not use CHECK_1.
30318 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30320 (__getresgid): Do not use CHECK_1.
30321 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30323 (__getresuid): Do not use CHECK_1.
30324 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30326 (__lxstat): Do not use CHECK_1.
30327 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30329 (__old_msgctl): Do not use CHECK_1.
30330 (__new_msgctl): Likewise.
30331 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30333 (__new_setrlimit): Do not use CHECK_1.
30334 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30336 (__old_shmctl): Do not use CHECK_1.
30337 (__new_shmctl): Likewise.
30338 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30340 (__xstat): Do not use CHECK_1.
30341 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30342 (__lxstat): Do not use CHECK_1.
30343 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30345 (___lxstat64): Do not use CHECK_1.
30346 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30347 (__old_msgctl): Do not use CHECK_1.
30348 (__new_msgctl): Likewise.
30349 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30351 (__gettimeofday): Do not use CHECK_1.
30352 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30353 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30354 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30356 (__gettimeofday): Do not use CHECK_1.
30357 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30358 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30359 (__new_shmctl): Do not use CHECK_1.
30360 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30362 (do_sigtimedwait): Do not use CHECK_1.
30363 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30365 (do_sigwaitinfo): Do not use CHECK_1.
30366 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30368 (msgctl): Do not use CHECK_1.
30369 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30371 (shmctl): Do not use CHECK_1.
30372 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30373 (ustat): Do not use CHECK_1.
30374 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30376 (__fxstat): Do not use CHECK_1.
30377 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30379 (__fxstatat): Do not use CHECK_1.
30380 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30382 (__lxstat): Do not use CHECK_1.
30383 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30385 (__xstat): Do not use CHECK_1.
30386 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30387 (__xstat): Do not use CHECK_1.
30388 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30389 (___xstat64): Do not use CHECK_1.
30392 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30394 (CHECK_BOUNDS_HIGH): Likewise.
30395 * string/strcpy.c: Do not include <bp-checks.h>.
30396 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30398 2013-02-07 Roland McGrath <roland@hack.frob.com>
30400 * nscd/nscd-client.h (__nscd_drop_map_ref):
30401 Add __attribute__ ((unused)).
30402 * nis/nss-nisplus.h (niserr2nss): Likewise.
30404 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30405 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30407 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30408 Remove inline keyword.
30409 * include/rounding-mode.h (round_away): Likewise.
30410 * libio/wfileops.c (adjust_wide_data): Likewise.
30411 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30412 (__m128i_strloadu_tolower): Likewise.
30413 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30414 (__m128i_strloadu_tolower): Likewise.
30415 * time/mktime.c (ydhms_diff): Likewise.
30416 * locale/elem-hash.h (elem_hash): Likewise.
30417 * locale/setlocale.c (setdata): Likewise.
30418 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30419 (re_string_wchar_at): Likewise.
30420 (bitset_not, bitset_merge, bitset_mask): Likewise.
30421 [!(__GNUC__ > 3)] (inline): Remove macro.
30422 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30423 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30424 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30425 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30426 * string/memcmp.c (memcmp_bytes): Likewise.
30427 * locale/programs/locarchive.c (compute_hashval): Likewise.
30428 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30429 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30430 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30431 * nss/getent.c (print_rpc, print_protocols): Likewise.
30432 (print_passwd, print_group, print_aliases): Likewise.
30433 * nis/nss-nisplus.h (niserr2nss): Likewise.
30434 * nscd/connections.c (restart_p): Likewise.
30435 Change return type to bool.
30437 2013-02-05 Roland McGrath <roland@hack.frob.com>
30439 * Makeconfig (all-Depend-files): Add existing
30440 $(sorted-subdirs:=/Depend) files.
30441 (all-subdirs): Remove nss.
30442 * sysdeps/unix/inet/Subdirs: Add it here instead.
30443 * hesiod/Depend: New file.
30445 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30446 instead of calling alloca.
30448 * io/lseek.c (__lseek): Rename to __libc_lseek.
30449 Define __lseek as an alias.
30451 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30453 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30455 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30456 else clause and remove check for non-standard endianness.
30458 2013-02-04 David S. Miller <davem@davemloft.net>
30460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30462 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30465 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30466 (__ubp_memchr): Remove prototype.
30467 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30468 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30469 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30470 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30471 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30473 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30474 (__ubp_memchr): Likewise.
30475 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30476 (__ubp_memchr): Likewise.
30477 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30478 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30479 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30480 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30482 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30483 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30484 (__getcwd): Do not use CHECK_STRING.
30485 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30487 (__real_chown): Do not use CHECK_STRING.
30488 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30490 (fchownat): Do not use CHECK_STRING.
30491 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30493 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30495 (__lchown): Do not use CHECK_STRING.
30496 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30497 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30498 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30499 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30501 include <bp-checks.h>.
30502 (truncate64): Do not use CHECK_STRING.
30503 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30505 (__real_chown): Do not use CHECK_STRING.
30506 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30508 (__lchown): Do not use CHECK_STRING.
30509 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30511 (__chown): Do not use CHECK_STRING.
30512 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30514 (truncate64): Do not use CHECK_STRING.
30515 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30517 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30518 (__xmknod): Do not use CHECK_STRING.
30519 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30521 (__xmknodat): Do not use CHECK_STRING.
30522 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30523 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30525 2013-02-04 Andreas Schwab <schwab@suse.de>
30528 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30529 * include/netdb.h: Likewise for h_errno.
30530 * elf/tst-stackguard1.c: Include <tls.h>.
30532 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30534 * elf/link.h (struct link_map): Extend the l_addr comment.
30535 * include/link.h (struct link_map): Likewise.
30537 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30540 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30541 (BOUNDED_1): Remove macro.
30542 * debug/backtrace.c: Don't include <bp-checks.h>.
30543 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30544 (__backtrace): Likewise.
30545 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30547 (__backtrace): Don't use BOUNDED_1.
30548 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30550 (__backtrace): Don't use BOUNDED_1.
30551 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30552 (__backtrace): Don't use BOUNDED_1.
30553 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30554 (shmat): Don't use BOUNDED_N.
30556 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30559 * sysdeps/generic/bp-start.h: Remove file.
30560 * csu/libc-start.c: Don't include <bp-start.h>.
30561 (LIBC_START_MAIN): Set up __environ directly instead of using
30562 INIT_ARGV_and_ENVIRON.
30563 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30567 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30569 (CHECK_FCNTL): Likewise.
30570 (CHECK_N_PAGES): Likewise.
30573 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30575 (CHECK_SIGSET_NULL_OK): Likewise.
30576 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30578 (sigpending): Don't use CHECK_SIGSET.
30579 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30581 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30582 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30584 (do_sigsuspend): Don't use CHECK_SIGSET.
30585 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30587 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30588 (do_sigwait): Don't use CHECK_SIGSET.
30589 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30591 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30592 include <bp-checks.h>.
30593 (sigpending): Don't use CHECK_SIGSET.
30594 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30595 include <bp-checks.h>.
30596 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30597 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30599 (sigpending): Don't use CHECK_SIGSET.
30600 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30602 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30605 * sysdeps/generic/bp-semctl.h: Remove file.
30606 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30607 <bp-checks.h> and <bp-semctl.h>.
30608 (__old_semctl): Don't use CHECK_SEMCTL.
30609 (__new_semctl): Likewise.
30610 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30612 (__old_semctl): Don't use CHECK_SEMCTL.
30613 (__new_semctl): Likewise.
30614 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30615 <bp-checks.h> and <bp-semctl.h>.
30616 (__old_semctl): Don't use CHECK_SEMCTL.
30617 (__new_semctl): Likewise.
30618 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30619 <bp-checks.h> and <bp-semctl.h>.
30620 (semctl): Don't use CHECK_SEMCTL.
30623 * Makerules (elide-bp-thunks): Remove variable.
30624 (elide-routines.oS): Don't use $(elide-bp-thunks).
30625 (elide-routines.os): Likewise.
30626 (elide-routines.o): Likewise.
30627 (elide-routines.op): Likewise.
30628 (elide-routines.og): Likewise.
30629 (objects): Don't use $(bp-thunks).
30630 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30632 (common-generated): Do not add s-proto-bp.d.
30633 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30636 Do not generate makefile rules for bounded-pointer thunks.
30637 * sysdeps/generic/bp-thunks.h: Remove file.
30638 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30639 * sysdeps/unix/s-proto-bp.S: Likewise.
30642 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30643 parts of result separately when argument is not close to line from
30644 -i to i and one part of argument is small.
30645 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30646 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30647 * math/libm-test.inc (cacos_test): Add more tests.
30648 (casin_test): Likewise.
30649 (casinh_test): Likewise.
30650 * sysdeps/i386/fpu/libm-test-ulps: Update.
30651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30653 2013-01-31 David S. Miller <davem@davemloft.net>
30655 * po/de.po: Update from translation team.
30657 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30659 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30661 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30663 * configure.in (_AC_PROG_CC_C89): New definition.
30664 * configure: Regenerate.
30666 * configure.in (AC_PROG_CPP): New definition.
30667 * configure: Regenerate.
30669 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30671 * debug/tst-backtrace.h: New file.
30672 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30673 (ret): Remove variable.
30675 (FAIL): Remove macro.
30676 (NO_INLINE): Likewise.
30677 (fn1): Use match function instead of strstr.
30678 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30679 (ret): Remove variable.
30681 (FAIL): Remove macro.
30682 (NO_INLINE): Likewise.
30683 (fn): Use match function instead of strstr.
30684 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30685 (ret): Remove variable.
30687 (FAIL): Remove macro.
30688 (NO_INLINE): Likewise.
30689 (handle_signal): Use match function instead of strstr.
30690 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30691 (ret): Remove variable.
30693 (FAIL): Remove macro.
30694 (NO_INLINE): Likewise.
30695 (handle_signal): Use match function instead of strstr.
30697 2013-01-23 Roland McGrath <roland@hack.frob.com>
30699 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30701 2013-01-23 David S. Miller <davem@davemloft.net>
30703 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30704 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30705 argument of CAS if possible.
30706 * sysdeps/sparc/sparc64/bits/atomic.h
30707 (__arch_compare_and_exchange_val_32_acq): Likewise.
30708 (__arch_compare_and_exchange_val_64_acq): Likewise.
30710 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30712 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30713 * sysdeps/posix/ulimit.c: ... this.
30714 Include <limits.h>.
30715 * sysdeps/unix/bsd/ulimit.c: Remove file.
30717 2013-01-23 Adam Conrad <adconrad@0c3.net>
30719 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30720 (LDFLAGS-tst-array5): Likewise.
30722 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30725 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30726 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30727 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30728 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30730 2013-01-21 David S. Miller <davem@davemloft.net>
30732 * sysdeps/sparc/backtrace.c: New file.
30733 * sysdeps/sparc/sparc32/backtrace.h: New file.
30734 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30735 * sysdeps/sparc/sparc64/backtrace.h: New file.
30736 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30737 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30740 2013-01-21 Andreas Schwab <schwab@suse.de>
30743 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30746 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30752 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30753 Mark Mitchell <mark@codesourcery.com>
30754 Tom de Vries <tom@codesourcery.com>
30755 Paul Pluzhnikov <ppluzhnikov@google.com>
30757 * debug/tst-backtrace2.c: New file.
30758 * debug/tst-backtrace3.c: Likewise.
30759 * debug/tst-backtrace4.c: Likewise.
30760 * debug/tst-backtrace5.c: Likewise.
30761 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30762 (CFLAGS-tst-backtrace3.c): Likewise.
30763 (CFLAGS-tst-backtrace4.c): Likewise.
30764 (CFLAGS-tst-backtrace5.c): Likewise.
30765 (LDFLAGS-tst-backtrace2): Likewise.
30766 (LDFLAGS-tst-backtrace3): Likewise.
30767 (LDFLAGS-tst-backtrace4): Likewise.
30768 (LDFLAGS-tst-backtrace5): Likewise.
30769 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30770 tst-backtrace4 and tst-backtrace5.
30772 2013-01-18 Anton Blanchard <anton@samba.org>
30773 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30775 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30776 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30777 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30778 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30780 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30781 "+r" and remove output regs list as redundant. Add explicit inline
30782 asm to specify register of return val to work around compiler codegen
30783 bug. Remove (int) cast on return value. Add return type parameter to
30784 use in macro so that this macro does not truncate return value for
30786 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30787 pass to INTERNAL_VSYSCALL_NCS.
30788 (INLINE_VSYSCALL): Add 'long int' as return type to
30789 INTERNAL_VSYSCALL_NCS macro invocation.
30790 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30791 INTERNAL_VSYSCALL_NCS macro invocation.
30792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30794 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30797 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30798 Fix application of SIMD FP exception mask.
30800 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30801 mp_no from a power of two.
30802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30803 __mpexp_twomm1. Use __pow_mp.
30805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30808 2013-01-17 David S. Miller <davem@davemloft.net>
30810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30812 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30815 * include/complex.h: Condition contents on [!_COMPLEX_H].
30816 (__kernel_casinhf): New prototype.
30817 (__kernel_casinh): Likewise.
30818 (__kernel_casinhl): Likewise.
30819 * math/Makefile (libm_calls): Add k_casinh.
30820 * math/k_casinh.c: New file.
30821 * math/k_casinhf.c: Likewise.
30822 * math/k_casinhl.c: Likewise.
30823 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30824 finite nonzero arguments.
30825 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30826 finite nonzero arguments.
30827 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30828 finite nonzero arguments.
30829 * math/s_casinh.c: Do not include <float.h>.
30830 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30831 * math/s_casinhf.c: Do not include <float.h>.
30832 (__casinhf): Move code for finite nonzero arguments to
30834 * math/s_casinhl.c: Do not include <float.h>.
30835 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30837 (__casinhl): Move code for finite nonzero arguments to
30839 * math/libm-test.inc (cacos_test): Add more tests.
30840 * sysdeps/i386/fpu/libm-test-ulps: Update.
30841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30843 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30845 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30846 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30847 [!HAVE_MREMAP]: Remove [defined linux] case.
30848 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30850 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30852 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30854 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
30856 * elf/elf.h (R_386_SIZE32): New relocation.
30857 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30859 (elf_machine_rela): Likewise.
30860 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30861 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30863 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30865 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30866 (FP_FAST_FMA): Do not define.
30867 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30868 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30869 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30870 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30871 !_SOFT_FLOAT]: Likewise.
30872 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30873 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30876 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30877 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30878 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30879 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30880 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30883 2013-01-16 Andreas Schwab <schwab@suse.de>
30886 * include/stdlib.h (__mktemp): Add declaration.
30887 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30888 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30890 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30892 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30894 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30895 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30896 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30898 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30899 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30901 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30903 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30904 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30905 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30907 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30908 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30910 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30912 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30914 2013-01-15 David S. Miller <davem@davemloft.net>
30916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30917 trunc{,f} to libm-sysdep_routes.
30918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30928 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30929 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30930 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30931 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30932 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30933 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30936 nearbyint{,f} to libm-sysdep_routes.
30937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30951 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30954 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30955 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30957 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30958 libc_feholdexcept and libc_fesetenv.
30960 2013-01-15 Mike Frysinger <vapier@gentoo.org>
30962 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30964 2013-01-14 David S. Miller <davem@davemloft.net>
30966 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30967 (SPARC_ASM_VIS2_IFUNC): Likewise.
30968 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30970 use of 'siam' instruction.
30971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31004 routines to libm-sysdep_routines.
31005 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31008 fdim/fdimf to libm-sysdep_routines.
31009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31017 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31018 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31019 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31020 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31022 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31024 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31025 to optimize copies.
31027 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31032 local variable MPTWO.
31033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31036 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31038 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31041 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31043 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31045 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31047 * manual/pattern.texi (glob_t): Document gl_flags.
31048 (glob64_t): Likewise.
31050 2013-01-11 David S. Miller <davem@davemloft.net>
31052 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31053 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31054 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31055 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31056 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31057 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31058 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31059 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31060 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31061 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31062 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31063 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31064 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31066 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31067 sparc V9 rather than using V8 code.
31068 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31069 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31071 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31073 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31076 2013-01-11 Roland McGrath <roland@hack.frob.com>
31078 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31079 not in the main loop.
31080 * configure: Regenerated.
31082 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31084 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31085 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31087 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31088 [!__GLIBC_HAVE_LONG_LONG] case.
31089 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31090 condition to just #else.
31091 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31092 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31093 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31094 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31096 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31097 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31098 #elif condition to just #else.
31099 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31100 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31101 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31102 #elif condition to just #else.
31104 2013-01-11 Steve Ellcey <sellcey@mips.com>
31106 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31107 (EF_MIPS_ARCH_64): Fix value.
31108 (EF_MIPS_ARCH_32R2): New.
31109 (EF_MIPS_ARCH_64R2): New.
31111 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31113 * Makeconfig (+link-pie-before-libc): New.
31114 (+link-pie-after-libc): Likewise.
31115 (+link-pie-tests): Likewise.
31116 (+link-pie): Rewritten.
31117 (link-before-libc): Remove $(config-LDFLAGS).
31118 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31119 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31120 (config-LDFLAGS): Renamed to ...
31121 (rtld-LDFLAGS): This.
31122 (rtld-tests-LDFLAGS): New macro.
31123 (link-libc-rpath-link): Likewise.
31124 (link-libc-tests-rpath-link): Likewise.
31125 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31126 (link-libc): Prepand $(link-libc-rpath-link).
31127 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31128 (test-program-prefix): New macro.
31129 (test-via-rtld-prefix): Likewise.
31130 (test-program-cmd): Likewise.
31131 (host-test-program-cmd): Likewise.
31132 * Makefile ($(common-objpfx)testrun.sh): Replace
31133 $(run-program-prefix) with $(test-program-prefix).
31134 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31136 ($(common-objpfx)shlib.lds): Likewise.
31137 (build-module-helper): Likewise.
31138 ($(common-objpfx)format.lds): Likewise.
31139 * Rules (binaries-pie-tests): New.
31140 (binaries-pie-notests): Likewise.
31141 (binaries-pie): Rewritten.
31142 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31143 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31144 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31145 (make-test-out): Replace $(host-built-program-cmd) with
31146 $(host-test-program-cmd).
31147 * config.make.in (build-hardcoded-path-in-tests): New variable.
31148 * configure.in (--enable-hardcoded-path-in-tests): New configure
31150 (hardcoded_path_in_tests): New AC_SUBST.
31151 * configure: Regenerated.
31152 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31153 $(built-program-cmd) with $(test-program-cmd).
31154 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31155 (test_program_cmd): This.
31156 * elf/Makefile ($(objpfx)order.out): Run test with
31157 $(test-program-prefix).
31158 ($(objpfx)order2.out): Likewise.
31159 ($(objpfx)tst-initorder.out): Likewise.
31160 ($(objpfx)tst-initorder2.out): Likewise.
31161 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31162 $(test-program-cmd).
31163 ($(objpfx)tst-array1-static.out): Likewise.
31164 ($(objpfx)tst-array2.out): Likewise.
31165 ($(objpfx)tst-array3.out): Likewise.
31166 ($(objpfx)tst-array4.out): Likewise.
31167 ($(objpfx)tst-array5.out): Likewise.
31168 ($(objpfx)tst-array5-static.out): Likewise.
31169 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31170 $(test-program-cmd).
31171 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31172 $(run-program-prefix) with $(test-program-prefix).
31173 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31174 (test_program_prefix): This.
31175 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31176 $(run-program-prefix) with $(test-program-prefix).
31177 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31178 (test_program_prefix): This.
31179 * iconvdata/tst-tables.sh: Likewise.
31180 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31181 $(run-program-prefix) with $(test-program-prefix).
31182 ($(objpfx)tst-translit.out): Likewise.
31183 ($(objpfx)tst-gettext2.out): Likewise.
31184 ($(objpfx)tst-gettext4.out): Likewise.
31185 ($(objpfx)tst-gettext6.out): Likewise.
31186 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31187 (test_program_prefix): This.
31188 * intl/tst-gettext2.sh: Likewise.
31189 * intl/tst-gettext4.sh Likewise.
31190 * intl/tst-gettext6.sh: Likewise.
31191 * intl/tst-translit.sh: Likewise.
31192 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31193 with $(test-program-cmd).
31194 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31195 $(run-program-prefix) with $(test-program-prefix).
31196 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31197 (test_program_prefix): This.
31198 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31199 $(run-program-prefix) with $(test-program-prefix).
31200 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31201 (test_program_prefix): This.
31202 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31203 * posix/Makefile ($(objpfx)globtest.out): Replace
31204 $(run-via-rtld-prefix) and $(test-wrapper) with
31205 $(test-program-prefix) and $(test-via-rtld-prefix).
31206 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31207 $(test-program-prefix).
31208 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31209 $(host-test-program-cmd).
31210 (tst-spawn-ARGS): Likewise.
31211 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31212 $(test-program-prefix).
31213 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31214 (test_via_rtld_prefix): This.
31215 (test_wrapper): Renamed to ...
31216 (test_program_prefix): This.
31217 (run_program_prefix): Replaced by test_program_prefix.
31218 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31219 (test_program_prefix): This.
31220 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31221 with $(host-test-program-cmd).
31222 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31223 $(run-program-prefix) with $(test-program-prefix).
31224 ($(objpfx)tst-printf.out): Likewise.
31225 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31226 $(test-program-cmd).
31227 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31228 (test_program_prefix): This.
31229 * stdio-common/tst-unbputc.sh: Likewise.
31230 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31231 $(run-program-prefix) with $(test-program-prefix).
31232 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31233 (test_program_prefix): This.
31234 * string/Makefile ($(objpfx)tst-svc.out): Replace
31235 $(built-program-cmd) with $(test-program-cmd).
31237 2013-01-11 Andreas Jaeger <aj@suse.de>
31240 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31241 value. Sync with Linux 3.7.
31243 2013-01-10 David S. Miller <davem@davemloft.net>
31245 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31246 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31247 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31249 2013-01-10 Roland McGrath <roland@hack.frob.com>
31251 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31253 * configure: Regenerated.
31255 2013-01-10 David S. Miller <davem@davemloft.net>
31257 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31258 sparc V9 rather than using V8 code.
31259 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31260 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31262 2013-01-10 Roland McGrath <roland@hack.frob.com>
31264 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31265 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31266 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31267 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31268 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31269 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31270 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31271 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31272 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31273 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31274 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31275 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31276 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31277 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31278 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31279 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31280 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31281 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31282 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31283 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31284 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31285 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31286 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31287 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31288 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31289 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31290 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31292 2013-01-10 David S. Miller <davem@davemloft.net>
31294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31296 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31298 * posix/Makefile (tests-static): New variable.
31299 (tests): Add $(tests-static).
31300 (tst-exec-static-ARGS): New variable.
31301 (tst-spawn-static-ARGS): Likewise.
31302 * posix/tst-exec-static.c: New file.
31303 * posix/tst-spawn-static.c: Likewise.
31304 * posix/tst-exec.c: Support run directly.
31305 * posix/tst-spawn.c: Likewise.
31307 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31309 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31311 * math/bits/mathcalls.h (llrint): Likewise.
31312 (llround): Likewise.
31313 * stdlib/stdlib.h (struct drand48_data): Likewise.
31314 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31315 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31316 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31318 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31320 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31321 (elf_greg_t): Likewise.
31322 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31323 (__jmp_buf): Likewise.
31324 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31326 (llrint): Likewise, for all definitions.
31327 (llrintl): Likewise.
31329 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31330 Remove [__GNUC__] condition.
31331 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31332 condition to just [__USE_ISOC99].
31333 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31335 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31338 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31339 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31341 (_POSIX_V6_ILP32_OFF32): Likewise.
31342 (_XBS5_ILP32_OFF32): Likewise.
31343 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31344 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31346 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31348 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31351 doubles __mpexp_twomm1. Adjust usage.
31352 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31355 2013-01-10 Andreas Schwab <schwab@suse.de>
31358 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31359 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31361 2013-01-09 David S. Miller <davem@davemloft.net>
31364 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31365 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31366 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31367 (TCP_FASTOPEN): Define.
31368 (tcp_repair_opt): New structure.
31369 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31371 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31372 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31373 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31374 (tcp_cookie_transactions): New structure.
31376 2013-01-09 Anton Blanchard <anton@samba.org>
31378 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31379 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31380 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31381 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31383 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31385 * include/features.h (__USE_ANSI): Remove.
31387 2013-01-09 Roland McGrath <roland@hack.frob.com>
31389 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31391 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31393 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31395 * sysdeps/s390/fpu/libm-test-ulps: Update.
31397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31399 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31403 (denorm): Likewise.
31404 (__mp_dbl): Likewise.
31405 (__dbl_mp): Likewise.
31406 (add_magnitudes): Likewise.
31407 (sub_magnitudes): Likewise.
31413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31417 (denorm): Likewise.
31418 (__mp_dbl): Likewise.
31419 (__dbl_mp): Likewise.
31420 (add_magnitudes): Likewise.
31421 (sub_magnitudes): Likewise.
31427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31431 (denorm): Likewise.
31432 (__mp_dbl): Likewise.
31433 (__dbl_mp): Likewise.
31434 (add_magnitudes): Likewise.
31435 (sub_magnitudes): Likewise.
31442 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31444 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31445 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31446 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31447 2 && __USE_EXTERN_INLINES]: Likewise.
31449 2013-01-08 Andreas Jaeger <aj@suse.de>
31452 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31454 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31455 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31457 2013-01-07 Anton Blanchard <anton@samba.org>
31459 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31460 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31461 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31462 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31463 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31464 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31465 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31466 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31468 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31469 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31470 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31471 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31472 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31473 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31474 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31475 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31476 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31477 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31478 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31479 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31480 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31481 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31482 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31483 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31484 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31485 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31486 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31488 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31489 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31491 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31492 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31493 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31494 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31495 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31496 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31497 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31498 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31499 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31500 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31501 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31503 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31505 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31506 (__MALLOC_PMT): Likewise.
31507 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31508 [__GNUC__], only on [_LIBC].
31509 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31510 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31511 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31512 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31513 forward declaration.
31514 (realloc_hook_ini): Likewise.
31515 (memalign_hook_ini): Likewise.
31516 (__libc_memalign): Do not use __MALLOC_PMT in variable
31518 (__libc_valloc): Likewise.
31519 (__libc_pvalloc): Likewise.
31520 (__libc_calloc): Likewise.
31521 (__posix_memalign): Likewise.
31524 * math/s_casinh.c: Include <float.h>.
31525 (__casinh): Do not do computation with squaring and square root
31526 for large arguments.
31527 * math/s_casinhf.c: Include <float.h>.
31528 (__casinhf): Do not do computation with squaring and square root
31529 for large arguments.
31530 * math/s_casinhl.c: Include <float.h>.
31531 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31532 (__casinhl): Do not do computation with squaring and square root
31533 for large arguments.
31534 * math/libm-test.inc (casin_test): Add more tests.
31535 (casinh_test): Likewise.
31536 * sysdeps/i386/fpu/libm-test-ulps: Update.
31537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31539 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31541 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31542 (__x86_64_raw_data_cache_size): Likewise.
31543 (__x86_64_data_cache_size_half): Likewise.
31544 (__x86_64_raw_data_cache_size_half): Likewise.
31545 (__x86_64_shared_cache_size): Likewise.
31546 (__x86_64_raw_shared_cache_size): Likewise.
31547 (__x86_64_shared_cache_size_half): Likewise.
31548 (__x86_64_raw_shared_cache_size_half): Likewise.
31549 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31551 (__x86_data_cache_size): This.
31552 (__x86_64_raw_data_cache_size): Renamed to ...
31553 (__x86_raw_data_cache_size): This.
31554 (__x86_64_data_cache_size_half): Renamed to ...
31555 (__x86_data_cache_size_half): This.
31556 (__x86_64_raw_data_cache_size_half): Renamed to ...
31557 (__x86_raw_data_cache_size_half): This.
31558 (__x86_64_shared_cache_size): Renamed to ...
31559 (__x86_shared_cache_size): This.
31560 (__x86_64_raw_shared_cache_size): Renamed to ...
31561 (__x86_raw_shared_cache_size): This.
31562 (__x86_64_shared_cache_size_half): Renamed to ...
31563 (__x86_shared_cache_size_half): This.
31564 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31565 (__x86_raw_shared_cache_size_half): This.
31566 * sysdeps/x86_64/memcpy.S: Updated.
31567 * sysdeps/x86_64/memset.S: Likewise.
31568 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31569 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31570 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31572 2013-01-04 David S. Miller <davem@davemloft.net>
31574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31576 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31578 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31579 1 to avoid redefinition warning.
31580 (__USE_GNU): Don't define.
31581 (init_signaling_nan): Protoize.
31583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31585 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31587 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31589 (__cpymn): Likewise.
31590 (norm): Remove commented code.
31591 (denorm): Likewise.
31592 (__mp_dbl): Likewise.
31594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31595 (__cpymn): Likewise.
31596 (norm): Remove commented code.
31597 (denorm): Likewise.
31598 (__mp_dbl): Likewise.
31601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31602 mp_no value for 1.0 and 2.0.
31603 (norm): Use RADIXI instead of radixi.d.
31604 (denorm): Likewise.
31605 (__mul): Use 0.0 instead of zero.d.
31606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31607 mp_no value for 1.0 and 2.0.
31608 (norm): Use RADIXI instead of radixi.d.
31609 (denorm): Likewise.
31610 (__mul): Use 0.0 instead of zero.d.
31612 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31615 * math/s_casinh.c (__casinh): Reduce finite argument to first
31616 quadrant then set signs of results at the end.
31617 * math/s_casinhf.c (__casinhf): Likewise.
31618 * math/s_casinhl.c (__casinhl): Likewise.
31619 * math/libm-test.inc (casin_test): Add more tests.
31620 (casinh_test): Likewise.
31621 * sysdeps/i386/fpu/libm-test-ulps: Update.
31622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31624 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31626 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31628 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31630 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31632 (denorm): Likewise.
31633 (__mp_dbl): Likewise.
31636 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31637 and adjust the header comment.
31639 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31640 variable name from declaration.
31642 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31645 Initialize COMMON_CPUID_INDEX_7 element.
31646 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31647 (CPUID_RTM): Likewise.
31648 (HAS_RTM): Likewise.
31649 (COMMON_CPUID_INDEX_7): New enum.
31651 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31654 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31655 size is zero, record memory as freed.
31657 2013-01-03 Andreas Jaeger <aj@suse.de>
31659 * po/ia.po: Add new Interlingua translation.
31661 2012-01-03 Allan McRae <allan@archlinux.org>
31663 * locale/programs/localedef.c: Fix description of '--posix' flag.
31665 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31667 * NEWS: Update dates in second copyright notice.
31668 * README: Update copyright dates in example.
31669 * manual/libc.texinfo: Update copyright dates.
31670 * scripts/test-installation.pl: Update copyright date in --version
31673 * hurd/ctty-input.c: Fix copyright notice formatting.
31674 * hurd/ctty-output.c: Likewise.
31675 * hurd/dtable.c: Likewise.
31676 * hurd/hurd-raise.c: Likewise.
31677 * hurd/hurdprio.c: Likewise.
31678 * hurd/msgportdemux.c: Likewise.
31679 * misc/sys/file.h: Likewise.
31680 * misc/sys/ioctl.h: Likewise.
31681 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31682 * sysdeps/mach/hurd/chdir.c: Likewise.
31683 * sysdeps/mach/hurd/fchdir.c: Likewise.
31684 * sysdeps/mach/hurd/rename.c: Likewise.
31685 * sysdeps/mach/hurd/rmdir.c: Likewise.
31686 * sysdeps/mach/hurd/seekdir.c: Likewise.
31687 * sysdeps/mach/hurd/setsid.c: Likewise.
31688 * sysdeps/posix/wait3.c: Likewise.
31690 * All files with FSF copyright notices: Update copyright dates
31691 using scripts/update-copyrights.
31692 * intl/plural.c: Regenerated.
31693 * locale/programs/charmap-kw.h: Likewise.
31694 * locale/programs/locfile-kw.h: Likewise.
31696 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31698 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31701 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31702 calculation loop and add branch prediction.
31704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31705 check access beyond bounds of m1np.
31707 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31709 (__inv): Remove local variable MPTWO to use the global
31711 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31712 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31714 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31715 MP3HALFS static const.
31717 2013-01-01 David S. Miller <davem@davemloft.net>
31719 * po/ca.po: Update from translation team.
31721 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31723 * scripts/update-copyrights: New file.
31724 * Makeconfig: Reformat copyright notice.
31725 * ctype/ctype.h: Likewise.
31726 * debug/swprintf_chk.c: Likewise.
31727 * elf/dl-cache.c: Likewise.
31728 * elf/dl-debug.c: Likewise.
31729 * elf/dl-object.c: Likewise.
31730 * grp/initgroups.c: Likewise.
31731 * hurd/Makefile: Likewise.
31732 * hurd/hurd/signal.h: Likewise.
31733 * hurd/hurdfault.c: Likewise.
31734 * hurd/hurdioctl.c: Likewise.
31735 * hurd/hurdlookup.c: Likewise.
31736 * hurd/intr-msg.c: Likewise.
31737 * iconv/gconv_open.c: Likewise.
31738 * libio/swprintf.c: Likewise.
31739 * locale/lc-ctype.c: Likewise.
31740 * locale/nl_langinfo.c: Likewise.
31741 * mach/Machrules: Likewise.
31742 * mach/Makefile: Likewise.
31743 * malloc/obstack.h: Likewise.
31744 * manual/Makefile: Likewise.
31745 * manual/tsort.awk: Likewise.
31746 * misc/bits/stab.def: Likewise.
31747 * nis/nis_print_group_entry.c: Likewise.
31748 * nis/nis_table.c: Likewise.
31749 * nis/nss_compat/compat-pwd.c: Likewise.
31750 * nis/nss_compat/compat-spwd.c: Likewise.
31751 * po/Makefile: Likewise.
31752 * posix/fnmatch.c: Likewise.
31753 * posix/regex.h: Likewise.
31754 * resolv/Makefile: Likewise.
31755 * resolv/nss_dns/dns-network.c: Likewise.
31756 * resolv/res_hconf.c: Likewise.
31757 * scripts/gen-sorted.awk: Likewise.
31758 * soft-fp/soft-fp.h: Likewise.
31759 * stdio-common/printf.h: Likewise.
31760 * stdlib/monetary.h: Likewise.
31761 * stdlib/random.c: Likewise.
31762 * stdlib/random_r.c: Likewise.
31763 * sysdeps/generic/Makefile: Likewise.
31764 * sysdeps/gnu/Makefile: Likewise.
31765 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31767 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31771 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31772 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31773 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31774 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31775 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31776 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31777 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31778 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31779 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31780 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31781 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31782 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31783 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31784 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31785 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31786 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31787 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31788 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31789 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31790 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31791 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31792 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31793 * sysdeps/mach/hurd/errnos.awk: Likewise.
31794 * sysdeps/mach/hurd/fork.c: Likewise.
31795 * sysdeps/mach/hurd/getcwd.c: Likewise.
31796 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31797 * sysdeps/mach/hurd/mmap.c: Likewise.
31798 * sysdeps/mach/hurd/utimes.c: Likewise.
31799 * sysdeps/mach/hurd/xmknod.c: Likewise.
31800 * sysdeps/posix/profil.c: Likewise.
31801 * sysdeps/posix/readdir_r.c: Likewise.
31802 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31803 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31804 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31805 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31807 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31808 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31809 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31811 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31812 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31813 * sysdeps/pthread/lio_listio.c: Likewise.
31814 * sysdeps/sparc/dl-procinfo.h: Likewise.
31815 * sysdeps/unix/i386/sysdep.S: Likewise.
31816 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31817 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31818 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31819 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31821 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31822 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31823 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31824 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31825 * sysdeps/wordsize-32/divdi3.c: Likewise.
31826 * time/sys/time.h: Likewise.
31827 * wcsmbs/Makefile: Likewise.
31829 2013-01-01 David S. Miller <davem@davemloft.net>
31831 * po/fr.po: Update from translation team.
31833 * catgets/gencat.c: Update copyright year.
31834 * csu/version.c: Likewise.
31835 * debug/catchsegv.sh: Likewise.
31836 * debug/pcprofiledump.c: Likewise.
31837 * debug/xtrace.sh: Likewise.
31838 * elf/ldconfig.c: Likewise.
31839 * elf/ldd.bash.in: Likewise.
31840 * elf/pldd.c: Likewise.
31841 * elf/sotruss.ksh: Likewise.
31842 * elf/sprof.c: Likewise.
31843 * iconv/iconv_prog.c: Likewise.
31844 * iconv/iconvconfig.c: Likewise.
31845 * locale/programs/locale.c: Likewise.
31846 * locale/programs/localedef.c: Likewise.
31847 * login/programs/pt_chown.c: Likewise.
31848 * malloc/memusage.sh: Likewise.
31849 * malloc/memusagestat.c: Likewise.
31850 * malloc/mtrace.pl: Likewise.
31851 * nscd/nscd.c: Likewise.
31852 * nss/getent.c: Likewise.
31853 * nss/makedb.c: Likewise.
31854 * posix/getconf.c: Likewise.
31856 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31858 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31861 2012-12-30 Mike Frysinger <vapier@gentoo.org>
31863 * math/bits/mathcalls.h (modf): Use __nonnull.
31865 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31867 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31868 (split): Use macro CN instead of the bare value.
31869 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31872 instead of the bare value.
31873 (power1): Likewise.
31875 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31877 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31879 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31881 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31883 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31884 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31885 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31886 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31888 2012-12-28 Andreas Jaeger <aj@suse.de>
31890 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
31891 values are from Linux 3.7.
31893 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31894 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31896 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31898 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31901 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31903 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31904 variables with preprocessor constants.
31905 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31906 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31907 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31909 2012-12-27 Bruno Haible <bruno@clisp.org>
31912 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31915 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31917 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31918 and use variable directly.
31919 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31921 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31923 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31924 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31926 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31928 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31929 include directive. Remove local variable MPONE.
31930 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31931 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31932 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31934 2012-12-25 David S. Miller <davem@davemloft.net>
31936 * version.h (RELEASE): Set to "development".
31937 (VERSION): Set to "2.17.90".
31938 * NEWS: Add 2.18 section.
31940 2012-12-21 David S. Miller <davem@davemloft.net>
31942 * po/hr.po: Update from translation team.
31944 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31946 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31948 2012-12-19 Steve Ellcey <sellcey@mips.com>
31950 * NEWS: Mention new memcpy for MIPS.
31952 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31954 * manual/contrib.texi (Contributors): Spelling correction.
31956 2012-12-15 David S. Miller <davem@davemloft.net>
31958 * po/ru.po: Update from translation team.
31960 2012-12-13 David S. Miller <davem@davemloft.net>
31962 * NEWS: Mention IFUNC testsuite enhancements.
31964 * po/pl.po: Update from translation team.
31965 * po/bg.po: Likewise.
31967 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31968 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31970 2012-12-11 David S. Miller <davem@davemloft.net>
31972 * po/sv.po: Update from translation team.
31974 * po/vi.po: Update from translation team.
31976 * po/cs.po: Update from translation team.
31978 * po/de.po: Update from translation team.
31979 * po/eo.po: Likewise.
31980 * po/nl.po: Likewise.
31982 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31985 * manual/argp.texi (Argp Helper Functions): Move node to follow
31986 Argp Parsing State.
31989 * manual/conf.texi (Limits on File System Capacity): Mention if
31990 terminating null is included in the max size.
31992 2012-12-10 Andreas Jaeger <aj@suse.de>
31994 * po/cs.po: Update from translation team.
31996 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31998 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31999 void pointer and cast to uintptr_t.
32000 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32002 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32003 * sysdeps/s390/s390-64/memset.S: Likewise.
32005 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32008 * menual/message.texi (Message Translation): Fix typos.
32009 (Helper programs for gettext): Likewise.
32011 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32014 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32017 2012-12-07 David S. Miller <davem@davemloft.net>
32019 * po/libc.pot: Update.
32021 2012-12-07 Richard Henderson <rth@redhat.com>
32024 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32025 normal/normal case to before the switch.
32026 (_FP_DIV): Likewise.
32028 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32029 Mike Frysinger <vapier@gentoo.org>
32031 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32032 check for __NR_fadvise64_64.
32034 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32036 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32037 0, not just to plain "0" as a statement.
32038 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32041 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32043 * NEWS: Use sourceware.org in Bugzilla URL.
32045 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32048 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32050 * stdio-common/tst-put-error.c (do_test): Add newline to the
32051 padded test to ensure flush.
32053 2012-12-05 Jeff Law <law@redhat.com>
32055 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32057 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32059 * README: Don't refer to ports add-on as distributed separately.
32060 Mention AArch64 in list of systems supported in the ports add-on.
32062 * LICENSES: Add more non-FSF copyright and license notices.
32064 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32067 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32069 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32070 10000 as width of padded output.
32072 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32074 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32076 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32077 variable LX with __attribute__ ((unused)).
32078 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32080 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32082 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32083 with __attribute__ ((unused)).
32085 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32087 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32089 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32091 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32092 (CFLAGS-nldbl-acos.c): New variable.
32093 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32094 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32095 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32096 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32097 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32098 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32099 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32100 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32101 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32102 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32103 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32104 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32105 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32106 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32107 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32108 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32109 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32110 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32111 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32112 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32113 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32114 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32115 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32116 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32117 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32118 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32119 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32120 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32121 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32122 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32123 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32124 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32125 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32126 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32127 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32128 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32129 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32130 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32131 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32132 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32133 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32134 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32135 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32136 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32137 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32138 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32139 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32140 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32141 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32142 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32143 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32144 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32145 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32146 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32147 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32148 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32149 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32150 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32151 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32152 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32153 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32154 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32155 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32156 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32157 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32158 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32159 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32160 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32161 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32162 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32163 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32164 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32165 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32166 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32167 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32168 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32169 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32170 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32171 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32172 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32173 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32174 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32175 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32176 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32177 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32178 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32179 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32180 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32181 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32182 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32183 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32184 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32185 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32186 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32187 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32188 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32189 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32192 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32195 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32196 whole low double instead of just low 47 bits when splitting values
32199 2012-12-03 Allan McRae <allan@archlinux.org>
32201 * manual/stdio.texi (Predefined Printf Handlers): Remove
32202 @hsep and @vsep usage.
32204 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32206 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32207 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32209 2012-12-03 Jeff Law <law@redhat.com>
32211 * time/sys/time.h (settimeofday): Do not mark TV argument
32214 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32216 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32217 when currently writing and seek to current position when not.
32218 * libio/Makefile (tests): Remove bug-fclose1.
32219 * libio/bug-fclose1.c: Delete.
32221 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32223 * manual/arith.texi (feenableexcept): Fix typo.
32224 (fedisableexcept): Likewise.
32226 2012-11-30 Roland McGrath <roland@hack.frob.com>
32228 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32229 second, differently-typed declaration, rather than a cast.
32231 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32233 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32234 * include/rpc/svc.h: ... here.
32236 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32239 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32240 depending n and resplen2 to catch cases where answer
32243 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32245 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32246 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32248 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32250 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32252 2012-11-29 Roland McGrath <roland@hack.frob.com>
32254 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32256 2012-11-28 Jeff Law <law@redhat.com>
32259 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32260 dataset_temporary. Track alloca usage into alloca_used.
32261 If dataset is large allocate and release it via malloc/free.
32263 2012-06-04 Florian Weimer <fweimer@redhat.com>
32266 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32268 2012-11-28 David S. Miller <davem@davemloft.net>
32270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32272 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32275 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32276 of pi/2 rounded to nearest to 64 bits.
32277 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32278 nearest to 64 bits.
32279 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32282 2012-11-28 Jeff Law <law@redhat.com>
32283 Martin Osvald <mosvald@redhat.com>
32286 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32287 * sunrpc/svc.c: Include time.h.
32288 (__svc_accept_failed): New function.
32289 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32290 any reason other than EINTR, call __svc_accept_failed.
32291 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32292 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32294 2012-11-28 Andreas Schwab <schwab@suse.de>
32296 * scripts/abilist.awk: Also handle indirect functions in .opd
32299 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32302 * sysdeps/x86/fpu/powl_helper.c: New file.
32303 * sysdeps/x86/fpu/Makefile: Likewise.
32304 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32306 (__ieee754_powl): Use __powl_helper for finite arguments except
32307 integer exponents below 8.
32308 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32310 (__ieee754_powl): Use __powl_helper for finite arguments except
32311 integer exponents below 8.
32312 * math/libm-test.inc (pow_test): Add more tests and enable some
32313 previously disabled tests.
32314 * sysdeps/i386/fpu/libm-test-ulps: Update.
32315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32317 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32318 Carlos O'Donell <carlos_odonell@mentor.com>
32320 * nss/makedb.c (is_prime): Assert that input is odd and greater
32321 than 4. Note that fact in a comment too.
32322 (next_prime): Add 4 to input.
32324 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32327 * libio/Makefile (tests): Add test case tst-fwrite-error.
32328 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32329 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32330 * libio/tst-fwrite-error.c: New test case.
32332 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32334 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32335 before casting to void *.
32336 * include/libc-internal.h (__pointer_type): New macro.
32337 (__integer_if_pointer_type_sub): Likewise.
32338 (__integer_if_pointer_type): Likewise.
32339 (cast_to_integer): Likewise.
32340 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32341 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32342 before casting to atomic64_t.
32343 (atomic_exchange_acq): Likewise.
32344 (__arch_exchange_and_add_body): Likewise.
32345 (__arch_add_body): Likewise.
32346 (atomic_add_negative): Likewise.
32347 (atomic_add_zero): Likewise.
32349 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32351 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32352 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32353 (add_fdes): Likewise.
32354 (linear_search_fdes): Likewise.
32355 (binary_search_unencoded_fdes): Likewise.
32357 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32359 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32361 2012-11-24 Adam Conrad <adconrad@0c3.net>
32363 * configure.in: Autodetect C++ header directories.
32364 * configure: Regenerated.
32366 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32368 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32370 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32374 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32376 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32377 LDBL_MANT_DIG == 106]: Disable some tests.
32378 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32380 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32384 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32385 input for small inputs. Return +/- pi/2 for large inputs.
32386 * math/libm-test.inc (atan_test): Add more tests.
32388 * sysdeps/generic/unwind-dw2-fde-glibc.c
32389 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32390 __attribute__ ((unused)).
32393 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32394 x * y if x and y are nonzero and z is zero.
32397 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32398 nonzero exponents with absolute value below 0x1p-117 to +/-
32402 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32403 up arguments below 2**-450, not just those below 2**-500.
32404 * math/libm-test.inc (hypot_test): Add another test.
32407 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32408 Return a+b for ratio over 2**120, not 2**60.
32409 * math/libm-test.inc (hypot_test): Add another test.
32411 * math/libm-test.inc (clog_test): Use
32412 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32413 (clog10_test): Likewise.
32416 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32418 2012-11-22 Andreas Schwab <schwab@suse.de>
32420 * sysdeps/i386/fpu/libm-test-ulps: Update.
32422 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32424 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32425 printf output with newline.
32427 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32430 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32431 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32432 -z nodlopen, -z initfirst and -z execstack support.
32433 * configure: Regenerated.
32435 * elf/elf.h (DF_1_NODIRECT): New macro.
32436 (DF_1_IGNMULDEF): Likewise.
32437 (DF_1_NOKSYMS): Likewise.
32438 (DF_1_NOHDR): Likewise.
32439 (DF_1_EDITED): Likewise.
32440 (DF_1_NORELOC): Likewise.
32441 (DF_1_SYMINTPOSE): Likewise.
32442 (DF_1_GLOBAUDIT): Likewise.
32443 (DF_1_SINGLETON): Likewise.
32444 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32445 DT_1_SUPPORTED_MASK bits.
32446 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32448 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32450 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32452 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32454 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32457 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32458 (sendmmsg): Move declarations...
32459 * socket/sys/socket.h: ... here.
32460 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32461 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32463 * socket/recvmmsg.c: ... this new file.
32464 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32465 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32466 definition of __sendmmsg hidden.
32467 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32468 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32469 Move ENOSYS stub into and include it from...
32470 * socket/sendmmsg.c: ... this new file.
32471 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32472 (sysdep_routines): Move recvmmsg and sendmmsg...
32473 * socket/Makefile (routines): ... here.
32474 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32475 (GLIBC_PRIVATE): Add __sendmmsg.
32476 * include/sys/socket.h (__sendmmsg): Add declarations.
32477 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32480 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32482 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32483 variable I1 with __attribute__ ((unused)).
32484 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32486 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32488 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32489 DUMMY variables with __attribute__ ((unused)).
32491 * bits/byteswap.h: Include <bits/types.h>.
32492 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32494 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32496 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32497 string_t. Do not manually set errno.
32498 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32499 length with __strnlen. Make sure to both set errno and return it on
32502 2012-11-19 David S. Miller <davem@davemloft.net>
32504 With help from Joseph Myers.
32505 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32506 very large arguments properly.
32507 * math/libm-test.inc (atan_test): New tests.
32508 (atan2_test): New tests.
32509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32512 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32515 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32518 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32519 [POSIX] (EADDRNOTAVAIL): Likewise.
32520 [POSIX] (EAFNOSUPPORT): Likewise.
32521 [POSIX] (EALREADY): Likewise.
32522 [POSIX] (ECONNABORTED): Likewise.
32523 [POSIX] (ECONNREFUSED): Likewise.
32524 [POSIX] (ECONNRESET): Likewise.
32525 [POSIX] (EDESTADDRREQ): Likewise.
32526 [POSIX] (EDQUOT): Likewise.
32527 [POSIX] (EHOSTUNREACH): Likewise.
32528 [POSIX] (EIDRM): Likewise.
32529 [POSIX] (EISCONN): Likewise.
32530 [POSIX] (ELOOP): Likewise.
32531 [POSIX] (EMULTIHOP): Likewise.
32532 [POSIX] (ENETDOWN): Likewise.
32533 [POSIX] (ENETUNREACH): Likewise.
32534 [POSIX] (ENOBUFS): Likewise.
32535 [POSIX] (ENODATA): Likewise.
32536 [POSIX] (ENOLINK): Likewise.
32537 [POSIX] (ENOMSG): Likewise.
32538 [POSIX] (ENOPROTOOPT): Likewise.
32539 [POSIX] (ENOSR): Likewise.
32540 [POSIX] (ENOSTR): Likewise.
32541 [POSIX] (ENOTCONN): Likewise.
32542 [POSIX] (ENOTSOCK): Likewise.
32543 [POSIX] (EOPNOTSUPP): Likewise.
32544 [POSIX] (EOVERFLOW): Likewise.
32545 [POSIX] (EPROTO): Likewise.
32546 [POSIX] (EPROTONOSUPPORT): Likewise.
32547 [POSIX] (EPROTOTYPE): Likewise.
32548 [POSIX] (ESTALE): Likewise.
32549 [POSIX] (ETIME): Likewise.
32550 [POSIX] (ETXTBSY): Likewise.
32551 [POSIX] (EWOULDBLOCK): Likewise.
32552 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32553 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32554 [POSIX] (SEEK_CUR): Likewise.
32555 [POSIX] (SEEK_END): Likewise.
32556 [POSIX || UNIX98] (mode_t): Do not require.
32557 [POSIX] (off_t): Likewise.
32558 [POSIX] (pid_t): Likewise.
32559 [POSIX] (sys/stat.h): Do not allow header.
32560 [POSIX] (unistd.h): Likewise.
32561 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32562 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32563 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32564 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32566 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32567 sigevent): Specify elements.
32568 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32570 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32571 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32573 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32574 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32575 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32576 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32577 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32578 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32579 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32580 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32581 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32582 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32583 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32584 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32585 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32592 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32594 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32595 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32596 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32597 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32598 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32599 Specify lower bound on value.
32600 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32601 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32602 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32603 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32604 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32605 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32606 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32607 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32609 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32611 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32612 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32613 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32614 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32615 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32616 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32617 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32618 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32619 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32620 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32621 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32622 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32623 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32624 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32625 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32626 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32628 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32630 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32631 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32632 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32633 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32634 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32635 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32637 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32638 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32639 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32640 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32641 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32642 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32643 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32645 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32646 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32647 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32648 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32649 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32650 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32651 specify as optional.
32652 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32653 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32654 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32655 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32656 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32657 [XPG3] (NL_LANGMAX): Likewise.
32658 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32659 [POSIX || XPG3] (NL_NMAX): Likewise.
32660 [POSIX || XPG3] (NL_SETMAX): Likewise.
32661 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32662 [XPG3] (NZERO): Likewise.
32663 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32664 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32665 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32666 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32667 (REG_ERANGE): Expect.
32668 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32670 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32671 Use (void) in prototype.
32672 [POSIX] (*_t): Allow.
32673 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32674 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32675 (WRDE_BADVAL): Expect.
32677 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32679 [XPG3 || XPG4] (O_RSYNC): Likewise.
32680 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32682 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32683 [XPG3 || XPG4] (sigqueue): Likewise.
32684 [XPG3 || XPG4] (sigtimedwait): Likewise.
32685 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32686 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32687 [XPG3 || XPG4] (vsnprintf): Likewise.
32688 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32690 [XPG3 || XPG4] (blksize_t): Likewise.
32691 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32693 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32694 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32695 [XPG3 || XPG4] (struct itimerspec): Likewise.
32696 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32697 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32698 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32699 [XPG3 || XPG4] (clockid_t): Likewise.
32700 [XPG3 || XPG4] (timer_t): Likewise.
32701 [XPG3 || XPG4] (clock_getres): Likewise.
32702 [XPG3 || XPG4] (clock_gettime): Likewise.
32703 [XPG3 || XPG4] (clock_settime): Likewise.
32704 [XPG3 || XPG4] (nanosleep): Likewise.
32705 [XPG3 || XPG4] (timer_create): Likewise.
32706 [XPG3 || XPG4] (timer_delete): Likewise.
32707 [XPG3 || XPG4] (timer_gettime): Likewise.
32708 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32709 [XPG3 || XPG4] (timer_settime): Likewise.
32710 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32711 [XPG3 || XPG4] (getlogin_r): Likewise.
32712 [XPG3 || XPG4] (pread): Likewise.
32713 [XPG3 || XPG4] (pthread_atfork): Likewise.
32714 [XPG3 || XPG4] (pwrite): Likewise.
32717 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32720 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32722 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32723 finalizing MALLSTREAM.
32725 * sysdeps/mach/hurd/syncfs.c: New file.
32727 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32730 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32731 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32732 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32733 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32734 (_nss_dns_gethostbyname4_r): Likewise.
32735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32736 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32738 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32741 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32743 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32745 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32746 * elf/cache.c (print_entry): Print ",AArch64" for
32749 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32750 * elf/cache.c (print_entry): Print ",hard-float" for
32753 2012-11-18 David S. Miller <davem@davemloft.net>
32755 With help from Joseph Myers.
32756 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32758 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32760 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32761 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32763 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32764 * math/libm-test.inc (y0_test): New tests.
32765 (y1_test): New tests.
32766 * sysdeps/i386/fpu/libm-test-ulps: Update.
32767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32770 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32772 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32774 * configure: Regenerated.
32776 2012-11-17 David S. Miller <davem@davemloft.net>
32779 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32780 nonzero exponents with absolute value below 0x1p-128 to +/-
32783 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32785 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32787 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32789 * posix/getconf-speclist.c: New file.
32790 * posix/posix-envs.def: Likewise.
32791 * posix/confstr.c (START_ENV_GROUP): New macro.
32792 (END_ENV_GROUP): Likewise.
32793 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32794 (KNOWN_PRESENT_ENV_STRING): Likewise.
32795 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32796 (UNKNOWN_ENVIRONMENT): Likewise.
32797 (confstr): Include posix-envs.def instead of handling
32798 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32799 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32800 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32801 (END_ENV_GROUP): Likewise.
32802 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32803 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32804 (UNKNOWN_ENVIRONMENT): Likewise.
32805 (__sysconf): Include posix-envs.def instead of handling associated
32806 cases directly here.
32807 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32808 preprocessing getconf-speclist.c rather than running getconf or
32809 generating empty file.
32811 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32813 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32815 2012-11-16 Andrej Lajovic <natrij@gmail.com>
32818 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32820 2012-11-16 David S. Miller <davem@davemloft.net>
32822 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32823 smaller than LDBL_EPSILON/2.0L, just return xm1.
32825 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32827 * elf/tst-array1.c (init): Set constructor priority to 1000.
32828 (fini): Set destructor priority to 1000.
32829 * elf/tst-array2dep.c: Likewise.
32831 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32834 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32835 (_IO_new_file_xsputn): Also return EOF if none of the input
32836 data was written when overflow failed.
32837 * libio/iopadn.c (_IO_padn): Likewise.
32838 * libio/iowpadn.c (_IO_wpadn): Likewise.
32839 * stdio-common/tst-put-error.c: Add copyright notice.
32840 (do_test): Add case for printing padded string.
32841 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32842 _IO_padn returned error.
32843 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32844 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32847 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32849 * libio/libioP.h: Add comment note that the references to C++
32850 bits are now obsolete.
32852 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32854 * math/libm-test.inc (check_complex): Use asprintf.
32856 2012-11-14 Joseph Myers <joseph@codesourcery.com>
32858 * debug/pcprofiledump.c (print_version): Update copyright year.
32859 * malloc/memusagestat.c (print_version): Likewise.
32861 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32864 * elf/Makefile (tests): Add tst-audit8.
32865 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32866 ($(objpfx)tst-audit8.out): New target.
32867 (tst-audit8-ENV): New variable.
32868 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32869 audit if l_reloc_result is NULL.
32870 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32871 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32872 * elf/tst-audit8.c: New file.
32874 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32876 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32877 * misc/Makefile (CFLAGS-select.c): Define.
32878 * posix/Makefile (CFLAGS-pause.c): Define.
32880 2012-11-13 David S. Miller <davem@davemloft.net>
32882 * crypt/Makefile: Move test targets after toplevel Rules
32883 inclusion. Grab any necessary sysdep routines when linking.
32884 * crypt/md5.c (md5_process_block): Remove define, we will always
32885 name it __md5_process_block.
32886 (md5_finish_ctx): Update md5_process_block call.
32887 (md5_stream): Likewise.
32888 (md5_process_bytes): Likewise.
32889 (md5_process_block): Rename to __md5_process_block and move to ...
32890 * crypt/md5-block.c: ... here.
32891 * crypt/sha256.c (sha256_process_block): Move to ...
32892 * crypt/sha256-block.c: ... here.
32893 * crypt/sha512.c (sha512_process_block): Move to ...
32894 * crypt/sha512-block.c: ... here.
32895 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32897 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32898 * sysdeps/sparc/sparc64/multiarch/Makefile
32899 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32901 (localedef-aux): Add md5 crypto assembler when in locale subdir.
32902 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32904 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32905 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32906 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32907 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32908 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32909 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32910 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32911 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32912 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32914 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32915 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32919 2012-11-13 Joseph Myers <joseph@codesourcery.com>
32921 * timezone/tzselect.ksh: Update from tzcode git revision
32922 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32923 * timezone/zdump.c: Likewise.
32924 * timezone/zic.c: Likewise.
32925 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32926 in TZVERSION setting, not $(PKGVERSION).
32927 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32928 REPORT_BUGS_TO settings.
32931 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32934 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32936 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32937 detection to immediately after _FP_ROUND().
32938 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32941 2012-11-11 David S. Miller <davem@davemloft.net>
32943 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32945 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32946 __close rather than their public counterparts.
32948 2012-11-10 Joseph Myers <joseph@codesourcery.com>
32950 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32952 [UNIX98] (sem_timedwait): Do not expect.
32953 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32954 [XPG4 || UNIX98] (sockatmark): Do not expect.
32955 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32956 (clock_getcpuclockid): Do not expect.
32957 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32958 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32960 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32961 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32962 [UNIX98] (vwscanf): Likewise.
32963 [UNIX98] (vswscanf): Likewise.
32965 2012-11-09 Joseph Myers <joseph@codesourcery.com>
32967 * timezone/version.h: Remove file.
32968 * timezone/README: Do not refer to version.h.
32969 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32970 $(objpfx)version.h.
32971 ($(objpfx)zdump.o): Likewise.
32972 ($(objpfx)version.h): New target.
32974 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32976 * timezone/README: Don't mention modification to tzselect.ksh.
32977 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32978 work on unmodified tzselect.ksh. Substitute version numbers in
32981 * Makefile (format-me): Remove.
32982 (INSTALL): Adjust indentation. Use commands directly instead of
32983 using $(format-me).
32985 * aclocal.m4 (ACX_PKGVERSION): New macro.
32986 (ACX_BUGURL): Likewise.
32987 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32988 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32989 (REPORT_BUGS_TO): Likewise.
32990 * configure: Regenerated.
32991 * config.h.in (PKGVERSION): New macro.
32992 (REPORT_BUGS_TO): Likewise.
32993 * config.make.in (PKGVERSION): New variable.
32994 (PKGVERSION_TEXI): Likewise.
32995 (REPORT_BUGS_TO): Likewise.
32996 (REPORT_BUGS_TEXI): Likewise.
32997 * Makefile (format-me): Use -I$(common-objpfx)manual.
32998 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32999 ($(common-objpfx)manual/%): New target.
33000 (manual/%): Remove target.
33001 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33002 (print_version): Use PKGVERSION.
33003 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33004 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33005 and REPORT_BUGS_TO.
33006 ($(objpfx)xtrace): Likewise.
33007 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33008 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33009 (print_version): Use PKGVERSION.
33010 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33011 (do_version): Use PKGVERSION.
33012 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33014 (common-ldd-rewrite): Likewise.
33015 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33016 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33017 (print_version): Use PKGVERSION.
33018 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33019 * elf/pldd.c (argp_program_bug_address): Remove variable.
33020 (more_help): New function.
33021 (argp): Use more_help.
33022 (print_version): Use PKGVERSION.
33023 * elf/sln.c (main): Use PKGVERSION.
33024 (usage): Use REPORT_BUGS_TO.
33025 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33026 (top level): Use PKGVERSION.
33027 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33028 (print_version): Use PKGVERSION.
33029 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33030 (print_version): Use PKGVERSION.
33031 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33032 (print_version): Use PKGVERSION.
33033 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33034 (print_version): Use PKGVERSION.
33035 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33036 (print_version): Use PKGVERSION.
33037 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33038 (print_version): Use PKGVERSION.
33039 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33041 ($(objpfx)memusage): Likewise.
33042 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33043 (do_version): Use PKGVERSION.
33044 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33045 (print_version): Use PKGVERSION.
33046 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33047 ($PKGVERSION): New variable.
33048 ($REPORT_BUGS_TO): Likewise.
33049 (usage): Use $REPORT_BUGS_TO.
33050 (top level): Use $PKGVERSION.
33051 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33052 ($(objpfx)pkgvers.texi): New rule.
33053 ($(objpfx)stamp-pkgvers): Likewise.
33054 * manual/install.texi: Include pkgvers.texi.
33055 (--with-pkgversion): Document new configure option.
33056 (--with-bugurl): Likewise.
33057 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33058 than necessarily for this particular distribution. Use
33059 REPORT_BUGS_TO for where to report bugs.
33060 * INSTALL: Regenerated.
33061 * manual/libc.texinfo: Include pkgvers.texi.
33062 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33063 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33064 (print_version): Use PKGVERSION.
33065 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33066 (print_version): Use PKGVERSION.
33067 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33068 (print_version): Use PKGVERSION.
33069 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33070 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33072 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33073 (print_version): Use PKGVERSION.
33074 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33075 (print_version): Use PKGVERSION.
33076 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33079 * timezone/checktab.awk: Update from tzcode 2012i.
33080 * timezone/ialloc.c: Likewise.
33081 * timezone/private.h: Likewise.
33082 * timezone/scheck.c: Likewise.
33083 * timezone/tzfile.h: Likewise.
33084 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33085 (TZVERSION): Hardcode tzcode version number.
33086 * timezone/zdump.c: Update from tzcode 2012i.
33087 * timezone/zic.c: Likewise.
33088 * timezone/version.h: New file.
33089 * timezone/README: Describe version.h. Update upstream location.
33092 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33093 (mktemp): Enable declaration.
33094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33111 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33112 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33113 for copies of such integer values.
33114 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33115 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33117 2012-11-09 Andreas Jaeger <aj@suse.de>
33119 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33120 definitions and declarations that are provided by
33121 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33123 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33125 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33126 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33127 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33130 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33132 * elf/elf.h: Update comment before AArch64 relocations.
33134 2012-11-07 David S. Miller <davem@davemloft.net>
33136 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33137 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33138 (__start_context): Declare.
33139 (__makecontext_ret): Delete.
33140 (__makecontext): Hook up __start_context instead of
33142 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33143 (sysdep_routines): Add __start_context when in stdlib.
33145 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33147 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33148 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33149 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33151 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33152 (READELF): New variable. Use it instead of hardcoded "readelf".
33154 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33156 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33157 * sysdeps/x86/Makefile: Here.
33158 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33159 * sysdeps/x86/tst-xmmymm.sh: This.
33161 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33163 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33165 [UNIX98] (pthread_barrier_t): Do not expect.
33166 [UNIX98] (pthread_barrierattr_t): Likewise.
33167 [UNIX98] (pthread_spinlock_t): Likewise.
33168 [UNIX98] (pthread_barrier_destroy): Likewise.
33169 [UNIX98] (pthread_barrier_init): Likewise.
33170 [UNIX98] (pthread_barrier_wait): Likewise.
33171 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33172 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33173 [UNIX98] (pthread_barrierattr_init): Likewise.
33174 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33175 [UNIX98] (pthread_getcpuclockid): Likewise.
33176 [UNIX98] (pthread_mutex_timedlock): Likewise.
33177 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33178 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33179 [UNIX98] (pthread_sigmask): Likewise.
33180 [UNIX98] (pthread_spin_destroy): Likewise.
33181 [UNIX98] (pthread_spin_init): Likewise.
33182 [UNIX98] (pthread_spin_lock): Likewise.
33183 [UNIX98] (pthread_spin_trylock): Likewise.
33184 [UNIX98] (pthread_spin_unlock): Likewise.
33185 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33187 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33188 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33189 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33190 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33191 [XPG3 || XPG4] (pthread_key_t): Likewise.
33192 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33193 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33194 [XPG3 || XPG4] (pthread_once_t): Likewise.
33195 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33196 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33197 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33198 [XPG3 || XPG4] (pthread_t): Likewise.
33200 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33202 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33204 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33205 Change function return type to int.
33207 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33208 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33209 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33210 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33211 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33212 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33213 [!POSIX] (posix_madvise): Likewise.
33214 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33216 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33217 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33218 (mode_t): Likewise.
33219 (posix_mem_offset): Likewise.
33220 (posix_typed_mem_get_info): Likewise.
33221 (posix_typed_mem_open): Likewise.
33223 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33224 Change condition to [XOPEN2K8].
33226 * conform/conformtest.pl: Preprocess allow-header data with -x c
33227 instead of from stdin.
33228 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33229 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33230 [C99-based standards] (cerfc): Likewise.
33231 [C99-based standards] (cexp2): Likewise.
33232 [C99-based standards] (cexpm1): Likewise.
33233 [C99-based standards] (clog10): Likewise.
33234 [C99-based standards] (clog1p): Likewise.
33235 [C99-based standards] (clog2): Likewise.
33236 [C99-based standards] (clgamma): Likewise.
33237 [C99-based standards] (ctgamma): Likewise.
33238 [C99-based standards] (cerff): Likewise.
33239 [C99-based standards] (cerfcf): Likewise.
33240 [C99-based standards] (cexp2f): Likewise.
33241 [C99-based standards] (cexpm1f): Likewise.
33242 [C99-based standards] (clog10f): Likewise.
33243 [C99-based standards] (clog1pf): Likewise.
33244 [C99-based standards] (clog2f): Likewise.
33245 [C99-based standards] (clgammaf): Likewise.
33246 [C99-based standards] (ctgammaf): Likewise.
33247 [C99-based standards] (cerfl): Likewise.
33248 [C99-based standards] (cerfcl): Likewise.
33249 [C99-based standards] (cexp2l): Likewise.
33250 [C99-based standards] (cexpm1l): Likewise.
33251 [C99-based standards] (clog10l): Likewise.
33252 [C99-based standards] (clog1pl): Likewise.
33253 [C99-based standards] (clog2l): Likewise.
33254 [C99-based standards] (clgammal): Likewise.
33255 [C99-based standards] (ctgammal): Likewise.
33256 * conform/data/inttypes.h-data [C99-based standards]: Include
33257 stdint.h-data. Remove all expectations for stdint.h contents.
33258 [C99-based standards] (PRI*): Do not allow.
33259 [C99-based standards] (SCN*): Likewise.
33260 [C99-based standards] (*_t): Likewise.
33261 [C99-based-standards] (PRId8): Expect macro.
33262 [C99-based-standards] (PRIi8): Likewise.
33263 [C99-based-standards] (PRIo8): Likewise.
33264 [C99-based-standards] (PRIu8): Likewise.
33265 [C99-based-standards] (PRIx8): Likewise.
33266 [C99-based-standards] (PRIX8): Likewise.
33267 [C99-based-standards] (SCNd8): Likewise.
33268 [C99-based-standards] (SCNi8): Likewise.
33269 [C99-based-standards] (SCNo8): Likewise.
33270 [C99-based-standards] (SCNu8): Likewise.
33271 [C99-based-standards] (SCNx8): Likewise.
33272 [C99-based-standards] (PRIdLEAST8): Likewise.
33273 [C99-based-standards] (PRIiLEAST8): Likewise.
33274 [C99-based-standards] (PRIoLEAST8): Likewise.
33275 [C99-based-standards] (PRIuLEAST8): Likewise.
33276 [C99-based-standards] (PRIxLEAST8): Likewise.
33277 [C99-based-standards] (PRIXLEAST8): Likewise.
33278 [C99-based-standards] (SCNdLEAST8): Likewise.
33279 [C99-based-standards] (SCNiLEAST8): Likewise.
33280 [C99-based-standards] (SCNoLEAST8): Likewise.
33281 [C99-based-standards] (SCNuLEAST8): Likewise.
33282 [C99-based-standards] (SCNxLEAST8): Likewise.
33283 [C99-based-standards] (PRIdFAST8): Likewise.
33284 [C99-based-standards] (PRIiFAST8): Likewise.
33285 [C99-based-standards] (PRIoFAST8): Likewise.
33286 [C99-based-standards] (PRIuFAST8): Likewise.
33287 [C99-based-standards] (PRIxFAST8): Likewise.
33288 [C99-based-standards] (PRIXFAST8): Likewise.
33289 [C99-based-standards] (SCNdFAST8): Likewise.
33290 [C99-based-standards] (SCNiFAST8): Likewise.
33291 [C99-based-standards] (SCNoFAST8): Likewise.
33292 [C99-based-standards] (SCNuFAST8): Likewise.
33293 [C99-based-standards] (SCNxFAST8): Likewise.
33294 [C99-based-standards] (PRId16): Likewise.
33295 [C99-based-standards] (PRIi16): Likewise.
33296 [C99-based-standards] (PRIo16): Likewise.
33297 [C99-based-standards] (PRIu16): Likewise.
33298 [C99-based-standards] (PRIx16): Likewise.
33299 [C99-based-standards] (PRIX16): Likewise.
33300 [C99-based-standards] (SCNd16): Likewise.
33301 [C99-based-standards] (SCNi16): Likewise.
33302 [C99-based-standards] (SCNo16): Likewise.
33303 [C99-based-standards] (SCNu16): Likewise.
33304 [C99-based-standards] (SCNx16): Likewise.
33305 [C99-based-standards] (PRIdLEAST16): Likewise.
33306 [C99-based-standards] (PRIiLEAST16): Likewise.
33307 [C99-based-standards] (PRIoLEAST16): Likewise.
33308 [C99-based-standards] (PRIuLEAST16): Likewise.
33309 [C99-based-standards] (PRIxLEAST16): Likewise.
33310 [C99-based-standards] (PRIXLEAST16): Likewise.
33311 [C99-based-standards] (SCNdLEAST16): Likewise.
33312 [C99-based-standards] (SCNiLEAST16): Likewise.
33313 [C99-based-standards] (SCNoLEAST16): Likewise.
33314 [C99-based-standards] (SCNuLEAST16): Likewise.
33315 [C99-based-standards] (SCNxLEAST16): Likewise.
33316 [C99-based-standards] (PRIdFAST16): Likewise.
33317 [C99-based-standards] (PRIiFAST16): Likewise.
33318 [C99-based-standards] (PRIoFAST16): Likewise.
33319 [C99-based-standards] (PRIuFAST16): Likewise.
33320 [C99-based-standards] (PRIxFAST16): Likewise.
33321 [C99-based-standards] (PRIXFAST16): Likewise.
33322 [C99-based-standards] (SCNdFAST16): Likewise.
33323 [C99-based-standards] (SCNiFAST16): Likewise.
33324 [C99-based-standards] (SCNoFAST16): Likewise.
33325 [C99-based-standards] (SCNuFAST16): Likewise.
33326 [C99-based-standards] (SCNxFAST16): Likewise.
33327 [C99-based-standards] (PRId32): Likewise.
33328 [C99-based-standards] (PRIi32): Likewise.
33329 [C99-based-standards] (PRIo32): Likewise.
33330 [C99-based-standards] (PRIu32): Likewise.
33331 [C99-based-standards] (PRIx32): Likewise.
33332 [C99-based-standards] (PRIX32): Likewise.
33333 [C99-based-standards] (SCNd32): Likewise.
33334 [C99-based-standards] (SCNi32): Likewise.
33335 [C99-based-standards] (SCNo32): Likewise.
33336 [C99-based-standards] (SCNu32): Likewise.
33337 [C99-based-standards] (SCNx32): Likewise.
33338 [C99-based-standards] (PRIdLEAST32): Likewise.
33339 [C99-based-standards] (PRIiLEAST32): Likewise.
33340 [C99-based-standards] (PRIoLEAST32): Likewise.
33341 [C99-based-standards] (PRIuLEAST32): Likewise.
33342 [C99-based-standards] (PRIxLEAST32): Likewise.
33343 [C99-based-standards] (PRIXLEAST32): Likewise.
33344 [C99-based-standards] (SCNdLEAST32): Likewise.
33345 [C99-based-standards] (SCNiLEAST32): Likewise.
33346 [C99-based-standards] (SCNoLEAST32): Likewise.
33347 [C99-based-standards] (SCNuLEAST32): Likewise.
33348 [C99-based-standards] (SCNxLEAST32): Likewise.
33349 [C99-based-standards] (PRIdFAST32): Likewise.
33350 [C99-based-standards] (PRIiFAST32): Likewise.
33351 [C99-based-standards] (PRIoFAST32): Likewise.
33352 [C99-based-standards] (PRIuFAST32): Likewise.
33353 [C99-based-standards] (PRIxFAST32): Likewise.
33354 [C99-based-standards] (PRIXFAST32): Likewise.
33355 [C99-based-standards] (SCNdFAST32): Likewise.
33356 [C99-based-standards] (SCNiFAST32): Likewise.
33357 [C99-based-standards] (SCNoFAST32): Likewise.
33358 [C99-based-standards] (SCNuFAST32): Likewise.
33359 [C99-based-standards] (SCNxFAST32): Likewise.
33360 [C99-based-standards] (PRId64): Likewise.
33361 [C99-based-standards] (PRIi64): Likewise.
33362 [C99-based-standards] (PRIo64): Likewise.
33363 [C99-based-standards] (PRIu64): Likewise.
33364 [C99-based-standards] (PRIx64): Likewise.
33365 [C99-based-standards] (PRIX64): Likewise.
33366 [C99-based-standards] (SCNd64): Likewise.
33367 [C99-based-standards] (SCNi64): Likewise.
33368 [C99-based-standards] (SCNo64): Likewise.
33369 [C99-based-standards] (SCNu64): Likewise.
33370 [C99-based-standards] (SCNx64): Likewise.
33371 [C99-based-standards] (PRIdLEAST64): Likewise.
33372 [C99-based-standards] (PRIiLEAST64): Likewise.
33373 [C99-based-standards] (PRIoLEAST64): Likewise.
33374 [C99-based-standards] (PRIuLEAST64): Likewise.
33375 [C99-based-standards] (PRIxLEAST64): Likewise.
33376 [C99-based-standards] (PRIXLEAST64): Likewise.
33377 [C99-based-standards] (SCNdLEAST64): Likewise.
33378 [C99-based-standards] (SCNiLEAST64): Likewise.
33379 [C99-based-standards] (SCNoLEAST64): Likewise.
33380 [C99-based-standards] (SCNuLEAST64): Likewise.
33381 [C99-based-standards] (SCNxLEAST64): Likewise.
33382 [C99-based-standards] (PRIdFAST64): Likewise.
33383 [C99-based-standards] (PRIiFAST64): Likewise.
33384 [C99-based-standards] (PRIoFAST64): Likewise.
33385 [C99-based-standards] (PRIuFAST64): Likewise.
33386 [C99-based-standards] (PRIxFAST64): Likewise.
33387 [C99-based-standards] (PRIXFAST64): Likewise.
33388 [C99-based-standards] (SCNdFAST64): Likewise.
33389 [C99-based-standards] (SCNiFAST64): Likewise.
33390 [C99-based-standards] (SCNoFAST64): Likewise.
33391 [C99-based-standards] (SCNuFAST64): Likewise.
33392 [C99-based-standards] (SCNxFAST64): Likewise.
33393 [C99-based-standards] (PRIdMAX): Likewise.
33394 [C99-based-standards] (PRIiMAX): Likewise.
33395 [C99-based-standards] (PRIoMAX): Likewise.
33396 [C99-based-standards] (PRIuMAX): Likewise.
33397 [C99-based-standards] (PRIxMAX): Likewise.
33398 [C99-based-standards] (PRIXMAX): Likewise.
33399 [C99-based-standards] (SCNdMAX): Likewise.
33400 [C99-based-standards] (SCNiMAX): Likewise.
33401 [C99-based-standards] (SCNoMAX): Likewise.
33402 [C99-based-standards] (SCNuMAX): Likewise.
33403 [C99-based-standards] (SCNxMAX): Likewise.
33404 [C99-based-standards] (PRIdPTR): Likewise.
33405 [C99-based-standards] (PRIiPTR): Likewise.
33406 [C99-based-standards] (PRIoPTR): Likewise.
33407 [C99-based-standards] (PRIuPTR): Likewise.
33408 [C99-based-standards] (PRIxPTR): Likewise.
33409 [C99-based-standards] (PRIXPTR): Likewise.
33410 [C99-based-standards] (SCNdPTR): Likewise.
33411 [C99-based-standards] (SCNiPTR): Likewise.
33412 [C99-based-standards] (SCNoPTR): Likewise.
33413 [C99-based-standards] (SCNuPTR): Likewise.
33414 [C99-based-standards] (SCNxPTR): Likewise.
33415 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33417 * conform/data/stdint.h-data: Update comments to clarify
33419 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33421 [C99-based standards] (INT8_MAX): Likewise.
33422 [C99-based standards] (INT16_MIN): Likewise.
33423 [C99-based standards] (INT16_MAX): Likewise.
33424 [C99-based standards] (INT32_MIN): Likewise.
33425 [C99-based standards] (INT32_MAX): Likewise.
33426 [C99-based standards] (INT64_MIN): Likewise.
33427 [C99-based standards] (INT64_MAX): Likewise.
33428 [C99-based standards] (UINT8_MAX): Likewise.
33429 [C99-based standards] (UINT16_MAX): Likewise.
33430 [C99-based standards] (UINT32_MAX): Likewise.
33431 [C99-based standards] (UINT64_MAX): Likewise.
33432 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33433 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33434 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33435 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33436 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33437 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33438 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33439 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33440 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33441 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33442 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33443 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33444 [C99-based standards] (INT_FAST8_MIN): Likewise.
33445 [C99-based standards] (INT_FAST8_MAX): Likewise.
33446 [C99-based standards] (INT_FAST16_MIN): Likewise.
33447 [C99-based standards] (INT_FAST16_MAX): Likewise.
33448 [C99-based standards] (INT_FAST32_MIN): Likewise.
33449 [C99-based standards] (INT_FAST32_MAX): Likewise.
33450 [C99-based standards] (INT_FAST64_MIN): Likewise.
33451 [C99-based standards] (INT_FAST64_MAX): Likewise.
33452 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33453 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33454 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33455 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33456 [C99-based standards] (INTPTR_MIN): Likewise.
33457 [C99-based standards] (INTPTR_MAX): Likewise.
33458 [C99-based standards] (UINTPTR_MAX): Likewise.
33459 [C99-based standards] (INTMAX_MIN): Likewise.
33460 [C99-based standards] (INTMAX_MAX): Likewise.
33461 [C99-based standards] (UINTMAX_MAX): Likewise.
33462 [C99-based standards] (PTRDIFF_MIN): Likewise.
33463 [C99-based standards] (PTRDIFF_MAX): Likewise.
33464 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33465 [C99-based standards] (SIZE_MAX): Likewise.
33466 [C99-based standards] (WCHAR_MAX): Likewise.
33467 [C99-based standards] (WINT_MAX): Likewise.
33468 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33469 constraint on value.
33470 [C99-based standards] (WCHAR_MIN): Likewise.
33471 [C99-based standards] (WINT_MIN): Likewise.
33472 [C99-based standards] (*_t): Allow.
33473 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33474 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33475 Include math.h-data and complex.h-data. Remove all expectations
33476 of math.h and complex.h contents.
33477 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33479 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33480 (struct tm): Expect tag.
33481 [C99-based-standards] (wcstof): Expect function.
33482 [C99-based-standards] (wcstold): Likewise.
33483 [C99-based-standards] (wcstoll): Likewise.
33484 [C99-based-standards] (wcstoull): Likewise.
33485 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33486 macro-int-constant. Specify type.
33487 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33488 constraint on value.
33489 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33491 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33493 [ISO C standards]: Do not allow headers.
33494 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33495 wcs[abcdefghijklmnopqrstuvwxyz]*.
33496 [ISO C standards] (*_t): Do not allow.
33497 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33499 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33500 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33502 [ISO C standards]: Do not allow headers.
33503 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33504 is[abcdefghijklmnopqrstuvwxyz]*.
33505 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33506 to[abcdefghijklmnopqrstuvwxyz]*.
33507 [ISO C standards] (*_t): Do not allow.
33508 * conform/data/stdalign.h-data: New file.
33509 * conform/data/stdbool.h-data: Likewise.
33510 * conform/data/stdnoreturn.h-data: Likewise.
33512 2012-11-07 Roland McGrath <roland@hack.frob.com>
33515 * manual/filesys.texi (Directory Entries): Typo fix.
33516 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33518 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33520 * elf/elf.h (EM_AARCH64): New macro.
33521 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33522 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33523 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33524 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33525 (R_AARCH64_TLSDESC): Likewise.
33526 (NT_ARM_TLS): Likewise.
33527 (NT_ARM_HW_BREAK): Likewise.
33528 (NT_ARM_HW_WATCH): Likewise.
33530 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33533 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33534 (__ieee754_powl): Saturate nonzero exponents with absolute value
33535 below 0x1p-79 to +/- 0x1p-79.
33536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33537 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33538 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33539 nonzero exponents with absolute value below 0x1p-32 to +/-
33541 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33542 (__ieee754_powl): Saturate nonzero exponents with absolute value
33543 below 0x1p-79 to +/- 0x1p-79.
33544 * math/libm-test.inc (pow_test): Add more tests.
33546 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33548 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33549 _dl_s390_cap_flags with kernel. Increase string length.
33550 (_dl_s390_platforms): Add z196 and zEC12.
33552 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33554 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33555 Change XOPEN21K to XOPEN2K.
33557 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33559 * string/memmove.c: Use memcpy when possible.
33561 2012-11-06 Andreas Jaeger <aj@suse.de>
33563 * po/eo.po: Update from translation team.
33565 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33569 exponent and small x and y exponents, scale x or y up. Increase
33570 by 2 the exponent used in scaling up.
33571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33572 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33573 * math/libm-test.inc (fma_test): Add more tests.
33574 (fma_test_towardzero): Likewise.
33575 (fma_test_downward): Likewise.
33576 (fma_test_upward): Likewise.
33578 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33581 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33585 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33586 namespace for names of struct fields.
33587 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33589 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33590 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33592 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33595 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33597 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33599 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33603 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33606 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33610 definitely overflow as x * y not x * y + z.
33611 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33612 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33613 * math/libm-test.inc (fma_test): Add more tests.
33614 (fma_test_towardzero): Likewise.
33615 (fma_test_downward): Likewise.
33616 (fma_test_upward): Likewise.
33618 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33622 * include/stub-tag.h: Remove file.
33623 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33625 * manual/maint.texi (Porting): Don't reference it.
33626 * Makerules ($(objpfx)stubs): Likewise.
33627 * dirent/closedir.c: Don't include <stub-tag.h>.
33628 * dirent/dirfd.c: Likewise.
33629 * dirent/fdopendir.c: Likewise.
33630 * dirent/getdents.c: Likewise.
33631 * dirent/getdents64.c: Likewise.
33632 * dirent/opendir.c: Likewise.
33633 * dirent/readdir.c: Likewise.
33634 * dirent/readdir64.c: Likewise.
33635 * dirent/readdir64_r.c: Likewise.
33636 * dirent/readdir_r.c: Likewise.
33637 * dirent/rewinddir.c: Likewise.
33638 * dirent/seekdir.c: Likewise.
33639 * dirent/telldir.c: Likewise.
33640 * gmon/profil.c: Likewise.
33641 * grp/setgroups.c: Likewise.
33642 * inet/if_index.c: Likewise.
33643 * io/access.c: Likewise.
33644 * io/chdir.c: Likewise.
33645 * io/chmod.c: Likewise.
33646 * io/chown.c: Likewise.
33647 * io/close.c: Likewise.
33648 * io/dup.c: Likewise.
33649 * io/dup2.c: Likewise.
33650 * io/dup3.c: Likewise.
33651 * io/euidaccess.c: Likewise.
33652 * io/faccessat.c: Likewise.
33653 * io/fchdir.c: Likewise.
33654 * io/fchmod.c: Likewise.
33655 * io/fchmodat.c: Likewise.
33656 * io/fchown.c: Likewise.
33657 * io/fchownat.c: Likewise.
33658 * io/fcntl.c: Likewise.
33659 * io/flock.c: Likewise.
33660 * io/fstatfs.c: Likewise.
33661 * io/fstatfs64.c: Likewise.
33662 * io/fstatvfs.c: Likewise.
33663 * io/fstatvfs64.c: Likewise.
33664 * io/futimens.c: Likewise.
33665 * io/fxstat.c: Likewise.
33666 * io/fxstat64.c: Likewise.
33667 * io/fxstatat.c: Likewise.
33668 * io/fxstatat64.c: Likewise.
33669 * io/getcwd.c: Likewise.
33670 * io/isatty.c: Likewise.
33671 * io/lchmod.c: Likewise.
33672 * io/lchown.c: Likewise.
33673 * io/link.c: Likewise.
33674 * io/linkat.c: Likewise.
33675 * io/lseek.c: Likewise.
33676 * io/lseek64.c: Likewise.
33677 * io/lxstat64.c: Likewise.
33678 * io/mkdir.c: Likewise.
33679 * io/mkdirat.c: Likewise.
33680 * io/mkfifo.c: Likewise.
33681 * io/mkfifoat.c: Likewise.
33682 * io/open.c: Likewise.
33683 * io/open64.c: Likewise.
33684 * io/openat.c: Likewise.
33685 * io/openat64.c: Likewise.
33686 * io/pipe.c: Likewise.
33687 * io/pipe2.c: Likewise.
33688 * io/poll.c: Likewise.
33689 * io/posix_fadvise.c: Likewise.
33690 * io/posix_fadvise64.c: Likewise.
33691 * io/posix_fallocate.c: Likewise.
33692 * io/posix_fallocate64.c: Likewise.
33693 * io/read.c: Likewise.
33694 * io/readlink.c: Likewise.
33695 * io/readlinkat.c: Likewise.
33696 * io/rmdir.c: Likewise.
33697 * io/sendfile.c: Likewise.
33698 * io/sendfile64.c: Likewise.
33699 * io/statfs.c: Likewise.
33700 * io/statfs64.c: Likewise.
33701 * io/statvfs.c: Likewise.
33702 * io/statvfs64.c: Likewise.
33703 * io/symlink.c: Likewise.
33704 * io/symlinkat.c: Likewise.
33705 * io/ttyname.c: Likewise.
33706 * io/ttyname_r.c: Likewise.
33707 * io/umask.c: Likewise.
33708 * io/unlink.c: Likewise.
33709 * io/unlinkat.c: Likewise.
33710 * io/utime.c: Likewise.
33711 * io/utimensat.c: Likewise.
33712 * io/write.c: Likewise.
33713 * io/xmknod.c: Likewise.
33714 * io/xmknodat.c: Likewise.
33715 * io/xstat.c: Likewise.
33716 * io/xstat64.c: Likewise.
33717 * login/getpt.c: Likewise.
33718 * login/grantpt.c: Likewise.
33719 * login/unlockpt.c: Likewise.
33720 * math/e_acoshl.c: Likewise.
33721 * math/e_acosl.c: Likewise.
33722 * math/e_asinl.c: Likewise.
33723 * math/e_atan2l.c: Likewise.
33724 * math/e_atanhl.c: Likewise.
33725 * math/e_coshl.c: Likewise.
33726 * math/e_expl.c: Likewise.
33727 * math/e_fmodl.c: Likewise.
33728 * math/e_gammal_r.c: Likewise.
33729 * math/e_hypotl.c: Likewise.
33730 * math/e_j0l.c: Likewise.
33731 * math/e_j1l.c: Likewise.
33732 * math/e_jnl.c: Likewise.
33733 * math/e_lgammal_r.c: Likewise.
33734 * math/e_log10l.c: Likewise.
33735 * math/e_log2l.c: Likewise.
33736 * math/e_logl.c: Likewise.
33737 * math/e_powl.c: Likewise.
33738 * math/e_rem_pio2l.c: Likewise.
33739 * math/e_sinhl.c: Likewise.
33740 * math/e_sqrtl.c: Likewise.
33741 * math/fclrexcpt.c: Likewise.
33742 * math/fedisblxcpt.c: Likewise.
33743 * math/feenablxcpt.c: Likewise.
33744 * math/fegetenv.c: Likewise.
33745 * math/fegetexcept.c: Likewise.
33746 * math/fegetround.c: Likewise.
33747 * math/feholdexcpt.c: Likewise.
33748 * math/fesetenv.c: Likewise.
33749 * math/fesetround.c: Likewise.
33750 * math/feupdateenv.c: Likewise.
33751 * math/fgetexcptflg.c: Likewise.
33752 * math/fraiseexcpt.c: Likewise.
33753 * math/fsetexcptflg.c: Likewise.
33754 * math/ftestexcept.c: Likewise.
33755 * math/k_cosl.c: Likewise.
33756 * math/k_rem_pio2l.c: Likewise.
33757 * math/k_sinl.c: Likewise.
33758 * math/k_tanl.c: Likewise.
33759 * math/s_asinhl.c: Likewise.
33760 * math/s_atanl.c: Likewise.
33761 * math/s_cbrtl.c: Likewise.
33762 * math/s_erfl.c: Likewise.
33763 * math/s_expm1l.c: Likewise.
33764 * math/s_log1pl.c: Likewise.
33765 * math/s_tanhl.c: Likewise.
33766 * misc/acct.c: Likewise.
33767 * misc/brk.c: Likewise.
33768 * misc/chflags.c: Likewise.
33769 * misc/chroot.c: Likewise.
33770 * misc/fchflags.c: Likewise.
33771 * misc/fgetxattr.c: Likewise.
33772 * misc/flistxattr.c: Likewise.
33773 * misc/fremovexattr.c: Likewise.
33774 * misc/fsetxattr.c: Likewise.
33775 * misc/fsync.c: Likewise.
33776 * misc/ftruncate.c: Likewise.
33777 * misc/futimes.c: Likewise.
33778 * misc/futimesat.c: Likewise.
33779 * misc/getdomain.c: Likewise.
33780 * misc/getdtsz.c: Likewise.
33781 * misc/gethostid.c: Likewise.
33782 * misc/gethostname.c: Likewise.
33783 * misc/getloadavg.c: Likewise.
33784 * misc/getpagesize.c: Likewise.
33785 * misc/getsysstats.c: Likewise.
33786 * misc/getxattr.c: Likewise.
33787 * misc/gtty.c: Likewise.
33788 * misc/ioctl.c: Likewise.
33789 * misc/lgetxattr.c: Likewise.
33790 * misc/listxattr.c: Likewise.
33791 * misc/llistxattr.c: Likewise.
33792 * misc/lremovexattr.c: Likewise.
33793 * misc/lsetxattr.c: Likewise.
33794 * misc/lutimes.c: Likewise.
33795 * misc/madvise.c: Likewise.
33796 * misc/mincore.c: Likewise.
33797 * misc/mlock.c: Likewise.
33798 * misc/mlockall.c: Likewise.
33799 * misc/mmap.c: Likewise.
33800 * misc/mprotect.c: Likewise.
33801 * misc/msync.c: Likewise.
33802 * misc/munlock.c: Likewise.
33803 * misc/munlockall.c: Likewise.
33804 * misc/munmap.c: Likewise.
33805 * misc/preadv.c: Likewise.
33806 * misc/preadv64.c: Likewise.
33807 * misc/ptrace.c: Likewise.
33808 * misc/pwritev.c: Likewise.
33809 * misc/pwritev64.c: Likewise.
33810 * misc/readv.c: Likewise.
33811 * misc/reboot.c: Likewise.
33812 * misc/remap_file_pages.c: Likewise.
33813 * misc/removexattr.c: Likewise.
33814 * misc/revoke.c: Likewise.
33815 * misc/select.c: Likewise.
33816 * misc/setdomain.c: Likewise.
33817 * misc/setegid.c: Likewise.
33818 * misc/seteuid.c: Likewise.
33819 * misc/sethostid.c: Likewise.
33820 * misc/sethostname.c: Likewise.
33821 * misc/setregid.c: Likewise.
33822 * misc/setreuid.c: Likewise.
33823 * misc/setxattr.c: Likewise.
33824 * misc/sstk.c: Likewise.
33825 * misc/stty.c: Likewise.
33826 * misc/swapoff.c: Likewise.
33827 * misc/swapon.c: Likewise.
33828 * misc/sync.c: Likewise.
33829 * misc/syncfs.c: Likewise.
33830 * misc/syscall.c: Likewise.
33831 * misc/truncate.c: Likewise.
33832 * misc/ualarm.c: Likewise.
33833 * misc/usleep.c: Likewise.
33834 * misc/ustat.c: Likewise.
33835 * misc/utimes.c: Likewise.
33836 * misc/vhangup.c: Likewise.
33837 * misc/writev.c: Likewise.
33838 * posix/_exit.c: Likewise.
33839 * posix/alarm.c: Likewise.
33840 * posix/execve.c: Likewise.
33841 * posix/fexecve.c: Likewise.
33842 * posix/fork.c: Likewise.
33843 * posix/fpathconf.c: Likewise.
33844 * posix/getaddrinfo.c: Likewise.
33845 * posix/getegid.c: Likewise.
33846 * posix/geteuid.c: Likewise.
33847 * posix/getgid.c: Likewise.
33848 * posix/getgroups.c: Likewise.
33849 * posix/getlogin.c: Likewise.
33850 * posix/getlogin_r.c: Likewise.
33851 * posix/getpgid.c: Likewise.
33852 * posix/getpid.c: Likewise.
33853 * posix/getppid.c: Likewise.
33854 * posix/getresgid.c: Likewise.
33855 * posix/getresuid.c: Likewise.
33856 * posix/getsid.c: Likewise.
33857 * posix/getuid.c: Likewise.
33858 * posix/glob64.c: Likewise.
33859 * posix/nanosleep.c: Likewise.
33860 * posix/pathconf.c: Likewise.
33861 * posix/pause.c: Likewise.
33862 * posix/posix_madvise.c: Likewise.
33863 * posix/pread.c: Likewise.
33864 * posix/pread64.c: Likewise.
33865 * posix/pwrite.c: Likewise.
33866 * posix/pwrite64.c: Likewise.
33867 * posix/sched_getaffinity.c: Likewise.
33868 * posix/sched_getp.c: Likewise.
33869 * posix/sched_gets.c: Likewise.
33870 * posix/sched_primax.c: Likewise.
33871 * posix/sched_primin.c: Likewise.
33872 * posix/sched_rr_gi.c: Likewise.
33873 * posix/sched_setaffinity.c: Likewise.
33874 * posix/sched_setp.c: Likewise.
33875 * posix/sched_sets.c: Likewise.
33876 * posix/sched_yield.c: Likewise.
33877 * posix/setgid.c: Likewise.
33878 * posix/setlogin.c: Likewise.
33879 * posix/setpgid.c: Likewise.
33880 * posix/setresgid.c: Likewise.
33881 * posix/setresuid.c: Likewise.
33882 * posix/setsid.c: Likewise.
33883 * posix/setuid.c: Likewise.
33884 * posix/sleep.c: Likewise.
33885 * posix/spawni.c: Likewise.
33886 * posix/sysconf.c: Likewise.
33887 * posix/times.c: Likewise.
33888 * posix/wait.c: Likewise.
33889 * posix/wait3.c: Likewise.
33890 * posix/wait4.c: Likewise.
33891 * posix/waitpid.c: Likewise.
33892 * resolv/gai_sigqueue.c: Likewise.
33893 * resource/getpriority.c: Likewise.
33894 * resource/getrlimit.c: Likewise.
33895 * resource/getrusage.c: Likewise.
33896 * resource/nice.c: Likewise.
33897 * resource/setpriority.c: Likewise.
33898 * resource/setrlimit.c: Likewise.
33899 * resource/ulimit.c: Likewise.
33900 * rt/aio_cancel.c: Likewise.
33901 * rt/aio_fsync.c: Likewise.
33902 * rt/aio_read.c: Likewise.
33903 * rt/aio_sigqueue.c: Likewise.
33904 * rt/aio_suspend.c: Likewise.
33905 * rt/aio_write.c: Likewise.
33906 * rt/clock_getres.c: Likewise.
33907 * rt/clock_gettime.c: Likewise.
33908 * rt/clock_nanosleep.c: Likewise.
33909 * rt/clock_settime.c: Likewise.
33910 * rt/lio_listio.c: Likewise.
33911 * rt/mq_close.c: Likewise.
33912 * rt/mq_getattr.c: Likewise.
33913 * rt/mq_notify.c: Likewise.
33914 * rt/mq_open.c: Likewise.
33915 * rt/mq_receive.c: Likewise.
33916 * rt/mq_send.c: Likewise.
33917 * rt/mq_setattr.c: Likewise.
33918 * rt/mq_timedreceive.c: Likewise.
33919 * rt/mq_timedsend.c: Likewise.
33920 * rt/mq_unlink.c: Likewise.
33921 * rt/shm_open.c: Likewise.
33922 * rt/shm_unlink.c: Likewise.
33923 * rt/timer_create.c: Likewise.
33924 * rt/timer_delete.c: Likewise.
33925 * rt/timer_getoverr.c: Likewise.
33926 * rt/timer_gettime.c: Likewise.
33927 * rt/timer_settime.c: Likewise.
33928 * setjmp/__longjmp.c: Likewise.
33929 * setjmp/setjmp.c: Likewise.
33930 * signal/kill.c: Likewise.
33931 * signal/killpg.c: Likewise.
33932 * signal/raise.c: Likewise.
33933 * signal/sigaction.c: Likewise.
33934 * signal/sigaltstack.c: Likewise.
33935 * signal/sigblock.c: Likewise.
33936 * signal/sigignore.c: Likewise.
33937 * signal/sigintr.c: Likewise.
33938 * signal/signal.c: Likewise.
33939 * signal/sigpause.c: Likewise.
33940 * signal/sigpending.c: Likewise.
33941 * signal/sigqueue.c: Likewise.
33942 * signal/sigreturn.c: Likewise.
33943 * signal/sigset.c: Likewise.
33944 * signal/sigsetmask.c: Likewise.
33945 * signal/sigstack.c: Likewise.
33946 * signal/sigsuspend.c: Likewise.
33947 * signal/sigtimedwait.c: Likewise.
33948 * signal/sigvec.c: Likewise.
33949 * signal/sigwait.c: Likewise.
33950 * signal/sigwaitinfo.c: Likewise.
33951 * signal/sysv_signal.c: Likewise.
33952 * socket/accept.c: Likewise.
33953 * socket/accept4.c: Likewise.
33954 * socket/bind.c: Likewise.
33955 * socket/connect.c: Likewise.
33956 * socket/getpeername.c: Likewise.
33957 * socket/getsockname.c: Likewise.
33958 * socket/getsockopt.c: Likewise.
33959 * socket/isfdtype.c: Likewise.
33960 * socket/listen.c: Likewise.
33961 * socket/recv.c: Likewise.
33962 * socket/recvfrom.c: Likewise.
33963 * socket/recvmsg.c: Likewise.
33964 * socket/send.c: Likewise.
33965 * socket/sendmsg.c: Likewise.
33966 * socket/sendto.c: Likewise.
33967 * socket/setsockopt.c: Likewise.
33968 * socket/shutdown.c: Likewise.
33969 * socket/sockatmark.c: Likewise.
33970 * socket/socket.c: Likewise.
33971 * socket/socketpair.c: Likewise.
33972 * stdio-common/ctermid.c: Likewise.
33973 * stdio-common/cuserid.c: Likewise.
33974 * stdio-common/remove.c: Likewise.
33975 * stdio-common/rename.c: Likewise.
33976 * stdio-common/renameat.c: Likewise.
33977 * stdio-common/tempname.c: Likewise.
33978 * stdlib/getcontext.c: Likewise.
33979 * stdlib/makecontext.c: Likewise.
33980 * stdlib/setcontext.c: Likewise.
33981 * stdlib/swapcontext.c: Likewise.
33982 * stdlib/system.c: Likewise.
33983 * streams/fattach.c: Likewise.
33984 * streams/fdetach.c: Likewise.
33985 * streams/getmsg.c: Likewise.
33986 * streams/getpmsg.c: Likewise.
33987 * streams/putmsg.c: Likewise.
33988 * streams/putpmsg.c: Likewise.
33989 * sysdeps/unix/bsd/getpt.c: Likewise.
33990 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33991 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33992 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33995 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33996 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33997 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33998 * sysvipc/msgctl.c: Likewise.
33999 * sysvipc/msgget.c: Likewise.
34000 * sysvipc/msgrcv.c: Likewise.
34001 * sysvipc/msgsnd.c: Likewise.
34002 * sysvipc/semctl.c: Likewise.
34003 * sysvipc/semget.c: Likewise.
34004 * sysvipc/semop.c: Likewise.
34005 * sysvipc/semtimedop.c: Likewise.
34006 * sysvipc/shmat.c: Likewise.
34007 * sysvipc/shmctl.c: Likewise.
34008 * sysvipc/shmdt.c: Likewise.
34009 * sysvipc/shmget.c: Likewise.
34010 * termios/tcdrain.c: Likewise.
34011 * termios/tcflow.c: Likewise.
34012 * termios/tcflush.c: Likewise.
34013 * termios/tcgetattr.c: Likewise.
34014 * termios/tcgetpgrp.c: Likewise.
34015 * termios/tcsendbrk.c: Likewise.
34016 * termios/tcsetattr.c: Likewise.
34017 * termios/tcsetpgrp.c: Likewise.
34018 * time/adjtime.c: Likewise.
34019 * time/clock.c: Likewise.
34020 * time/getitimer.c: Likewise.
34021 * time/gettimeofday.c: Likewise.
34022 * time/setitimer.c: Likewise.
34023 * time/settimeofday.c: Likewise.
34024 * time/stime.c: Likewise.
34025 * time/time.c: Likewise.
34027 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34029 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34032 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34034 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34036 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34040 FE_TONEAREST before applying Dekker multiplication and Knuth
34041 addition. Clear inexact exceptions and check for exact zero
34042 results afterwards.
34043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34044 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34046 * math/libm-test.inc (fma_test): Add more tests.
34047 (fma_test_towardzero): Likewise.
34048 (fma_test_downward): Likewise.
34049 (fma_test_upward): Likewise.
34050 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34052 (libc_fesetround): New macro.
34053 (libc_fesetroundf): Likewise.
34054 (libc_fesetroundl): Likewise.
34055 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34057 (libc_fesetround_387): Likewise.
34058 (libc_fesetroundf): New macro.
34059 (libc_fesetround): Likewise.
34060 (libc_fesetroundl): Likewise.
34061 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34063 (libc_fesetroundf): New macro.
34064 (libc_fesetround): Likewise.
34065 (libc_fesetroundl): Likewise.
34066 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34067 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34068 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34070 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34071 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34073 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34074 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34076 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34080 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34081 integer constant usable in #if and use that to give value to enum
34083 (FE_DIVBYZERO): Likewise.
34084 (FE_UNDERFLOW): Likewise.
34085 (FE_OVERFLOW): Likewise.
34086 (FE_INVALID): Likewise.
34087 (FE_INVALID_SNAN): Likewise.
34088 (FE_INVALID_ISI): Likewise.
34089 (FE_INVALID_IDI): Likewise.
34090 (FE_INVALID_ZDZ): Likewise.
34091 (FE_INVALID_IMZ): Likewise.
34092 (FE_INVALID_COMPARE): Likewise.
34093 (FE_INVALID_SOFTWARE): Likewise.
34094 (FE_INVALID_SQRT): Likewise.
34095 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34096 (FE_TONEAREST): Likewise.
34097 (FE_TOWARDZERO): Likewise.
34098 (FE_UPWARD): Likewise.
34099 (FE_DOWNWARD): Likewise.
34100 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34101 (FE_DIVBYZERO): Likewise.
34102 (FE_OVERFLOW): Likewise.
34103 (FE_UNDERFLOW): Likewise.
34104 (FE_INEXACT): Likewise.
34105 (FE_TONEAREST): Likewise.
34106 (FE_DOWNWARD): Likewise.
34107 (FE_UPWARD): Likewise.
34108 (FE_TOWARDZERO): Likewise.
34109 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34110 (FE_UNDERFLOW): Likewise.
34111 (FE_OVERFLOW): Likewise.
34112 (FE_DIVBYZERO): Likewise.
34113 (FE_INVALID): Likewise.
34114 (FE_TONEAREST): Likewise.
34115 (FE_TOWARDZERO): Likewise.
34116 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34117 (FE_OVERFLOW): Likewise.
34118 (FE_UNDERFLOW): Likewise.
34119 (FE_DIVBYZERO): Likewise.
34120 (FE_INEXACT): Likewise.
34121 (FE_TONEAREST): Likewise.
34122 (FE_TOWARDZERO): Likewise.
34123 (FE_UPWARD): Likewise.
34124 (FE_DOWNWARD): Likewise.
34125 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34126 (FE_DIVBYZERO): Likewise.
34127 (FE_OVERFLOW): Likewise.
34128 (FE_UNDERFLOW): Likewise.
34129 (FE_INEXACT): Likewise.
34130 (FE_TONEAREST): Likewise.
34131 (FE_DOWNWARD): Likewise.
34132 (FE_UPWARD): Likewise.
34133 (FE_TOWARDZERO): Likewise.
34135 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34137 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34139 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34141 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34142 commands. Quote $PWD.
34143 (blacklist_exports): Don't use remove_newlines. Replace "declare
34145 (remove_newlines): Remove.
34147 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34149 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34150 * stdlib/stdlib.h (atof): Moved to ...
34151 * include/bits/stdlib-float.h: Here. New file.
34152 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34153 * stdlib/bits/stdlib-float.h: New file.
34154 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34156 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34159 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34161 * conform/conformtest.pl (@headers): Add fenv.h.
34162 * conform/data/fenv.h-data: New file.
34163 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34164 include of <math/fenv.h>.
34166 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34167 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34168 && !UNIX98]. Enables tests for XOPEN2K8.
34169 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34170 POSIX2008]: Likewise.
34172 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34173 (struct rusage): Do not expect type or its members.
34176 * math/math.h (FP_NAN): Define macro to integer constant usable in
34177 #if and use that to give value to enum constant.
34178 (FP_INFINITE): Likewise.
34179 (FP_ZERO): Likewise.
34180 (FP_SUBNORMAL): Likewise.
34181 (FP_NORMAL): Likewise.
34183 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34185 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34186 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34189 2012-11-02 Roland McGrath <roland@hack.frob.com>
34191 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34192 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34193 autoconf-time if not.
34194 * configure.in: Remove AC_PREREQ.
34196 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34198 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34199 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34200 of the internal implementation.
34202 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34204 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34205 except include of <misc/sys/syslog.h>.
34207 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34210 function returns with a NULL context exit with zero.
34212 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34214 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34216 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34218 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34219 (run_program_cmd): This.
34220 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34221 (tst_langinfo): New variable. Use it.
34223 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34225 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34226 floating point opcodes.
34228 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34230 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34233 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34235 * sysdeps/mach/hurd/powerpc: Remove directory.
34236 * sysdeps/mach/powerpc: Likewise.
34238 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34240 * scripts/check-local-headers.sh: Ignore c++ headers.
34242 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34244 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34245 __libc_cleanup_region_start argument.
34247 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34252 x * y using scaling, not as x * y + z.
34253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34255 * math/libm-test.inc (fma_test): Add more tests.
34256 (fma_test_towardzero): Likewise.
34257 (fma_test_downward): Likewise.
34258 (fma_test_upward): Likewise.
34260 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34262 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34264 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34266 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34269 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34271 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34273 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34280 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34283 Fix the order of the list for glibc 2.17.
34284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34287 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34291 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34294 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34295 for low part of x being zero before using __atanl (y).
34296 * math/libm-test.inc (atan2_test): Add another test.
34298 * manual/install.texi (Configuring and compiling): Document
34299 general use of test-wrapper and test-wrapper-env.
34300 * INSTALL: Regenerated.
34302 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34303 (__fma): Do not extract and scale down low bits on after-rounding
34304 systems when result rounded to normal precision would have normal
34306 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34307 (__fmal): Do not extract and scale down low bits on after-rounding
34308 systems when result rounded to normal precision would have normal
34310 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34311 (__fmal): Do not extract and scale down low bits on after-rounding
34312 systems when result rounded to normal precision would have normal
34314 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34316 (fma_test): Add more tests.
34317 (fma_test_towardzero): Likewise.
34318 (fma_test_downward): Likewise.
34319 (fma_test_upward): Likewise.
34321 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34323 * sysdeps/i386/tininess.h: Renamed to ...
34324 * sysdeps/x86/tininess.h: This.
34325 * sysdeps/x86_64/tininess.h: Removed.
34327 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34329 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34330 input. Use $(build-program-cmd).
34331 ($(objpfx)tst-array1-static.out): Likewise.
34332 ($(objpfx)tst-array2.out): Likewise.
34333 ($(objpfx)tst-array3.out): Likewise.
34334 ($(objpfx)tst-array4.out): Likewise.
34335 ($(objpfx)tst-array5.out): Likewise.
34336 ($(objpfx)tst-array5-static.out): Likewise.
34338 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34340 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34343 * nss/nsswitch.h (nss_interface_function): Provide new
34344 macro for use with NSS functions.
34345 * grp/initgroups.c: Use new macro.
34346 * nss/getXXbyYY.c: Likewise.
34347 * nss/getXXbyYY_r.c: Likewise.
34348 * nss/getXXent.c: Likewise.
34349 * nss/getXXent_r.c: Likewise.
34350 * sysdeps/posix/getaddrinfo.c: Likewise.
34352 2012-10-30 Andreas Jaeger <aj@suse.de>
34354 * po/ru.po: Update Russion translation from translation project.
34356 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34360 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34361 result and shift together with sticky bit instead of replicating
34362 round-to-nearest rounding.
34363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34365 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34366 missing underflow exceptions.
34367 (fma_test_towardzero): Add more tests.
34368 (fma_test_downward): Likewise.
34369 (fma_test_upward): Likewise.
34372 * sysdeps/generic/tininess.h: New file.
34373 * sysdeps/i386/tininess.h: Likewise.
34374 * sysdeps/sh/tininess.h: Likewise.
34375 * sysdeps/x86_64/tininess.h: Likewise.
34376 * stdlib/tst-strtod-underflow.c: Likewise.
34377 * stdlib/tst-tininess.c: Likewise.
34378 * stdlib/strtod_l.c: Include <tininess.h>.
34379 (round_and_return): Do not set errno for exact underflow cases.
34380 Force an underflow exception when setting errno for underflow.
34381 Determine underflow based on rounding to normal precision if
34382 TININESS_AFTER_ROUNDING.
34383 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34384 ERANGE for exact underflow cases.
34385 * stdlib/Makefile (tests): Add tst-tininess and
34386 tst-strtod-underflow.
34387 ($(objpfx)tst-tininess): Use $(link-libm).
34388 ($(objpfx)tst-strtod-underflow): Likewise.
34390 2012-10-30 Andreas Jaeger <aj@suse.de>
34393 * elf/Makefile (tests): Remove conditional for have-initfini-array
34394 since this is now always required and the variable does not exist
34396 (tests-static): Likewise.
34397 (modules-names): Likewise.
34399 * po/eo.po: Add Esperanto translation from translation project.
34401 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34402 merged with constructor/destructor.
34403 (init_array): Likewise.
34404 * elf/tst-array2dep.c (fini_array): Likewise.
34405 (init_array): Likewise.
34407 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34409 * manual/message.texi: Delete @cartouche tags.
34411 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34413 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34415 * sysdeps/mach/hurd/fsync.c: Likewise.
34417 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34418 [_POSIX_REALTIME_SIGNALS]: Change condition to
34419 [_POSIX_REALTIME_SIGNALS > 0].
34421 2012-10-27 Andreas Jaeger <aj@suse.de>
34423 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34424 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34425 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34426 [__WORDSIZE != 64]: Likewise.
34428 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34430 * iconvdata/tst-table.sh: Remove ${SHELL}.
34431 * iconvdata/tst-tables.sh: Likewise.
34433 2012-10-25 David S. Miller <davem@davemloft.net>
34435 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34436 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34441 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34442 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34443 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34446 2012-10-25 Roland McGrath <roland@hack.frob.com>
34448 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34449 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34452 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34453 Jim Blandy <jimb@codesourcery.com>
34455 * scripts/cross-test-ssh.sh: New file.
34456 * manual/install.texi (Configuring and compiling): Document use of
34458 * INSTALL: Regenerated.
34460 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34462 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34465 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34467 * Makeconfig (run-program-prefix): Fix comment.
34469 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34470 Jim Blandy <jimb@codesourcery.com>
34472 * Makeconfig (test-wrapper): New variable,
34473 (test-wrapper-env): Likewise.
34474 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34475 (run-built-tests): Define to yes.
34476 (run-program-prefix): Use $(test-wrapper).
34477 (built-program-cmd): Likewise.
34478 * Rules (make-test-out): Use $(test-wrapper-env) and
34479 $(host-built-program-cmd).
34480 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34481 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34483 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34484 $(test-wrapper-env) to tst-rtld-load-self.sh.
34485 ($(objpfx)order2.out): Use $(test-wrapper).
34486 ($(objpfx)tst-initorder.out): Likewise.
34487 ($(objpfx)tst-initorder2.out): Likewise.
34488 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34489 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34490 (test_wrapper_env): New variable. Use it to run ld.so.
34491 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34492 Use it to run ld.so.
34493 (test_wrapper_env): Likewise.
34494 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34495 $(test-wrapper) to run-iconv-test.sh.
34496 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34497 (ICONV): Use $test_wrapper.
34498 * posix/Makefile ($(objpfx)globtest.out): Pass
34499 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34500 globtest.sh, not $(run-program-prefix).
34501 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34502 (test_wrapper): Likewise.
34503 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34504 set together with run_via_rtld_prefix.
34505 (run_program_prefix): Define in terms of test_wrapper and
34506 run_via_rtld_prefix.
34508 2012-10-24 Roland McGrath <roland@hack.frob.com>
34510 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34511 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34515 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34516 Declare __clock_getres, __clock_gettime, __clock_settime,
34517 __clock_nanosleep, and __clock_getcpuclockid.
34518 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34519 Remove librt_hidden_def (clock_gettime).
34520 * sysdeps/unix/clock_gettime.c: Likewise.
34521 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34522 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34523 * rt/clock_getres.c: Define __clock_getres as an alias.
34524 * sysdeps/posix/clock_getres.c: Likewise.
34525 * rt/clock_settime.c: Define __clock_settime as an alias.
34526 * sysdeps/unix/clock_settime.c: Likewise.
34527 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34528 * sysdeps/unix/clock_nanosleep.c: Likewise.
34529 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34530 * rt/clock-compat.c: New file.
34531 * rt/Makefile (librt-routines): Add clock-compat and move
34532 $(clock-routines) to ...
34533 (routines): ... here, new variable.
34534 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34535 Don't add get_clockfreq here.
34536 * rt/Versions (libc: GLIBC_2.17): New version set.
34537 Add clock_* symbols here.
34538 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34540 (GLIBC_2.17): Add clock_* symbols.
34541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34543 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34552 * NEWS: Mention the move.
34554 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34555 Use __open, __read, __close rather than their public counterparts.
34556 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34557 (__get_clockfreq_via_cpuinfo): Likewise.
34558 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34559 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34561 * config.h.in (HAVE_IFUNC): New #undef.
34562 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34564 * configure: Regenerated.
34566 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34568 * configure.in: Move READELF check to start of file.
34569 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34570 libc_cv_asm_gnu_indirect_function in the process.
34571 * configure: Regenerated.
34573 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34575 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34576 send the output to /dev/null.
34577 (libc_cv_cc_with_libunwind): Likewise.
34578 (libc_cv_as_noexecstack): Likewise.
34579 * configure: Regenerate.
34581 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34583 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34585 * posix/globtest.sh (TMPDIR): Do not set.
34586 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34587 (testout): Likewise.
34589 2012-10-24 Andreas Jaeger <aj@suse.de>
34591 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34592 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34593 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34594 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34595 posix_fadvise64, posix_fallocate64.
34597 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34598 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34599 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34601 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34603 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34606 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34607 <bits/fcntl-linux.h>.
34608 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34611 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34612 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34613 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34614 [__WORDSIZE != 64]: Likewise.
34616 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34618 * Makeconfig (run-built-tests): New variable.
34619 * Rules [$(cross-compiling) = yes]: Change condition to
34620 [$(run-built-tests) = no].
34621 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34622 to [$(run-built-tests) = yes].
34623 * elf/Makefile [$(cross-compiling) = no]: Likewise
34624 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34625 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34626 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34627 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34628 * io/Makefile [$(cross-compiling) = no]: Likewise.
34629 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34630 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34631 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34632 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34633 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34634 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34635 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34636 * string/Makefile [$(cross-compiling) = no]: Likewise.
34638 * posix/Makefile ($(objpfx)globtest.out): Pass
34639 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34640 $(rtld-installed-name).
34641 * posix/globtest.sh (elf_objpfx): Remove variable.
34642 (rtld_installed_name): Likewise.
34643 (library_path): Likewise.
34644 (run_program_prefix): New variable. Use for running globtest
34647 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34648 Joseph Myers <joseph@codesourcery.com>
34650 * Makeconfig (host-built-program-cmd): New variable.
34651 * elf/Makefile (tst-stackguard1-ARGS): Use
34652 $(host-built-program-cmd).
34653 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34654 (tst-spawn-ARGS): Likewise.
34655 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34657 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34658 Jim Blandy <jimb@codesourcery.com>
34660 * Makeconfig (run-via-rtld-prefix): New variable.
34661 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34662 (built-program-cmd): Likewise.
34664 2012-10-22 Andreas Jaeger <aj@suse.de>
34666 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34667 __O_RSYNC if it exists, otherwise to O_SYNC.
34669 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34670 Joseph Myers <joseph@codesourcery.com>
34672 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34674 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34676 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34679 2012-10-22 Andreas Jaeger <aj@suse.de>
34681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34686 bits/fcntl-linux.h.
34688 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34689 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34696 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34697 Joseph Myers <joseph@codesourcery.com>
34699 * config.make.in (NM): New variable.
34701 2012-10-21 Andreas Jaeger <aj@suse.de>
34703 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34704 definitions and declarations that are provided by
34705 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34707 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34710 * elf/Makefile (tests-static): Add tst-leaks1-static.
34711 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34712 ($(objpfx)tst-leaks1-static): New rule.
34713 ($(objpfx)tst-leaks1-static-mem): Likewise.
34714 (tst-leaks1-static-ENV): New macro.
34715 * elf/dl-open.c (dl_open_worker): Check the main application
34716 only if SHARED is defined.
34717 * elf/tst-leaks1-static.c: New file.
34719 2012-10-20 Andreas Jaeger <aj@suse.de>
34721 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34722 generic values for Linux.
34723 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34724 and declarations that are provided by <bits/fcntl-linux.h> and
34725 include <bits/fcntl-linux.h>.
34726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34729 2012-10-20 Roland McGrath <roland@hack.frob.com>
34731 * io/fcntl.h: Move include of <bits/types.h> to the top and
34732 include it unconditionally.
34734 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34736 * wcsmbs/Makefile (tests-ifunc): New variable.
34737 (tests): Add $(tests-ifunc).
34738 * wcsmbs/test-wcschr-ifunc.c: New file.
34739 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34740 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34741 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34742 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34743 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34745 * string/Makefile (tests-ifunc): New variable.
34746 (tests): Add $(tests-ifunc).
34747 * string/test-memccpy.c (TEST_NAME): New macro.
34748 * string/test-memchr.c (TEST_NAME): Likewise.
34749 * string/test-memcmp.c (TEST_NAME): Likewise.
34750 * string/test-memcpy.c (TEST_NAME): Likewise.
34751 * string/test-memmem.c (TEST_NAME): Likewise.
34752 * string/test-memmove.c (TEST_NAME): Likewise.
34753 * string/test-memset.c (TEST_NAME): Likewise.
34754 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34755 * string/test-stpcpy.c (TEST_NAME): Likewise.
34756 * string/test-stpncpy.c (TEST_NAME): Likewise.
34757 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34758 * string/test-strcasestr.c (TEST_NAME): Likewise.
34759 * string/test-strcat.c (TEST_NAME): Likewise.
34760 * string/test-strchr.c (TEST_NAME): Likewise.
34761 * string/test-strcmp.c(TEST_NAME): Likewise.
34762 * string/test-strcpy.c (TEST_NAME): Likewise.
34763 * string/test-strcspn.c (TEST_NAME): Likewise.
34764 * string/test-strlen.c (TEST_NAME): Likewise.
34765 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34766 * string/test-strncmp.c (TEST_NAME): Likewise.
34767 * string/test-strncpy.c (TEST_NAME): Likewise.
34768 * string/test-strnlen.c (TEST_NAME): Likewise.
34769 * string/test-strpbrk.c (TEST_NAME): Likewise.
34770 * string/test-strrchr.c (TEST_NAME): Likewise.
34771 * string/test-strspn.c (TEST_NAME): Likewise.
34772 * string/test-strstr.c (TEST_NAME): Likewise.
34773 * string/test-bcopy-ifunc.c: New file.
34774 * string/test-bzero-ifunc.c: Likewise.
34775 * string/test-memccpy-ifunc.c: Likewise.
34776 * string/test-memchr-ifunc.c: Likewise.
34777 * string/test-memcmp-ifunc.c: Likewise.
34778 * string/test-memcpy-ifunc.c: Likewise.
34779 * string/test-memmem-ifunc.c: Likewise.
34780 * string/test-memmove-ifunc.c: Likewise.
34781 * string/test-mempcpy-ifunc.c: Likewise.
34782 * string/test-memset-ifunc.c: Likewise.
34783 * string/test-rawmemchr-ifunc.c: Likewise.
34784 * string/test-stpcpy-ifunc.c: Likewise.
34785 * string/test-stpncpy-ifunc.c: Likewise.
34786 * string/test-strcasecmp-ifunc.c: Likewise.
34787 * string/test-strcasestr-ifunc.c: Likewise.
34788 * string/test-strcat-ifunc.c: Likewise.
34789 * string/test-strchr-ifunc.c: Likewise.
34790 * string/test-strchrnul-ifunc.c: Likewise.
34791 * string/test-strcmp-ifunc.c: Likewise.
34792 * string/test-strcpy-ifunc.c: Likewise.
34793 * string/test-strcspn-ifunc.c: Likewise.
34794 * string/test-strlen-ifunc.c: Likewise.
34795 * string/test-strncasecmp-ifunc.c: Likewise.
34796 * string/test-strncat-ifunc.c: Likewise.
34797 * string/test-strncmp-ifunc.c: Likewise.
34798 * string/test-strncpy-ifunc.c: Likewise.
34799 * string/test-strnlen-ifunc.c: Likewise.
34800 * string/test-strpbrk-ifunc.c: Likewise.
34801 * string/test-strrchr-ifunc.c: Likewise.
34802 * string/test-strspn-ifunc.c: Likewise.
34803 * string/test-strstr-ifunc.c: Likewise.
34805 * debug/Makefile (tests-ifunc): New variable.
34806 (tests): Add $(tests-ifunc).
34807 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34808 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34809 * debug/test-stpcpy_chk-ifunc.c: New file.
34810 * debug/test-strcpy_chk-ifunc.c: Likewise.
34812 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34815 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34816 header is not read in.
34818 2012-10-19 Joseph Myers <joseph@codesourcery.com>
34820 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34821 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34822 directly. Pass built executable to script as
34823 $(built-program-cmd).
34824 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34825 $testprogram without using LD_LIBRARY_PATH and $ldso.
34827 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34828 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34829 $(rtld-installed-name).
34830 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34831 (rtld_installed_name): Likewise.
34832 (library_path): Likewise.
34833 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34834 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34835 $(run-program-prefix) to tst-tables.sh.
34836 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34837 it to run tst-table-from and tst-table-to.
34838 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34839 Pass it to tst-table.sh.
34840 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34841 $(run-program-prefix) to tst-gettext.sh.
34842 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34844 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34846 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34847 to run tst-gettext.
34848 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34849 to run tst-gettext2.
34850 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34851 to run tst-translit.
34852 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34853 $(run-program-prefix) to tst-mtrace.sh.
34854 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34856 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34857 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34858 $(rtld-installed-name).
34859 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34860 (rtld_installed_name): Likewise.
34861 (run_program_prefix): New variable. Use it to run wordexp-test.
34863 * Makeconfig (ARCH): Remove all definitions.
34864 (machine): Likewise.
34865 [ARCH]: Remove conditional code.
34866 [!objdir]: Give error.
34867 [!objdir] (objpfx): Remove.
34868 [!objdir] (common-objpfx): Likewise.
34869 [!objdir] (common-objdir): Likewise.
34870 * configure.in (config_makefile): Remove. Hardcode Makefile in
34871 AC_CONFIG_FILES call.
34872 * configure: Regenerated.
34875 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34877 (testout): Likewise.
34879 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34880 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34881 $(rtld-installed-name).
34882 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34883 (rtld_installed_name): Likwise.
34884 (runit): Remove function.
34885 (run_getconf): New variable, Use it for running getconf binary.
34887 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34890 * string/test-memmem.c (check_result): New function.
34891 (do_one_test): Use it.
34892 (check1): New function.
34893 (test_main): Use it.
34895 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
34897 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34899 2012-10-18 Joseph Myers <joseph@codesourcery.com>
34901 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34902 (_G_LSEEK64): Likewise.
34903 (_G_MMAP64): Likewise.
34904 (_G_FSTAT64): Likewise.
34905 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34906 (_G_LSEEK64): Likewise.
34907 (_G_MMAP64): Likewise.
34908 (_G_FSTAT64): Likewise.
34909 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34910 unconditional. Call __mmap64 directly.
34911 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34912 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34913 __lseek64 directly.
34914 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34915 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34917 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34918 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34919 __lseek64 directly.
34920 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34921 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34922 __lseek64 directly.
34923 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34924 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34925 __lseek64 directly.
34926 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34927 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34928 __fxstat64 directly.
34929 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34930 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34932 (freopen64) [!_G_OPEN64]: Remove conditional code.
34933 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34935 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34936 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34938 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34939 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34941 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34942 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34944 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34945 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34947 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34948 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34950 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34951 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34953 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34955 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34958 * manual/memory.texi (Malloc Tunable Parameters): Add note
34959 about free list pointers overwriting some perturb bytes.
34960 Wording suggested by Roland McGrath.
34962 2012-10-17 Joseph Myers <joseph@codesourcery.com>
34964 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34965 (lgamma_test): Likewise.
34966 (tgamma_test): Likewise.
34968 2012-10-16 Florian Weimer <fweimer@redhat.com>
34971 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34972 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34974 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34976 * NEWS: Mention BZ #14716.
34977 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34978 when removing AVAILABLE1_USES_J macro.
34980 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34982 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34983 (__bswap_64): __uint64_t for unsigned 64-bit int.
34985 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34987 * include/string.h (memmem): Declare libc hidden alias.
34988 * string/memmem.c (memmem): Define libc hidden alias.
34989 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34990 __read, __close instead of open, read, close.
34992 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34994 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34995 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34997 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34998 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34999 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35001 (__rawmemchr_sse2): Likewise.
35002 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35003 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35004 (__strchr_sse2): Likewise.
35005 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35006 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35007 (__strcasecmp_sse2): Likewise.
35008 (__strncasecmp_sse2): Likewise.
35009 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35010 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35011 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35012 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35013 (__strrchr_sse2): Likewise.
35014 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35016 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35017 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35018 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35019 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35020 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35021 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35022 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35023 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35024 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35025 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35026 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35027 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35028 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35029 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35030 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35031 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35032 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35033 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35034 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35035 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35036 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35037 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35038 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35039 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35040 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35041 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35042 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35043 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35044 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35045 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35047 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35049 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35050 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35051 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35052 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35054 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35056 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35057 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35058 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35059 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35061 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35062 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35063 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35064 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35065 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35066 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35067 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35068 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35069 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35070 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35071 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35072 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35073 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35074 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35075 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35076 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35077 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35078 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35079 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35080 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35081 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35082 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35083 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35084 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35085 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35086 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35087 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35088 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35089 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35090 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35091 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35092 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35093 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35094 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35095 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35096 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35097 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35098 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35099 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35100 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35101 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35103 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35104 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35105 * include/ifunc-impl-list.h: New file.
35106 * misc/ifunc-impl-list.c: Likewise.
35107 * misc/Makefile (routines): Add ifunc-impl-list.
35108 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35109 * string/test-string.h: Include <ifunc-impl-list.h>.
35110 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35111 TEST_NAME]: New variables.
35112 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35114 (test_init): Call __libc_ifunc_impl_list to initialize
35115 func_list if TEST_IFUNC and TEST_NAME are defined.
35117 * string/Makefile (strop-tests): Add bcopy and bzero.
35118 * string/test-bcopy.c: New file.
35119 * string/test-bzero.c: Likewise.
35120 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35122 * string/test-memset.c: Support bzero test if TEST_BZERO is
35124 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35126 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35128 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35131 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35133 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35134 * configure: Regenerated.
35136 * Makeconfig (+link-static-before-libc): Don't include
35137 $(link-static-libc).
35139 * libio/libio.h (_IO_pos_t): Remove.
35141 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35143 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35146 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35148 * crypt/crypt-entry.c: Include fips-private.h.
35149 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35150 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35151 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35152 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35154 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35156 * crypt/crypt-private.h: Include stdbool.h.
35157 (_ufc_setup_salt_r): Return bool.
35158 * crypt/crypt-entry.c: Include errno.h.
35159 (__crypt_r): Return NULL with EINVAL for bad salt.
35160 * crypt/crypt_util.c (bad_for_salt): New.
35161 (_ufc_setup_salt_r): Check that salt is long enough and within
35162 the specified alphabet.
35163 * crypt/badsalttest.c: New file.
35164 * crypt/Makefile (tests): Add it.
35165 ($(objpfx)badsalttest): New.
35167 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35169 * NEWS: Add entry for BZ #14602.
35171 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35173 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35175 * math/libm-test.inc: Update comment listing what functions and
35177 (isgreater_test): New function.
35178 (isgreaterequal_test): Likewise.
35179 (isless_test): Likewise.
35180 (islessequal_test): Likewise.
35181 (islessgreater_test): Likewise.
35182 (isunordered_test): Likewise.
35183 (main): Call the new functions.
35185 2012-10-09 Roland McGrath <roland@hack.frob.com>
35187 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35188 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35189 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35190 * sysdeps/i386/configure: Regenerated.
35191 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35192 * sysdeps/mach/configure: Regenerated.
35193 * sysdeps/mach/hurd/configure: Regenerated.
35194 * sysdeps/powerpc/configure: Regenerated.
35195 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35196 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35197 * sysdeps/s390/s390-32/configure: Regenerated.
35198 * sysdeps/s390/s390-64/configure: Regenerated.
35199 * sysdeps/sh/configure: Regenerated.
35200 * sysdeps/sparc/configure: Regenerated.
35201 * sysdeps/unix/sysv/linux/configure: Regenerated.
35202 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35203 * sysdeps/x86_64/configure: Regenerated.
35205 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35206 defined. Don't check if MAP is NULL.
35208 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35210 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35211 (_G_stat64): Likewise.
35212 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35213 (_G_stat64): Likewise.
35214 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35215 instead of struct _G_stat64.
35216 * libio/fileops.c (mmap_remap_check): Likewise.
35217 (decide_maybe_mmap): Likewise.
35218 (_IO_new_file_seekoff): Likewise.
35219 (_IO_file_stat): Likewise.
35220 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35222 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35223 instead of struct _G_stat64.
35224 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35226 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35229 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35231 (CHECK_EOL): New macro.
35232 (two_way_short_needle): Check beginning of haystack for EOL. Use
35234 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35235 Replace with CHECK_EOL.
35236 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35237 Replace with CHECK_EOL.
35239 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35241 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35243 * math/libm-test.inc: Update comment listing what functions and
35245 (finite_test): New function.
35246 (isinf_test): Likewise.
35247 (isnan_test): Likewise.
35248 (fpclassify_test): Test subnormal input.
35249 (isfinite_test): Likewise.
35250 (isnormal_test): Likewise.
35251 (main): Call the new functions.
35253 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35256 * Makerules (%.dynsym): Force C locale when running
35257 $(OBJDUMP) --dynamic-syms.
35259 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35261 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35264 2012-10-06 David S. Miller <davem@davemloft.net>
35266 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35267 upper 32-bits of the length value in %o2 since we use branch-on-register
35268 tests which consider the entire 64-bit register.
35270 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35272 * string/test-strstr.c (check2): Add a test for page boundary.
35274 2012-10-05 David S. Miller <davem@davemloft.net>
35276 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35277 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35279 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35281 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35282 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35283 and bzero when HWCAP_SPARC_CRYPTO is present.
35285 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35288 * string/test-strstr.c (check2): New function.
35289 (test_main): Call check2.
35291 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35293 * string/bug-strcasestr1.c (do_test): Moved to ...
35294 * string/test-strcasestr.c (check1): Here. New function.
35295 (do_one_test): Break out result checking code into ...
35296 (check_result): This. New function.
35297 (do_one_test): Call check_result.
35298 (test_main): Call check1.
35299 * string/bug-strchr1.c (do_test): Moved to ...
35300 * string/test-strchr.c (check1): Here. New function.
35301 (do_one_test): Break out result checking code into ...
35302 (check_result): This. New function.
35303 (do_one_test): Call check_result.
35304 (test_main): Call check1.
35305 * string/bug-strstr1.c (main): Moved to ...
35306 * string/test-strstr.c (check1): Here. New function.
35307 (do_one_test): Break out result checking code into ...
35308 (check_result): This. New function.
35309 (do_one_test): Call check_result.
35310 (test_main): Call check1.
35311 * string/bug-strcasestr1.c: Removed.
35312 * string/bug-strchr1.c: Likewise.
35313 * string/bug-strstr1.c: Likewise.
35315 * elf/Makefile (dl-routines): Add hwcaps.
35316 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35317 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35318 (_dl_important_hwcaps): Moved to ...
35319 * elf/dl-hwcaps.c: Here. New file.
35320 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35323 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35324 if IS_IN_rtld isn't defined.
35326 * elf/dl-support.c (_dl_sysinfo_map): New.
35327 Include "get-dynamic-info.h" and "setup-vdso.h".
35328 (_dl_non_dynamic_init): Call setup_vdso.
35329 * elf/dynamic-link.h: Don't include <assert.h>.
35330 (elf_get_dynamic_info): Moved to ...
35331 * elf/get-dynamic-info.h: Here. New file.
35332 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35333 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35334 * elf/setup-vdso.h: Here. New file.
35335 * elf/rtld.c: Include "setup-vdso.h".
35336 (dl_main): Call setup_vdso.
35338 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35340 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35341 creal in comment listing functions tested. List finite, isinf,
35342 isnan, isless, islessequal, isgreater, isgreaterequal,
35343 islessgreater, isunordered, lgamma_r and pow10 as functions and
35344 macros not tested. Mention which functions not tested are aliases
35345 for other functions. Fix typo. Note that signs of NaNs are not
35348 * scripts/config.guess: Update from config.git.
35349 * scripts/config.sub: Likewise.
35351 2012-10-04 Roland McGrath <roland@hack.frob.com>
35353 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35354 * misc/madvise.c (madvise): Renamed to __madvise.
35355 Make madvise a weak alias.
35356 * include/sys/mman.h: Declare __madvise.
35357 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35358 * sysdeps/unix/syscalls.list
35359 (madvise): Make __madvise the strong name, and madvise a weak alias.
35360 * sysdeps/unix/sysv/linux/syscalls.list
35361 (madvise, mmap): Remove redundant entries.
35362 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35363 * malloc/malloc.c (mtrim): Likewise.
35364 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35366 2012-10-03 Roland McGrath <roland@hack.frob.com>
35368 * sysdeps/mach/hurd/dl-cache.c: File removed.
35369 * config.h.in (USE_LDCONFIG): New #undef.
35370 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35371 * configure: Regenerated.
35372 * elf/Makefile (dl-routines): Add dl-cache only under
35373 [$(use-ldconfig) = yes].
35374 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35375 cache on [USE_LDCONFIG].
35376 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35378 * elf/rtld.c (dl_main): Likewise.
35380 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35382 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35383 _SC_LEVEL4_CACHE_LINESIZE.
35385 2012-10-03 Roland McGrath <roland@hack.frob.com>
35387 * sysdeps/unix/bsd/confstr.h: File removed.
35389 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35391 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35394 2012-10-02 Roland McGrath <roland@hack.frob.com>
35396 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35397 Make 'mapoff' field ElfW(Off) rather than off_t.
35399 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35401 * nscd/Makefile: Remove nscd-cflags and all its users.
35402 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35403 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35406 * malloc.c (malloc_printerr): Clarify error message.
35408 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35412 Set bit_FMA_Usable if FMA is supported.
35413 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35415 (bit_FMA4_Usable): Updated.
35416 (index_FMA_Usable): New macro.
35417 (CPUID_FMA): Likewise
35418 (HAS_FMA): Defined with bit_FMA_Usable.
35420 2012-10-01 Roland McGrath <roland@hack.frob.com>
35422 * bits/types.h (__swblk_t): Type removed.
35423 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35424 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35425 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35426 (__SWBLK_T_TYPE): Likewise.
35427 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35428 (__SWBLK_T_TYPE): Likewise.
35429 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35430 (__SWBLK_T_TYPE): Likewise.
35431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35432 (__SWBLK_T_TYPE): Likewise.
35434 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35435 Honza Horak <hhorak@redhat.com>
35437 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35438 (xdr_mapname): Use YPMAXMAP as maxsize.
35439 (xdr_peername): Use YPMAXPEER as maxsize.
35440 (xdr_keydat): Use YPAXRECORD as maxsize.
35441 (xdr_valdat): Use YPMAXRECORD as maxsize.
35443 2012-10-01 Roland McGrath <roland@hack.frob.com>
35445 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35447 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35448 * csu/init-first.c: ... here.
35449 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35450 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35451 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35452 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35453 * sysdeps/i386/init-first.c: File removed.
35454 * sysdeps/sh/init-first.c: File removed.
35456 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35460 if x * y might underflow to zero and z is zero.
35461 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35463 * math/libm-test.inc (min_subnorm_value): New variable.
35464 (fma_test): Add more tests.
35465 (fma_test_towardzero): Likewise.
35466 (fma_test_downward): Likewise
35467 (fma_test_upward): Likewise.
35468 (initialize): Set min_subnorm_value.
35470 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35475 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35476 mode for addition resulting in exact zero.
35477 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35480 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35482 * math/libm-test.inc (fma_test): Add more tests.
35483 (fma_test_towardzero): New function.
35484 (fma_test_downward): Likewise.
35485 (fma_test_upward): Likewise.
35486 (main): Call the new functions.
35488 2012-09-28 David S. Miller <davem@davemloft.net>
35490 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35492 2012-09-28 Roland McGrath <roland@hack.frob.com>
35494 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35495 instead of SIGALRM.
35497 * sysdeps/gnu/_G_config.h: Moved to ...
35498 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35499 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35500 * sysdeps/generic/_G_config.h: ... here.
35502 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35504 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35506 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35507 Conditionalize target on [libnss_test1.so-version].
35509 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35511 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35512 (elfobjdir): Move out of conditionals.
35514 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35515 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35516 (__nss_lookup_function): Conditionalize label remove_from_tree on
35517 [!DO_STATIC_NSS || SHARED], matching its only use.
35519 2012-09-28 David S. Miller <davem@davemloft.net>
35521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35522 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35524 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35526 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35528 when HWCAP_SPARC_CRYPTO is present.
35530 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35532 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35534 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35537 * stdio-common/vfprintf.c (process_string_arg): Revert
35540 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35542 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35544 * stdio-common/tst-sprintf.c: Include <locale.h>
35545 (main): Test sprintf's handling of incomplete multibyte
35548 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35550 * elf/dl-runtime.c (VERSYMIDX): Removed.
35551 * elf/dl-version.c (VERSYMIDX): Likewise.
35552 * elf/do-rel.h (VERSYMIDX): Likewise.
35553 (VALIDX): Likewise.
35554 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35555 * elf/rtld.c (VALIDX): Likewise.
35556 (ADDRIDX): Likewise.
35557 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35558 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35559 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35560 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35561 (VALIDX): Likewise.
35562 (ADDRIDX): Likewise.
35564 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35566 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35568 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35571 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35573 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35574 addresses are in the same scope as 192.0.2/24.
35575 * posix/gai.conf: Document new scope table defaults.
35577 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35580 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35581 for ftell. Compute offsets from write pointers instead.
35582 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35584 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35587 * libio/Makefile (tests): New test case tst-fseek.
35588 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35589 combination works in wide mode.
35590 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35591 state when the external buffer state changes.
35593 2012-09-27 David S. Miller <davem@davemloft.net>
35596 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35597 pass reloc->r_addend in as the 'high' argument to
35598 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35602 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35604 * rt/tst-aio2.c: Include <pthread.h>.
35605 * rt/tst-aio3.c: Likewise.
35607 2012-09-27 Steve Ellcey <sellcey@mips.com>
35609 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35611 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35613 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35614 contents on [SHARED].
35616 2012-09-26 Marek Polacek <polacek@redhat.com>
35620 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35621 for C++ and GCC <4.3 as well as for non GCC compilers.
35623 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35627 2012-09-25 Roland McGrath <roland@hack.frob.com>
35629 * Makefile.in (all, install): Declare with .PHONY.
35630 Reported by Michael Hope <michael.hope@linaro.org>.
35632 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35634 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35635 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35637 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35639 (sydep_routines): Add the new and the internal functions.
35640 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35641 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35643 (GLIBC_2.17): Add the new function.
35644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35645 (GLIBC_2.17): Likewise.
35646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35647 (GLIBC_2.17): Likewise.
35648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35649 (GLIBC_2.17): Likewise.
35650 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35652 2012-09-25 Alan Modra <amodra@gmail.com>
35654 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35655 Add release barrier before setting once_control to say
35656 initialisation is done. Add hints on lwarx. Use macro in
35658 (clear_once_control): Add release barrier.
35660 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35663 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35665 * math/s_clog10.c (__clog10): Likewise.
35666 * math/s_clog10f.c (__clog10f): Likewise.
35667 * math/s_clog10l.c (__clog10l): Likewise.
35668 * math/s_clogf.c (__clogf): Likewise.
35669 * math/s_clogl.c (__clogl): Likewise.
35670 * math/Makefile (libm-calls): Add x2y2m1.
35671 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35672 (__x2y2m1): Likewise.
35673 (__x2y2m1l): Likewise.
35674 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35675 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35678 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35679 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35680 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35681 * sysdeps/i386/fpu/libm-test-ulps: Update.
35682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35685 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35686 int as type of variable DEPTH.
35687 (glob): Use size_t instead of int as type of variables NEWCOUNT
35690 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35692 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35693 Add s_sincosf-sse2.
35694 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35695 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35696 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35697 macros for using routine as __sincosf_ia32.
35698 Use macro for function declaration and weak_alias.
35699 * sysdeps/i386/fpu/libm-test-ulps: Update.
35701 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35704 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35705 subnormal argument.
35706 * math/s_cexpf.c (__cexpf): Likewise.
35707 * math/s_csinf.c (__csinf): Likewise.
35708 * math/s_csinhf.c (__csinhf): Likewise.
35709 * math/s_ctanf.c (__ctanf): Likewise.
35710 * math/s_ctanhf.c (__ctanhf): Likewise.
35711 * math/s_ccosh.c (__ccoshf): Likewise.
35712 * math/s_cexp.c (__cexpl): Likewise.
35713 * math/s_csin.c (__csin): Likewise.
35714 * math/s_csinh.c (__csinh): Likewise.
35715 * math/s_ctan.c (__ctan): Likewise.
35716 * math/s_ctanh.c (ctanh): Likewise.
35717 * math/s_ccoshl.c (__ccoshl): Likewise.
35718 * math/s_cexpl.c (__cexpl): Likewise.
35719 * math/s_csinl.c (__csinl): Likewise.
35720 * math/s_csinhl.c (__csinhl): Likewise.
35721 * math/s_ctanl.c (__ctanl): Likewise.
35722 * math/s_ctanhl.c (__ctanhl): Likewise.
35724 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35726 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35727 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35728 (_IO_off_t): Define to __off_t, not _G_off_t.
35729 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35730 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35731 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35732 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35733 type of __dummy and __dummy2 fields.
35734 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35735 (_G_ssize_t): Likewise.
35736 (_G_off_t): Likewise.
35737 (_G_pid_t): Likewise.
35738 (_G_uid_t): Likewise.
35739 (_G_wchar_t): Likewise.
35740 (_G_wint_t): Likewise.
35741 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35742 (_G_ssize_t): Likewise.
35743 (_G_off_t): Likewise.
35744 (_G_pid_t): Likewise.
35745 (_G_uid_t): Likewise.
35746 (_G_wchar_t): Likewise.
35747 (_G_wint_t): Likewise.
35748 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35749 (_G_ssize_t): Likewise.
35750 (_G_off_t): Likewise.
35751 (_G_pid_t): Likewise.
35752 (_G_uid_t): Likewise.
35753 (_G_wchar_t): Likewise.
35754 (_G_wint_t): Likewise.
35756 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35758 * malloc/arena.c: Include malloc-sysdep.h.
35759 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35760 is sufficient to shrink the heap or an unmap is needed.
35761 * sysdeps/generic/malloc-sysdep.h: New file. Define
35762 new function check_may_shrink_heap.
35763 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35764 new function check_may_shrink_heap.
35766 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35768 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35771 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35773 * catgets/test-gencat.sh: Add "set -e".
35774 * elf/tst-pathopt.sh: Likewise.
35775 * grp/tst_fgetgrent.sh: Likewise.
35776 * iconvdata/run-iconv-test.sh: Likewise.
35777 * intl/tst-gettext.sh: Likewise.
35778 * intl/tst-gettext2.sh: Likewise.
35779 * intl/tst-gettext4.sh: Likewise.
35780 * intl/tst-gettext6.sh: Likewise.
35781 * intl/tst-translit.sh: Likewise.
35782 * io/ftwtest-sh: Likewise.
35783 * libio/test-freopen.sh: Likewise.
35784 * malloc/tst-mtrace.sh: Likewise.
35785 * posix/globtest.sh: Likewise.
35786 * posix/tst-getconf.sh: Likewise.
35787 * posix/wordexp-tst.sh: Likewise.
35788 * stdio-common/tst-printf.sh: Likewise.
35789 * stdio-common/tst-unbputc.sh: Likewise.
35790 * stdlib/tst-fmtmsg.sh: Likewise.
35791 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35792 * catgets/Makefile: Do not specify -e option when running
35793 testsuite shell scripts.
35794 * elf/Makefile: Likewise.
35795 * grp/Makefile: Likewise.
35796 * iconvdata/Makefile: Likewise.
35797 * intl/Makefile: Likewise.
35798 * io/Makefile: Likewise.
35799 * libio/Makefile: Likewise.
35800 * malloc/Makefile: Likewise.
35801 * posix/Makefile: Likewise.
35802 * stdio-common/Makefile: Likewise.
35803 * stdlib/Makefile: Likewise.
35804 * sysdeps/x86_64/Makefile: Likewise.
35806 * io/ftwtest-sh: Add copyright header.
35807 * posix/globtest.sh: Likewise.
35808 * posix/tst-getconf.sh: Likewise.
35809 * posix/wordexp-tst.sh: Likewise.
35810 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35812 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35815 * Makeconfig (+link): Defined as $(+link-static) if
35816 $(build-shared) isn't yes.
35817 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35819 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35821 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35824 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35825 new chunk size with MALLOC_ALIGN_MASK.
35827 2012-09-24 Joseph Myers <joseph@codesourcery.com>
35830 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35832 (__printf_fphex): Determine rounding using get_rounding_mode and
35834 * stdio-common/tst-printf-round.c (struct hex_test): New
35836 (hex_tests): New variable.
35837 (test_hex_in_one_mode): New function.
35838 (do_test): Also run tests for hex float output.
35840 2012-09-21 Joseph Myers <joseph@codesourcery.com>
35842 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35843 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35844 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35845 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35846 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35847 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35848 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35849 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35851 2012-09-20 Joseph Myers <joseph@codesourcery.com>
35853 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35854 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35855 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35856 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35858 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35861 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35863 * elf/tst-rtld-load-self.sh: New test.
35864 * elf/Makefile: Run it.
35866 2012-09-18 Joseph Myers <joseph@codesourcery.com>
35868 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35869 (tst-writev-ENV): Remove.
35870 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35872 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35874 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35876 2012-09-17 Joseph Myers <joseph@codesourcery.com>
35878 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35880 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35882 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35883 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35884 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35887 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35890 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35891 * config.make.in (have-cpp-asm-debuginfo): Removed.
35892 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35893 * configure: Regenerated.
35895 2012-09-14 Joseph Myers <joseph@codesourcery.com>
35898 * stdio-common/printf_fp.c: Include <stdbool.h> and
35900 (___printf_fp): Determine rounding using get_rounding_mode and
35902 * stdio-common/tst-printf-round.c: New file.
35903 * stdio-common/Makefile (tests): Add tst-printf-round.
35904 (link-libm): New variable.
35905 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35907 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35910 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35911 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35913 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35916 2012-09-13 Joseph Myers <joseph@codesourcery.com>
35918 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35919 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35920 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35921 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35923 2012-09-12 Joseph Myers <joseph@codesourcery.com>
35926 * include/rounding-mode.h: New file.
35927 * sysdeps/generic/get-rounding-mode.h: Likewise.
35928 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35929 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35930 (MAX_VALUE): New macro.
35931 (MIN_VALUE): Likewise.
35932 (overflow_value): New function.
35933 (underflow_value): Likewise.
35934 (round_and_return): Use overflow_value and underflow_value to
35935 determine return values in overflow and underflow cases. Use
35936 round_away to determine rounding depending on rounding mode.
35937 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35938 determine return values in overflow and underflow cases.
35939 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35940 (struct test_results): New structure.
35941 (struct test): Use struct test_results to store expected results
35942 for all rounding modes.
35943 (TEST): Include expected results for all rounding modes.
35944 (test_in_one_mode): New function.
35945 (do_test): Use test_in_one_mode to compute and check results.
35946 Check results for all rounding modes.
35947 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35950 2012-12-09 Allan McRae <allan@archlinux.org>
35952 * sysdeps/i386/fpu/libm-test-ulps: Update
35954 2012-09-11 Joseph Myers <joseph@codesourcery.com>
35956 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35957 (_G_int32_t): Likewise.
35958 (_G_uint16_t): Likewise.
35959 (_G_uint32_t): Likewise.
35960 (_G_HAVE_BOOL): Likewise.
35961 (_G_HAVE_ATEXIT): Likewise.
35962 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35963 (_G_HAVE_IO_FILE_OPEN): Likewise.
35964 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35965 (_G_int32_t): Likewise.
35966 (_G_uint16_t): Likewise.
35967 (_G_uint32_t): Likewise.
35968 (_G_HAVE_BOOL): Likewise.
35969 (_G_HAVE_ATEXIT): Likewise.
35970 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35971 (_G_HAVE_IO_FILE_OPEN): Likewise.
35972 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35973 (_G_int32_t): Likewise.
35974 (_G_uint16_t): Likewise.
35975 (_G_uint32_t): Likewise.
35976 (_G_HAVE_BOOL): Likewise.
35977 (_G_HAVE_ATEXIT): Likewise.
35978 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35979 (_G_HAVE_IO_FILE_OPEN): Likewise.
35981 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35983 * csu/libc-tls.c: Update copyright years.
35985 2012-09-10 Joseph Myers <joseph@codesourcery.com>
35987 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35988 [!_G_USING_THUNKS]: Remove conditional code.
35989 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35990 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35992 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35993 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35994 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35995 (_G_VTABLE_LABEL_PREFIX): Likewise.
35996 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35997 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35998 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35999 (_G_VTABLE_LABEL_PREFIX): Likewise.
36000 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36001 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36002 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36003 (_G_VTABLE_LABEL_PREFIX): Likewise.
36004 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36006 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36008 * libio/Makefile: Include ../Makeconfig before tests.
36009 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36010 only if $(build-shared) is yes.
36012 * iconv/gconv_db.c: Update copyright years.
36014 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36016 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36017 unwind info if defined PIC. Fix special cases description.
36018 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36020 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36022 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36024 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36026 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36028 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36031 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36032 (LDLIBS-tst-chk4): This.
36033 (LDFLAGS-tst-chk5): Renamed to ...
36034 (LDLIBS-tst-chk5): This.
36035 (LDFLAGS-tst-chk6): Renamed to ...
36036 (LDLIBS-tst-chk6): This.
36037 (LDFLAGS-tst-lfschk4): Renamed to ...
36038 (LDLIBS-tst-lfschk4): This.
36039 (LDFLAGS-tst-lfschk5): Renamed to ...
36040 (LDLIBS-tst-lfschk5): This.
36041 (LDFLAGS-tst-lfschk6): Renamed to ...
36042 (LDLIBS-tst-lfschk6): This.
36044 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36045 on $(common-objpfx)soversions.mk.
36047 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36050 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36053 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36055 * malloc/arena.c (arena_get_retry): New function that gets
36056 another arena for the caller to try its request on.
36057 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36058 current arena cannot fulfill the request.
36059 (__libc_memalign): Likewise.
36060 (__libc_memalign): Likewise.
36061 (__libc_pvalloc): Likewise.
36062 (__libc_calloc): Likewise.
36064 2012-09-05 John Tobey <john.tobey@gmail.com>
36067 * manual/arith.texi (Operations on Complex): Fix description
36068 of carg branch cut.
36070 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36073 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36077 * manual/memory.texi (Memory): Make order of menu items match
36080 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36082 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36083 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36084 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36086 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36088 * csu/libc-tls.c (static_dtv): Renamed to ...
36089 (_dl_static_dtv): This. Make it global.
36090 (_dl_initial_dtv): Removed.
36091 (__libc_setup_tls): Updated.
36092 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36093 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36096 2012-09-06 Petr Machata <pmachata@redhat.com>
36098 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36099 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36100 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36101 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36103 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36106 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36107 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36110 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36113 * Makeconfig (link-static-before-libc): Replace $(+prector)
36115 (link-static-after-libc): Replace $(+postctor) with
36117 (link-bounded): Replace $(+prector)/$(+postctor) with
36118 $(+prectorT)/$(+postctorT).
36119 (+prectorT): New macro.
36120 (+postctorT): Likewise.
36122 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36124 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36125 (round_str): Handle values above the maximum for IBM long double
36127 * stdlib/tst-strtod-round.c (tests): Regenerated.
36129 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36131 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36133 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36134 zarch_nohighgprs around the zarch optimized routines.
36135 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36136 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36137 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36140 2012-09-05 David S. Miller <davem@davemloft.net>
36142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36144 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36145 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36146 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36147 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36150 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36152 * malloc/arena.c: Fold copyright years.
36153 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36155 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36157 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36159 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36161 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36163 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36165 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36166 change internal state upon failure.
36168 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36170 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36171 * malloc/memusage.c (mmap): Likewise.
36172 (mmap64, mremap): Likewise. Adjust name in comment.
36174 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36176 * libio/fileops.c: Fix typos in comments.
36177 * libio/oldfileops.c: Likewise.
36178 * libio/wfileops.c: Likewise.
36180 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36183 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36184 (tst-malloc-usable-ENV): Set environment for test case.
36185 * malloc/hooks.c (malloc_check_get_size): New function to get
36187 * malloc/malloc.c (musable): Use malloc_check_get_size.
36188 * malloc/tst-malloc-usable.c: New test case.
36190 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36192 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36194 2012-09-05 Allan McRae <allan@archlinux.org>
36197 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36198 determine header location.
36199 * configure: Regenerated.
36201 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36203 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36205 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36206 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36208 (test): Regenerate.
36210 2012-09-04 David S. Miller <davem@davemloft.net>
36212 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36213 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36214 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36216 2012-09-04 Florian Weimer <fweimer@redhat.com>
36218 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36221 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36223 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36226 * libio/iogetdelim.c: Include <limits.h>.
36227 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36228 + len + 1 would overflow.
36230 2012-09-03 Andreas Jaeger <aj@suse.de>
36232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36233 * sysdeps/i386/fpu/libm-test-ulps: Update.
36235 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36237 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36238 Add s_sinf-sse2, s_conf-sse2.
36240 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36241 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36242 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36243 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36245 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36246 for using routine as __sinf_ia32.
36247 Use macro for function declaration and weak_alias.
36248 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36249 for using routine as __cosf_ia32.
36250 Use macro for function declaration and weak_alias.
36252 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36253 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36255 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36256 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36259 * math/libm-test.inc (cos_test): Add more test cases.
36260 (sin_test): Likewise.
36261 (sincos_test): Likewise.
36263 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36265 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36266 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36268 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36270 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36273 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36274 first element of the GOT.
36275 (elf_machine_load_address): Return the difference between
36276 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36278 2012-09-01 Allan McRae <allan@archlinux.org>
36281 * configure.in (AWK): Require gawk version 3.0 or later.
36282 * configure: Regenerated.
36284 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36286 * sysdeps/unix/sysv/linux/kernel-features.h
36287 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36288 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36289 [__NR_clock_getres]: Make code unconditional.
36290 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36291 (clock_getcpuclockid): Remove code left unreachable by removal of
36293 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36294 code unconditional.
36295 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36296 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36297 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36298 Make code unconditional.
36299 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36300 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36301 * sysdeps/unix/sysv/linux/clock_settime.c
36302 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36304 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36305 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36307 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36310 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36311 scripts/test-installation.pl.
36313 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36314 and $ld_so_version if it is set.
36316 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36319 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36320 failure if reading from procfs failed.
36321 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36323 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36325 * sysdeps/unix/sysv/linux/kernel-features.h
36326 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36327 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36328 Remove conditional code.
36329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36330 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36331 Remove conditional code.
36332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36333 * sysdeps/unix/sysv/linux/i386/fxstat.c
36334 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36336 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36337 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36339 * sysdeps/unix/sysv/linux/i386/lxstat.c
36340 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36342 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36343 Remove conditional code.
36344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36345 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36346 Remove conditional code.
36347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36348 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36349 <kernel-features.h>.
36350 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36352 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36353 Remove conditional code.
36354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36355 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36356 Remove conditional.
36358 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36361 * NEWS: Add fixed bug number.
36363 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36366 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36367 underflowing exponent in case of negative sign.
36368 * stdlib/tst-strtod-round-data: Add more tests.
36369 * stdlib/tst-strtod-round.c (tests): Regenerated.
36372 * stdlib/strtod_l.c (NDIG): Remove.
36373 (HEXNDIG): Likewise.
36374 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36375 smallest representable value.
36376 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36377 lie within an exact representation of 1/2 ulp of the result.
36378 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36380 (TENS_P9_IDX): Define unconditionally.
36381 (TENS_P9_SIZE): Likewise.
36382 (TENS_P10_IDX): Likewise.
36383 (TENS_P10_SIZE): Likewise.
36384 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36385 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36386 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36387 entries for 10^2^13 and 10^2^14.
36388 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36389 (TENS_P13_IDX): Define.
36390 (TENS_P13_SIZE): Likewise.
36391 (TENS_P14_IDX): Likewise.
36392 (TENS_P14_SIZE): Likewise.
36393 (_fpioconst_pow10): Change array size to
36394 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36396 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36397 1024]: Add entries for 10^2^13 and 10^2^14.
36398 [LAST_POW10 > _LAST_POW10]: Remove #error.
36399 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36400 (_fpioconst_pow10): Change array size to
36401 FPIOCONST_POW10_ARRAY_SIZE.
36402 * stdlib/gen-fpioconst.c: New file.
36403 * stdlib/gen-tst-strtod-round.c: Likewise.
36404 * stdlib/tst-strtod-round-data: Likewise.
36405 * stdlib/tst-strtod-round.c: Likewise.
36406 * stdlib/Makefile (tests): Add tst-strtod-round.
36409 * stdlib/strtod_l.c: Include <stdint.h>.
36410 (NDEBUG): Do not define.
36411 (round_and_return): Change EXPONENT parameter to type intmax_t.
36412 Rearrange calculations to avoid internal overflow possibilities.
36413 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36414 Rearrange calculations to avoid internal overflow possibilities.
36415 Assert that number fits inside MPNSIZE limbs.
36416 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36417 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36418 calculations and add assertions to avoid internal overflow
36419 possibilities. Add casts to avoid signed/unsigned operations.
36420 * stdlib/tst-strtod-overflow.c: New file.
36421 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36423 2012-08-25 Marek Polacek <polacek@redhat.com>
36425 * time/time.h: Fix some typos in comments.
36427 2012-08-23 Roland McGrath <roland@hack.frob.com>
36429 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36430 * posix/tst-rfc3484-2.c: Likewise.
36431 * posix/tst-rfc3484-3.c: Likewise.
36433 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36435 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36436 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36438 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36440 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36441 #include of fxstatat64.c.
36443 2012-08-22 Roland McGrath <roland@hack.frob.com>
36445 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36446 * shadow/getspent_r.c: Likewise.
36447 * shadow/getspnam.c: Likewise.
36448 * shadow/getspnam_r.c: Likewise.
36449 * gshadow/getsgent.c: Likewise.
36450 * gshadow/getsgent_r.c: Likewise.
36451 * gshadow/getsgnam.c: Likewise.
36452 * gshadow/getsgnam_r.c: Likewise.
36453 * inet/getnetbyad.c: Likewise.
36454 * inet/getnetbyad_r.c: Likewise.
36455 * inet/getnetbynm.c: Likewise.
36456 * inet/getnetbynm_r.c: Likewise.
36457 * inet/getnetent.c: Likewise.
36458 * inet/getnetent_r.c: Likewise.
36459 * inet/getproto.c: Likewise.
36460 * inet/getproto_r.c: Likewise.
36461 * inet/getprtent.c: Likewise.
36462 * inet/getprtent_r.c: Likewise.
36463 * inet/getprtname.c: Likewise.
36464 * inet/getprtname_r.c: Likewise.
36465 * inet/getrpcbyname.c: Likewise.
36466 * inet/getrpcbyname_r.c: Likewise.
36467 * inet/getrpcbynumber.c: Likewise.
36468 * inet/getrpcbynumber_r.c: Likewise.
36469 * inet/getrpcent.c: Likewise.
36470 * inet/getrpcent_r.c: Likewise.
36471 * inet/getaliasent.c: Likewise.
36472 * inet/getaliasent_r.c: Likewise.
36473 * inet/getaliasname.c: Likewise.
36474 * inet/getaliasname_r.c: Likewise.
36475 * nscd/getgrgid_r.c: Likewise.
36476 * nscd/getgrnam_r.c: Likewise.
36477 * nscd/gethstbyad_r.c: Likewise.
36478 * nscd/gethstbynm3_r.c: Likewise.
36479 * nscd/getpwnam_r.c: Likewise.
36480 * nscd/getpwuid_r.c: Likewise.
36481 * nscd/getsrvbynm_r.c: Likewise.
36482 * nscd/getsrvbypt_r.c: Likewise.
36483 * nscd/gai.c: Likewise.
36485 * configure.in (build_nscd): New substituted variable, set
36486 by --disable-build-nscd and defaults to $use_nscd.
36487 * configure: Regenerated.
36488 * config.make.in (build-nscd): New substituted variable.
36489 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36490 Change conditional to require [$(build-nscd) = yes] as well.
36491 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36494 * configure.in (use_nscd): New substituted variable, set by
36495 --disable-nscd. If enabled, define USE_NSCD.
36496 * configure: Regenerated.
36497 * config.h.in: Add USE_NSCD.
36498 * config.make.in (use-nscd): New substituted variable.
36499 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36500 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36501 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36502 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36503 (CFLAGS-getgrnam_r.c): Likewise.
36504 (CFLAGS-initgroups.c): Likewise.
36505 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36506 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36508 * inet/getnetgrent_r.c
36509 (nscd_setnetgrent): New function, broken out of ...
36510 (setnetgrent): ... here. Call it.
36511 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36512 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36513 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36514 * nscd/Makefile (routines, aux): Move definitions after include of
36515 Makeconfig. Conditionalize on [$(use-nscd) != no].
36516 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36517 Conditionalize on [USE_NSCD].
36518 (is_nscd, nscd_init_cb): Likewise.
36519 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36520 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36521 * nss/nss_db/db-init.c: Likewise.
36522 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36524 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36525 (make_request): Use it.
36526 (cache_valid_p): New function.
36527 (__check_pf): Use it.
36528 * NEWS: Add item for --disable-nscd.
36530 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36532 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36533 to support sed >= 4.2.1-20-ga9bf076.
36534 * configure: Regenerated.
36536 2012-08-22 Roland McGrath <roland@hack.frob.com>
36538 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36539 Conditionalize whole body on [IREL].
36541 2012-08-22 Jeff Law <law@redhat.com>
36544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36545 if the family is PF_UNSPEC.
36547 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36549 * Makerules (lib-version): Rename from V.
36550 (install-lib-nosubdir): Change V to lib-version.
36552 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36555 * powerpc32/power6/wcschr.c: New file.
36556 * powerpc32/power6/wcscpy.c: New file.
36557 * powerpc32/power6/wcsrchr.c: New file.
36558 * powerpc64/power6/wcschr.c: New file.
36559 * powerpc64/power6/wcscpy.c: New file.
36560 * powerpc64/power6/wcsrchr.c: New file.
36562 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36564 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36565 (two_way_short_needle): Use it.
36566 * string/strstr.c (AVAILABLE1_USES_J): Define.
36567 * string/strcasestr.c: Likewise.
36569 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36571 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36574 * NEWS: Add an entry.
36575 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36576 define their defaults.
36577 (two_way_short_needle): Detect end-of-string on-the-fly.
36578 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36579 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36580 * string/bug-strcasestr1.c: New test.
36581 * string/Makefile: Run it.
36583 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36586 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36587 the first character.
36589 2012-08-21 Roland McGrath <roland@hack.frob.com>
36591 * csu/elf-init.c (__libc_csu_irel): Function removed.
36592 * csu/libc-start.c (apply_irel): New function.
36593 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36595 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36597 * sysdeps/unix/sysv/linux/kernel-features.h
36598 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36599 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36600 <kernel-features.h>.
36601 [__NR_fadvise64_64]: Make code unconditional.
36602 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36603 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36604 !__NR_fadvise64_64)]: Likewise.
36605 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36606 !__NR_fadvise64_64))]: Likewise.
36607 [__NR_fadvise64]: Make code unconditional.
36608 [!__NR_fadvise64]: Remove conditional code.
36609 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36610 <kernel-features.h>.
36611 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36613 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36616 not include <kernel-features.h>.
36617 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36619 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36621 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36622 include <kernel-features.h>.
36623 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36625 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36628 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36630 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36631 slight instruction rearrangements per scrollpipe analysis.
36632 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36634 2012-08-20 Roland McGrath <roland@hack.frob.com>
36636 * manual/syslog.texi (syslog; vsyslog, closelog):
36637 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36638 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36640 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36641 DSOCAPS to match condition on defining it.
36643 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36645 * sysdeps/unix/sysv/linux/kernel-features.h
36646 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36648 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36649 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36651 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36652 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36654 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36655 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36657 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36658 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36660 * sysdeps/unix/sysv/linux/kernel-features.h
36661 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36662 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36664 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36665 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36666 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36667 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36668 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36669 Make code unconditional.
36670 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36671 (__mmap64) [!__NR_mmap2]: Likewise.
36672 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36673 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36674 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36675 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36676 [__NR_mmap2]: Make code unconditional.
36677 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36678 (__mmap64) [!__NR_mmap2]: Likewise.
36680 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36682 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36684 2012-08-18 Andreas Jaeger <aj@suse.de>
36686 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36688 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36690 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36691 * include/unistd.h (__have_sock_cloexec): Likewise.
36692 (__have_pipe2): Likewise.
36693 (__have_dup3): Likewise.
36695 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36698 * include/unistd.h (__have_pipe2): Change define into an extern int.
36699 (__have_dup3): Likewise.
36700 * socket/have_sock_cloexec.c: Include fcntl.h.
36701 (__have_pipe2): New variable.
36702 (__have_dup3): Likewise.
36704 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36706 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36708 2012-08-17 Marek Polacek <polacek@redhat.com>
36710 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36711 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36713 2012-08-17 Roland McGrath <roland@hack.frob.com>
36715 * configure.in: Add AC_SUBST for sysheaders.
36716 * configure: Regenerated.
36717 * config.make.in (sysheaders): New substituted variable.
36719 * sysdeps/unix/mkfifo.c: Moved ...
36720 * sysdeps/posix/mkfifo.c: ... here.
36721 * sysdeps/unix/mkfifoat.c: Moved ...
36722 * sysdeps/posix/mkfifoat.c: ... here.
36724 * sysdeps/unix/utime.c: Moved ...
36725 * sysdeps/posix/utime.c: ... here.
36727 * sysdeps/unix/time.c: Moved ...
36728 * sysdeps/posix/time.c: ... here.
36729 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36730 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36732 * sysdeps/unix/nice.c: Moved ...
36733 * sysdeps/posix/nice.c: ... here.
36735 * sysdeps/unix/alarm.c: Moved ...
36736 * sysdeps/posix/alarm.c: ... here.
36738 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36740 2012-08-17 Jeff Law <law@redhat.com>
36742 * intl/Makefile (codeset_mo): New variable.
36743 ($(codeset_mo)): New target.
36744 (tst-codeset.out): Depend on that. Remove explicit rule.
36745 (tst-gettext3.out, tst-gettext5.out): Likewise.
36746 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36747 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36748 * intl/tst-codeset.sh: Remove.
36749 * intl/tst-gettext3.sh: Likewise.
36750 * intl/tst-gettext5.sh: Likewise.
36752 2012-08-17 Roland McGrath <roland@hack.frob.com>
36754 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36755 * sysdeps/unix/syscalls.list: ... here.
36757 * sysdeps/posix/getaddrinfo.c
36758 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36759 (gaiconf_init, gaiconf_reload): Use them.
36760 [!_STATBUF_ST_NSEC]
36761 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36762 Define using time_t rather than struct timespec.
36764 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36765 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36767 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36769 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36770 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36773 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36774 __libc_cleanup_push argument.
36776 * bits/param.h: New file.
36777 * misc/sys/param.h: New file.
36778 * include/sys/param.h: New file.
36779 * misc/Makefile (headers): Add bits/param.h.
36780 * sysdeps/generic/sys/param.h: File removed.
36781 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36782 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36783 * sysdeps/mach/hurd/bits/param.h: New file.
36784 * sysdeps/mach/hurd/sys/param.h: File removed.
36786 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36789 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36791 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36792 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36795 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36796 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36797 rather than -D_IO_MTSAFE_IO conditionally.
36798 * stdio-common/Makefile (CPPFLAGS): Likewise.
36799 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36800 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36801 Use $(libio-mtsafe).
36802 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36803 of -D_IO_MTSAFE_IO.
36804 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36805 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36806 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36807 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36808 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36809 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36810 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36811 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36812 (CFLAGS-fread_u_chk.c): Likewise.
36813 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36814 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36815 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36816 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36817 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36818 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36819 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36820 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36821 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36823 * libio/Makefile: Test [$(libc-reentrant) = yes]
36824 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36827 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36828 * sysdeps/pthread/configure: File removed.
36829 * sysdeps/pthread/Makeconfig: New file.
36830 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36831 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36833 2012-08-16 Gary Benson <gbenson@redhat.com>
36835 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36836 unmapping the first object in a namespace.
36838 2012-08-16 Roland McGrath <roland@hack.frob.com>
36840 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36841 (__internal_setnetgrent): ... this. Add internal_function to
36842 definition. Add libc_hidden_def.
36843 (setnetgrent): Update caller.
36844 (internal_endnetgrent): Renamed to ...
36845 (__internal_endnetgrent): ... this. Add internal_function to
36846 definition. Add libc_hidden_def.
36847 (endnetgrent): Update caller.
36848 (internal_getnetgrent_r): Renamed to ...
36849 (__internal_getnetgrent_r): ... this. Add internal_function to
36850 definition. Add libc_hidden_def.
36851 (__getnetgrent_r): Update caller.
36852 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36854 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36856 * stdlib/longlong.h: Update from GCC.
36858 2012-08-16 Roland McGrath <roland@hack.frob.com>
36860 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36861 on _QL, which is set by umul_ppmm but never used.
36862 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36863 variables, which are set by GMP macros but never used.
36864 * stdio-common/_itowa.c (_itowa): Likewise.
36865 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36866 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36868 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36870 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36871 struct La_sh_regs is not constant.
36872 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36873 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36874 and struct La_sparc64_regs are not constant.
36876 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36878 * sysdeps/unix/sysv/linux/kernel-features.h
36879 (__ASSUME_POSIX_TIMERS): Remove.
36880 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36881 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36882 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36883 Make code unconditional.
36884 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36885 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36886 Make code unconditional.
36887 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36888 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36889 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36890 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36891 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36892 Make code unconditional.
36893 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36894 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36895 (__libc_missing_posix_timers): Remove.
36897 2012-08-15 Roland McGrath <roland@hack.frob.com>
36899 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36900 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36902 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36904 * elf/dl-sym.c: Include <stdlib.h>.
36906 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36907 constants, which avoids warnings in 32-bit builds.
36909 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36910 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36912 * misc/lseek.c: File moved to ...
36913 * io/lseek.c: ... here.
36915 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36917 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36918 shifting LEN more than 31 bits at once.
36920 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36923 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36924 segmentation fault for a case of two empty input strings.
36925 * string/test-strncasecmp.c (check1): Renamed to...
36926 (bz12205): ...this.
36927 (bz14195): Add new testcase for two empty input strings and N > 0.
36928 (test_main): Call new testcase, adapt for renamed function.
36930 2012-08-15 Andreas Jaeger <aj@suse.de>
36933 * crypt/md5test2.c: New test, based on test supplied by Serge
36934 Belyshev <belyshev@depni.sinp.msu.ru>.
36935 * crypt/Makefile (xtests): Add md5test-giant..
36936 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36938 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36941 * crypt/md5.c (md5_process_block): Don't assume the buffer
36942 length is less than 2**32.
36943 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36944 length is less than 2**64.
36946 2012-08-15 Roland McGrath <roland@hack.frob.com>
36948 * string/str-two-way.h: Include <sys/param.h>.
36949 (MAX): Macro removed.
36951 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36952 Move #define and #undef of memmove to just before and after
36953 including <string.h>.
36955 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36956 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36957 and after including <string.h>. Move declarations of
36958 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36959 to before #include "string/memmove.c".
36961 * include/dirent.h: Declare __getdirentries.
36963 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36964 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36966 2012-08-14 Mike Frysinger <vapier@gentoo.org>
36968 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36969 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36970 * sysdeps/i386/configure: Regenerated.
36971 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36972 STABS_CURRENT_FILE, and STABS_FUN.
36973 (END): Remove call to STABS_FUN_END.
36974 (STABS_CURRENT_FILE1): Delete.
36975 (STABS_CURRENT_FILE): Likewise.
36976 (STABS_FUN): Likewise.
36977 (STABS_FUN_END): Likewise.
36978 (STABS_FUN2): Likewise.
36979 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36980 * sysdeps/x86_64/configure: Regenerated.
36982 2012-08-14 Roland McGrath <roland@hack.frob.com>
36984 * elf/dl-open.c: Include <atomic.h>.
36985 * elf/dl-lookup.c: Likewise.
36987 2012-08-14 Joseph Myers <joseph@codesourcery.com>
36989 * sysdeps/unix/sysv/linux/kernel-features.h
36990 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36991 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36993 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36995 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36996 condition on __ASSUME_CLONE_THREAD_FLAGS.
36998 2012-08-14 Andreas Jaeger <aj@suse.de>
37000 * sysdeps/i386/fpu/libm-test-ulps: Update.
37002 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37004 * include/atomic.h (atomic_exchange_and_add): Split into ...
37005 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37008 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37012 2012-08-13 Jeff Law <law@redhat.com>
37014 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37015 null byte in the output string.
37017 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37019 * sysdeps/unix/sysv/linux/kernel-features.h
37020 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37021 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37022 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37023 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37024 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37025 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37026 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37028 2012-08-09 Jeff Law <law@redhat.com>
37031 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37032 When avoid_arena is set, don't retry in the that arena. Pick the
37033 next one, whatever it might be.
37034 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37035 (arena_lock): Pass in new parameter to arena_get2.
37036 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37038 (__libc_malloc): Unify retrying after main arena failure with
37039 __libc_memalign version.
37040 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37042 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37045 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37046 to __redirect_strstr.
37047 (__strstr_sse42): Use typeof __redirect_strstr.
37048 (__strstr_ia32): Likewise.
37049 (__libc_strstr): New prototype.
37050 (strstr): Renamed to ...
37051 (__libc_strstr): This.
37052 (strstr): New strong alias of __libc_strstr.
37053 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37054 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37057 (__libc_time): New prototype.
37058 (time_ifunc): Replace time with __libc_time.
37059 (time): New strong alias and hidden definition of __libc_time.
37060 (__GI_time): Remove strong alias.
37061 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37062 Include <stddef.h>.
37063 (memmove): Redefined to __redirect_memmove.
37064 (__memmove_sse2): Use typeof __redirect_memmove.
37065 (__memmove_ssse3): Likewise.
37066 (__memmove_ssse3_back): Likewise.
37067 (__libc_memmove): New prototype.
37068 (memmove): Renamed to ...
37069 (__libc_memmove): This.
37070 (memmove): New strong alias of __libc_memmove.
37072 2012-08-08 Mark Salter <msalter@redhat.com>
37075 (R_MN10300_TLS_GD): Define.
37076 (R_MN10300_TLS_LD): Likewise.
37077 (R_MN10300_TLS_LDO): Likewise.
37078 (R_MN10300_TLS_GOTIE): Likewise.
37079 (R_MN10300_TLS_IE): Likewise.
37080 (R_MN10300_TLS_LE): Likewise.
37081 (R_MN10300_TLS_DTPMOD): Likewise.
37082 (R_MN10300_TLS_DTPOFF): Likewise.
37083 (R_MN10300_TLS_TPOFF): Likewise.
37084 (R_MN10300_SYM_DIFF): Likewise.
37085 (R_MN10300_ALIGN): Likewise.
37086 (R_MN10300_NUM): Update.
37088 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37090 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37093 2012-08-08 Roland McGrath <roland@hack.frob.com>
37095 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37097 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37098 sysdeps/unix -> sysdeps/posix move.
37099 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37101 2012-08-07 Allan McRae <allan@archlinux.org>
37104 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37105 (SUNOS_CPP): Likewise.
37106 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37108 (open_input): Call CPP using execvp.
37110 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37112 * sysdeps/unix/sysv/linux/kernel-features.h
37113 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37114 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37115 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37116 (__ASSUME_WAITID_SYSCALL): Likewise.
37117 * sysdeps/unix/sysv/linux/dl-execstack.c
37118 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37119 code unconditional.
37120 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37122 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37123 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37124 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37126 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37128 [__ASSUME_WAITID_SYSCALL]: Likewise.
37129 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37131 2012-08-07 Roland McGrath <roland@hack.frob.com>
37133 * sysdeps/unix/closedir.c: Renamed to ...
37134 * sysdeps/posix/closedir.c: ... here.
37135 * sysdeps/unix/dirfd.c: Renamed to ...
37136 * sysdeps/posix/dirfd.c: ... here.
37137 * sysdeps/unix/dirstream.h: Renamed to ...
37138 * sysdeps/posix/dirstream.h: ... here.
37139 * sysdeps/unix/fdopendir.c: Renamed to ...
37140 * sysdeps/posix/fdopendir.c: ... here.
37141 * sysdeps/unix/opendir.c: Renamed to ...
37142 * sysdeps/posix/opendir.c: ... here.
37143 * sysdeps/unix/readdir.c: Renamed to ...
37144 * sysdeps/posix/readdir.c: ... here.
37145 * sysdeps/unix/readdir_r.c: Renamed to ...
37146 * sysdeps/posix/readdir_r.c: ... here.
37147 * sysdeps/unix/rewinddir.c: Renamed to ...
37148 * sysdeps/posix/rewinddir.c: ... here.
37149 * sysdeps/unix/seekdir.c: Renamed to ...
37150 * sysdeps/posix/seekdir.c: ... here.
37151 * sysdeps/unix/telldir.c: Renamed to ...
37152 * sysdeps/posix/telldir.c: ... here.
37153 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37154 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37155 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37156 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37158 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37159 * bits/fcntl.h: ... here.
37161 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37163 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37164 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37165 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37166 (struct flock): Move l_start, l_len to the beginning.
37167 Use __pid_t for l_pid.
37168 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37169 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37170 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37171 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37172 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37173 [__USE_LARGEFILE64] (struct flock64): New type.
37174 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37176 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37177 * bits/dirent.h: ... here.
37179 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37180 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37182 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37184 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37185 Change from 2.6.0 to 2.6.16.
37186 * sysdeps/unix/sysv/linux/configure: Regenerated.
37187 * sysdeps/unix/sysv/linux/kernel-features.h
37188 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37189 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37191 (__ASSUME_UTIMES): Likewise.
37192 (__ASSUME_CLONE_STOPPED): Remove.
37193 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37194 architectures, not kernel version.
37195 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37196 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37197 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37198 (__ASSUME_WAITID_SYSCALL): Likewise.
37199 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37200 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37201 * README: State 2.6.16 as minimum Linux kernel version. Do not
37202 refer to older versions.
37204 2012-08-06 Roland McGrath <roland@hack.frob.com>
37206 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37207 Define alphasort64 as an alias.
37208 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37209 Define versionsort64 as an alias.
37210 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37211 Define scandir64 as an alias.
37212 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37213 Define scandirat64 as an alias.
37214 * dirent/alphasort64.c (alphasort64):
37215 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37216 * dirent/versionsort64.c: Likewise.
37217 * dirent/scandir64.c: Likewise.
37218 * dirent/scandirat64.c: Likewise.
37219 * sysdeps/wordsize-64/alphasort.c: File removed.
37220 * sysdeps/wordsize-64/alphasort64.c: File removed.
37221 * sysdeps/wordsize-64/scandir.c: File removed.
37222 * sysdeps/wordsize-64/scandir64.c: File removed.
37223 * sysdeps/wordsize-64/scandirat.c: File removed.
37224 * sysdeps/wordsize-64/scandirat64.c: File removed.
37225 * sysdeps/wordsize-64/versionsort.c: File removed.
37226 * sysdeps/wordsize-64/versionsort64.c: File removed.
37227 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37228 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37229 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37230 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37231 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37232 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37233 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37234 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37236 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37237 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37238 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37239 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37240 [defined __arch64__ || defined __sparcv9]
37241 (__INO_T_MATCHES_INO64_T): New macro.
37242 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37243 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37244 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37245 * sysdeps/unix/sysv/linux/bits/dirent.h
37246 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37247 (_DIRENT_MATCHES_DIRENT64): New macro.
37249 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37250 Define lockf64 as an alias.
37251 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37252 Define fseeko64 as an alias.
37253 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37254 Define ftello64 as an alias.
37255 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37256 Define _IO_fgetpos64 and fgetpos64 as aliases.
37257 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37258 Define _IO_fsetpos64 and fsetpos64 as aliases.
37259 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37260 Conditionalize body on this.
37261 * libio/fseeko64.c: Likewise.
37262 * libio/ftello64.c: Likewise.
37263 * libio/iofgetpos64.c: Likewise.
37264 * libio/iofsetpos64.c: Likewise.
37265 * sysdeps/wordsize-64/lockf.c: File removed.
37266 * sysdeps/wordsize-64/lockf64.c: File removed.
37267 * sysdeps/wordsize-64/fseeko.c: File removed.
37268 * sysdeps/wordsize-64/fseeko64.c: File removed.
37269 * sysdeps/wordsize-64/ftello.c: File removed.
37270 * sysdeps/wordsize-64/ftello64.c: File removed.
37271 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37272 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37273 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37274 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37275 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37276 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37277 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37278 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37279 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37280 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37281 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37282 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37283 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37284 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37286 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37287 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37288 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37289 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37290 [defined __arch64__ || defined __sparcv9]
37291 (__OFF_T_MATCHES_OFF64_T): New macro.
37292 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37293 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37295 (__OFF_T_MATCHES_OFF64_T): New macro.
37297 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37299 * stdlib/secure-getenv.c (__secure_getenv): Replace
37300 GLIBC_2_16 with GLIBC_2_17.
37302 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37304 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37305 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37307 2012-08-03 David S. Miller <davem@davemloft.net>
37309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37311 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37315 (__ASSUME_CORRECT_SI_PID): Likewise.
37316 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37317 (__ASSUME_TMPFS_NAME): Likewise.
37318 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37319 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37320 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37321 (HAVE_AUX_SECURE): Make definition unconditional.
37322 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37323 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37325 2012-08-03 Roland McGrath <roland@hack.frob.com>
37327 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37328 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37329 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37330 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37331 __eloop_threshold instead of SYMLOOP_MAX.
37333 * sysdeps/generic/eloop-threshold.h: New file.
37334 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37336 * elf/chroot_canon.c (chroot_canon): Likewise.
37338 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37341 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37342 Change to 2.6.0 everywhere.
37343 * sysdeps/unix/sysv/linux/configure: Regenerated.
37344 * sysdeps/unix/sysv/linux/kernel-features.h
37345 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37346 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37348 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37349 (__ASSUME_FUTEX_REQUEUE): Remove.
37350 (__ASSUME_STATFS64): Define unconditionally.
37351 (__ASSUME_AT_SECURE): Likewise.
37352 (__ASSUME_CORRECT_SI_PID): Likewise.
37353 (__ASSUME_TGKILL): Define without depending on kernel version for
37355 (__ASSUME_UTIMES): Likewise.
37356 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37358 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37359 (__ASSUME_TMPFS_NAME): Likewise.
37360 * README: Update reference to Linux kernel versions.
37362 2012-08-02 Marek Polacek <polacek@redhat.com>
37365 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37366 libc_cv_asm_type_prefix with %.
37367 * configure: Regenerated.
37368 * include/libc-symbols.h: Remove comment about
37369 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37370 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37371 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37372 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37373 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37374 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37375 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37376 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37377 * elf/tst-unique2mod1.c: Likewise.
37378 * elf/tst-unique1mod2.c: Likewise.
37379 * elf/tst-unique1mod1.c: Likewise.
37380 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37381 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37382 Replace ASM_TYPE_DIRECTIVE with .type.
37383 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37384 * sysdeps/i386/sysdep.h: Likewise.
37385 * sysdeps/x86_64/sysdep.h: Likewise.
37386 * sysdeps/sh/sysdep.h: Likewise.
37387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37388 Do not define ASM_TYPE_DIRECTIVE.
37389 * sysdeps/powerpc/sysdep.h: Likewise.
37390 * sysdeps/powerpc/powerpc32/sysdep.h:
37391 Replace ASM_TYPE_DIRECTIVE with .type.
37392 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37393 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37394 * sysdeps/i386/fpu/e_powf.S: Likewise.
37395 * sysdeps/i386/fpu/e_expl.S: Likewise.
37396 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37397 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37398 * sysdeps/i386/fpu/e_pow.S: Likewise.
37399 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37400 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37401 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37402 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37403 * sysdeps/i386/fpu/e_log2.S: Likewise.
37404 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37405 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37406 * sysdeps/i386/fpu/e_powl.S: Likewise.
37407 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37408 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37409 * sysdeps/i386/fpu/e_logl.S: Likewise.
37410 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37411 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37412 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37413 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37414 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37415 * sysdeps/i386/fpu/e_log.S: Likewise.
37416 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37417 * sysdeps/i386/fpu/e_logf.S: Likewise.
37418 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37419 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37420 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37421 * sysdeps/i386/fpu/e_log10.S: Likewise.
37422 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37423 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37424 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37425 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37426 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37427 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37428 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37429 * sysdeps/i386/i686/strtok.S: Likewise.
37430 * sysdeps/i386/i386-mcount.S: Likewise.
37431 * sysdeps/i386/strtok.S: Likewise.
37432 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37433 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37434 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37435 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37436 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37437 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37438 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37439 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37440 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37441 * sysdeps/x86_64/_mcount.S: Likewise.
37442 * sysdeps/x86_64/strtok.S: Likewise.
37443 * sysdeps/sh/_mcount.S: Likewise.
37445 2012-08-01 Roland McGrath <roland@hack.frob.com>
37447 * libio/iofopen.c: Include <fcntl.h>.
37448 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37449 (_IO_fopen64, fopen64): Define as aliases.
37450 * libio/iofopen64.c: Include <fcntl.h>.
37451 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37452 Conditionalize body on this.
37453 * sysdeps/wordsize-64/iofopen.c: File removed.
37454 * sysdeps/wordsize-64/iofopen64.c: File removed.
37456 2012-08-01 Marek Polacek <polacek@redhat.com>
37458 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37459 Use dlfcn directly instead of a variable.
37460 (binfmt-subdir): Do not define.
37463 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37465 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37466 Remove all definitions.
37467 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37468 <kernel-features.h>.
37469 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37470 (miss_F_GETOWN_EX): Remove all definitions.
37471 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37473 [!__ASSUME_FCNTL64]: Remove conditional code.
37474 [__ASSUME_FCNTL64]: Make code unconditional.
37475 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37476 <kernel-features.h>.
37477 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37478 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37479 (lockf64) [__NR_fcntl64]: Make code unconditional.
37480 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37482 * sysdeps/unix/sysv/linux/kernel-features.h
37483 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37484 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37485 Make code unconditional.
37486 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37487 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37489 [__NR_vfork]: Make code unconditional.
37490 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37491 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37493 [__NR_vfork]: Make code unconditional.
37494 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37495 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37497 2012-08-01 Roland McGrath <roland@hack.frob.com>
37499 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37500 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37502 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37503 Define mkstemp64 as an alias.
37504 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37505 Define mkstemps64 as an alias.
37506 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37507 Define mkostemp64 as an alias.
37508 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37509 Define mkostemps64 as an alias.
37510 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37511 Conditionalize body on this.
37512 * misc/mkostemp64.c: Likewise.
37513 * misc/mkostemps64.c: Likewise.
37514 * misc/mkstemps64.c: Likewise.
37515 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37516 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37517 * sysdeps/wordsize-64/mkostemp.c: File removed.
37518 * sysdeps/wordsize-64/mkstemp.c: File removed.
37519 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37520 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37521 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37522 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37525 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37526 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37527 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37528 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37530 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37531 compat_symbol macros from <shlib-compat.h> rather than the underlying
37532 default_symbol_version and symbol_version macros, so that DEFAULT
37533 lines in shlib-versions are respected.
37534 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37536 2012-08-01 Florian Weimer <fweimer@redhat.com>
37538 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37539 Declare with warn_unused_result.
37540 (setgid, setregid, setegid, setresgid): Likewise.
37541 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37543 * WUR-REPORT: Remove set*id functions.
37545 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37547 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37549 2012-07-31 Roland McGrath <roland@hack.frob.com>
37552 * include/sys/socket.h (__libc_accept, __libc_accept4):
37553 Add attribute_hidden.
37554 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37556 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37558 * inet/getnetgrent_r.c (setup): Likewise.
37560 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37562 2012-07-31 David S. Miller <davem@davemloft.net>
37564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37566 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37569 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37570 value between 1.0 and 2.0 and smaller part has absolute value less
37572 * math/s_clog10.c (__clog10): Likewise.
37573 * math/s_clog10f.c (__clog10f): Likewise.
37574 * math/s_clog10l.c (__clog10l): Likewise.
37575 * math/s_clogf.c (__clogf): Likewise.
37576 * math/s_clogl.c (__clogl): Likewise.
37577 * math/libm-test.inc (clog_test): Add more tests.
37578 (clog10_test): Likewise.
37579 * sysdeps/i386/fpu/libm-test-ulps: Update.
37580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37582 2012-07-31 Florian Weimer <fweimer@redhat.com>
37584 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37585 Exit with zero in case no suitable GID is found, and write a
37586 message to standard error.
37588 2012-07-30 Roland McGrath <roland@hack.frob.com>
37590 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37592 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37593 (MAXPATHLEN): Removed.
37594 (NOGROUP, NODEV): New macros.
37595 (setbit, clrbit, isset, isclr): New macros.
37596 (howmany, roundup, powerof2): New macros.
37597 (DEV_BSIZE): New macro.
37599 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37600 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37602 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37603 definition on [!__NO_LONG_DOUBLE_MATH].
37605 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37606 PTR_MANGLE and PTR_DEMANGLE.
37608 * socket/accept4.c (accept4): Rename to __libc_accept4.
37609 Define accept4 as a weak alias.
37611 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37612 on [_DIRENT_HAVE_D_TYPE].
37613 * io/ftw.c (ftw_dir): Likewise.
37615 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37617 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37619 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37620 Use the BSD numbers rather than the arbitrary ones we had.
37621 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37622 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37623 (SIGXCPU, SIGXFSZ): New macros.
37626 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37627 initializer on [_LIBC_REENTRANT].
37629 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37630 definitions inside [_POSIX_MAPPED_FILES].
37632 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37634 * dirent/opendir.c: Include <fcntl.h>.
37636 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37637 (__libc_getspecific): Likewise.
37638 (__libc_key_create): Likewise.
37640 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37641 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37642 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37643 (tmpfile64): Define as alias.
37644 * sysdeps/wordsize-64/tmpfile.c: File removed.
37645 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37646 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37647 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37649 * stdio-common/vfscanf.c: Include <stdbool.h>.
37650 * nss/makedb.c: Likewise.
37651 * stdio-common/_i18n_number.h: Likewise.
37652 * argp/argp-help.c: Likewise.
37653 * posix/wordexp.c: Likewise.
37654 * sysdeps/posix/spawni.c: Likewise.
37655 * nss/nss_files/files-initgroups.c: Likewise.
37656 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37657 * nss/nss_files/files-initgroups.c: Likewise.
37658 * nss/nss_db/db-netgrp.c: Likewise.
37659 * nss/nss_db/db-initgroups.c: Likewise.
37660 * io/fchmodat.c: Include <sys/stat.h>.
37662 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37663 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37665 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37668 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37669 Add multiple inclusion protection.
37671 2012-07-27 David S. Miller <davem@davemloft.net>
37673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37675 2012-07-27 Gary Benson <gbenson@redhat.com>
37678 * elf/rtld.c: Include <stap-probe.h>.
37679 (dl_main): Added static probes "init_start" and "init_complete".
37680 * elf/dl-load.c: Include <stap-probe.h>.
37681 (lose): Take new parameter "nsid".
37682 Added static probe "map_failed".
37683 (_dl_map_object_from_fd): Pass namespace id to lose.
37684 Added static probe "map_start".
37685 (open_verify): Pass namespace id to lose.
37686 * elf/dl-open.c: Include <stap-probe.h>.
37687 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37688 and "reloc_complete".
37689 * elf/dl-close.c: Include <stap-probe.h>.
37690 (_dl_close_worker): Added static probes "unmap_start" and
37692 * elf/rtld-debugger-interface.txt: New file documenting the above.
37694 2012-07-26 Roland McGrath <roland@hack.frob.com>
37696 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37697 rather than a string variable.
37698 * sunrpc/rpc_main.c (h_output): Likewise.
37699 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37701 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37703 * inet/check_native.c: New file.
37705 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37708 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37709 if larger part has absolute value 1.0.
37710 * math/s_clog10.c (__clog10): Likewise.
37711 * math/s_clog10f.c (__clog10f): Likewise.
37712 * math/s_clog10l.c (__clog10l): Likewise.
37713 * math/s_clogf.c (__clogf): Likewise.
37714 * math/s_clogl.c (__clogl): Likewise.
37715 * math/libm-test.inc (clog_test): Add more tests.
37716 (clog10_test): Likewise.
37717 * sysdeps/i386/fpu/libm-test-ulps: Update.
37718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37720 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37721 (pltexit): Likewise.
37722 (La_regs): Likewise.
37723 (La_retval): Likewise.
37724 (int_retval): Likewise.
37725 Update #error for removed macros to refer only to definitions in
37727 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37729 (pltexit): Likewise.
37730 (La_regs): Likewise.
37731 (La_retval): Likewise.
37732 (int_retval): Likewise.
37733 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37735 (pltexit): Likewise.
37736 (La_regs): Likewise.
37737 (La_retval): Likewise.
37738 (int_retval): Likewise.
37739 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37741 (pltexit): Likewise.
37742 (La_regs): Likewise.
37743 (La_retval): Likewise.
37744 (int_retval): Likewise.
37745 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37747 (pltexit): Likewise.
37748 (La_regs): Likewise.
37749 (La_retval): Likewise.
37750 (int_retval): Likewise.
37751 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37753 (pltexit): Likewise.
37754 (La_regs): Likewise.
37755 (La_retval): Likewise.
37756 (int_retval): Likewise.
37757 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37759 (pltexit): Likewise.
37760 (La_regs): Likewise.
37761 (La_retval): Likewise.
37762 (int_retval): Likewise.
37763 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37764 macro definitions in tst-audit.h.
37765 * sysdeps/i386/tst-audit.h: New file.
37766 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37767 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37768 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37769 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37770 * sysdeps/sh/tst-audit.h: Likewise.
37771 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37772 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37773 * sysdeps/x86_64/tst-audit.h: Likewise.
37775 2012-07-26 Andreas Jaeger <aj@suse.de>
37777 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37780 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37781 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37782 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37784 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37785 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37786 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37788 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37791 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37793 (si_call_addr, si_syscall, si_arch): Define new macro.
37794 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37796 (si_call_addr, si_syscall, si_arch): Define new marcro.
37797 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37799 (si_call_addr, si_syscall, si_arch): Define new macro.
37800 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37802 (si_call_addr, si_syscall, si_arch): Define new macro.
37804 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37808 Change to 2.4.21 where previously 2.4.1.
37809 * sysdeps/unix/sysv/linux/configure: Regenerated.
37810 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37811 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37812 Linux kernel version.
37813 (__ASSUME_STD_AUXV): Remove.
37814 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37816 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37817 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37818 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37819 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37820 (__ASSUME_NETLINK_SUPPORT): Likewise.
37821 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37822 (__no_netlink_support): Remove conditional definition.
37823 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37825 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37826 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37827 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37828 (if_nameindex_ioctl): Remove.
37829 (if_nameindex_netlink): Do not handle __no_netlink_support.
37830 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37832 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37833 Remove conditional code.
37834 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37836 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37838 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37839 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37840 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37842 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37843 [!__ASSUME_STD_AUXV]: Remove conditional code.
37844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37845 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37846 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37848 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37849 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37851 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37853 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37854 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37856 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37858 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37861 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37864 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37865 code unconditional.
37866 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37868 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37870 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37873 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37875 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37878 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37879 code unconditional.
37880 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37882 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37884 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37887 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37888 code unconditional.
37889 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37891 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37893 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37896 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
37898 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37899 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37900 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37901 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37902 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37903 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37904 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37905 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37906 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37907 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37908 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37909 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37910 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37911 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37912 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37913 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37914 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37915 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37916 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37917 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37918 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37919 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37920 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37922 2012-07-25 Florian Weimer <fweimer@redhat.com>
37924 * Versions.def: Add GLIBC_2.17.
37925 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37926 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37927 Introduce __libc_secure_getenv.
37928 * stdlib/Versions (2.17): Add secure_getenv
37929 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37930 * stdlib/secure-getenv.c: Rename __secure_getenv to
37931 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37932 symbol __secure_getenv for GLIBC_2.0.
37933 * stdlib/tst-secure-getenv.c: New.
37934 * stdlib/Makefile (tests): Add testcase.
37935 * manual/startup.texi (Environment Access): Document
37937 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37938 __libc_secure_getenv.
37939 * inet/ruserpass.c (ruserpass): Likewise.
37940 * malloc/mtrace.c (mtrace): Likewise.
37941 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37942 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37943 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37944 * sysdeps/posix/tempname.c: Likewise. Evaluate
37945 HAVE_SECURE_GETENV.
37946 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37947 __secure_getenv to __libc_secure_getenv.
37948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37955 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37961 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37963 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37964 (struct La_i86_retval): Likewise.
37965 (struct La_x86_64_regs): Likewise.
37966 (struct La_x86_64_retval): Likewise.
37967 (struct La_x32_regs): Likewise.
37968 (struct La_x32_retval): Likewise.
37969 (struct La_ppc32_regs): Likewise.
37970 (struct La_ppc32_retval): Likewise.
37971 (struct La_ppc64_regs): Likewise.
37972 (struct La_ppc64_retval): Likewise.
37973 (struct La_sh_regs): Likewise.
37974 (struct La_sh_retval): Likewise.
37975 (struct La_s390_32_regs): Likewise.
37976 (struct La_s390_32_retval): Likewise.
37977 (struct La_s390_64_regs): Likewise.
37978 (struct La_s390_64_retval): Likewise.
37979 (struct La_sparc32_regs): Likewise.
37980 (struct La_sparc32_retval): Likewise.
37981 (struct La_sparc64_regs): Likewise.
37982 (struct La_sparc64_retval): Likewise.
37983 (struct audit_ifaces): Remove architecture-specific pltenter and
37985 * sysdeps/i386/ldsodefs.h: New file.
37986 * sysdeps/powerpc/ldsodefs.h: Likewise.
37987 * sysdeps/s390/ldsodefs.h: Likewise.
37988 * sysdeps/sh/ldsodefs.h: Likewise.
37989 * sysdeps/sparc/ldsodefs.h: Likewise.
37990 * sysdeps/x86_64/ldsodefs.h: Likewise.
37992 2012-07-25 Marek Polacek <polacek@redhat.com>
37995 * math/libm-test.inc (yn_test): Add another test.
37996 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37997 to ERANGE when the result is +-Inf.
37998 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37999 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38000 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38001 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38003 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38005 * conform/data/time.h-data (NULL): Use macro-constant. Require
38007 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38009 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38011 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38013 * configure.in <sysdeps resolving>: Correct printing
38015 * configure: Regenerate.
38017 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38019 * math/w_ilogb.c: Include <limits.h>.
38020 * math/w_ilogbl.c: Likewise.
38022 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38024 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38025 va_copy. Document allowing for unavailable va_copy only as
38026 pre-C99 compatibility.
38027 * manual/string.texi (Copying and Concatenation): Use va_copy
38028 instead of __va_copy in concat example.
38030 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38032 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38033 (__sendto): Use create_address_port. Initialize APORT and deallocate
38036 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38037 with O_NOLINK passed to __file_name_lookup.
38039 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38040 with O_NOLINK passed to __file_name_lookup.
38042 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38043 negative N or less than NGIDS.
38045 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38046 type to string_t. Set ERANGE as errno and return it if NAME is not big
38047 enough. Use memcpy instead of strncpy.
38049 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38051 * elf/Makefile (check-data): Remove.
38052 (localplt.data): New vpath directive.
38053 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38054 instead of $(check-data).
38055 * scripts/data/localplt-generic.data: Move to ...
38056 * sysdeps/generic/localplt.data: ... here.
38057 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38058 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38059 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38062 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38065 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38068 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38071 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38074 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38078 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38080 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38081 PPC32 and PPC64 files.
38082 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38083 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38085 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38087 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38088 __makecontext_ret to ...
38089 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38090 ... here and call exit if uc_link is NULL. New file.
38091 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38092 __makecontext_ret.S.
38093 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38094 __makecontext_ret to ...
38095 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38096 ... here and call exit if uc_link is NULL. New file.
38097 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38098 __makecontext_ret.S.
38100 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38102 * elf/elf.h (R_390_IRELATIVE): New definition.
38103 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38104 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38105 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38106 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38107 (elf_machine_lazy_rel): Likewise.
38108 * sysdeps/s390/dl-irel.h: New file.
38109 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38110 * sysdeps/s390/s390-64/memset.S: New asm code.
38111 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38112 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38113 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38114 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38115 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38116 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38117 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38118 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38119 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38120 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38121 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38122 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38123 * sysdeps/s390/s390-32/memset.S: New asm code.
38124 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38126 2012-07-17 Marek Polacek <polacek@redhat.com>
38129 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38130 * sysdeps/s390/s390-64/configure.in: Likewise.
38131 * sysdeps/sparc/configure.in: Likewise.
38132 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38133 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38134 * sysdeps/i386/configure.in: Likewise.
38135 * sysdeps/x86_64/configure.in: Likewise.
38136 * sysdeps/sh/configure.in: Likewise.
38137 * sysdeps/s390/s390-32/configure: Regenerated.
38138 * sysdeps/s390/s390-64/configure: Likewise.
38139 * sysdeps/x86_64/configure: Likewise.
38140 * sysdeps/sh/configure: Likewise.
38141 * sysdeps/powerpc/powerpc64/configure: Likewise.
38142 * sysdeps/powerpc/powerpc32/configure: Likewise.
38143 * sysdeps/sparc/configure: Likwise.
38144 * sysdeps/i386/configure: Likewise.
38146 * elf/dl-open.c: Comment fixes.
38148 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38150 * Makefile [CXX] (check-data): Remove.
38151 [CXX] (c++-types.data): New vpath directive.
38152 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38153 vpath. Do not allow for C++ type data being missing.
38154 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38155 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38156 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38157 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38158 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38159 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38160 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38163 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38166 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38169 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38172 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38175 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38178 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38181 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38184 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38185 definitions to architecture-specific files.
38186 (TLS_IE): Likewise.
38187 (TLS_LD): Likewise.
38188 (TLS_GD): Likewise.
38189 * sysdeps/i386/tls-macros.h: New file.
38190 * sysdeps/powerpc/tls-macros.h: Likewise.
38191 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38192 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38193 * sysdeps/sh/tls-macros.h: Likewise.
38194 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38195 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38196 * sysdeps/x86_64/tls-macros.h: Likewise.
38198 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38200 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38201 zero value for regular exit case.
38203 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38204 (__start_context): Preserve zero value for regular exit case.
38206 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38207 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38209 * manual/setjmp.texi (setcontext): Clarify normal process
38210 termination when uc_link is the null pointer.
38211 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38214 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38216 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38217 preprocessor. Test for each exception mask separately.
38219 2012-07-16 Andreas Jaeger <aj@suse.de>
38221 * po/ru.po: Update from translation team.
38223 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38225 * conform/data/string.h-data (NULL): Use macro-constant. Require
38227 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38228 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38229 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38230 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38231 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38233 2012-07-13 Andreas Jaeger <aj@suse.de>
38235 * po/fr.po: Update from translation team.
38237 2012-07-12 Marek Polacek <polacek@redhat.com>
38240 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38241 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38244 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38247 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38248 Change to 2.4.1 where previously 2.4.0.
38249 * sysdeps/unix/sysv/linux/configure: Regenerated.
38250 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38251 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38253 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38254 (__ASSUME_AT_CLKTCK): Remove.
38255 (__ASSUME_AT_PAGESIZE): Likewise.
38256 (__ASSUME_AT_XID): Likewise.
38257 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38258 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38259 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38261 (HAVE_AUX_PAGESIZE): Likewise.
38262 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38263 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38264 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38266 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38270 the temporary buffer used to invoke __gethostbyname2_r,
38271 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38272 host_data / struct gaih_addrtuple.
38273 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38274 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38275 header file nss/nsswitch.h.
38276 * nss/nsswitch.h (global scope): Add definition of implementation
38277 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38278 resolv/nss_dns/dns-host.c).
38280 2012-07-11 Andreas Jaeger <aj@suse.de>
38282 * po/fr.po: Update from translation team.
38284 * po/sv.po: Update from translation team
38285 * po/fr.po: Another update from translation team.
38287 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38289 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38290 for subnormals or multiply small sinh result by itself.
38291 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38294 2012-07-11 David S. Miller <davem@davemloft.net>
38296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38298 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38301 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38302 (INTERNAL_MARK): Shift it here.
38304 2012-07-10 Marek Polacek <polacek@redhat.com>
38307 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38308 libc_cv_asm_global_directive with .globl.
38309 * configure: Regenerated.
38310 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38312 * sysdeps/i386/configure: Regenerated.
38313 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38315 * sysdeps/x86_64/configure: Regenerated.
38316 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38317 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38318 * elf/tst-unique2mod2.c: Likewise.
38319 * elf/tst-unique2mod1.c: Likewise.
38320 * elf/tst-unique1mod2.c: Likewise.
38321 * elf/tst-unique1mod1.c: Likewise.
38322 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38323 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38324 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38325 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38326 * sysdeps/mach/sysdep.h: Likewise.
38327 * sysdeps/i386/sysdep.h: Likewise.
38328 * sysdeps/i386/i386-mcount.S: Likewise.
38329 * sysdeps/x86_64/_mcount.S: Likewise.
38330 * sysdeps/x86_64/sysdep.h: Likewise.
38331 * sysdeps/sh/_mcount.S: Likewise.
38332 * sysdeps/sh/sysdep.h: Likewise.
38333 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38334 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38335 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38336 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38337 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38338 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38339 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38340 * locale/localeinfo.h: Likewise.
38341 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38342 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38344 2012-07-09 Roland McGrath <roland@hack.frob.com>
38347 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38349 * manual/message.texi (The Uniforum approach): Likewise.
38350 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38351 (glibc iconv Implementation): Likewise.
38353 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38356 * math/s_clog.c (__clog): Avoid scaling a value down where that
38357 could result in underflow.
38358 * math/s_clog10.c (__clog10): Likewise.
38359 * math/s_clog10f.c (__clog10f): Likewise.
38360 * math/s_clog10l.c (__clog10l): Likewise.
38361 * math/s_clogf.c (__clogf): Likewise.
38362 * math/s_clogl.c (__clogl): Likewise.
38363 * math/libm-test.inc (clog_test): Add more tests.
38364 (clog10_test): Likewise.
38365 * sysdeps/i386/fpu/libm-test-ulps: Update.
38366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38368 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38371 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38372 by 7 not 8 to examine high bit of fractional part.
38375 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38376 for call to __mcount_internal.
38377 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38378 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38379 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38381 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38384 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38385 approximation for values within 0x1p-13f of an odd multiple of
38387 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38388 exception. Add more tests.
38389 * sysdeps/i386/fpu/libm-test-ulps: Update.
38392 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38393 inputs and return -1 for them. Do not check for +Inf in case not
38394 reachable for +Inf.
38395 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38396 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38397 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38398 and return -1 for them. Do not check for +Inf in case not
38399 reachable for +Inf.
38400 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38402 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38403 and return -1 for them. Do not check for +Inf in case not
38404 reachable for +Inf.
38405 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38406 spurious underflow.
38407 * sysdeps/i386/fpu/libm-test-ulps: Update.
38408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38410 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38412 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38414 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38418 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38419 could result in spurious underflow. Scale down values above
38420 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38421 * math/s_csqrtf.c (__csqrtf): Likewise.
38422 * math/s_csqrtl.c (__csqrtl): Likewise.
38423 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38424 spurious underflow.
38425 * sysdeps/i386/fpu/libm-test-ulps: Update.
38426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38428 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38430 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38432 * catgets/xopen-msg.awk: New file.
38433 * catgets/xopen-msg.sed: Removed.
38435 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38437 * intl/po2test.awk: New file.
38438 * intl/po2test.sed: Removed.
38440 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38443 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38444 or multiply small sinh result by itself.
38445 * math/s_ctanf.c (__ctanf): Likewise.
38446 * math/s_ctanh.c (__ctanh): Likewise.
38447 * math/s_ctanhf.c (__ctanhf): Likewise.
38448 * math/s_ctanhl.c (__ctanhl): Likewise.
38449 * math/s_ctanl.c (__ctanl): Likewise.
38450 * math/libm-test.inc (ctan_test_tonearest): New function.
38451 (ctan_test_towardzero): Likewise.
38452 (ctan_test_downward): Likewise.
38453 (ctan_test_upward): Likewise.
38454 (ctanh_test_tonearest): Likewise.
38455 (ctanh_test_towardzero): Likewise.
38456 (ctanh_test_downward): Likewise.
38457 (ctanh_test_upward): Likewise.
38458 (main): Call these new functions.
38459 * sysdeps/i386/fpu/libm-test-ulps: Update.
38460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38462 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38464 * .gitignore: Delete /ports entry.
38466 2012-07-03 Andreas Jaeger <aj@suse.de>
38468 * po/bg.po: Update from translation team.
38469 * po/cs.po: Likewise.
38470 * po/de.po: Likewise.
38471 * po/hr.po: Likewise.
38472 * po/nl.pl: Likewise.
38473 * po/pl.po: Likewise.
38474 * po/vi.po: Likewise.
38476 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38478 * Makeconfig [!+link] (+link-before-libc): New variable.
38479 [!+link] (+link-after-libc): Likewise.
38480 [!+link] (+link-tests): Likewise.
38481 [!+link] (+link): Define in terms of $(+link-before-libc) and
38482 $(+link-after-libc).
38483 [!+link-static] (+link-static-before-libc): New variable.
38484 [!+link-static] (+link-static-after-libc): Likewise.
38485 [!+link-static] (+link-static-tests): Likewise.
38486 [!+link-static] (+link-static): Define in terms of
38487 $(+link-static-before-libc) and $(+link-static-after-libc).
38488 [build-shared] (link-libc-before-gnulib): New variable.
38489 [build-shared] (link-libc-tests): Likewise.
38490 [build-shared] (link-libc): Define in terms of
38491 $(link-libc-before-gnulib).
38492 [!build-shared] (link-libc-tests): New variable.
38493 (link-libc-static-tests): New variable.
38494 [!gnulib] (gnulib-arch): New variable.
38495 [!gnulib] (gnulib-tests): Likewise.
38496 [!gnulib] (static-gnulib-arch): Likewise.
38497 [!gnulib] (static-gnulib-tests): Likewise.
38498 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38499 Define with "=" instead of ":=".
38500 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38501 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38502 * Rules (binaries-all-notests): New variable.
38503 (binaries-all-tests): Likewise.
38504 (binaries-static-notests): Likewise.
38505 (binaries-static-tests): Likewise.
38506 (binaries-all): Define using $(binaries-all-notests) and
38507 $(binaries-all-tests).
38508 (binaries-static): Define using $(binaries-static-notests) and
38509 $(binaries-static-tests).
38510 (binaries-shared-tests): New variable.
38511 (binaries-shared-notests): Likewise.
38512 (binaries-shared): Remove variable.
38513 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38514 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38515 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38516 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38517 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38518 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38519 * elf/Makefile (sln-modules): New variable.
38520 (extra-objs): Add $(sln-modules:=.o).
38521 (ldconfig-modules): Add static-stubs.
38522 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38523 * elf/static-stubs.c: New file.
38526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38527 by 7 not 8 to examine high bit of fractional part. Use volatile
38528 variables when splitting into final array of floats if
38529 __FLT_EVAL_METHOD__ != 0.
38530 * math/libm-test.inc (cos_test): Add another test.
38531 (sin_test): Likewise.
38532 * sysdeps/i386/fpu/libm-test-ulps: Update.
38535 * math/libm-test.inc (cosh_test): Add more tests.
38537 * version.h (RELEASE): Set to "development".
38538 (VERSION): Set to "2.16.90".
38540 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38542 * NEWS: Update copyright. Remove last-updated date.
38543 Mention math library bug fixes and timezone data changes.
38544 * README: Mention GNU/Hurd, x32, and HPPA support status.
38546 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38548 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38550 2012-06-27 Andreas Jaeger <aj@suse.de>
38552 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38554 2012-06-25 Andreas Jaeger <aj@suse.de>
38556 * sysdeps/s390/fpu/libm-test-ulps: Update.
38558 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38559 Thomas Schwinge <thomas@codesourcery.com>
38561 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38562 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38563 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38566 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38568 * sysdeps/mach/start.c: Remove file.
38569 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38570 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38571 * sysdeps/sh/init-first.c: Likewise.
38573 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38574 registers for frame unwinding purposes, add CFI directives.
38575 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38576 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38577 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38580 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38581 __fortify_fail returning.
38582 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38584 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38585 sysdeps/sh/____longjmp_chk.S.
38586 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38587 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38588 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38589 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38591 * sysdeps/sh/abort-instr.h: New file.
38592 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38593 process in case exit returns.
38595 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38596 initialize the GOT register before use.
38598 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38599 calculation of ARGC > 4.
38601 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38602 meaningful names to some local labels.
38604 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38605 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38607 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38608 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38609 (__arch_compare_and_exchange_val_16_acq): Likewise.
38610 (__arch_compare_and_exchange_val_32_acq): Likewise.
38611 (atomic_exchange_and_add): Fix gUSA sequence.
38612 (atomic_add): Likewise.
38613 (atomic_add_negative): Likewise.
38614 (atomic_add_zero): Likewise.
38615 (atomic_bit_test_set): Likewise.
38617 2012-06-22 Andreas Schwab <schwab@redhat.com>
38620 * include/link.h (struct link_map): Add l_free_initfini.
38621 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38623 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38624 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38625 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38628 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38630 * configure.in: Use AC_LANG_SOURCE.
38631 * configure: Regenerate.
38633 2012-06-22 Roland McGrath <roland@hack.frob.com>
38635 * configure.in (libc_cv_localstatedir): New substituted variable.
38636 * configure: Regenerated.
38637 * config.make.in (localstatedir): New variable, substituted from
38638 libc_cv_localstatedir.
38639 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38640 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38641 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38642 * sysdeps/gnu/configure: Regenerated.
38644 2012-06-21 Jeff Law <law@redhat.com>
38647 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38648 free. Simplify list management for _LIBC case.
38650 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38653 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38654 Clear sign bit of 64-bit integer value before comparing against
38657 * sysdeps/mach/configure: Regenerated.
38659 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38662 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38664 2012-06-21 Jeff Law <law@redhat.com>
38667 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38668 uint16_t for elements in the "seen" array to avoid char overflows.
38669 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38670 * elf/dl-open.c (dl_open_worker): Likewise.
38672 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38674 * scripts/list-sources.sh: Scan PORTS for translations.
38675 * po/libc.pot: Regenerated.
38677 2012-06-21 Andreas Jaeger <aj@suse.de>
38680 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38682 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38683 * bits/byteswap-16.h (__bswap_16): Likewise.
38684 * bits/byteswap.h (__bswap_constant_16): Likewise.
38686 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38689 * sysdeps/i386/fpu_control.h: Removed.
38690 * sysdeps/x86_64/fpu_control.h: Moved to ...
38691 * sysdeps/x86/fpu_control.h: Here.
38693 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38694 (_FPU_SETCW): Likewise.
38696 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38699 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38700 * sysdeps/x86/fpu/bits/mathinline.h: This.
38701 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38705 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38706 functions if __x86_64__ is defined.
38708 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38710 * string/endian.h: Add !__ASSEMBLER__ condition for including
38711 conversion interfaces.
38713 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38716 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38717 of ABS(x) in calculating zero to negative powers other than odd
38719 * math/libm-test.inc (pow_test): Add more tests.
38721 2012-06-15 Andreas Jaeger <aj@suse.de>
38723 * manual/contrib.texi (Contributors): Update entry of Liubov
38724 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38727 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38729 * string/string.h: Add __wur to GNU version of strerror_r.
38731 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38734 * string/Makefile (tests): Add tst-strtok_r.
38735 * string/tst-strtok_r.c: New file.
38736 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38737 RAX_LP/RDX_LP on SAVE_PTR.
38739 2012-06-14 Roland McGrath <roland@hack.frob.com>
38741 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38743 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38745 * libm_test.inc (csqrt_test): Allow more spurious underflow
38747 (j0_test): Likewise.
38748 (j1_test): Likewise.
38749 (y0_test): Likewise.
38750 (y1_test): Likewise.
38752 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38754 * po/Makefile (libc.pot): Use UTF-8 charset.
38756 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38759 Suppress sign-conversion warning from FD_SET.
38760 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38761 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38762 not unsigned long int.
38763 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38765 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38769 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38770 __extern_always_inline instead of __extern_inline.
38771 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38772 (__signbit): Likewise.
38773 (__signbitl): Support C++ namespace.
38774 (lrintf): New inline function.
38776 (llrintf): Likewise.
38777 (llrint): Likewise.
38787 (floorf): Likewise.
38788 (nearbyint): Likewise.
38789 (nearbyintf): Likewise.
38791 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38793 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38794 non-default versions.
38796 2012-06-11 Roland McGrath <roland@hack.frob.com>
38799 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38801 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38803 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38804 (FE_UPWARD, FE_DOWNWARD): Don't define.
38805 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38806 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38808 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38810 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38811 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38813 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38815 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38817 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38818 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38820 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38823 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38824 * sysdeps/i386/fpu/Implies: New file.
38825 * sysdeps/x86_64/fpu/Implies: Likewise.
38826 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38827 * sysdeps/x86/fpu/bits/fenv.h: This.
38829 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38832 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38835 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38836 character 0xffff that matches the last element of the
38839 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38841 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38844 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38846 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38847 values higher than 25.6283.
38849 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38851 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38852 subnormal exponent extraction and add some __builtin_expect.
38853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38854 Fix for subnormal mantissa calculation.
38856 2012-06-04 Mike Frysinger <vapier@gentoo.org>
38858 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38859 cpu2 is -1 and errno is not ENOSYS.
38861 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38864 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38865 * sysdeps/x86/bits/string.h: This.
38866 * sysdeps/x86_64/bits/string.h: Removed.
38868 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38869 if not compiling for x86-64, but compiling for >= i486.
38871 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38872 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38874 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38875 New macro from Linux kernel 3.4.0.
38876 (FP_XSTATE_MAGIC2): Likewise.
38877 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38878 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38879 (struct _fpx_sw_bytes): New struct.
38880 (struct _xsave_hdr): Likewise.
38881 (struct _ymmh_state): Likewise.
38882 (struct _xstate): Likewise.
38884 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38885 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38886 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38887 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38888 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38889 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38891 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38892 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38893 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38894 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38895 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38896 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38898 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38901 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38902 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38903 (sysdep_headers): Include sys/platform/ppc.h.
38904 * sysdeps/powerpc/test-gettimebase.c: Test for
38905 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38906 * manual/Makefile (appendices): Include platform.texi.
38907 * manual/contrib.texi (Contributors): Update @node pointers.
38908 * manual/maint.texi (Maintenance): Likewise.
38909 (Platform): New node.
38910 * manual/platform.texi: New file. Document the new features.
38912 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38913 Jakub Jelinek <jakub@redhat.com>
38916 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38917 where __builtin_expect is unavailable.
38919 2012-06-03 David S. Miller <davem@davemloft.net>
38921 * stdlib/longlong.h: Updated from GCC.
38923 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38926 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38927 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38930 (GLIBC_2.16): Likewise.
38932 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38934 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38936 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38939 (default-abi): New variable.
38940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38941 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38943 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38945 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38947 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38950 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38951 definition. Document in comment.
38953 2012-06-01 David S. Miller <davem@davemloft.net>
38955 * stdlib/longlong.h: Updated from GCC.
38957 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38960 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38961 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38962 sys/debugreg.h sys/io.h here.
38963 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38964 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38966 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38967 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38968 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38969 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38970 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38971 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38973 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38974 Define only if __x86_64__ is defined.
38976 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38979 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38980 Use int64_t for variable i.
38981 * math/libm-test.inc (fmod_test): Add more tests.
38983 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38984 z computation is not scheduled after fetestexcept.
38985 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38986 Use math_force_eval instead of asm to ensure calculation scheduled
38987 before exception test.
38988 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38989 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38991 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38994 computation is not scheduled after fetestexcept.
38996 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38999 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39000 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39002 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39004 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39005 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39007 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39010 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39012 (__WCHAR_MIN): Support __WORDSIZE == 64.
39013 (__WCHAR_MAX): Likewise.
39015 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39016 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39019 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39020 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39023 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39024 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39026 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39027 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39029 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39030 Defined to 1 if __x86_64__ isn't defined.
39031 (_STAT_VER_LINUX_OLD): New.
39032 (st_atime): Remove duplicate.
39033 (st_mtime): Likewise.
39034 (st_ctime): Likewise.
39036 2012-05-31 David S. Miller <davem@davemloft.net>
39038 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39041 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39043 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39047 * elf/dl-reloc.c: Include <_itoa.h>.
39048 (_dl_reloc_bad_type): Remove use of INTUSE.
39049 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39050 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39051 * stdio-common/psiginfo.c (psiginfo): Likewise.
39052 * stdio-common/psignal.c (psignal): Likewise.
39053 * string/strsignal.c (strsignal): Likewise.
39054 * include/signal.h (_sys_siglist): Declare hidden proto.
39055 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39056 INTVARDEF with libc_hidden_data_def.
39057 * stdio-common/itoa-udigits.c: Likewise.
39058 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39059 (_itoa_lower_digits_internal): Remove declaration.
39060 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39061 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39062 (_sys_sigabbrev_internal): Remove aliases.
39063 (_sys_siglist): Define hidden alias.
39065 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39070 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39073 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39074 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39076 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39077 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39078 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39079 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39081 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39083 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39084 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39085 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39087 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39095 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39096 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39097 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39099 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39100 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39101 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39102 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39103 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39104 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39106 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39107 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39109 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39110 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39112 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39113 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39114 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39116 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39117 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39119 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39121 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39122 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39123 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39125 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39127 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39129 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39131 * math/math.h (M_El): Use two more decimal places.
39132 (M_LOG2El): Likewise.
39133 (M_LOG10El): Likewise.
39134 (M_LN2l): Likewise.
39135 (M_LN10l): Likewise.
39137 (M_PI_2l): Likewise.
39138 (M_PI_4l): Likewise.
39139 (M_1_PIl): Likewise.
39140 (M_2_PIl): Likewise.
39141 (M_2_SQRTPIl): Likewise.
39142 (M_SQRT2l): Likewise.
39143 (M_SQRT1_2l): Likewise.
39145 2012-05-31 David S. Miller <davem@davemloft.net>
39147 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39148 values between float registers.
39149 * sysdeps/sparc/sparc64/memset.S: Likewise.
39150 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39152 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39154 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39155 -D_FORTIFY_SOURCE=1.
39156 (CPPFLAGS-tst-longjmp_chk.c): Define.
39157 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39158 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39159 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39160 CFLAGS-tst-wchar-h.c.
39162 2012-05-31 Marek Polacek <polacek@redhat.com>
39165 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39166 __endmntent_internal): Remove declaration.
39167 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39168 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39169 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39171 2012-05-30 David S. Miller <davem@davemloft.net>
39173 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39174 (___Q_simulate_exceptions): Use real FP ops rather than writing
39176 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39179 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39182 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39183 * sysdeps/x86/bits/xtitypes.h: This.
39185 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39186 * sysdeps/x86/bits/wordsize.h: This.
39188 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39189 * sysdeps/x86/bits/huge_vall.h: This.
39191 * sysdeps/i386/bits/select.h: Removed.
39192 * sysdeps/x86_64/bits/select.h: Renamed to ...
39193 * sysdeps/x86/bits/select.h: This.
39195 * sysdeps/i386/bits/setjmp.h: Removed.
39196 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39197 * sysdeps/x86/bits/setjmp.h: This.
39199 * sysdeps/i386/bits/mathdef.h: Removed.
39200 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39201 * sysdeps/x86/bits/mathdef.h: This.
39203 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39206 * include/sys/socket.h (__connect_internal)
39207 (__libc_sa_len_internal): Remove declaration.
39208 (__connect, __libc_sa_len): Declare hidden_proto.
39209 (SA_LEN): Remove use of INTUSE.
39210 * socket/connect.c: Add libc_hidden_def.
39211 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39212 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39213 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39215 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39216 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39217 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39218 of adding _internal alias.
39220 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39223 * sysdeps/i386/bits/link.h: Removed.
39224 * sysdeps/i386/bits/linkmap.h: Likewise.
39225 * sysdeps/x86_64/bits/link.h: Renamed to ...
39226 * sysdeps/x86/bits/link.h: This.
39227 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39228 * sysdeps/x86/bits/linkmap.h: This.
39230 * sysdeps/i386/bits/endian.h: Removed.
39231 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39232 * sysdeps/x86/bits/endian.h: This.
39234 * sysdeps/i386/bits/byteswap.h: Removed.
39235 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39236 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39237 * sysdeps/x86/bits/byteswap.h: This.
39238 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39239 * sysdeps/x86/bits/byteswap-16.h: This.
39240 * sysdeps/i386/Implies: Add x86.
39241 * sysdeps/x86_64/Implies: Likewise.
39243 2012-05-30 David S. Miller <davem@davemloft.net>
39245 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39246 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39247 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39248 (FP_TRAPPING_EXCEPTIONS): Define.
39249 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39250 (FP_TRAPPING_EXCEPTIONS): Define.
39251 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39252 subnormals only when inexact has been signalled or underflow
39253 exceptions are enabled.
39254 (_FP_PACK_CANONICAL): Likewise.
39256 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39259 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39260 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39262 2012-05-30 Richard Henderson <rth@twiddle.net>
39264 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39265 with #ifndef NOT_IN_libc.
39267 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39268 marked to avoid plt entry.
39270 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39273 * Makeconfig (default-abi): New macro.
39274 (abi-includes): Likewise.
39275 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39276 $(abi-$(default-abi)-lib-soname) for soname if defined.
39277 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39279 * Makefile (installed-stubs): Likewise.
39280 * include/stubs-biarch.h: Removed.
39281 * scripts/lib-names.awk: Only handle one library at a time.
39282 * scripts/soversions.awk: Remove WORDSIZE support.
39283 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39285 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39287 (syscall-list-default-condition): Likewise.
39288 (syscall-list-default-condition): Likewise.
39289 (syscall-list-includes): Likewise.
39290 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39291 syscall-list-* with abi-*. Handle undefined abi-variants.
39292 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39293 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39294 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39295 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39296 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39297 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39299 (syscall-list-32-options): Likewise.
39300 (syscall-list-32-condition): Likewise.
39301 (syscall-list-64-options): Likewise.
39302 (syscall-list-64-condition): Likewise.
39303 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39305 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39308 (abi-64-ld-soname): New macro.
39309 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39310 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39313 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39314 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39316 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39318 * sysdeps/unix/sysv/linux/kernel-features.h
39319 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39320 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39321 include <kernel-features.h>.
39322 [!__NR_ftruncate64]: Remove conditional code.
39323 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39324 [__NR_ftruncate64]: Make code unconditional.
39325 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39326 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39327 include <kernel-features.h>.
39328 [!__NR_ftruncate64]: Remove conditional code.
39329 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39330 [__NR_ftruncate64]: Make code unconditional.
39331 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39333 include <kernel-features.h>.
39334 [!__NR_ftruncate64]: Remove conditional code.
39335 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39336 [__NR_ftruncate64]: Make code unconditional.
39337 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39339 include <kernel-features.h>.
39340 [!__NR_ftruncate64]: Remove conditional code.
39341 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39342 [__NR_ftruncate64]: Make code unconditional.
39343 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39345 * configure.in (libc_cv_fpie): Weaken to a compile test using
39346 LIBC_TRY_CC_OPTION.
39347 * configure: Regenerated.
39349 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39364 2012-05-27 David S. Miller <davem@davemloft.net>
39366 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39368 (__Q_simulate_exceptions): Return void. Change to simulate
39369 exceptions by writing into the %fsr.
39370 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39371 (__Qp_handle_exceptions): Likewise.
39373 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39374 __Qp_handle_exceptions.
39375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39376 __Qp_handle_exceptions.
39377 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39378 as unused and give dummy FP_RND_NEAREST initializer.
39379 (FP_INHIBIT_RESULTS): Define.
39380 (___Q_simulate_exceptions): Update declaration.
39381 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39383 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39384 as unused and give dummy FP_RND_NEAREST initializer.
39385 (__Qp_handle_exceptions): Update declaration.
39386 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39389 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39391 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39392 the temporary FPU control word.
39393 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39394 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39395 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39396 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39397 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39398 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39399 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39400 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39401 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39402 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39403 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39405 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39407 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39410 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39412 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39413 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39414 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39415 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39417 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39418 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39421 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39423 * po/h.po: Update from translation team.
39425 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39427 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39429 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39430 handling of denormals.
39431 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39432 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39433 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39434 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39435 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39437 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39440 2012-05-26 Marek Polacek <polacek@redhat.com>
39443 * math/libm-test.inc (fma_test): Don't always expect underflow
39446 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39449 * elf/tst-execstack.c: Include stackinfo.h.
39450 (do_test): Adjust test case to ensure that pthread_getattr_np
39451 behaviour remains the same after marking stack executable.
39453 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39455 * sysdeps/unix/sysv/linux/kernel-features.h
39456 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39457 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39459 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39460 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39461 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39463 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39464 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39466 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39468 * configure.in: Define the default includes to being none.
39469 * configure: Regenerated.
39471 2012-05-25 Roland McGrath <roland@hack.frob.com>
39473 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39474 * sysdeps/x86_64/setjmp.S: Likewise.
39475 * sysdeps/i386/bsd-setjmp.S: Likewise.
39476 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39477 * sysdeps/i386/setjmp.S: Likewise.
39478 * sysdeps/i386/__longjmp.S: Likewise.
39479 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39480 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39482 * include/stap-probe.h: New file.
39483 * configure.in: Handle --enable-systemtap.
39484 * configure: Regenerated.
39485 * config.h.in (USE_STAP_PROBE): New #undef.
39486 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39487 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39488 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39490 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39493 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39494 to 2.4.0 where earlier.
39495 * sysdeps/unix/sysv/linux/configure: Regenerated.
39496 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39497 <kernel-features.h>.
39498 [__ASSUME_32BITUIDS]: Make code unconditional.
39499 [!__ASSUME_32BITUIDS]: Remove conditional code.
39500 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39501 <kernel-features.h>.
39502 [__ASSUME_32BITUIDS]: Make code unconditional.
39503 [!__ASSUME_32BITUIDS]: Remove conditional code.
39504 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39505 [__ASSUME_32BITUIDS]: Make code unconditional.
39506 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39507 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39508 <kernel-features.h>.
39509 [__ASSUME_32BITUIDS]: Make code unconditional.
39510 [!__ASSUME_32BITUIDS]: Remove conditional code.
39511 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39512 <kernel-features.h>.
39513 [__ASSUME_32BITUIDS]: Make code unconditional.
39514 [!__ASSUME_32BITUIDS]: Remove conditional code.
39515 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39516 <kernel-features.h>.
39517 [__ASSUME_32BITUIDS]: Make code unconditional.
39518 [!__ASSUME_32BITUIDS]: Remove conditional code.
39519 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39520 <kernel-features.h>.
39521 [__ASSUME_32BITUIDS]: Make code unconditional.
39522 [!__ASSUME_32BITUIDS]: Remove conditional code.
39523 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39524 <kernel-features.h>.
39525 [__ASSUME_32BITUIDS]: Make code unconditional.
39526 [!__ASSUME_32BITUIDS]: Remove conditional code.
39527 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39528 <kernel-features.h>.
39529 [__ASSUME_32BITUIDS]: Make code unconditional.
39530 [!__ASSUME_32BITUIDS]: Remove conditional code.
39531 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39532 <kernel-features.h>.
39533 [__ASSUME_32BITUIDS]: Make code unconditional.
39534 [!__ASSUME_32BITUIDS]: Remove conditional code.
39535 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39536 <kernel-features.h>.
39537 [__ASSUME_32BITUIDS]: Make code unconditional.
39538 [!__ASSUME_32BITUIDS]: Remove conditional code.
39539 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39540 <kernel-features.h>.
39541 [__ASSUME_32BITUIDS]: Make code unconditional.
39542 [!__ASSUME_32BITUIDS]: Remove conditional code.
39543 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39544 <kernel-features.h>.
39545 [__ASSUME_32BITUIDS]: Make code unconditional.
39546 [!__ASSUME_32BITUIDS]: Remove conditional code.
39547 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39548 <kernel-features.h>.
39549 [__NR_setresgid] (__setresgid): Do not declare.
39550 [__ASSUME_32BITUIDS]: Make code unconditional.
39551 [!__ASSUME_32BITUIDS]: Remove conditional code.
39552 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39553 <kernel-features.h>.
39554 [__NR_setresuid] (__setresuid): Do not declare.
39555 [__ASSUME_32BITUIDS]: Make code unconditional.
39556 [!__ASSUME_32BITUIDS]: Remove conditional code.
39557 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39558 <kernel-features.h>.
39559 [__ASSUME_32BITUIDS]: Make code unconditional.
39560 [!__ASSUME_32BITUIDS]: Remove conditional code.
39561 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39562 <kernel-features.h>.
39563 [__ASSUME_32BITUIDS]: Make code unconditional.
39564 [!__ASSUME_32BITUIDS]: Remove conditional code.
39565 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39566 <kernel-features.h>.
39567 [__ASSUME_32BITUIDS]: Make code unconditional.
39568 [!__ASSUME_32BITUIDS]: Remove conditional code.
39569 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39570 <kernel-features.h>.
39571 [__ASSUME_32BITUIDS]: Make code unconditional.
39572 [!__ASSUME_32BITUIDS]: Remove conditional code.
39573 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39574 <kernel-features.h>.
39575 [__ASSUME_32BITUIDS]: Make code unconditional.
39576 [!__ASSUME_32BITUIDS]: Remove conditional code.
39577 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39578 <kernel-features.h>.
39579 [__ASSUME_32BITUIDS]: Make code unconditional.
39580 [!__ASSUME_32BITUIDS]: Remove conditional code.
39581 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39582 <kernel-features.h>.
39583 [__ASSUME_32BITUIDS]: Make code unconditional.
39584 [!__ASSUME_32BITUIDS]: Remove conditional code.
39585 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39586 <kernel-features.h>.
39587 [__ASSUME_32BITUIDS]: Make code unconditional.
39588 [!__ASSUME_32BITUIDS]: Remove conditional code.
39589 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39590 <kernel-features.h>.
39591 [__ASSUME_32BITUIDS]: Make code unconditional.
39592 [!__ASSUME_32BITUIDS]: Remove conditional code.
39593 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39594 <kernel-features.h>.
39595 [__ASSUME_32BITUIDS]: Make code unconditional.
39596 [!__ASSUME_32BITUIDS]: Remove conditional code.
39597 * sysdeps/unix/sysv/linux/kernel-features.h
39598 (__ASSUME_SETRESUID_SYSCALL): Remove.
39599 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39600 (__ASSUME_32BITUIDS): Likewise.
39601 (__ASSUME_LDT_WORKS): Likewise.
39602 (__ASSUME_O_DIRECTORY): Likewise.
39603 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39604 architecture but not kernel version.
39605 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39606 (__ASSUME_MMAP2_SYSCALL): Likewise.
39607 (__ASSUME_STAT64_SYSCALL): Likewise.
39608 (__ASSUME_IPC64): Likewise.
39609 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39610 <kernel-features.h>.
39611 [__ASSUME_32BITUIDS]: Make code unconditional.
39612 [!__ASSUME_32BITUIDS]: Remove conditional code.
39613 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39614 <kernel-features.h>.
39615 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39616 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39617 132096]: Remove conditional code.
39618 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39619 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39620 <kernel-features.h>.
39621 [__ASSUME_32BITUIDS]: Make code unconditional.
39622 [!__ASSUME_32BITUIDS]: Remove conditional code.
39623 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39624 <kernel-features.h>.
39625 [__ASSUME_32BITUIDS]: Make code unconditional.
39626 [!__ASSUME_32BITUIDS]: Remove conditional code.
39627 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39628 <kernel-features.h>.
39629 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39631 (__setresgid): Do not declare.
39632 [__ASSUME_32BITUIDS]: Make code unconditional.
39633 [!__ASSUME_32BITUIDS]: Remove conditional code.
39634 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39635 <kernel-features.h>.
39636 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39638 (__setresuid): Do not declare.
39639 [__ASSUME_32BITUIDS]: Make code unconditional.
39640 [!__ASSUME_32BITUIDS]: Remove conditional code.
39641 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39642 <kernel-features.h>.
39643 [__ASSUME_32BITUIDS]: Make code unconditional.
39644 [!__ASSUME_32BITUIDS]: Remove conditional code.
39645 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39646 <kernel-features.h>.
39647 [__ASSUME_32BITUIDS]: Make code unconditional.
39648 [!__ASSUME_32BITUIDS]: Remove conditional code.
39650 2012-05-25 Richard Henderson <rth@twiddle.net>
39652 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39653 dl_hwcap to ifunc resolver.
39654 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39656 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39657 dl_hwcap to ifunc resolver.
39658 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39660 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39663 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39664 for |x| <= 2**-26, not 2**-57.
39665 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39668 2012-05-24 Jeff Law <law@redhat.com>
39670 * stdio-common/Makefile (tests): Add bug25.
39671 * stdio-common/bug25.c: New test.
39673 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39676 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39677 multiple of MALLOC_ALIGNMENT in size.
39678 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39680 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39682 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39684 (FILENAME_MAX): Use macro-int-constant.
39685 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39686 (_IOFBF): Use macro-int-constant.
39687 (_IOLBF): Likewise.
39688 (_IONBF): Likewise.
39689 (SEEK_CUR): Likewise.
39690 (SEEK_END): Likewise.
39691 (SEEK_SET): Likewise.
39692 (TMP_MAX): Likewise.
39693 (EOF): Use macro-int-constant. Require < 0.
39694 (NULL): Use macro-constant. Require == 0.
39695 (stdin): Require type to be FILE *.
39696 (stdout): Likewise.
39697 (stderr): Likewise.
39698 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39699 macro-int-constant.
39700 (EXIT_SUCCESS): Likewise.
39701 (NULL): Use macro-constant. Require == 0.
39702 (RAND_MAX): Use macro-int-constant.
39703 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39704 [C99-based standards] (strtof): Require function.
39705 [C99-based standards] (strtold): Likewise.
39706 [C99-based standards] (strtoll): Likewise.
39707 [C99-based standards] (strtoull): Likewise.
39708 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39709 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39710 [ISO || ISO99 || ISO11] (math.h): Likewise.
39711 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39712 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39713 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39715 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39718 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39719 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39720 * intl/dgettext.c (DCGETTEXT): Likewise.
39721 * intl/gettext.c (DCGETTEXT): Likewise.
39722 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39723 * posix/regex_internal.h (gettext): Likewise.
39724 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39725 Remove declaration.
39726 * include/argz.h (__argz_count_internal)
39727 (__argz_stringify_internal): Remove declaration.
39728 (__argz_count, __argz_stringify): Declare hidden proto.
39729 * intl/dcgettext.c: Remove use of INTDEF.
39730 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39731 * string/argz-stringify.c: Likewise.
39732 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39733 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39734 Declare hidden proto.
39735 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39736 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39737 Declare hidden proto.
39738 * include/stdio.h (__asprintf_internal): Don't declare.
39739 (__asprintf): Don't define as macro. Declare hidden proto.
39740 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39741 (__fsetlocking): Declare hidden proto.
39742 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39743 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39745 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39746 (_IO_setlinebuf): Remove use of INTUSE.
39747 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39748 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39749 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39750 Remove declaration.
39751 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39752 (_IO_do_flush): Remove use of INTUSE.
39753 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39754 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39755 (_IO_adjust_column, _IO_least_wmarker)
39756 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39757 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39758 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39759 (_IO_default_doallocate, _IO_wdefault_doallocate)
39760 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39761 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39762 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39763 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39764 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39765 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39766 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39767 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39768 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39769 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39770 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39771 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39772 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39774 (_IO_flush_all_internal, _IO_adjust_column_internal)
39775 (_IO_default_uflow_internal, _IO_default_finish_internal)
39776 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39777 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39778 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39779 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39780 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39781 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39782 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39783 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39784 (_IO_file_close_internal, _IO_file_close_it_internal)
39785 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39786 (_IO_file_init_internal, _IO_file_attach_internal)
39787 (_IO_file_fopen_internal, _IO_file_read_internal)
39788 (_IO_file_sync_internal, _IO_file_seek_internal)
39789 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39790 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39791 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39792 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39793 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39794 (_IO_list_all_internal, _IO_link_in_internal)
39795 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39796 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39797 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39798 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39799 (_IO_do_write_internal, _IO_padn_internal)
39800 (_IO_getline_info_internal, _IO_getline_internal)
39801 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39802 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39803 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39804 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39805 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39806 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39807 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39808 with libc_hidden_ver, remove use of INTUSE.
39809 * libio/genops.c: Likewise.
39810 * libio/freopen.c: Likewise.
39811 * libio/freopen64.c: Likewise.
39812 * libio/iofclose.c: Likewise.
39813 * libio/iofdopen.c: Likewise.
39814 * libio/iofflush.c: Likewise.
39815 * libio/iofflush_u.c: Likewise.
39816 * libio/iofgets.c: Likewise.
39817 * libio/iofgets_u.c: Likewise.
39818 * libio/iofopen.c: Likewise.
39819 * libio/iofopncook.c: Likewise.
39820 * libio/iofread.c: Likewise.
39821 * libio/iofread_u.c: Likewise.
39822 * libio/ioftell.c: Likewise.
39823 * libio/iofwrite.c: Likewise.
39824 * libio/iogetline.c: Likewise.
39825 * libio/iogets.c: Likewise.
39826 * libio/iogetwline.c: Likewise.
39827 * libio/iopadn.c: Likewise.
39828 * libio/iopopen.c: Likewise.
39829 * libio/ioseekoff.c: Likewise.
39830 * libio/ioseekpos.c: Likewise.
39831 * libio/iosetbuffer.c: Likewise.
39832 * libio/iosetvbuf.c: Likewise.
39833 * libio/ioungetc.c: Likewise.
39834 * libio/ioungetwc.c: Likewise.
39835 * libio/iovdprintf.c: Likewise.
39836 * libio/iovsprintf.c: Likewise.
39837 * libio/iovsscanf.c: Likewise.
39838 * libio/memstream.c: Likewise.
39839 * libio/obprintf.c: Likewise.
39840 * libio/oldfileops.c: Likewise.
39841 * libio/oldiofclose.c: Likewise.
39842 * libio/oldiofdopen.c: Likewise.
39843 * libio/oldiofopen.c: Likewise.
39844 * libio/oldiopopen.c: Likewise.
39845 * libio/oldstdfiles.c: Likewise.
39846 * libio/putc.c: Likewise.
39847 * libio/setbuf.c: Likewise.
39848 * libio/setlinebuf.c: Likewise.
39849 * libio/stdfiles.c: Likewise.
39850 * libio/strops.c: Likewise.
39851 * libio/vasprintf.c: Likewise.
39852 * libio/vscanf.c: Likewise.
39853 * libio/vsnprintf.c: Likewise.
39854 * libio/vswprintf.c: Likewise.
39855 * libio/wfiledoalloc.c: Likewise.
39856 * libio/wfileops.c: Likewise.
39857 * libio/wgenops.c: Likewise.
39858 * libio/wmemstream.c: Likewise.
39859 * libio/wstrops.c: Likewise.
39860 * libio/__fpurge.c: Likewise.
39861 * libio/__fsetlocking.c: Likewise.
39862 * assert/assert.c: Likewise.
39863 * debug/fgets_chk.c: Likewise.
39864 * debug/fgets_u_chk.c: Likewise.
39865 * debug/fread_chk.c: Likewise.
39866 * debug/fread_u_chk.c: Likewise.
39867 * debug/gets_chk.c: Likewise.
39868 * debug/obprintf_chk.c: Likewise.
39869 * debug/vasprintf_chk.c: Likewise.
39870 * debug/vdprintf_chk.c: Likewise.
39871 * debug/vsnprintf_chk.c: Likewise.
39872 * debug/vsprintf_chk.c: Likewise.
39873 * malloc/mtrace.c: Likewise.
39874 * misc/error.c: Likewise.
39875 * misc/syslog.c: Likewise.
39876 * stdio-common/asprintf.c: Likewise.
39877 * stdio-common/fxprintf.c: Likewise.
39878 * stdio-common/getw.c: Likewise.
39879 * stdio-common/isoc99_fscanf.c: Likewise.
39880 * stdio-common/isoc99_scanf.c: Likewise.
39881 * stdio-common/isoc99_vfscanf.c: Likewise.
39882 * stdio-common/isoc99_vscanf.c: Likewise.
39883 * stdio-common/isoc99_vsscanf.c: Likewise.
39884 * stdio-common/printf-prs.c: Likewise.
39885 * stdio-common/printf_fp.c: Likewise.
39886 * stdio-common/printf_fphex.c: Likewise.
39887 * stdio-common/printf_size.c: Likewise.
39888 * stdio-common/putw.c: Likewise.
39889 * stdio-common/scanf.c: Likewise.
39890 * stdio-common/sprintf.c: Likewise.
39891 * stdio-common/tmpfile.c: Likewise.
39892 * stdio-common/vfprintf.c: Likewise.
39893 * stdio-common/vfscanf.c: Likewise.
39894 * stdlib/strfmon_l.c: Likewise.
39895 * sunrpc/openchild.c: Likewise.
39896 * sunrpc/xdr_stdio.c: Likewise.
39897 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39898 * sysdeps/mach/hurd/tmpfile.c: Likewise.
39900 2012-05-24 Roland McGrath <roland@hack.frob.com>
39902 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39904 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39905 in the third column, to generate for the shared library an IFUNC
39906 that uses _dl_vdso_vsym.
39907 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39908 * Makeconfig (object-suffixes-noshared): New variable.
39910 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39911 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39912 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39913 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39916 * include/sys/time.h (__gettimeofday): Remove macro.
39917 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39918 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39920 (__gettimeofday): Add libc_hidden_def.
39921 (gettimeofday): Add libc_hidden_weak.
39922 * sysdeps/mach/gettimeofday.c: Likewise.
39923 * sysdeps/posix/gettimeofday.c: Likewise.
39924 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39925 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39926 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39927 (__gettimeofday_internal): Remove strong_alias.
39928 (__gettimeofday): Add libc_hidden_def.
39929 (gettimeofday): Add libc_hidden_weak.
39930 * sysdeps/unix/syscalls.list (gettimeofday):
39931 Remove __gettimeofday_internal alias.
39933 2012-05-24 Daniel Jacobowitz <drow@false.org>
39934 H.J. Lu <hongjiu.lu@intel.com>
39937 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39938 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39939 (largebin_index_32_big): New.
39940 (largebin_index): Use it for 16-byte alignment.
39941 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39942 correction with front_misalign.
39944 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39972 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39973 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39975 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39979 * math/libm-test.inc (exp_test): Add test from bug 14036.
39980 (pow_test): Add test from bug 10846.
39982 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39984 (special_function): Do not include flags in test name.
39985 (parse_args): Likewise.
39986 * sysdeps/i386/fpu/libm-test-ulps: Update.
39987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39988 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39989 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39992 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39994 * math/libm-test.inc ("Philosophy"): Update comment about
39996 (UNDERFLOW_EXCEPTION): New macro.
39997 (UNDERFLOW_EXCEPTION_OK): Likewise.
39998 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39999 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40000 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40001 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40002 (INVALID_EXCEPTION_OK): Update value.
40003 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40004 (OVERFLOW_EXCEPTION_OK): Likewise.
40005 (IGNORE_ZERO_INF_SIGN): Likewise.
40006 (test_exceptions): Handle underflow exceptions.
40007 (acos_test): Update for underflow exception expectations.
40008 (cexp_test): Likewise.
40009 (clog_test): Likewise.
40010 (clog10_test): Likewise.
40011 (csqrt_test): Likewise.
40012 (ctan_test): Likewise.
40013 (ctanh_test): Likewise.
40014 (exp_test): Likewise.
40015 (exp10_test): Likewise.
40016 (exp2_test): Likewise.
40017 (expm1_test): Likewise.
40018 (fma_test): Likewise.
40019 (j0_test): Likewise.
40020 (jn_test): Likewise.
40021 (nexttoward_test): Likewise.
40022 (pow_test): Likewise.
40023 (scalbn_test): Likewise.
40024 (scalbln_test): Likewise.
40025 (tan_test): Likewise.
40026 (y1_test): Likewise.
40027 * sysdeps/i386/fpu/libm-test-ulps: Update.
40028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40030 2012-05-23 David S. Miller <davem@davemloft.net>
40032 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40033 (__libc_sigaction): Remove unused local variables.
40035 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40037 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40039 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40041 mktime: avoid signed integer overflow
40042 * time/mktime.c (__mktime_internal): Do not mishandle the case
40043 where diff == INT_MIN.
40045 mktime: simplify computation of average
40046 * time/mktime.c (ranged_convert): Use new time_t_avg function
40047 instead of rolling our own (probably-slower) code.
40049 mktime: do not assume signed right shift propagates sign bit
40050 * time/mktime.c (isdst_differ): New static function.
40051 (__mktime_internal): No need to normalize tm_isdst now.
40052 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40055 mktime: merge another wrapv change from gnulib
40056 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40057 from some compilers.
40059 mktime: remove incorrect attempt at unusual arithmetics
40060 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40061 The code didn't really work on such machines anyway.
40062 (TYPE_MINIMUM): Assume two's complement.
40063 (twos_complement_arithmetic): Verify that long_int and time_t
40064 are two's complement (or unsigned, in the latter case).
40066 mktime: check signed shifts on long_int and time_t, too
40067 * time/mktime.c (SHR): Check that shifts work as desired
40068 on the types long_int and time_t too, as SHR is used on
40071 mktime: do not assume 'long' is wide enough
40072 * time/mktime.c (verify): Move decl up.
40073 (long_int): New type.
40074 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40075 to remove assumption in the code that 'long' is wide enough to
40076 store year values. This assumption is not true on x32 and on
40077 some non-glibc platforms.
40079 mktime: merge wrapv change from gnulib
40080 * time/mktime.c (WRAPV): New macro.
40081 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40082 (guess_time_tm, __mktime_internal): Do not assume that signed
40083 integer overflow wraps around; modern compilers generate code
40084 where this assumption is no longer valid.
40086 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40088 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40089 Replace "jmp L(pseudo_end)" with "ret".
40090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40093 2012-05-23 Andreas Jaeger <aj@suse.de>
40095 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40096 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40098 2012-05-23 Andreas Jaeger <aj@suse.de>
40099 Maximilian Attems <max@stro.at>
40101 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40104 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40106 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40107 code so that pseudo_end is just ret and the stack pointer is
40108 correct also for static library in error case.
40110 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40112 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40113 move to syscalls.list.
40114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40119 * manual/install.texi (Running make install): Do not mention Linux
40120 kernel version for which pt_chown is not needed.
40121 (Linux): Do not mention problems with nscd with 2.0 kernels.
40122 * INSTALL: Regenerated.
40124 2012-05-23 Andreas Jaeger <aj@suse.de>
40126 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40127 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40129 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40131 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40133 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40135 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40137 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40139 * sysdeps/unix/sysv/linux/bits/in.h
40140 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40142 2012-05-22 Roland McGrath <roland@hack.frob.com>
40144 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40145 (PREPARE_VERSION): Just use assert instead, it will be elided
40146 under [NDEBUG] anyway.
40148 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40150 * sysdeps/unix/sysv/linux/Makefile: Include
40151 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40152 (sysdep_routines): Remove sysctl.
40153 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40154 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40155 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40156 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40157 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40159 2012-05-22 Andreas Jaeger <aj@suse.de>
40161 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40162 that pseudo_end is just ret and the stack pointer is correct also
40163 for static library in error case.
40165 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40168 * nss/nsswitch.c (defconfig_entries): New variable.
40169 (__nss_database_lookup): Don't leak defconfig entries.
40170 (nss_parse_service_list): Don't leak on error paths.
40171 (free_database_entries): New function.
40172 (free_defconfig): New function.
40173 (free_mem): Move common code to free_database_entries.
40175 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40177 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40179 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40181 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40182 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40185 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40186 (INTERNAL_SYSCALL_TYPES): Likewise.
40187 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40188 (LOAD_REGS_TYPES_[1-6]): Likewise.
40189 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40190 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40192 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40194 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40195 copysignl for GLIBC_2_0.
40196 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40197 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40198 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40199 logbl for GLIBC_2_0.
40200 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40201 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40203 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40205 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40206 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40208 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40211 * time/mktime.c: Update copyright years.
40213 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40215 mktime: merge comment-quoting-style change from gnulib
40216 * time/mktime.c: Quote 'like this' in comments.
40217 The GNU coding standards suggest that we no longer quote `like this',
40218 as "`" and "'" are typically rendered asymmetrically nowadays.
40219 The typical gnulib style is to quote 'like this' when quoting
40220 code, and "like this" when quoting English.
40222 * time/mktime.c (compile-command): Add "-I.".
40224 mktime: merge mktime-internal.h change from gnulib
40225 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40227 mktime: merge time_r change from gnulib
40228 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40230 mktime: merge DEBUG change from gnulib
40231 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40232 case system <time.h> has a #define.
40234 mktime: merge <sys/types.h> change from gnulib
40235 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40236 since <time.t> is now guaranteed to define time_t.
40238 mktime: merge HAVE_CONFIG_H change from gnulib
40239 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40241 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40246 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40248 (struct rusage): Use anonymous union to pad each field to
40251 2012-05-21 David S. Miller <davem@davemloft.net>
40253 * Makefules (o-iterator): Remove .s cases.
40254 (compile-command.s): Delete.
40255 (COMPILE.s): Delete.
40256 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40258 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40260 * configure.in (libc_cv_predef_stack_protector): Only consider
40261 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40262 * configure: Regenerated.
40264 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40267 New macro. Use R*LP on int and pointer.
40268 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40269 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40270 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40271 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40273 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40274 [__WORDSIZE_TIME64_COMPAT32] instead of
40275 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40276 (struct utmp): Likewise.
40277 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40278 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40280 (__WORDSIZE_TIME64_COMPAT32): This.
40281 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40282 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40283 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40284 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40285 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40286 (__WORDSIZE_TIME64_COMPAT32): New macro.
40288 2012-05-21 Andreas Jaeger <aj@suse.de>
40290 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40291 only if [SHARED]. Add prototype for __wcschr_ia32.
40293 2012-05-21 Roland McGrath <roland@hack.frob.com>
40295 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40296 of %rbp unmolested in the jmp_buf while mangling the low bits.
40297 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40298 unmolested high bits of %rbp while demangling the low bits.
40299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40301 2012-05-21 Andreas Jaeger <aj@suse.de>
40303 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40304 * sunrpc/svc_simple.c: Use it for registerrpc.
40305 * sunrpc/xcrypt.c: Use it for passwd2des.
40307 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40309 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40311 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40312 Don't define if [__SYSCALL_WORDSIZE != 32].
40313 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40316 2012-05-21 Bruno Haible <bruno@clisp.org>
40317 Andreas Jaeger <aj@suse.de>
40319 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40320 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40321 inptr and inend for must_buffer_ch.
40322 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40323 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40324 * stdio-common/Makefile (tests): Remove bug15.
40325 (bug15-ENV): Remove macro.
40326 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40329 2012-05-19 Andreas Jaeger <aj@suse.de>
40330 Roland McGrath <roland@hack.frob.com>
40332 * manual/contrib.texi: Completely rewritten. It contains now an
40333 alphabetical list of contributors and their contributions.
40335 2012-05-21 Richard Henderson <rth@twiddle.net>
40337 * misc/getauxval.c (__getauxval): Use unsigned long int.
40338 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40339 (getauxval): Use unsigned long int.
40341 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40343 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40345 2012-05-21 Roland McGrath <roland@hack.frob.com>
40347 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40348 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40349 __alignof__ (long double).
40351 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40355 2012-05-20 Richard Henderson <rth@twiddle.net>
40357 * misc/getauxval.c: New file.
40358 * misc/sys/auxv.h: New file.
40359 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40360 (routines): Add getauxval.
40361 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40362 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40363 * elf/dl-sysdep.c (_dl_auxv): Remove.
40364 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40365 * elf/dl-support.c (_dl_auxv): New variable.
40366 (_dl_aux_init): Initialize it.
40367 * manual/startup.texi (Auxiliary Vector): New node.
40368 * sysdeps/generic/bits/hwcap.h: New file.
40369 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40370 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40371 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40372 * sysdeps/sparc/sysdep.h: ... here. Include it.
40373 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40374 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40386 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40390 2012-05-19 David S. Miller <davem@davemloft.net>
40392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40394 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40397 * math/s_ccosh.c: Include <float.h>
40398 (__ccosh): Avoid internal overflow calculating sinh and cosh
40399 values before multiplying by sin and cos values.
40400 * math/s_ccoshf.c: Likewise.
40401 * math/s_ccoshl.c: Likewise.
40402 * math/s_csin.c: Likewise.
40403 * math/s_csinf.c: Likewise.
40404 * math/s_csinl.c: Likewise.
40405 * math/s_csinh.c: Likewise.
40406 * math/s_csinhf.c: Likewise.
40407 * math/s_csinhl.c: Likewise.
40408 * math/libm-test.inc (ccos_test): Add more tests.
40409 (ccosh_test): Likewise.
40410 (csin_test): Likewise.
40411 (csinh_test): Likewise.
40412 * sysdeps/i386/fpu/libm-test-ulps: Update.
40413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40415 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40417 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40418 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40420 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40422 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40424 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40425 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40426 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40427 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40428 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40429 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40430 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40431 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40432 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40433 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40434 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40435 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40436 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40437 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40438 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40439 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40440 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40441 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40442 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40443 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40444 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40445 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40446 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40447 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40448 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40449 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40450 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40451 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40452 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40453 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40454 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40456 2012-05-18 Andreas Jaeger <aj@suse.de>
40458 * csu/.gitignore: Delete.
40460 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40462 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40463 (timex): Use __syscall_slong_t.
40465 2012-05-18 Andreas Jaeger <aj@suse.de>
40466 Carlos O'Donell <carlos_odonell@mentor.com>
40468 * manual/install.texi (Configuring and compiling): Update
40469 description about files modified in the source directory.
40470 * INSTALL: Regenerated.
40472 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40474 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40475 value. Use "or" to set return value to -1.
40476 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40477 negate return value.
40479 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40481 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40482 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40483 failure if the compiler has Graphite support disabled.
40484 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40486 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40487 (CFLAGS-memmove.c): Likewise.
40488 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40491 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40493 * sysdeps/x86_64/x32/_itoa.h: New file.
40495 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40496 getdents system call only if kernel and user dirents have the
40497 same d_ino and d_off.
40499 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40500 LLONG_MAX != LONG_MAX.
40501 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40502 (_fitoa_word): Likewise.
40504 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40506 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40507 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40508 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40510 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40511 include <bits/wordsize.h>. Check __x86_64__ instead of
40513 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40514 if __x86_64__ is defined. Use anonymous union on fpstate.
40516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40519 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40521 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40522 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40523 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40524 Refer to _rtld_local_ro instead of _rtld_global_ro.
40525 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40527 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40529 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40531 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40532 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40533 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40535 * sysdeps/powerpc/powerpc32/dl-machine.c
40536 (__elf_machine_runtime_setup) [PROF]: Don't reference
40539 2012-05-18 Andreas Jaeger <aj@suse.de>
40541 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40542 function only available for GCCs before 3.4 since GCC 3.4
40543 introduced a builtin.
40545 (llrintf): Likewise.
40546 (llrint): Likewise.
40553 (nearbyint): Likewise.
40554 (nearbyintf): Likewise.
40558 (floorf): Likewise.
40560 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40562 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40563 on both fields and cast pointer to __syscall_ulong_t.
40565 * bits/types.h (__fsword_t): New type.
40566 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40567 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40569 (__FSWORD_T_TYPE): Likewise.
40570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40571 (__FSWORD_T_TYPE): Likewise.
40572 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40573 (__FSWORD_T_TYPE): Likewise.
40574 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40575 (__FSWORD_T_TYPE): Likewise.
40576 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40577 __SWORD_TYPE with __fsword_t.
40578 (statfs64): Likewise.
40580 2012-05-17 David S. Miller <davem@davemloft.net>
40582 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40584 2012-05-17 Andreas Jaeger <aj@suse.de>
40586 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40589 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40591 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40593 2012-05-17 Andreas Jaeger <aj@suse.de>
40595 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40598 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40600 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40602 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40604 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40605 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40607 2012-05-17 Andreas Jaeger <aj@suse.de>
40608 Carlos O'Donell <carlos_odonell@mentor.com>
40611 * sysdeps/x86_64/multiarch/init-arch.h
40612 (bit_YMM_Usable): Rename to...
40613 (bit_AVX_Usable): ... this.
40614 (bit_FMA4_Usable): New macro.
40615 (bit_XMM_state): New macro.
40616 (bit_YMM_state): New macro.
40617 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40618 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40619 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40620 (CPUID_OSXSAVE): New macro.
40621 (CPUID_AVX): New macro.
40622 (CPUID_FMA4): New macro.
40623 (index_YMM_Usable): Rename to...
40624 (index_AVX_Usable): ... this.
40625 (HAS_AVX): Use HAS_ARCH_FEATURE.
40626 (HAS_FMA4): Likewise.
40627 (HAS_YMM_USABLE): Remove.
40628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40629 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40631 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40632 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40633 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40634 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40635 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40637 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40639 * math/libm-test.c: Support platforms without multiple rounding modes.
40640 * math/bug-nextafter.c: Support platforms without FP exceptions.
40641 * math/bug-nexttoward.c: Likewise.
40642 * math/test-fenv.c: Likewise.
40643 * math/test-misc.c: Likewise.
40644 * stdlib/bug-getcontext.c: Likewise.
40646 2012-05-17 Andreas Jaeger <aj@suse.de>
40648 * manual/examples/search.c (critter_cmp): Change signature to
40650 * manual/string.texi (Collation Functions): Likewise.
40652 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40654 * bits/types.h: Fold copyright years.
40655 * bits/typesizes.h: Likewise.
40656 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40659 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40660 * time/time.h: Likewise.
40662 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40665 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40666 in instead of returning them. Return void.
40667 (__libc_mallinfo): Accumulate over all arenas.
40668 (__malloc_stats): Adjust for change in int_mallinfo interface.
40670 2012-05-16 Roland McGrath <roland@hack.frob.com>
40673 * configure.in (NM): Add AC_CHECK_TOOL for it.
40674 (libc_extra_cflags): New substituted variable.
40675 Check for -fstack-protector being used implicitly.
40676 * configure: Regenerated.
40677 * config.make.in (config-extra-cflags): New variable,
40678 gets @libc_extra_cflags@.
40679 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40682 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40683 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40684 * configure: Regenerated.
40685 * config.make.in (CPPUNDEFS): New substituted variable.
40686 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40687 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40688 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40690 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40692 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40693 (mq_attr): Use __syscall_slong_t.
40695 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40697 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40698 Check __x86_64__ instead of __WORDSIZE.
40699 (_STAT_VER_LINUX): Likewise.
40700 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40701 __syscall_ulong_t and __syscall_slong_t.
40702 (stat64): Likewise.
40704 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40706 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40708 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40710 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40712 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40714 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40717 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40718 include <bits/wordsize.h>. Check __x86_64__ instead of
40720 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40722 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40724 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40725 include <bits/wordsize.h>. Check __x86_64__ instead of
40727 (user_regs_struct): Use "__extension__ unsigned long long"
40728 instead of "unsigned long" if __x86_64__ is defined.
40729 (user): Likewise. Pad after pointer field if __ILP32__ is
40732 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40734 * configure.in (makeinfo): Require version 4.5 or later. Allow
40736 * configure: Regenerated.
40737 * manual/install.texi (texinfo): Increase version requirement to
40739 * INSTALL: Regenerated.
40741 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40743 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40745 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40747 * sysdeps/x86_64/x32/ffs.c: New file.
40749 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40751 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40752 defined. Use __syscall_ulong_t.
40753 (shminfo): Use __syscall_ulong_t.
40754 (shm_info): Likewise.
40756 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40759 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40761 (msgqnum_t): Use __syscall_ulong_t.
40762 (msglen_t): Likewise.
40763 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40766 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40767 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40769 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40771 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40772 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40774 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40777 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40778 include <bits/wordsize.h>. Check __x86_64__ instead of
40781 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40782 "unsigned long long int" if __x86_64__ is defined.
40783 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40785 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40786 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40787 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40789 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40791 (GET_PC): Cast to uintptr_t first.
40792 (GET_FRAME): Likewise.
40793 (GET_STACK): Likewise.
40795 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40796 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40797 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40798 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40799 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40800 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40801 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40802 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40803 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40804 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40805 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40806 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40807 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40808 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40809 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40810 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40811 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40812 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40813 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40814 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40815 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40816 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40817 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40818 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40819 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40820 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40821 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40822 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40823 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40825 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40827 * Makerules (+depfiles): Also collect depfiles from .oS in
40829 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40830 .oS, $(libnldbl-routines)).
40832 * Makerules (native-compile-mkdep-flags): Define.
40833 * sunrpc/Makefile (extra-objs): Add $(addprefix
40834 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40835 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40836 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40837 calling $(make-target-directory).
40839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40841 * bits/types.h (__snseconds_t): Removed.
40842 * time/time.h (struct timespec): Replace __snseconds_t with
40844 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40845 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40847 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40848 (__SNSECONDS_T_TYPE): Likewise.
40849 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40850 (__SNSECONDS_T_TYPE): Likewise.
40851 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40852 (__SNSECONDS_T_TYPE): Likewise.
40854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40856 * sysdeps/mach/hurd/bits/typesizes.h
40857 (__SYSCALL_SLONG_TYPE): New macro.
40858 (__SYSCALL_ULONG_TYPE): Likewise.
40860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40862 * bits/types.h (__syscall_slong_t): New type.
40863 (__syscall_ulong_t): Likewise.
40865 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40866 (__SYSCALL_ULONG_TYPE): Likewise.
40867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40868 (__SYSCALL_SLONG_TYPE): Likewise.
40869 (__SYSCALL_ULONG_TYPE): Likewise.
40870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40871 (__SYSCALL_SLONG_TYPE): Likewise.
40872 (__SYSCALL_ULONG_TYPE): Likewise.
40873 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40874 (__SYSCALL_SLONG_TYPE): Likewise.
40875 (__SYSCALL_ULONG_TYPE): Likewise.
40877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40879 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40880 Add sigaltstack-offsets.sym.
40881 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40882 <sigaltstack-offsets.h>.
40883 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40884 longjmp_msg pointer.
40885 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40886 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40888 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40890 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40892 * elf/stackguard-macros.h: Remove file.
40893 * sysdeps/generic/stackguard-macros.h: New file.
40894 * sysdeps/i386/stackguard-macros.h: Likewise.
40895 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40896 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40897 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40898 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40899 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40900 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40901 * sysdeps/x86_64/stackguard-macros.h: Likewise.
40902 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40903 <elf/stackguard-macros.h>.
40906 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40907 __aligned__ in attribute.
40908 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40909 (gregset_t): Likewise.
40911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40913 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40914 * sysdeps/x86_64/64/Implies-after: Here. New file.
40915 * sysdeps/x86_64/x32/Implies-after: New file.
40917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40919 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40920 and access return value for _dl_profile_fixup. Use R10_LP to
40923 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40925 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40929 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40930 * sysdeps/x86_64/x32/sysdep.h: New file.
40932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40934 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40935 * sysdeps/x86_64/setjmp.S: Likewise.
40937 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40939 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40940 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40941 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40942 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40943 remove unused global constant.
40945 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40947 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40948 include of <not-cancel.h>.
40950 2012-05-15 Roland McGrath <roland@hack.frob.com>
40952 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40954 2012-05-15 Jeff Law <law@redhat.com>
40955 Andreas Jaeger <aj@suse.de>
40958 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40960 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40961 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40962 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40963 code changing __hst_map_handle.map.
40965 2012-05-15 Roland McGrath <roland@hack.frob.com>
40967 * configure.in (sysnames): Look for Implies-before and Implies-after
40969 * configure: Regenerated.
40971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40973 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40974 8-byte data alignment with LP_SIZE alignment.
40976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40978 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40983 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40987 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40988 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40989 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40995 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40996 (stackinfo_sub_sp): Likewise.
40998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41000 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41005 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41015 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41019 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41020 into R11_LP and load __x86_64_shared_cache_size_half into
41023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41025 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41028 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41037 powerpc32/power7/fpu/s_logb.c via #include.
41038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41039 powerpc32/power7/fpu/s_logbf.c via #include.
41040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41041 powerpc32/power7/fpu/s_logbl.c via #include.
41043 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41045 * README.libm: Remove file.
41047 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41049 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41050 count for x32. Use R*_LP and omit operand-size suffix.
41052 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41054 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41055 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41056 * sysdeps/x86_64/x32/shlib-versions: New file.
41058 2012-05-14 Roland McGrath <roland@hack.frob.com>
41060 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41061 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41062 Use _dl_fatal_printf instead.
41064 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41066 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41067 set if not set by the user. Do not allow for being unset.
41068 * sysdeps/unix/sysv/linux/configure: Regenerated.
41070 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41072 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41073 the `q' suffix from lea and replace .quad with ASM_ADDR.
41075 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41078 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41080 (PTR_DEMANGLE): Likewise.
41082 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41084 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41086 (ASM_ADDR): Likewise.
41087 (RAX_LP): Likewise.
41088 (RBP_LP): Likewise.
41089 (RBX_LP): Likewise.
41090 (RCX_LP): Likewise.
41091 (RDI_LP): Likewise.
41092 (RSI_LP): Likewise.
41093 (RSP_LP): Likewise.
41096 (R10_LP): Likewise.
41097 (R10_LP): Likewise.
41098 (R11_LP): Likewise.
41099 (R12_LP): Likewise.
41100 (R13_LP): Likewise.
41101 (R14_LP): Likewise.
41102 (R15_LP): Likewise.
41104 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41106 * sysdeps/x86_64/x32/dl-machine.h: New file.
41108 2012-05-14 Andreas Jaeger <aj@suse.de>
41110 * manual/Makefile (subdir): Remove export of subdir.
41111 (all): Remove target.
41112 (.PHONY): Remove all from list.
41113 (mkinstalldirs): Remove.
41114 (.PHONY): Remove installdirs from list.
41115 ($(inst_infodir)/libc.info): Use make-target-directory.
41116 (installdirs): Remove.
41117 (subdir_%): Remove.
41118 (glibc-targets): Remove.
41121 ($(objpfx)stubs ../po/manual.pot): Remove.
41122 ($(objpfx)stamp%): Remove.
41123 (make-target-directory): Remove.
41124 (subdir_install): Remove.
41125 (routines): Remove.
41132 * manual/.gitignore: Remove, it's not needed anymore.
41133 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41135 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41137 (texis): Renamed to $(objpfx)texis.
41138 (texis-path): New, contains path to generated files.
41139 (chapters.%): Use texis-path for complete path, add extra argument
41141 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41142 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41143 (summary,texi, stamp-summary): Use complete path of
41144 files. Generate files in build dir.
41145 (dir-add.texi): Build in build dir.
41146 (libm-err.texi,stamp-libm-err): Likewise.
41147 (version.texi, stamp-version): Likewise.
41148 (.%c.texi): Likewise.
41149 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41150 (mostlyclean): Remove target.
41151 (realclean): Remove target.
41152 (generated): Add new variable with contents from mostlyclean and
41153 realclean, remove entries duplicated in common-mostlyclean, add
41154 stamp-libm-err and stamp-version.
41155 (generated-dirs): Add libc directory.
41156 ($(inst_infodir)/libc.info): Install files from build dir.
41158 * manual/install.texi (Configuring and compiling): Adjust since
41159 the info files are not part of the tar ball anymore.
41161 2012-05-14 Andreas Jaeger <aj@suse.de>
41163 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41166 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41169 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41170 to 2.2.0 where earlier.
41171 * sysdeps/unix/sysv/linux/configure: Regenerated.
41172 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41173 Remove conditional code.
41174 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41175 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41176 Remove conditional code.
41177 [!__NR_lchown]: Likewise.
41178 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41179 [__NR_lchown]: Likewise.
41180 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41181 comment referencing __ASSUME_LCHOWN_SYSCALL.
41182 * sysdeps/unix/sysv/linux/i386/sigaction.c
41183 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41184 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41185 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41186 Remove conditional code.
41187 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41188 (__protocol_available): Remove #if 0 code.
41189 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41191 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41192 * sysdeps/unix/sysv/linux/kernel-features.h
41193 (__ASSUME_GETCWD_SYSCALL): Don't define.
41194 (__ASSUME_REALTIME_SIGNALS): Likewise.
41195 (__ASSUME_PREAD_SYSCALL): Likewise.
41196 (__ASSUME_PWRITE_SYSCALL): Likewise.
41197 (__ASSUME_POLL_SYSCALL): Likewise.
41198 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41199 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41201 (__ASSUME_SIOCGIFNAME): Don't define.
41202 (__ASSUME_MSG_NOSIGNAL): Likewise.
41203 (__ASSUME_SENDFILE): Define unconditionally.
41204 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41205 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41207 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41208 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41209 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41210 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41211 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41212 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41213 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41215 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41218 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41219 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41221 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41224 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41227 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41230 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41236 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41237 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41238 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41239 Remove conditional code.
41240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41241 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41242 Remove conditional code.
41243 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41244 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41245 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41246 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41247 Remove conditional code.
41248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41249 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41250 Remove conditional code.
41251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41252 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41253 Remove conditional code.
41254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41255 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41256 Remove conditional code.
41257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41258 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41259 Remove conditional code.
41260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41261 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41262 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41264 * sysdeps/unix/sysv/linux/sigaction.c
41265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41267 * sysdeps/unix/sysv/linux/sigpending.c
41268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41270 * sysdeps/unix/sysv/linux/sigprocmask.c
41271 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41272 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41273 * sysdeps/unix/sysv/linux/sigsuspend.c
41274 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41275 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41276 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41277 (__libc_missing_rt_sigs): Remove.
41278 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41279 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41280 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41281 Remove conditional code.
41282 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41283 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41285 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41286 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41287 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41288 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41290 2012-05-14 Andreas Jaeger <aj@suse.de>
41292 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41293 it's not used in glibc.
41294 (__coshm1): Likewise.
41295 (__acosh1p): Likewise.
41298 * manual/string.texi (Copying and Concatenation): Add missing
41299 variable in concat example.
41300 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41302 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41305 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41306 __builtin_clzl with __builtin_clzll.
41308 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41311 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41314 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41316 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41317 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41318 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41319 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41321 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41323 * NEWS: Update ia64 info.
41325 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41327 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41330 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41332 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41333 * sysdeps/unix/syscalls.list (dup3): Likewise.
41334 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41335 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41337 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41339 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41340 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41342 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41344 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41346 (TLS_IE): Use mov/add instead of movq/addq to load thread
41348 (TLS_GD_PREFIX): New.
41351 2012-05-11 David S. Miller <davem@davemloft.net>
41353 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41354 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41355 (_FPU_SETCW): Likewise.
41357 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41359 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41360 is 32-byte aligned.
41362 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41365 * iconvdata/gb18030.c: Update tables.
41366 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41367 characters specially.
41368 (BODY for TO_LOOP): Add encoding of missing ranges.
41370 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41373 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41374 * sysdeps/mach/hurd/dup3.c: Likewise.
41375 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41376 * sysdeps/powerpc/memmove.c:: Likewise.
41378 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41380 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41381 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41383 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41385 * elf/elf.h (R_X86_64_RELATIVE64): New.
41386 (R_X86_64_NUM): Updated.
41387 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41388 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41389 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41390 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41391 tst-quad1pie tst-quad2pie
41392 (modules-names): Add tst-quadmod1 tst-quadmod2.
41393 ($(objpfx)tst-quad1): New dependency.
41394 ($(objpfx)tst-quad2): Likewise.
41395 ($(objpfx)tst-quad1pie): Likewise.
41396 ($(objpfx)tst-quad2pie): Likewise.
41397 * sysdeps/x86_64/tst-quad1.c: New file.
41398 * sysdeps/x86_64/tst-quad1pie.c: New file.
41399 * sysdeps/x86_64/tst-quad2.c: Likewise.
41400 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41401 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41402 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41403 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41404 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41408 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41409 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41410 * streams/stropts.h (t_scalar_t): Define type.
41412 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41413 (_PATH_PRESERVE): Set to "/var/lib".
41414 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41416 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41419 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41420 if __dir_mkfile succeeded.
41422 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41423 checking for _hurd_dtablesize. Unlock it right after having
41424 finished _hurd_dtable allocation.
41426 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41428 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41429 * sysdeps/mach/hurd/configure: Regenerated.
41430 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41431 special-casing to...
41432 * sysdeps/gnu/configure.in: ... this new file.
41433 * sysdeps/unix/sysv/linux/configure: Regenerated.
41434 * sysdeps/gnu/configure: New generated file.
41436 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41437 for Linux: use nsec instead of usec, as well as:
41438 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41439 members of type struct timespec.
41440 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41442 (struct stat64): Likewise.
41443 (_STATBUF_ST_NSEC): New macro.
41444 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41446 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41447 __strtoul_internal rather than strtoul.
41449 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41451 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41454 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41456 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41457 which preserves existing values.
41458 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41460 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41462 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41463 TIMEOUT values. Return EINVAL for NFDS values either negative or
41464 greater than FD_SETSIZE.
41466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41468 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41469 allocated, call __vm_protect to finish enabling the existing space, and
41470 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41471 allocate the remainder.
41473 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41475 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41476 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41480 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41481 sysdeps/mach/hurd/readlink.c.
41483 * posix/tst-sysconf.c (posix_options): Only use
41484 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41485 _POSIX_SYNCHRONIZED_IO when they are defined
41486 * sysdeps/mach/hurd/bits/posix_opt.h:
41487 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41488 (_XOPEN_REALTIME): Undefine macro.
41489 (_XOPEN_REALTIME_THREADS): Undefine macro.
41490 (_XOPEN_SHM): Undefine macro.
41491 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41493 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41495 (_POSIX_ASYNC_IO): Undefine macro.
41496 (_POSIX_PRIORITIZED_IO): Undefine macro.
41497 (_POSIX_SPIN_LOCKS): Define macro to -1.
41499 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41500 SA_NODEFER, SA_RESETHAND.
41501 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41502 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41505 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41507 * elf/Makefile (pldd-modules): Define unconditionally.
41509 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41511 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41513 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41515 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41516 Return ENOENT when name is empty.
41517 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41521 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41523 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41525 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41527 Fix mlock in all cases except non-readable pages.
41528 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41529 instead of VM_PROT_ALL as parameter to __vm_wire function.
41531 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41532 (__mkdir): When path is `/', just fail with EEXIST.
41533 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41535 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41537 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41538 <sys/uio.h> (for writev).
41539 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41540 and <sys/param.h> (for MIN).
41542 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41544 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41545 REQUESTED_TIME. Properly set the remaining time and return EINTR
41548 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41550 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41551 Depend on against $(link-rpcuserlibs).
41553 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41555 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41556 (__libc_stack_end): Do not use attribute_relro.
41557 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41558 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41559 to libthread-provided value.
41560 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41563 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41566 * bits/libc-lock.h (__libc_once_get): New macro.
41567 * sysdeps/mach/bits/libc-lock.h: Likewise.
41568 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41569 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41570 instead of using implementation details.
41572 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41573 * libio/freopen.c: Likewise.
41574 * libio/freopen64.c: Likewise.
41575 * misc/syslog.c: Likewise.
41576 * nscd/connections.c: Likewise.
41577 * nscd/netgroupcache.c: Likewise.
41578 * sysdeps/posix/getcwd.c: Likewise.
41580 2012-05-10 Roland McGrath <roland@hack.frob.com>
41582 * math/w_ilogbf.c: Add #include <limits.h>.
41584 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41586 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41587 path instead of returning without unlocking.
41589 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41590 immediate-write ioctls.
41591 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41593 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41595 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41596 __builtin_frame_address instead of making assumptions about the
41597 location of the return address relative to DATA. Force early load of
41598 the return address.
41599 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41600 __builtin_frame_address.
41603 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41604 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41605 implement dup3 and do some further code clean-ups.
41606 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41607 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41609 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41611 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41613 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41614 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41615 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41616 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41617 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41620 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41621 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41622 when handler == SIG_ERR, not when handler != SIG_ERR.
41624 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41626 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41627 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41630 accept4 for GNU Hurd.
41631 * include/sys/socket.h (__libc_accept4): New prototype.
41632 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41633 to implement __libc_accept4.
41634 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41636 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41638 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41639 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41640 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41641 signal-defines.sym.
41643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41645 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41647 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41649 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41650 assertion on O_CLOEXEC flag.
41651 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41652 * hurd/intern-fd.c: Likewise.
41653 * hurd/port2fd.c: Likewise.
41655 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41658 * bits/in.h (IPV6_PKTINFO): Define new macro.
41659 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41661 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41666 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41667 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41668 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41669 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41670 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41671 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41672 * math/libm-test.inc (logb_test) : Additional logb tests.
41674 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41675 Andreas Jaeger <aj@suse.de>
41677 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41678 * configure: Regenerated.
41679 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41680 * config.make.in (link-obsolete-rpc): New substituted variable.
41681 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41682 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41683 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41684 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41685 so that libc.a contains the symbols.
41686 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41687 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41688 * sunrpc/auth_none.c: Likewise.
41689 * sunrpc/auth_unix.c: Likewise.
41690 * sunrpc/authdes_prot.c: Likewise.
41691 * sunrpc/authuxprot.c: Likewise.
41692 * sunrpc/clnt_gen.c: Likewise.
41693 * sunrpc/clnt_perr.c: Likewise.
41694 * sunrpc/clnt_raw.c: Likewise.
41695 * sunrpc/clnt_simp.c: Likewise.
41696 * sunrpc/clnt_tcp.c: Likewise.
41697 * sunrpc/clnt_udp.c: Likewise.
41698 * sunrpc/clnt_unix.c: Likewise.
41699 * sunrpc/des_crypt.c: Likewise.
41700 * sunrpc/des_soft.c: Likewise.
41701 * sunrpc/get_myaddr.c: Likewise.
41702 * sunrpc/key_call.c: Likewise.
41703 * sunrpc/key_prot.c: Likewise.
41704 * sunrpc/netname.c: Likewise.
41705 * sunrpc/pm_getmaps.c: Likewise.
41706 * sunrpc/pm_getport.c: Likewise.
41707 * sunrpc/pmap_clnt.c: Likewise.
41708 * sunrpc/pmap_prot.c: Likewise.
41709 * sunrpc/pmap_prot2.c: Likewise.
41710 * sunrpc/pmap_rmt.c: Likewise.
41711 * sunrpc/publickey.c: Likewise.
41712 * sunrpc/rpc_cmsg.c: Likewise.
41713 * sunrpc/rpc_common.c: Likewise.
41714 * sunrpc/rpc_dtable.c: Likewise.
41715 * sunrpc/rpc_prot.c: Likewise.
41716 * sunrpc/rpc_thread.c: Likewise.
41717 * sunrpc/rtime.c: Likewise.
41718 * sunrpc/svc.c: Likewise.
41719 * sunrpc/svc_auth.c: Likewise.
41720 * sunrpc/svc_raw.c: Likewise.
41721 * sunrpc/svc_run.c: Likewise.
41722 * sunrpc/svc_tcp.c: Likewise.
41723 * sunrpc/svc_udp.c: Likewise.
41724 * sunrpc/svc_unix.c: Likewise.
41725 * sunrpc/svcauth_des.c: Likewise.
41726 * sunrpc/xcrypt.c: Likewise.
41727 * sunrpc/xdr.c: Likewise.
41728 * sunrpc/xdr_array.c: Likewise.
41729 * sunrpc/xdr_float.c: Likewise.
41730 * sunrpc/xdr_intXX_t.c: Likewise.
41731 * sunrpc/xdr_mem.c: Likewise.
41732 * sunrpc/xdr_rec.c: Likewise.
41733 * sunrpc/xdr_ref.c: Likewise.
41734 * sunrpc/xdr_sizeof.c: Likewise.
41735 * sunrpc/xdr_stdio.c: Likewise.
41737 2012-05-10 Roland McGrath <roland@hack.frob.com>
41739 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41740 change. Update copyright years.
41742 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41744 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41746 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41747 Joseph Myers <joseph@codesourcery.com>
41748 Paul Pluzhnikov <ppluzhnikov@google.com>
41751 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41753 [cross-compiling] (extra-libs): Likewise.
41754 [cross-compiling] (extra-libs-others): Likewise.
41755 [cross-compiling] (librpcsvc-routines): Likewise.
41756 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41757 [cross-compiling] (omit-deps): Likewise.
41758 (sunrpc-CPPFLAGS): New variable.
41759 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41760 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41761 (cross-rpcgen-objs): New variable.
41762 (extra-objs): Append $(cross-rpcgen-objs).
41763 ($(cross-rpcgen-objs)): New rule.
41764 ($(objpfx)cross-rpcgen): Likewise.
41765 (rpcgen-cmd): Define to use $(built-program-file). Expand
41767 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41768 ($(objpfx)x%.stmp): Likewise.
41769 * sunrpc/proto.h [IS_IN_build] (_): Define.
41770 [IS_IN_build] (_libc_intl_domainname): Likewise.
41772 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41774 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41775 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41776 and R_X86_64_TPOFF64.
41778 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41780 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41781 sysdeps/unix/sysv/syscalls.list.
41784 * sysdeps/unix/sysv/syscalls.list: Remove file.
41786 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41789 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41790 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41791 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41792 (__LC_IDENTIFICATION): Make these macros useful in #if
41793 expressions, as required by C99.
41795 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41797 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41798 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41801 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41803 * stdlib/longlong.h: Updated from GCC.
41805 2012-05-09 Andreas Jaeger <aj@suse.de>
41807 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41808 default is first entry.
41809 (run_mode): Set type.
41810 (main): Remove informal message about syslog.
41811 (options): Fix typo.
41814 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41817 (llrintf): Likewise.
41818 (llrint): Likewise.
41821 (nearbyint): Likewise.
41822 (nearbyintf): Likewise.
41824 2012-05-09 Andreas Jaeger <aj@suse.de>
41825 Pedro Alves <palves@redhat.com>
41827 * nscd/nscd.c (run_mode): Use enum.
41828 (main): Cleanup coding style issue.
41830 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
41831 Andreas Jaeger <aj@suse.de>
41833 * nscd/nscd.c (go_background): Replaced with...
41834 (run_mode): ... this.
41835 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41836 (options): Add -F --foreground.
41837 (main): Implement it.
41838 (parse_opt): Parse it.
41840 2012-05-09 Andreas Jaeger <aj@suse.de>
41843 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41844 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41845 -Wconversion warning.
41846 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41849 2012-05-09 Joseph Myers <joseph@codesourcery.com>
41851 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41853 (LC_ALL): Use macro-int-constant.
41854 (LC_COLLATE): Likewise.
41855 (LC_CTYPE): Likewise.
41856 (LC_MESSAGES): Likewise.
41857 (LC_MONETARY): Likewise.
41858 (LC_NUMERIC): Likewise.
41859 (LC_TIME): Likewise.
41860 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41861 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41862 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41863 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41865 [C99-based standards] (float_t): Expect type.
41866 [C99-based standards] (double_t): Expect type.
41867 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41869 [C99-based standards] (HUGE_VALL): Likewise.
41870 [C99-based standards] (INFINITY): Likewise.
41871 [C99-based standards] (NAN): Likewise.
41872 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41873 [C99-based standards] (FP_NAN): Likewise.
41874 [C99-based standards] (FP_NORMAL): Likewise.
41875 [C99-based standards] (FP_SUBNORMAL): Likewise.
41876 [C99-based standards] (FP_ZERO): Likewise.
41877 [C99-based standards] (FP_FAST_FMA): Use
41878 optional-macro-int-constant. Specify type. Require == 1.
41879 [C99-based standards] (FP_FAST_FMAF): Likewise.
41880 [C99-based standards] (FP_FAST_FMAL): Likewise.
41881 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41882 [C99-based standards] (FP_ILOGBNAN): Likewise.
41883 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41885 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41886 [C99-based standards] (math_errhandling): Specify type.
41887 [ISO99 || ISO11] (signgam): Do not allow.
41888 [non-C99-based standards] (copysignf): Do not allow.
41889 [non-C99-based standards] (exp2f): Likewise.
41890 [non-C99-based standards] (log2f): Likewise.
41891 [non-C99-based standards] (modff): Allow.
41892 [non-C99-based standards] (erff): Do not allow.
41893 [non-C99-based standards] (erfcf): Likewise.
41894 [non-C99-based standards] (gammaf): Likewise.
41895 [non-C99-based standards] (hypotf): Likewise.
41896 [non-C99-based standards] (j0f): Likewise.
41897 [non-C99-based standards] (j1f): Likewise.
41898 [non-C99-based standards] (jnf): Likewise.
41899 [non-C99-based standards] (lgammaf): Likewise.
41900 [non-C99-based standards] (tgammaf): Likewise.
41901 [non-C99-based standards] (y0f): Likewise.
41902 [non-C99-based standards] (y1f): Likewise.
41903 [non-C99-based standards] (ynf): Likewise.
41904 [non-C99-based standards] (isnanf): Likewise.
41905 [non-C99-based standards] (acoshf): Likewise.
41906 [non-C99-based standards] (asinhf): Likewise.
41907 [non-C99-based standards] (atanhf): Likewise.
41908 [non-C99-based standards] (cbrtf): Likewise.
41909 [non-C99-based standards] (expm1f): Likewise.
41910 [non-C99-based standards] (ilogbf): Likewise.
41911 [non-C99-based standards] (log1pf): Likewise.
41912 [non-C99-based standards] (logbf): Likewise.
41913 [non-C99-based standards] (nextafterf): Likewise.
41914 [non-C99-based standards] (remainderf): Likewise.
41915 [non-C99-based standards] (rintf): Likewise.
41916 [non-C99-based standards] (scalbf): Likewise.
41917 [non-C99-based standards] (copysignl): Likewise.
41918 [non-C99-based standards] (exp2l): Likewise.
41919 [non-C99-based standards] (log2l): Likewise.
41920 [non-C99-based standards] (modfl): Allow.
41921 [non-C99-based standards] (erfl): Do not allow.
41922 [non-C99-based standards] (erfcl): Likewise.
41923 [non-C99-based standards] (gammal): Likewise.
41924 [non-C99-based standards] (hypotl): Likewise.
41925 [non-C99-based standards] (j0l): Likewise.
41926 [non-C99-based standards] (j1l): Likewise.
41927 [non-C99-based standards] (jnl): Likewise.
41928 [non-C99-based standards] (lgammal): Likewise.
41929 [non-C99-based standards] (tgammal): Likewise.
41930 [non-C99-based standards] (y0l): Likewise.
41931 [non-C99-based standards] (y1l): Likewise.
41932 [non-C99-based standards] (ynl): Likewise.
41933 [non-C99-based standards] (isnanl): Likewise.
41934 [non-C99-based standards] (acoshl): Likewise.
41935 [non-C99-based standards] (asinhl): Likewise.
41936 [non-C99-based standards] (atanhl): Likewise.
41937 [non-C99-based standards] (cbrtl): Likewise.
41938 [non-C99-based standards] (expm1l): Likewise.
41939 [non-C99-based standards] (ilogbl): Likewise.
41940 [non-C99-based standards] (log1pl): Likewise.
41941 [non-C99-based standards] (logbl): Likewise.
41942 [non-C99-based standards] (nextafterl): Likewise.
41943 [non-C99-based standards] (remainderl): Likewise.
41944 [non-C99-based standards] (rintl): Likewise.
41945 [non-C99-based standards] (scalbl): Likewise.
41946 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41947 [non-C99-based standards] (FP_*): Do not allow.
41948 [C99-based standards] (FP_*): Change to
41949 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41950 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41952 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41953 (SIG_ERR): Likewise.
41954 [X/Open-based standards] (SIG_HOLD): Likewise.
41955 (SIG_IGN): Likewise.
41956 (SIGABRT): Use macro-int-constant. Specify type. Require
41958 (SIGFPE): Likewise.
41959 (SIGILL): Likewise.
41960 (SIGINT): Likewise.
41961 (SIGSEGV): Likewise.
41962 (SIGTER): Likewise.
41963 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41964 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41965 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41966 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41967 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41968 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41969 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41970 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41971 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41972 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41973 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41974 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41975 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41976 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41977 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41978 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41979 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41980 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41981 [X/Open-based standards] (SIGTRAP): Likewise.
41982 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41983 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41984 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41985 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41986 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41989 2012-05-08 Ian Wienand <ianw@vmware.com>
41992 * time/tzset.c (__tzset_parse_tz): Update default rules for
41993 daylight time changes in the Energy Policy Act of 2005.
41995 2012-05-09 Andreas Jaeger <aj@suse.de>
41998 * elf/ldconfig.c (parse_conf): Change string to make clear that
41999 ldconfig only issued a warning if ld.so.conf does not exist.
42001 2012-05-08 David S. Miller <davem@davemloft.net>
42003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42004 movxtod instead of popping the value on the stack.
42006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42008 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42010 * config.h.in: Add HAVE_ARM_PCS_VFP.
42012 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42015 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42016 checking but the checks are disabled for any reason.
42018 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42020 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42021 and ELF64_R_TYPE with ELFW(R_TYPE).
42023 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42025 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42026 (ulimit): Likewise.
42028 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42029 (settimeofday): Likewise.
42031 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42033 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42034 a struct th_u2 inside the union, and move tu_block/tu_code into
42035 a new th_u3 union of tu_block/tu_code inside of that. Move
42036 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42037 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42038 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42039 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42040 (th_stuff): Change to th_u1.tu_stuff.
42042 (th_msg): Change to th_u1.th_u2.tu_data.
42044 2012-05-07 David S. Miller <davem@davemloft.net>
42046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42049 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42050 (SETUP_PIC_REG): Use it.
42051 (SETUP_PIC_REG_LEAF): Use it.
42053 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42057 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42059 (EXPL_FINITE): Likewise.
42060 (FLDLOG): Likewise.
42061 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42062 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42064 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42066 (EXPL_FINITE): Likewise.
42067 (FLDLOG): Likewise.
42068 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42069 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42071 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42072 test of -max_value argument for long double.
42073 * sysdeps/i386/fpu/libm-test-ulps: Update.
42074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42076 2012-05-06 David S. Miller <davem@davemloft.net>
42078 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42079 quad soft-float symbols whose references which are compiler
42081 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42083 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42087 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42089 (EXPL_FINITE): Likewise.
42090 (FLDLOG): Likewise.
42093 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42094 Adjust comments for base varying.
42095 (__expl_finite): Change alias to EXPL_FINITE.
42096 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42098 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42099 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42101 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42102 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42104 (EXPL_FINITE): Likewise.
42105 (FLDLOG): Likewise.
42108 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42109 Adjust comments for base varying.
42110 (__expl_finite): Change alias to EXPL_FINITE.
42111 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42116 * math/libm-test.inc (check_float_internal): Correct ulp
42117 calculation for subnormal expected results.
42119 2012-05-06 Andreas Jaeger <aj@suse.de>
42121 * Makeconfig (+math-flags): New, set to -frounding-math.
42122 (+cflags): Add +math-flags so that all of glibc gets compiled with
42125 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42127 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42129 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42135 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42136 (__ieee754_expl): Allow for and saturate large arguments.
42137 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42138 (u_threshold): Likewise.
42139 (__exp): Call __ieee754_exp before checking for overflow and
42141 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42142 (u_threshold): Likewise.
42143 (__expf): Call __ieee754_expf before checking for overflow and
42145 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42146 (u_threshold): Likewise.
42147 (__expl): Call __ieee754_expl before checking for overflow and
42149 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42150 (__ieee754_expl): Allow for and saturate large arguments.
42151 * math/libm-test.inc (exp_test): Add another test. Do not allow
42152 missing overflow exception on overflow.
42153 (expm1_test): Do not allow missing overflow exception on overflow.
42155 * sysdeps/i386/fpu/e_expl.c: Move to ...
42156 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42157 rather than using inline asm.
42158 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42159 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42160 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42162 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42165 (signal): Likewise.
42169 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42171 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42172 sysdeps/unix/common/syscalls.list.
42173 (fchmod): Likewise.
42174 (fchown): Likewise.
42175 (ftruncate): Likewise.
42176 (getrusage): Likewise.
42177 (gettimeofday): Likewise.
42178 (setpgid): Likewise.
42179 (setregid): Likewise.
42180 (setreuid): Likewise.
42181 (sigaction): Likewise.
42182 (truncate): Likewise.
42183 (vhangup): Likewise.
42184 * sysdeps/unix/common/syscalls.list: Remove file.
42185 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42186 * sysdeps/unix/sysv/linux/Implies: Likewise.
42188 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42190 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42192 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42196 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42199 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42202 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42205 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42208 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42211 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42214 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42218 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42222 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42225 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42229 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42233 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42235 * sysdeps/unix/common/bits/dirent.h: Remove file.
42236 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42238 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42239 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42240 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42241 * sysdeps/unix/bsd/isatty.c: Likewise.
42242 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42243 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42244 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42246 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42250 long double comparison inaccuracies.
42251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42254 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42256 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42257 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42259 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42262 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42263 nonzero digits before rounding a hex value.
42264 * stdlib/tst-strtod.c (tests): Add another test.
42266 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42268 * sysdeps/s390/fpu/libm-test-ulps: Update.
42270 2012-05-03 Andreas Jaeger <aj@suse.de>
42272 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42273 does not get optimized out.
42274 (malloc_opt_barrier): New.
42276 2012-05-03 Andreas Jaeger <aj@suse.de>
42277 Roland McGrath <roland@hack.frob.com>
42279 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42280 intermediate file deletion.
42281 (generated): Add .symlist files.
42283 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42286 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42287 Redirect under this condition.
42288 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42289 [__USE_GNU] (__dprintf_chk): Not under this condition.
42290 [__USE_GNU] (__vdprintf_chk): Likewise.
42291 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42292 under this condition.
42293 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42294 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42295 [__USE_XOPEN2K8] (vdprintf): Likewise.
42296 [__USE_GNU] (__dprintf_chk): Not under this condition.
42297 [__USE_GNU] (__vdprintf_chk): Likewise.
42298 [__USE_GNU] (dprintf): Likewise.
42299 [__USE_GNU] (vdprintf): Likewise.
42301 2012-05-03 Roland McGrath <roland@hack.frob.com>
42303 * elf/Makefile (common-generated): Set this instead of generated for
42304 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42305 $(all-built-dso)-derived lists.
42307 2012-05-03 Andreas Jaeger <aj@suse.de>
42309 * sysdeps/i386/fpu/libm-test-ulps: Update.
42312 * FAQ.in: Likewise.
42313 * scripts/gen-FAQ.pl: Likewise.
42314 * manual/install.texi (Installation): Point to online location of
42316 * Makefile (files-for-dist): Remove FAQ.
42319 2012-05-02 Allan McRae <allan@archlinux.org>
42321 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42322 (LDFLAGS-reldepmod5.so): Likewise.
42323 (LDFLAGS-reldep6mod1.so): Likewise.
42324 (LDFLAGS-reldep6mod4.so): Likewise.
42325 (LDFLAGS-reldep8mod3.so): Likewise.
42326 (LDFLAGS-unload4mod1.so): Likewise.
42327 (LDFLAGS-unload4mod2.so): Likewise.
42328 (LDFLAGS-tst-initorder): Likewise.
42329 (LDFLAGS-tst-initordera2.so): Likewise.
42330 (LDFLAGS-tst-initordera3.so): Likewise.
42331 (LDFLAGS-tst-initordera4.so): Likewise.
42332 (LDFLAGS-tst-initorderb2.so): Likewise.
42333 (LDFLAGS-noload): Likewise.
42334 (LDFLAGS-next): Likewise.
42335 (LDFLAGS-order2mod1.so): Likewise.
42336 (LDFLAGS-order2mod2.so): Likewise.
42337 (LDFLAGS-tst-initorder2): Likewise.
42338 (LDFLAGS-tst-initorder2a.so): Likewise.
42339 (LDFLAGS-tst-initorder2b.so): Likewise.
42340 (LDFLAGS-tst-initorder2c.so): Likewise.
42341 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42343 2012-05-02 David S. Miller <davem@davemloft.net>
42345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42347 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42350 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42352 2012-05-02 Andreas Jaeger <aj@suse.de>
42354 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42355 since we manipulate rounding mode.
42356 (CPPFLAGS-test-idouble.c): Likewise.
42357 (CPPFLAGS-test-ifloat.c): Likewise.
42358 (CFLAGS-test-ldouble.c): Likewise.
42359 (CFLAGS-test-double.c): Likewise.
42360 (CFLAGS-test-float.c): Likewise.
42361 (CFLAGS-test-misc.c): Likewise.
42362 (CFLAGS-test-test-fenv.c): Likewise.
42364 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42369 comparisons to determine direction to adjust input.
42371 2012-05-01 Roland McGrath <roland@hack.frob.com>
42373 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42374 output to the target.
42376 * scripts/localplt.awk: New file.
42377 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42378 (check-localplt-CFLAGS): Variable removed.
42379 ($(all-built-dso:=.jmprel)): New static pattern rule.
42380 (generated): Add those targets.
42381 (localplt-built-dso): New variable.
42382 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42384 * elf/check-localplt.c: File removed.
42386 * scripts/check-execstack.awk: New file.
42387 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42388 (check-execstack-CFLAGS): Variable removed.
42389 ($(objpfx)check-execstack.h): Target removed.
42390 ($(objpfx)execstack-default): New target.
42391 (generated): Add that instead of check-execstack.h.
42392 ($(all-built-dso:=.phdr)): New static pattern rule.
42393 (generated): Add those targets.
42394 * elf/check-execstack.c: File removed.
42396 * scripts/check-textrel.awk: New file.
42397 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42398 (check-textrel-CFLAGS): Variable removed.
42399 (all-built-dso): Use := to define.o
42400 ($(all-built-dso:=.dyn)): New static pattern rule.
42401 (generated): Add those targets.
42402 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42403 * config.make.in (READELF): New substituted variable.
42404 * elf/check-textrel.c: File removed.
42406 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42408 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42410 * conform/data/ctype.h-data [C99-based standards] (isblank):
42412 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42413 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42415 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42416 Specify type. Require positive value.
42417 (EILSEQ): Likewise.
42418 (ERANGE): Likewise.
42419 [ISO || POSIX] (EILSEQ): Do not expect.
42420 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42421 Specify type. Require positive value.
42422 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42423 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42424 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42425 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42426 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42427 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42428 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42429 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42430 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42431 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42432 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42433 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42434 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42435 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42436 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42437 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42438 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42439 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42440 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42441 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42442 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42443 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42444 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42445 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42446 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42447 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42448 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42449 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42450 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42451 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42452 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42453 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42454 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42455 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42456 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42457 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42458 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42459 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42460 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42461 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42462 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42463 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42464 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42465 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42466 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42467 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42468 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42469 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42470 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42471 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42472 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42473 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42474 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42475 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42476 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42477 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42478 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42479 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42480 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42481 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42482 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42483 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42484 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42485 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42486 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42487 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42488 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42489 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42490 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42491 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42492 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42493 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42494 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42495 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42496 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42497 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42498 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42500 (FLT_ROUNDS): Expect as macro, not constant.
42501 (FLT_MANT_DIG): Use macro-int-constant.
42502 (DBL_MANT_DIG): Likewise.
42503 (LDBL_MANT_DIG): Likewise.
42504 (FLT_DIG): Likewise.
42505 (DBL_DIG): Likewise.
42506 (LDBL_DIG): Likewise.
42507 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42508 (DBL_MIN_EXP): Likewise.
42509 (LDBL_MIN_EXP): Likewise.
42510 (FLT_MAX_EXP): Use macro-int-constant.
42511 (DBL_MAX_EXP): Likewise.
42512 (LDBL_MAX_EXP): Likewise.
42513 (FLT_MAX_10_EXP): Likewise.
42514 (DBL_MAX_10_EXP): Likewise.
42515 (LDBL_MAX_10_EXP): Likewise.
42516 (FLT_MAX): Use macro-constant.
42517 (DBL_MAX): Likewise.
42518 (LDBL_MAX): Likewise.
42519 (FLT_EPSILON): Use macro-constant. Give upper bound.
42520 (DBL_EPSILON): Likewise.
42521 (LDBL_EPSILON): Likewise.
42522 (FLT_MIN): Likewise.
42523 (DBL_MIN): Likewise.
42524 (LDBL_MIN): Likewise.
42525 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42526 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42527 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42528 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42529 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42530 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42531 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42532 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42533 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42534 [ISO11] (FLT_TRUE_MIN): Likewise.
42535 [ISO11] (LDBL_TRUE_MIN): Likewise.
42536 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42537 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42538 (SCHAR_MIN): Use macro-int-constant. Specify type.
42539 (SCHAR_MAX): Likewise.
42540 (UCHAR_MAX): Likewise.
42541 (CHAR_MIN): Likewise.
42542 (CHAR_MAX): Likewise.
42543 (MB_LEN_MAX): Use macro-int-constant.
42544 (SHRT_MIN): Use macro-int-constant. Specify type.
42545 (SHRT_MAX): Likewise.
42546 (USHRT_MAX): Likewise.
42547 (INT_MAX): Likewise.
42548 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42550 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42552 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42554 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42555 bound negative. Suffix upper bound with "L".
42556 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42558 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42560 [C99-based standards] (LLONG_MAX): Likewise.
42561 [C99-based standards] (ULLONG_MAX): Likewise.
42562 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42564 [ISO11] (max_align_t): Require type.
42565 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42567 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42568 from $CFLAGS, without defining away __attribute__ calls.
42569 (checknamespace): Use $CFLAGS_namespace.
42571 * conform/conformtest.pl (@keywords): Only include C99 keywords
42572 for standards based on C99 or C11.
42574 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42576 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42579 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42580 usability of symbols in #if.
42582 * conform/conformtest.pl: If macro or constant types start
42583 "promoted:", expect the symbol to be of the following type
42584 promoted by the integer promotions.
42586 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42587 in one place. Also handle "macro-constant".
42589 * conform/conformtest.pl: Only accept expected macro values with
42590 "==". Parse all "macro" lines in one place.
42591 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42593 * conform/conformtest.pl: Handle braced types on "constant" lines
42594 instead of handling "typed-constant".
42595 * conform/data/signal.h-data: Use "constant" instead of
42598 * conform/conformtest.pl: Handle "optional-" at start of lines in
42599 one place rather than duplicating several cases. Handle each
42600 format of "macro" line with initial "optional-".
42602 * conform/conformtest.pl: Only accept expected constant or
42603 optional-constant values with "==". Parse all "constant" lines in
42604 one place. Parse all "optional-constant" lines in one place.
42605 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42606 * conform/data/fmtmsg.h-data: Likewise.
42607 * conform/data/netinet/in.h-data: Likewise.
42608 * conform/data/tar.h-data: Likewise.
42609 * conform/data/limits.h-data: Use "==" form on "constant" and
42610 "optional-constant" lines.
42612 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42613 Use -std=c99 for XOPEN2K.
42614 (@knownproblems): Remove.
42615 (newtoken): Don't check %isknown.
42617 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42618 Do not expect macro.
42619 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42620 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42621 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42622 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42623 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42624 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42625 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42626 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42627 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42628 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42629 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42630 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42631 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42632 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42633 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42634 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42635 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42636 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42637 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42638 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42639 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42640 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42641 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42642 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42643 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42644 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42645 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42646 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42647 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42648 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42649 [XPG3] (acosh): Likewise.
42650 [XPG3] (asinh): Likewise.
42651 [XPG3] (atanh): Likewise.
42652 [XPG3] (cbrt): Likewise.
42653 [XPG3] (expm1): Likewise.
42654 [XPG3] (ilogb): Likewise.
42655 [XPG3] (log1p): Likewise.
42656 [XPG3] (logb): Likewise.
42657 [XPG3] (nextafter): Likewise.
42658 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42659 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42660 [XPG3] (remainder): Likewise.
42661 [XPG3] (rint): Likewise.
42662 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42663 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42664 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42665 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42666 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42667 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42668 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42669 [UNIX98 || XOPEN2K] (scalb): Expect.
42670 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42671 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42672 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42673 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42674 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42675 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42676 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42677 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42678 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42679 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42680 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42681 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42682 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42683 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42684 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42685 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42686 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42687 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42688 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42689 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42690 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42691 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42692 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42693 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42694 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42695 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42696 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42697 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42698 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42699 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42700 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42701 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42702 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42703 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42704 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42705 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42706 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42707 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42708 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42709 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42710 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42711 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42712 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42713 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42714 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42715 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42716 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42717 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42718 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42719 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42720 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42721 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42722 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42723 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42724 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42725 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42726 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42727 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42728 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42729 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42730 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42731 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42732 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42733 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42734 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42735 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42736 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42737 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42738 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42739 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42740 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42741 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42742 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42743 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42744 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42745 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42746 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42747 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42748 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42749 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42750 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42751 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42752 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42753 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42754 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42755 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42756 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42757 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42758 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42759 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42760 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42761 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42762 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42763 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42764 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42765 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42766 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42767 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42768 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42769 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42770 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42771 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42772 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42773 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42774 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42775 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42776 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42777 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42778 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42779 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42780 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42781 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42782 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42783 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42784 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42785 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42786 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42787 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42788 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42789 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42790 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42791 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42792 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42793 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42794 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42795 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42796 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42797 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42798 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42799 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42800 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42801 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42802 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42803 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42804 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42805 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42806 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42808 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42809 _XOPEN_SOURCE_EXTENDED for XPG4.
42811 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42813 * Makeconfig (localtime): Remove variable.
42814 (inst_localtime-file): Likewise.
42816 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42837 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42841 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42842 comparisons to determine direction to adjust input.
42843 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42844 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42845 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42847 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42849 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42851 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42852 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42854 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42856 * math/libm-test.inc (nexttoward_test): Add more tests.
42858 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42861 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42862 in version GLIBC_2.1, not GLIBC_2.0.
42863 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42866 2012-04-30 Joseph Myers <joseph@codesourcery.com>
42869 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42871 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42872 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42873 * math/libm-test.inc (acos_test): Add more tests.
42874 (asin_test): Likewise.
42875 * sysdeps/i386/fpu/libm-test-ulps: Update.
42876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42879 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42881 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42882 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42883 * math/libm-test.inc (acos_test_tonearest): New function.
42884 (acos_test_towardzero): Likewise.
42885 (acos_test_downward): Likewise.
42886 (acos_test_upward): Likewise.
42887 (asin_test_tonearest): Likewise.
42888 (asin_test_towardzero): Likewise.
42889 (asin_test_downward): Likewise.
42890 (asin_test_upward): Likewise.
42891 (main): Call the new functions.
42892 * sysdeps/i386/fpu/libm-test-ulps: Update.
42893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42897 * math/e_exp10.c: Include <float.h>.
42898 (__ieee754_exp10): Handle underflow here rather than multiplying
42899 large negative argument by M_LN10.
42900 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42902 * math/e_exp10l.c: Include <float.h>.
42903 (__ieee754_exp10l): Handle underflow here rather than multiplying
42904 large negative argument by M_LN10l.
42905 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42906 spurious overflow exception on underflow.
42908 2012-04-29 Marek Polacek <polacek@redhat.com>
42910 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42911 (__fortify_function): New macro.
42912 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42913 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42914 __extern_always_inline.
42915 * libio/bits/stdio2.h: Likewise.
42916 * libio/bits/stdio.h: Likewise.
42917 * string/string.h: Likewise.
42918 * string/bits/string3.h: Likewise.
42919 * include/stdio.h: Likewise.
42920 * stdlib/bits/stdlib.h: Likewise.
42921 * stdlib/stdlib.h: Likewise.
42922 * rt/bits/mqueue2.h: Likewise.
42923 * rt/mqueue.h: Likewise.
42924 * posix/bits/unistd.h: Likewise.
42925 * posix/unistd.h: Likewise.
42926 * io/bits/poll2.h: Likewise.
42927 * io/bits/fcntl2.h: Likewise.
42928 * io/fcntl.h: Likewise.
42929 * io/sys/poll.h: Likewise.
42930 * misc/bits/syslog.h: Likewise.
42931 * misc/bits/syslog-ldbl.h: Likewise.
42932 * misc/sys/syslog.h: Likewise.
42933 * socket/bits/socket2.h: Likewise.
42934 * socket/sys/socket.h: Likewise.
42935 * debug/tst-chk1.c: Likewise.
42936 * wcsmbs/bits/wchar2.h: Likewise.
42937 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42938 * wcsmbs/wchar.h: Likewise.
42940 2012-04-29 Andreas Jaeger <aj@suse.de>
42942 * Makerules (tests): Remove enable-check-abi protection.
42943 (check-abi-warn): Remove.
42944 (check-abi-%): Remove check-abi-warn usage.
42946 * configure.in: Remove check-abi configure option.
42947 * configure: Regenerated.
42948 * config.make.in (enable-check-abi): Remove.
42950 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42953 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42954 double functions to double *_finite functions.
42957 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42958 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42960 * stdio-common/Makefile (tests): Add tst-sprintf3.
42961 * stdio-common/tst-sprintf3.c: New file.
42963 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42964 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42966 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42968 * conform/conformtest.pl: Remove duplicate typed-constant
42971 2012-04-28 David S. Miller <davem@davemloft.net>
42973 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42974 (check-abi-%): Remove AWK script prerequisite and explicit
42976 (check-abi): Rewrite to just diff the symlist with the abilist.
42977 (config-tls, config-abi-config): Delete, no longer used.
42978 (update-abi-%): Remove AWK script and explicit abilist directory.
42979 (update-abi): Rewrite to simply compare and conditionally copy the
42980 symlist and the sysdep abilist file. Remove update-abi-config
42982 * abilist/ld.abilist: Remove.
42983 * abilist/libBrokenLocale.abilist: Remove.
42984 * abilist/libanl.abilist: Remove.
42985 * abilist/libcrypt.abilist: Remove.
42986 * abilist/libdl.abilist: Remove.
42987 * abilist/librt.abilist: Remove.
42988 * abilist/libthread_db.abilist: Remove.
42989 * abilist/libutil.abilist: Remove.
42990 * scripts/extract-abilist.awk: Remove.
42991 * scripts/merge-abilist.awk: Remove.
42992 * sysdeps/generic/libcidn.abilist: New file.
42993 * sysdeps/generic/libnss_compat.abilist: New file.
42994 * sysdeps/generic/libnss_db.abilist: New file.
42995 * sysdeps/generic/libnss_dns.abilist: New file.
42996 * sysdeps/generic/libnss_files.abilist: New file.
42997 * sysdeps/generic/libnss_hesiod.abilist: New file.
42998 * sysdeps/generic/libnss_nis.abilist: New file.
42999 * sysdeps/generic/libnss_nisplus.abilist: New file.
43000 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43001 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43002 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43004 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43005 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43006 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43007 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43008 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43009 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43010 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43011 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43012 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43014 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43015 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43016 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43017 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43019 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43020 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43021 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43022 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43023 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43024 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43026 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43027 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43028 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43030 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43133 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43134 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43135 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43137 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43138 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43139 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43140 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43141 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43142 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43143 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43144 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43145 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43146 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43198 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43200 * conform/conformtest.pl: Fix typo in handling typed-constant from
43203 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43205 * README: Cut down references to pre-2.6 Linux kernels and
43206 Linuxthreads. Update lists of configurations in libc and ports
43207 and sort alphabetically. Say "or newer" with Linux kernel version
43210 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43212 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43215 * math/libm-test.inc (logb_test_downward): New test to expose
43216 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43219 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43222 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43224 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43225 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43227 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43229 * sysdeps/unix/i386/brk.S: Remove file.
43230 * sysdeps/unix/i386/dl-brk.S: Likewise.
43231 * sysdeps/unix/i386/pipe.S: Likewise.
43232 * sysdeps/unix/i386/sigreturn.S: Likewise.
43233 * sysdeps/unix/i386/syscall.S: Likewise.
43234 * sysdeps/unix/i386/vfork.S: Likewise.
43235 * sysdeps/unix/i386/wait.S: Likewise.
43237 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43238 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43240 * configure.in (arm*-none*): Do not allow without
43241 --enable-hacker-mode.
43242 (netbsd*): Remove case setting base_os.
43243 (386bsd*): Likewise.
43244 (freebsd*): Likewise.
43247 (sunos*): Likewise.
43248 (ultrix*): Likewise.
43249 (newsos*): Likewise.
43250 (dynix*): Likewise.
43256 (minix*): Likewise.
43257 (irix4*): Likewise.
43258 (irix6*): Likewise.
43259 (solaris[2-9]*): Likewise.
43261 * configure: Regenerated.
43263 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43266 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43267 overflow or cancellation in calculating denominator.
43268 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43269 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43270 down expression to avoid unexpected rounding in newer GCCs.
43271 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43273 2012-04-26 David S. Miller <davem@davemloft.net>
43275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43276 long-double compat symbols.
43277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43291 2012-04-25 David S. Miller <davem@davemloft.net>
43293 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43294 HWCAP_* values only after the memory barriers have been defined.
43295 (atomic_full_barrier): Define.
43296 (atomic_read_barrier): Define.
43297 (atomic_write_barrier): Define.
43299 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43301 * shlib-versions: Add libgcc_s version information.
43302 * sysdeps/generic/libgcc_s.h: Remove.
43303 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43305 * sysdeps/gnu/unwind-resume.c: Likewise.
43306 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43308 2012-04-25 David S. Miller <davem@davemloft.net>
43310 * sysdeps/unix/sparc/brk.S: Delete.
43311 * sysdeps/unix/sparc/dl-brk.S: Delete.
43312 * sysdeps/unix/sparc/pipe.S: Delete.
43313 * sysdeps/unix/sparc/sysdep.S: Delete.
43314 * sysdeps/unix/sparc/sysdep.h: Delete.
43315 * sysdeps/unix/sparc/vfork.S: Delete.
43316 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43317 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43318 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43319 (ret_ERRVAL, r0, r1, MOVE): Define.
43320 (JUMPTARGET): Remove.
43321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43322 sysdeps/unix/sparc/sysdep.h
43323 (ENTRY, END): Remove.
43324 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43326 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43328 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43329 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43332 * timezone/README: Update upstream location and email address for
43334 * timezone/zdump.c: Update from tzcode 2012b.
43335 * timezone/zic.c: Likewise.
43337 * configure.in (libc_cv_as_needed): Remove test.
43338 * configure: Regenerated.
43339 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43340 conditional definition.
43341 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43342 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43343 * config.make.in (have-as-needed): Remove variable.
43345 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43346 Paul Pluzhnikov <ppluzhnikov@google.com>
43348 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43351 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43353 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43354 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43355 * sysdeps/sh/strlen.S: Likewise.
43357 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43359 * sysdeps/unix/fork.S: Remove file.
43360 * sysdeps/unix/i386/fork.S: Likewise.
43361 * sysdeps/unix/sparc/fork.S: Likewise.
43363 * sysdeps/unix/system.c: Remove file.
43364 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43366 * sysdeps/unix/getegid.S: Remove file.
43367 * sysdeps/unix/geteuid.S: Likewise.
43369 2012-04-24 Roland McGrath <roland@hack.frob.com>
43371 * scripts/check-localplt.awk: New file.
43372 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43374 * scripts/data/localplt-generic.data: Add a comment.
43376 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43377 NODE when __dir_mkfile failed.
43378 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43379 Reported by Ludovic Courtès <ludo@gnu.org>.
43381 2012-04-24 Andreas Jaeger <aj@suse.de>
43383 * Makerules (common-clean): Also remove gen-as-const-headers
43386 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43388 * Makerules (native-compile): Do not change working directory for
43389 build. Use $(OUTPUT_OPTION) in command.
43390 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43392 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43395 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43396 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43397 * math/libm-test.inc (floor_test): Add more tests.
43398 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43400 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43402 * sysdeps/unix/getdents.c: Remove file.
43403 * sysdeps/unix/sysv/getdents.c: Likewise.
43404 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43406 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43407 sysdeps/unix/mman/syscalls.list.
43409 (mprotect): Likewise.
43411 (munmap): Likewise.
43412 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43413 * sysdeps/unix/mman/syscalls.list: Remove.
43414 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43416 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43417 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43418 * configure: Regenerated.
43419 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43420 $(libgcc_s_suffix).
43421 * config.make.in (libgcc_s_suffix): Remove variable.
43423 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43425 * sysdeps/unix/sysv/gethostname.c: Move to ...
43426 * sysdeps/posix/gethostname.c: ... here.
43428 * sysdeps/unix/execve.S: Remove file.
43430 * sysdeps/unix/_exit.S: Remove file.
43432 2012-04-23 Andreas Jaeger <aj@suse.de>
43435 * manual/Makefile: Remove make dist support, there's no
43436 need for a stand-alone documentation tar ball.
43437 (TEXI2DVI): Define always, it's not in Makeconfig.
43440 (edition): Removed.
43441 (glibc-doc-$(edition).tar): Removed
43445 (ETAGS): Remove, it's in Makeconfig.
43446 (move-if-change): Remove, it's in Makeconfig.
43448 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43451 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43452 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43453 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43454 (strtod_l, strtof_l, strtold_l): Remove __wur.
43455 It is not necessarily an error to ignore strtol's return value.
43456 One can reliably look at the stored endptr to decide whether
43457 the number had valid syntax.
43459 2012-04-21 Andreas Jaeger <aj@suse.de>
43462 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43464 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43466 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43467 * sysdeps/unix/sysv/Versions: Remove file.
43469 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43474 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43478 version from __vm86.
43480 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43482 * sysdeps/unix/common/lxstat.c: Remove file.
43483 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43485 * sysdeps/unix/sysv/Makefile: Remove file.
43487 * sysdeps/unix/sysv/direct.h: Remove file.
43489 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43490 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43491 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43492 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43493 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43494 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43495 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43497 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43499 * sysdeps/unix/xmknod.c: Remove file.
43500 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43502 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43504 * sysdeps/unix/sysv/i386/time.S: Remove file.
43506 * sysdeps/unix/fxstat.c: Remove file.
43507 * sysdeps/unix/xstat.c: Likewise.
43508 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43510 * sysdeps/unix/sysv/sigaction.c: Remove file.
43512 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43513 (sysdep_headers): Remove variable.
43514 [termio.h not in sysdep_headers] (generated): Likewise.
43515 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43516 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43517 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43518 * sysdeps/unix/sysv/tcflow.c: Likewise.
43519 * sysdeps/unix/sysv/tcflush.c: Likewise.
43520 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43521 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43522 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43523 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43524 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43526 * sysdeps/unix/siglist.c: Remove file.
43528 * sysdeps/unix/getppid.S: Remove file.
43530 * sysdeps/unix/mkdir.c: Remove file.
43531 * sysdeps/unix/rmdir.c: Likewise.
43533 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43535 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43537 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43538 errlist-compat value.
43540 2012-04-18 David S. Miller <davem@davemloft.net>
43542 * sysdeps/generic/memcopy.h (reg_char): Delete.
43543 * debug/strcat_chk.c: Use char, not reg_char.
43544 * debug/strcpy_chk.c: Likewise.
43545 * debug/strncat_chk.c: Likewise.
43546 * debug/strncpy_chk.c: Likewise.
43547 * string/memchr.c: Likewise.
43548 * string/memrchr.c: Likewise.
43549 * string/rawmemchr.c: Likewise.
43550 * string/strcat.c: Likewise.
43551 * string/strchr.c: Likewise.
43552 * string/strchrnul.c: Likewise.
43553 * string/strcmp.c: Likewise.
43554 * string/strcpy.c: Likewise.
43555 * string/strncat.c: Likewise.
43556 * string/strncmp.c: Likewise.
43557 * string/strncpy.c: Likewise.
43559 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43561 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43562 __builtin_memcopy is called when src and dest ranges are known to not
43565 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43567 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43568 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43569 fwd_align_merge macro call.
43570 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43571 bwd_align_merge macro call.
43572 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43574 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43576 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43577 bwd_align_merge macros.
43578 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43579 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43580 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43582 2012-04-18 David S. Miller <davem@davemloft.net>
43584 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43586 2012-04-18 Andreas Jaeger <aj@suse.de>
43589 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43590 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43591 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43593 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43594 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43595 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43597 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43598 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43599 Adjust for changed ldbl-128 files.
43601 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43602 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43603 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43605 2012-04-17 David S. Miller <davem@davemloft.net>
43607 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43609 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43611 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43612 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43613 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43614 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43615 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43616 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43618 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43621 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43622 * math/libm-test.inc: Add ilogb errno and exception tests.
43623 * math/w_ilogb.c: New file: ilogb wrapper.
43624 * math/w_ilogbf.c: New file: ilogbf wrapper.
43625 * math/w_ilogbl.c: New file: ilogbl wrapper.
43626 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43627 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43628 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43629 exception being thrown with 0.0 as argument.
43630 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43631 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43632 exception being thrown with 0.0 as argument.
43633 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43634 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43635 exception being thrown with 0.0 as argument.
43636 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43637 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43638 exception being thrown with 0.0 as argument.
43639 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43640 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43641 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43642 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43643 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43644 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43645 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43646 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43647 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43649 2012-04-17 Petr Baudis <pasky@ucw.cz>
43651 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43654 2012-04-16 Marek Polacek <polacek@redhat.com>
43656 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43658 2012-04-16 Marek Polacek <polacek@redhat.com>
43660 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43661 operands of fdivp instruction.
43663 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43665 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43666 * elf/tst-auditmod3b.c: Likewise.
43667 * elf/tst-auditmod4b.c: Likewise.
43668 * elf/tst-auditmod5b.c: Likewise.
43669 * elf/tst-auditmod6b.c: Likewise.
43670 * elf/tst-auditmod6c.c: Likewise.
43671 * elf/tst-auditmod7b.c: Likewise.
43672 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43673 * sysdeps/x86_64/preconfigure.in: Likewise.
43674 * sysdeps/x86_64/preconfigure: Regenerated.
43676 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43678 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43681 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43683 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43684 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43686 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43689 * locale/iso-639.def: Fix gl language name. Spotted by
43692 2012-04-12 Roland McGrath <roland@hack.frob.com>
43695 * libio/libio.h (__io_write_fn): Update comment.
43697 2012-04-12 Petr Baudis <pasky@ucw.cz>
43700 * stdio.texi (Hook Functions): The user provided writer function
43701 is not allowed to return -1.
43703 2012-04-11 David S. Miller <davem@davemloft.net>
43705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43707 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43709 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43710 Add a leading slash to rtkaio.
43712 2012-04-11 Jim Meyering <meyering@redhat.com>
43715 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43716 It is not necessarily an error to ignore fwrite's return
43717 value. One can reliably use ferror to test for errors after
43720 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43722 * bits/types.h (__snseconds_t): New type.
43723 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43725 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43727 (__SNSECONDS_T_TYPE): Likewise.
43728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43729 (__SNSECONDS_T_TYPE): Likewise.
43730 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43731 (__SNSECONDS_T_TYPE): Likewise.
43733 2012-04-10 Andreas Jaeger <aj@suse.de>
43736 * manual/time.texi (Processor Time): Return type of times is
43737 elapsed real time since an arbitrary point in the past.
43738 (CPU Time): Move CLK_TCK from here...
43739 (Processor Time): ...to here. Correct description.
43740 * manual/conf.texi (Constants for Sysconf): Correct description of
43743 2012-04-10 David S. Miller <davem@davemloft.net>
43746 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43747 where the is a gap between DT_REL(A) and DT_JMPREL.
43749 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43751 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43752 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43753 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43755 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43757 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43758 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43759 (dl_main): Handle --inhibit-cache.
43760 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43762 * elf/dl-load.c (_dl_map_object): Use it.
43763 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43765 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43768 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43769 (__ieee754_powl): Saturate large exponents rather than testing for
43770 overflow of y*log2(x).
43771 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43772 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43776 * math/s_ctan.c: Include <float.h>.
43777 (__ctan): Avoid internal overflow or cancellation in calculating
43779 * math/s_ctanf.c: Likewise.
43780 * math/s_ctanl.c: Likewise.
43781 * math/s_ctanh.c: Likewise.
43782 * math/s_ctanhf.c: Likewise.
43783 * math/s_ctanhl.c: Likewise.
43784 * math/libm-test.inc (ctan_test): Add more tests.
43785 (ctanh_test): Likewise.
43786 * sysdeps/i386/fpu/libm-test-ulps: Update.
43787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43789 2012-04-09 Andreas Jaeger <aj@suse.de>
43792 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43793 is an optional BSD extension.
43796 * manual/stdio.texi (Opening Streams): Document additional fopen
43799 2012-04-09 Roland McGrath <roland@hack.frob.com>
43801 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43802 %eax without telling the compiler.
43804 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43807 * manual/install.texi: Use sourceware.org.
43809 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43812 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43813 (__ieee754_pow): Generate overflow and underflow using huge*huge
43814 and tiny*tiny rather than just returning constant infinity or zero
43815 for large exponents.
43816 * math/libm-test.inc (pow_test): Require overflow exceptions for
43817 applicable cases of large exponents.
43820 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43821 (__ieee754_pow): Use iterative multiplication algorithm only for
43822 integer exponents with absolute value below 1024. Check for odd
43823 integer exponents when using algorithm for real exponents.
43824 * math/libm-test.inc (pow_test): Add more tests.
43825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43827 2012-04-08 Joseph Myers <joseph@codesourcery.com>
43830 * math/libm-test.inc (exp_test): Do not allow overflow exception
43833 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43836 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43837 instead of __kernel_standard_f.
43839 2012-04-08 Mike Frysinger <vapier@gentoo.org>
43841 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43842 * sysdeps/x86_64/memset_chk.S: Likewise.
43844 2012-04-08 Andreas Jaeger <aj@suse.de>
43847 * manual/startup.texi (Environment Access): Describe return value
43848 for putenv and setenv.
43851 * manual/filesys.texi (Directory Entries): Add description for
43855 * manual/filesys.texi (Directory Entries): Clarify that it's file
43856 system not operating system in the description of DT_UNKNOWN.
43859 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43861 2012-04-08 Stephen Compall <s11@member.fsf.org>
43864 * manual/llio.texi (Opening and Closing Files): Add cross
43865 reference to explain mode argument.
43867 2012-04-07 Mike Frysinger <vapier@gentoo.org>
43869 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43870 * sysdeps/x86_64/memset_chk.S: Likewise.
43872 2012-04-07 David S. Miller <davem@davemloft.net>
43874 * elf/elf.h (R_SPARC_WDISP10): Define.
43875 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43878 R_SPARC_SIZE64 and R_SPARC_H34.
43880 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43882 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43883 conditions and remove no longer applicable assertion.
43885 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43887 * bits/byteswap.h: Include <features.h>.
43888 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43889 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43891 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43893 * bits/byteswap.h (__bswap_16): Removed.
43894 Include <bits/byteswap-16.h> to get __bswap_16.
43895 * sysdeps/i386/bits/byteswap.h: Likewise.
43896 * sysdeps/s390/bits/byteswap.h: Likewise.
43897 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43898 * bits/byteswap-16.h: New file.
43899 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43900 * sysdeps/s390/bits/byteswap-16.h: Likewise.
43901 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43902 * string/Makefile (headers): Add bits/byteswap-16.h.
43904 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43907 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43909 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43910 * nss/tst-nss-static.c: New.
43912 2012-04-06 Robert Millan <rmh@gnu.org>
43915 * manual/llio.texi (File Position Primitive): lseek
43916 refers to WHENCE when it really means OFFSET.
43918 2012-04-06 Andreas Jaeger <aj@suse.de>
43920 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43921 strncmp declarations.
43923 * abilist/libc.abilist: Add __poll and __ppoll.
43925 2012-04-05 David S. Miller <davem@davemloft.net>
43927 * scripts/check-local-headers.sh: Accept a host triplet in the
43928 path matched by the exclude regexp.
43930 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43932 * sysdeps/powerpc/powerpc32/dl-machine.h
43933 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43934 * sysdeps/s390/s390-32/dl-machine.h
43935 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43936 * sysdeps/sparc/sparc32/dl-machine.h
43937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43938 * sysdeps/sparc/sparc64/dl-machine.h
43939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43941 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43943 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43944 undefined symbol errors.
43946 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43949 2012-04-05 Michael Matz <matz@suse.de>
43952 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43954 2012-04-05 Andreas Jaeger <aj@suse.de>
43957 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43960 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43962 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43963 which ROUND is no valid rounding mode.
43965 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43967 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43969 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43971 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43973 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43974 an exception using FPU order intentionally.
43976 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43978 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43979 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43980 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43981 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43983 2012-04-05 Simon Josefsson <simon@josefsson.org>
43986 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43987 EINVAL when BUFLEN is too smal.
43989 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43992 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43993 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43995 2012-04-03 Andreas Jaeger <aj@suse.de>
43998 * manual/setjmp.texi (System V contexts): Fix sentence.
44001 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44002 New macro for this case.
44003 [!__GNUC__] (__bswap_64): New inline function for this case.
44004 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44005 * bits/byteswap.h: Likewise.
44006 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44007 ull, guard with __GLIBC_HAVE_LONG_LONG.
44009 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44010 __GLIBC_HAVE_LONG_LONG.
44012 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44013 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44015 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44018 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44019 inptr and inend, rather than using last_ch.
44021 2012-04-02 David S. Miller <davem@davemloft.net>
44023 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44024 * stdio-common/printf-parse.h (read_int): Change return type to
44025 'int', return -1 on INT_MAX overflow.
44026 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44027 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44028 overflows INT_MAX. Check for overflow of in-format-string precision
44029 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44030 SIZE_MAX not INT_MAX for integer overflow test.
44031 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44032 skip the construct in the format string but do not record anything.
44033 * stdio-common/bug22.c: Adjust to test both width/prevision
44034 INT_MAX overflow as well as total length INT_MAX overflow. Check
44035 explicitly for proper errno values.
44037 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44039 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44041 * string/test-strcmp.c [! WIDE]: Likewise.
44042 * time/tst-mktime2.c: Likewise for INT_MAX.
44043 * string/test-string.h: #include <sys/param.h> for MIN.
44045 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44046 * sysdeps/i386/init-first.c (init): Likewise.
44047 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44048 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44049 * sysdeps/sh/init-first.c (init): Likewise.
44051 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44053 * po/ru.po: Update from translation team.
44054 * po/vi.po: Likewise.
44056 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44058 * resolv/nss_dns/dns-host.c: Merge copyright years.
44060 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44062 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44063 Optimize memcpy with prefetch if
44064 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44065 src, dst pointers have unequal 16 byte alignments.
44067 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44070 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44071 from a CNAME entry and return the minimum ttl for the query.
44072 (gaih_getanswer_slice): Likewise.
44074 2012-03-30 Jeff Law <law@redhat.com>
44076 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44078 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44079 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44081 * resolv/nss_dns/dns-host.c: Update copyright year.
44083 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44085 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44086 requests to save a system call. Fix check that all bytes are sent.
44088 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44089 comments for sendmmsg.
44091 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44094 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44095 with only 1 character between 0x0041 and 0x01b0.
44096 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44097 * wcsmbs/tst-mbsnrtowcs.c: New file.
44099 2012-03-29 David S. Miller <davem@davemloft.net>
44101 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44102 small copies by hand.
44104 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44107 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44108 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44111 2012-03-28 David S. Miller <davem@davemloft.net>
44113 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44114 that branches into memcpy.
44115 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44116 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44118 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44119 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44121 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44122 implementation too.
44123 * sysdeps/sparc/mempcpy.S: New file.
44125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44126 the IFUNC routine in the libc case.
44127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44129 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44130 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44131 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44132 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44133 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44134 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44135 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44136 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44138 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44139 loop to 256 bytes instead of 64 bytes and fix test signedness.
44141 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44142 * sysdeps/sparc/sparc32/Makefile: rather than here...
44143 * sysdeps/sparc/sparc64/Makefile: and here.
44145 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44147 * malloc/mallocbug.c: Avoid warnings about unused variables.
44149 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44152 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44153 in the right place. Discard and retry query if response is
44154 larger than input buffer size.
44156 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44161 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44162 x for large integer exponent.
44163 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44164 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44165 sign of result as needed afterwards.
44166 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44167 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44168 result for underflowing pow the same as for overflow.
44169 (__kernel_standard_l): Handle powl overflow and underflow here
44170 rather than calling __kernel_standard.
44171 * math/libm-test.inc (pow_test): Add more tests.
44186 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44187 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44188 (__kernel_standard_l): New function.
44189 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44191 * math/w_acosl.c (__acosl): Likewise.
44192 * math/w_asinl.c (__asinl): Likewise.
44193 * math/w_atan2l.c (__atan2l): Likewise.
44194 * math/w_atanhl.c (__atanhl): Likewise.
44195 * math/w_coshl.c (__coshl): Likewise.
44196 * math/w_exp10l.c (__exp10l): Likewise.
44197 * math/w_exp2l.c (__exp2l): Likewise.
44198 * math/w_fmodl.c (__fmodl): Likewise.
44199 * math/w_hypotl.c (__hypotl): Likewise.
44200 * math/w_j0l.c (__j0l, __y0l): Likewise.
44201 * math/w_j1l.c (__j1l, __y1l): Likewise.
44202 * math/w_jnl.c (__jnl, __ynl): Likewise.
44203 * math/w_lgammal.c (__lgammal): Likewise.
44204 * math/w_log10l.c (__log10l): Likewise.
44205 * math/w_log2l.c (__log2l): Likewise.
44206 * math/w_logl.c (__logl): Likewise.
44207 * math/w_powl.c (__powl): Likewise.
44208 * math/w_remainderl.c (__remainderl): Likewise.
44209 * math/w_scalbl.c (sysv_scalbl): Likewise.
44210 * math/w_sinhl.c (__sinhl): Likewise.
44211 * math/w_sqrtl.c (__sqrtl): Likewise.
44212 * math/w_tgammal.c (__tgammal): Likewise.
44213 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44214 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44215 * math/libm-test.inc (acos_test): Add more tests.
44216 (acosh_test): Likewise.
44217 (asin_test): Likewise.
44218 (atanh_test): Likewise.
44219 (exp_test): Likewise.
44220 (exp10_test): Likewise.
44221 (exp2_test): Likewise.
44222 (expm1_test): Likewise.
44223 (lgamma_test): Likewise.
44224 (log_test): Likewise.
44225 (log10_test): Likewise.
44226 (log1p_test): Likewise.
44227 (log2_test): Likewise.
44228 (pow_test): Do not allow some spurious overflow exceptions.
44229 (sqrt_test): Add more tests.
44230 (tgamma_test): Likewise.
44231 (y0_test): Likewise.
44232 (y1_test): Likewise.
44233 (yn_test): Likewise.
44235 2012-03-27 Anton Blanchard <anton@samba.org>
44237 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44239 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44240 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44241 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44243 2012-03-27 David S. Miller <davem@davemloft.net>
44245 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44247 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44248 have-as-vis3 check.
44250 2012-03-27 Andreas Jaeger <aj@suse.de>
44252 * sysdeps/x86_64/elf/configure.in: Moved to ...
44253 * sysdeps/x86_64/configure.in: ... here.
44254 * sysdeps/x86_64/elf/start.S: Moved to ...
44255 * sysdeps/x86_64/start.S: ... here.
44256 * sysdeps/x86_64/elf/configure: Delete.
44258 * sysdeps/x86_64/configure.in: Merge contents from
44259 sysdeps/i386/configure.in (without i686 check).
44261 * sysdeps/i386/elf/Versions: Merge into ...
44262 * sysdeps/i386/Versions: ... this.
44263 * sysdeps/i386/elf/Versions: Delete file.
44264 * sysdeps/i386/elf/start.S: Moved to ...
44265 * sysdeps/i386/start.S: ...here.
44266 * sysdeps/i386/elf/configure.in: Merge into...
44267 * sysdeps/i386/configure.in: ...here.
44268 * sysdeps/i386/elf/configure.in: Delete file.
44269 * sysdeps/i386/elf/configure: Delete file.
44271 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44272 * debug/backtracesyms.c: ... here.
44273 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44274 * debug/backtracesymsfd.c: ... here.
44275 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44276 * sysdeps/generic/ifunc-sel.h: ... here.
44278 * sysdeps/unix/i386/start.c: Delete file.
44279 * sysdeps/unix/sparc/start.c: Delete file.
44280 * sysdeps/unix/start.c: Delete file.
44282 * sysdeps/sh/elf/configure.in: Moved to ...
44283 * sysdeps/sh/configure.in: ... here.
44284 * sysdeps/sh/elf/start.S: Moved to ...
44285 * sysdeps/sh/start.S: ... here.
44286 * sysdeps/sh/elf/configure: Delete file.
44288 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44289 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44290 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44291 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44292 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44293 * sysdeps/powerpc/powerpc64/start.S: here.
44294 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44295 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44296 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44297 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44298 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44300 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44301 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44302 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44303 * sysdeps/powerpc/powerpc32/start.S: ... here.
44304 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44305 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44306 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44308 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44309 * sysdeps/powerpc/ifunc-sel.h: ... here.
44310 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44311 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44313 * sysdeps/sparc/elf/configure.in: Moved to ...
44314 * sysdeps/sparc/configure.in: ... here.
44315 * sysdeps/sparc/elf/configure: Delete file.
44316 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44317 * sysdeps/sparc/sparc32/start.S: ... here.
44318 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44319 * sysdeps/sparc/sparc64/start.S: ... here.
44320 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44321 * sysdeps/sparc/sparc32/Makefile: ... this.
44322 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44323 * sysdeps/sparc/sparc64/Makefile: ... this.
44325 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44326 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44327 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44328 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44329 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44330 * sysdeps/s390/s390-32/setjmp.S: ... here.
44331 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44332 * sysdeps/s390/s390-32/configure.in: ... here.
44333 * sysdeps/s390/s390-32/elf/configure: Delete file.
44334 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44335 * sysdeps/s390/s390-32/start.S: ... here.
44337 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44338 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44339 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44340 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44341 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44342 * sysdeps/s390/s390-64/setjmp.S: ... here.
44343 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44344 * sysdeps/s390/s390-64/configure.in: ... here
44345 * sysdeps/s390/s390-64/elf/configure: Delete file.
44346 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44347 * sysdeps/s390/s390-64/start.S: ... here.
44348 * sysdeps/s390/s390-64/elf/configure: Delete.
44350 * configure.in: Remove support for elf directories in sysdeps.
44352 * configure: Regenerated.
44353 * sysdeps/i386/configure: Regenerated.
44354 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44355 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44356 * sysdeps/s390/s390-32/configure: Regenerated.
44357 * sysdeps/s390/s390-64/configure: Regenerated.
44358 * sysdeps/sh/configure: Regenerated.
44359 * sysdeps/sparc/configure: Regenerated.
44360 * sysdeps/x86_64/configure: Regenerated.
44362 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44366 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44367 denormal result into account.
44369 2012-03-25 Roland McGrath <roland@hack.frob.com>
44371 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44372 Reported by Allan McRae <allan@archlinux.org>.
44374 2012-03-23 Jeff Law <law@redhat.com>
44376 * nss/getnssent.c (__nss_getent): Fix typo.
44378 2012-03-23 David S. Miller <davem@davemloft.net>
44380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44382 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44384 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44385 to pad to uint64_t for each field.
44386 (dl_tls_index): Replace unsigned long with uint64_t.
44388 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44389 Paul Pluzhnikov <ppluzhnikov@google.com>
44392 * grp/Makefile (otherlibs): Don't set it.
44393 * inet/Makefile (otherlibs): Likewise.
44394 * login/Makefile (otherlibs): Likewise.
44395 * nscd/Makefile (otherlibs): Likewise.
44396 * posix/Makefile (otherlibs): Likewise.
44397 * pwd/Makefile (otherlibs): Likewise.
44398 * rt/Makefile (otherlibs): Likewise.
44399 * sunrpc/Makefile (otherlibs): Likewise.
44400 * nss/Makefile (otherlibs): Likewise.
44401 Add libnss_files to routines and static-only-routines.
44402 ($(objpfx)getent): Remove rule.
44403 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44404 static-only-routines.
44406 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44409 * math/s_cexp.c: Include <float.h>.
44410 (__cexp): Handle exp result overflowing not necessarily
44411 overflowing both real and imaginary parts of result.
44412 * math/s_cexpf.c: Likewise.
44413 * math/s_cexpl.c: Likewise.
44414 * math/libm-test.inc (cexp_test): Add more tests.
44415 * sysdeps/i386/fpu/libm-test-ulps: Update.
44416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44418 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44420 * include/link.h (ELFW): New macro.
44421 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44422 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44424 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44426 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44429 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44431 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44433 (struct La_x32_retval): Likewise.
44435 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44437 * sysdeps/x86_64/preconfigure.in: New file.
44438 * sysdeps/x86_64/preconfigure: New generated file.
44440 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44443 * math/e_exp2l.c: Include <float.h>.
44444 (__ieee754_exp2l): Handle overflow and underflow cases
44445 separately. Only pass fractional part of argument to
44447 * math/libm-test.inc (exp2_test): Add more tests.
44449 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44450 negating x to take absolute value.
44451 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44453 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44454 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44456 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44457 computing low part if x was negated.
44458 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44460 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44462 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44463 la_x32_gnu_pltexit.
44464 (pltexit): Cast int_retval to ptrdiff_t.
44465 * elf/tst-auditmod3b.c: Likewise.
44466 * elf/tst-auditmod4b.c: Likewise.
44467 * elf/tst-auditmod5b.c: Likewise.
44468 * elf/tst-auditmod6b.c: Likewise.
44469 * elf/tst-auditmod6c.c: Likewise.
44470 * elf/tst-auditmod7b.c: Likewise.
44472 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44473 and x32_gnu_pltexit.
44475 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44476 __ELF_NATIVE_CLASS.
44477 (La_x32_regs): New macro.
44478 (La_x32_retval): Likewise.
44479 (la_x32_gnu_pltenter): New function prototype.
44480 (la_x32_gnu_pltexit): Likewise.
44482 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44489 * configure.in (libc_cv_cc_nofma): Check for option to disable
44490 generation of FMA instructions.
44491 * configure: Regenerate.
44492 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44493 * sysdeps/ieee754/dbl-64/Makefile: New file.
44494 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44495 Remove brandred-fma4.
44496 (CFLAGS-brandred-fma4.c): Remove.
44497 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44498 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44500 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44503 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44505 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44506 LLONG_MAX != LONG_MAX.
44507 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44508 (_fitoa_word): Likewise.
44509 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44510 LLONG_MAX != LONG_MAX.
44511 * stdio-common/_itowa.h: Include <_itoa.h>.
44512 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44513 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44514 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44515 only if not defined.
44516 (_ITOA_WORD_TYPE): Likewise.
44517 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44518 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44520 2012-03-21 David S. Miller <davem@davemloft.net>
44522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44524 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44526 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44527 of x86_64 when setting libc_cv_slibdir, libdir and
44529 * sysdeps/unix/sysv/linux/configure: Regenerated.
44531 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44533 * manual/lang.texi (Old Varargs): Remove section.
44534 (How Variadic): Update menu.
44535 (va_start): Do not mention varargs.h.
44537 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44538 Joseph Myers <joseph@codesourcery.com>
44540 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44542 * configure: Regenerated.
44544 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44546 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44547 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44550 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44553 * Makefile (files-for-dist): Remove NOTES.
44554 (NOTES): Remove rule.
44555 * README: Don't refer to NOTES.
44556 * manual/creature.texi: Don't include macros.texi.
44557 * manual/intro.texi (creature.texi): Remove comment referring to
44560 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44561 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44562 * configure: Regenerated.
44563 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44564 LIBC_TRY_CC_OPTION.
44565 (libc_cv_as_i686): Likewise.
44566 (libc_cv_cc_avx): Likewise.
44567 (libc_cv_cc_sse2avx): Likewise.
44568 (libc_cv_cc_fma4): Likewise.
44569 (libc_cv_cc_novzeroupper): Likewise.
44570 * sysdeps/i386/configure: Regenerated.
44573 * sysdeps/i386/fpu/s_cexp.S: Remove.
44574 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44575 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44576 * math/libm-test.inc (cexp_test): Add more tests.
44577 * sysdeps/i386/fpu/libm-test-ulps: Update.
44578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44580 2012-03-21 Allan McRae <allan@archlinux.org>
44582 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44584 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44587 * math/w_exp2.c: Do not include <float.h>.
44588 (o_threshold, u_threshold): Remove.
44589 (__exp2): Calculate result before checking finiteness and calling
44591 * math/w_exp2f.c: Likewise.
44592 * math/w_exp2l.c: Likewise.
44593 * math/libm-test.inc (exp2_test): Require overflow exception for
44597 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44598 range of signed 64-bit integers before using fistpll. Remove
44599 checks for whether integers fit in mantissa bits.
44600 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44601 the range of signed 32-bit integers before using fistpl. Remove
44602 checks for whether integers fit in mantissa bits.
44603 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44604 (__ieee754_powl): Test for y outside the range of signed 64-bit
44605 integers before using fistpll. Reduce 64-bit values to 63-bit
44607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44608 divide-by-zero is raised for zero to large negative powers.
44609 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44610 (__ieee754_powl): Test for y outside the range of signed 64-bit
44611 integers before using fistpll. Reduce 64-bit values to 63-bit
44613 * math/libm-test.inc (pow_test): Add more tests.
44615 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44617 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44618 <stdio-common/_itoa.h>.
44619 * debug/segfault.c: Likewise.
44620 * elf/dl-cache.c: Likewise.
44621 * elf/dl-minimal.c: Likewise.
44622 * elf/dl-misc.c: Likewise.
44623 * elf/dl-sysdep.c: Likewise.
44624 * elf/dl-version.c: Likewise.
44625 * elf/rtld.c: Likewise.
44626 * hurd/hurdsock.c: Likewise.
44627 * hurd/lookup-retry.c: Likewise.
44628 * malloc/malloc.c: Likewise.
44629 * malloc/mtrace.c: Likewise.
44630 * nscd/nscd_getgr_r.c: Likewise.
44631 * nscd/nscd_getpw_r.c: Likewise.
44632 * nscd/nscd_getserv_r.c: Likewise.
44633 * posix/getopt_init.c: Likewise.
44634 * posix/wordexp.c: Likewise.
44635 * stdio-common/_itoa.c: Likewise.
44636 * stdio-common/printf_fphex.c: Likewise.
44637 * stdio-common/vfprintf.c: Likewise.
44638 * string/_strerror.c: Likewise.
44639 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44640 * sysdeps/i386/i686/hp-timing.h: Likewise.
44641 * sysdeps/mach/_strerror.c: Likewise.
44642 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44643 * sysdeps/mach/hurd/sethostid.c: Likewise.
44644 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44645 * sysdeps/mach/xpg-strerror.c: Likewise.
44646 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44647 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44648 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44649 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44650 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44651 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44652 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44653 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44654 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44655 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44656 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44657 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44658 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44659 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44660 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44661 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44662 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44663 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44664 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44665 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44666 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44668 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44670 * stdio-common/_itoa.h: Moved to ...
44671 * sysdeps/generic/_itoa.h: Here.
44673 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44675 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44676 instead of "_itoa.h" and "_itowa.h".
44677 * stdio-common/vfprintf.: Likewise.
44679 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44681 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44683 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44684 (__signbit): Likwise.
44685 (llrintf): Likwise.
44688 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44690 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44693 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44695 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44696 OVERFLOW_EXCEPTION_OK.
44697 * math/libm-test.inc ("Philosophy"): Update comment about
44699 (OVERFLOW_EXCEPTION): Define.
44700 (OVERFLOW_EXCEPTION_OK): Likewise.
44701 (INVALID_EXCEPTION_OK): Renumber.
44702 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44703 (IGNORE_ZERO_INF_SIGN): Likewise.
44704 (test_exceptions): Handle FE_OVERFLOW.
44705 (exp10_test): Expect overflow exceptions.
44706 (exp2_test): Likewise.
44707 (expm1_test): Likewise.
44708 (nextafter_test): Likewise.
44709 (pow_test): Likewise.
44710 (scalbn_test): Likewise.
44711 (scalbln_test): Likewise.
44713 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44715 * sysdeps/x86_64/bits/atomic.h
44716 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44718 (atomic_exchange_acq): Likewise.
44719 (__arch_exchange_and_add_body): Likewise.
44720 (__arch_add_body): Likewise.
44721 (atomic_add_negative): Likewise.
44722 (atomic_add_zero): Likewise.
44724 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44726 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44727 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44729 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44731 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44732 Check __x86_64__ instead of __WORDSIZE.
44734 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44736 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44738 2012-03-19 David S. Miller <davem@davemloft.net>
44740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44742 * sysdeps/sparc/fpu/fenv_private.h: New file.
44743 * sysdeps/sparc/fpu/math_private.h: Use it.
44744 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44746 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44747 (libc_feholdexcept_setroundl): Remove.
44748 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44750 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44751 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44753 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44755 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44756 int64_t instead of long int.
44757 (INSERT_WORDS64): Likwise.
44759 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44761 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44762 _Unwind_GetCFA return to _Unwind_Ptr first.
44764 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44767 * math/s_clog.c: Include <float.h>.
44768 (__clog): Scale large or subnormal inputs.
44769 * math/s_clogf.c: Likewise.
44770 * math/s_clogl.c: Likewise.
44771 * math/s_clog10.c: Include <float.h>.
44772 (M_LOG10_2): Define.
44773 (__clog10): Scale large or subnormal inputs.
44774 * math/s_clog10f.c: Likewise.
44775 * math/s_clog10l.c: Likewise.
44776 * math/libm-test.inc (clog_test): Add more tests.
44777 (clog10_test): Likewise.
44778 * sysdeps/i386/fpu/libm-test-ulps: Update.
44779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44782 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44784 * math/libm-test.inc (atan2_test): Add another test.
44786 * Makerules (common-objdir-compile): Remove.
44787 * sysdeps/unix/Makefile (config-generated): Do not add
44788 $(unix-generated) to variable.
44789 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44790 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44792 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44794 [generic bits/local_lim.h] (before-compile): Do not append to
44796 [generic bits/local_lim.h] (common-generated): Likewise.
44797 [generic sys/param.h] (before-compile): Do not append to variable.
44798 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44799 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44800 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44801 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44803 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44804 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44805 [generic sys/param.h] ($(addprefix
44806 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44807 [generic sys/param.h] (common-generated): Do not append to
44809 [generic sys/param.h] (sysdep_headers): Likewise.
44810 [generic bits/errno.h] (before-compile): Do not append to
44812 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44814 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44815 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44816 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44817 [generic bits/errno.h] (common-generated): Do not append to
44819 [generic bits/ioctls.h] (before-compile): Do not append to
44821 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44823 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44824 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44825 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44827 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44828 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44829 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44830 [generic bits/ioctls.h] (common-generated): Do not append to
44832 [generic sys/syscall.h] (syscall.h): Remove variable.
44833 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44835 [generic sys/syscall.h] (before-compile): Do not append to
44837 [generic sys/syscall.h] (common-generated): Likewise.
44838 * sysdeps/unix/errnos-tmpl.c: Remove file.
44839 * sysdeps/unix/errnos.awk: Likewise.
44840 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44841 * sysdeps/unix/ioctls.awk: Likewise.
44842 * sysdeps/unix/mk-local_lim.c: Likewise.
44843 * sysdeps/unix/snarf-ioctls: Likewise.
44845 2012-03-19 Richard Henderson <rth@twiddle.net>
44847 * sysdeps/i386/fpu/fenv_private.h: New file.
44848 * sysdeps/i386/fpu/math_private.h: Use it.
44849 (math_opt_barrier, math_force_eval): Remove.
44850 (libc_feholdexcept_setround_53bit): Remove.
44851 (libc_feupdateenv_53bit): Remove.
44852 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44853 (math_opt_barrier, math_force_eval): Remove.
44854 (libc_feholdexcept): Remove.
44855 (libc_feholdexcept_setround): Remove.
44856 (libc_fetestexcept, libc_fesetenv): Remove.
44857 (libc_feupdateenv_test): Remove.
44858 (libc_feupdateenv, libc_feholdsetround): Remove.
44859 (libc_feresetround): Remove.
44861 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44862 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44864 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44865 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44866 (libc_feupdateenv_testl): New.
44867 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44868 (libc_feupdateenv_testf): New.
44869 (libc_feupdateenv): Use libc_feupdateenv_test.
44870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44871 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44873 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44874 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44875 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44876 (libc_feresetround_noex): New.
44877 (libc_feresetround_noexf): New.
44878 (libc_feresetround_noexl): New.
44879 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44880 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44881 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44882 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44884 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44885 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44887 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44888 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44889 SET_RESTORE_ROUND_NOEX.
44890 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44891 SET_RESTORE_ROUND_NOEXF.
44892 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44893 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44894 (libc_feholdsetroundf): New.
44895 (libc_feresetround, libc_feresetroundf): New.
44897 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44898 (libc_feholdexcept_setround_53bit): Convert from macro to function.
44899 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
44901 * sysdeps/generic/math_private.h: Include <fenv.h>.
44902 (default_libc_feholdexcept): New.
44903 (default_libc_feholdexcept_setround): New.
44904 (default_libc_fesetenv, default_libc_feupdateenv): New.
44905 (libc_feholdexcept): Only define if undefined.
44906 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44907 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44908 (libc_feholdexcept_setroundl): Likewise.
44909 (libc_feholdexcept_setround_53bit): Likewise.
44910 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44911 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44912 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44913 (libc_feupdateenv_53bit): Likewise.
44914 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44915 (libc_feholdexcept): Convert from macro to inline function.
44916 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44917 (libc_fesetenv, libc_feupdateenv): Likewise.
44919 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44920 not previously defined.
44921 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44922 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44923 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44924 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44925 * sysdeps/ieee754/flt-32/math_private.h: New file.
44926 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44927 math_private.h below SET_FLOAT_WORD.
44928 (__isnan, __isinf_ns, __finite): Remove.
44929 (__isnanf, __isinf_nsf, __finitef): Remove.
44931 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44935 2012-03-17 David S. Miller <davem@davemloft.net>
44938 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44941 2012-03-16 David S. Miller <davem@davemloft.net>
44943 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44947 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44949 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44950 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44951 sysdep_routines when subdir is sysvipc.
44952 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44953 __getshmlba helper.
44955 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44957 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44959 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44962 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44964 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44965 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44966 (__lround): Renamed to ...
44967 (__llround): This. Replace long int with long long int.
44968 Define lround functions as aliases of llround functions.
44969 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44971 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44973 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44974 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44975 adresses to uintptr_t. Replace "long int" and "unsigned long
44976 int" with "greg_t" on va_arg.
44978 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44980 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44981 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44983 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44984 Move e_machine check before EI_CLASS check. Handle x32
44985 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44986 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44987 SKIP_EM_IA_64 and include
44988 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44990 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44991 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44992 (add_system_dir): New macro.
44994 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44995 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44997 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45008 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45010 * math/w_j0f.c (j0f): Likewise.
45012 * math/w_j0l.c (__j0l): Likewise.
45014 * math/w_j1.c (j1): Likewise.
45016 * math/w_j1f.c (j1f): Likewise.
45018 * math/w_j1l.c (__j1l): Likewise.
45020 * math/w_jn.c (jn): Likewise.
45022 * math/w_jnf.c (jnf): Likewise.
45024 * math/w_jnl.c (__jnl): Likewise.
45026 * math/libm-test.inc (j0_test): Add more tests.
45027 (j1_test): Likewise.
45028 (jn_test): Likewise. Add trailing semicolon to existing test.
45029 (y0_test): Likewise.
45030 (y1_test): Likewise.
45031 * sysdeps/i386/fpu/libm-test-ulps: Update.
45032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45036 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45037 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45038 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45039 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45040 (__tanl): Set errno for infinite argument.
45041 * sysdeps/i386/fpu/mptan.c: Remove.
45042 * sysdeps/i386/fpu/s_tan.S: Likewise.
45043 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45044 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45045 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45046 * math/libm-test.inc (tan_test): Add more tests and enable more
45047 tests for double and long double.
45048 * sysdeps/i386/fpu/libm-test-ulps: Update.
45049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45051 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45053 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45054 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45056 2012-03-16 Roland McGrath <roland@hack.frob.com>
45058 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45059 * configure.in: Use it for both main tree and add-ons.
45060 * configure: Regenerated.
45062 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45064 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45066 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45068 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45072 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45073 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45074 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45075 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45076 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45078 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45079 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45080 != 0 for prec == 2.
45081 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45082 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45083 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45084 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45085 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45086 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45087 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45088 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45089 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45090 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45091 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45092 * math/libm-test.inc (cos_test): Add more tests and enable more
45093 tests for long double.
45094 (sin_test): Likewise.
45095 (sincos_test): Likewise.
45096 * sysdeps/i386/fpu/libm-test-ulps: Update.
45097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45099 2012-03-16 David S. Miller <davem@davemloft.net>
45101 * sysdeps/sparc/fpu/math_private.h: New file.
45103 2012-03-15 David S. Miller <davem@davemloft.net>
45105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45119 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45120 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45122 * sysdeps/sparc/sparc-ifunc.h: New file.
45123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45161 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45162 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45163 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45164 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45165 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45166 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45168 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45170 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45174 2012-03-15 Andreas Jaeger <aj@suse.de>
45177 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45178 ieee754/flt-32 implementation for sin, cos and sincos.
45179 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45180 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45181 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45182 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45183 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45184 ieee754/flt-32 implementation for tan.
45186 * math/libm-test.inc (cos_test): Enable some large input tests for
45188 (sin_test): Likewise.
45189 (sincos_test): Likewise.
45190 (tan_test): Add tests for large input.
45192 * sysdeps/i386/fpu/libm-test-ulps: Update.
45194 2012-03-15 Andreas Jaeger <aj@suse.de>
45197 * math/libm-test.inc (cos_test): Add more test cases.
45198 (sin_test): Likewise.
45199 (sincos_test): Likewise.
45201 2012-03-15 Andreas Jaeger <aj@suse.de>
45204 * math/libm-test.inc (cos_test): Add a test case for large input
45206 (sin_test): Likewise.
45207 (sincos_test): Likewise.
45209 2012-03-15 Andreas Jaeger <aj@suse.de>
45210 Joseph Myers <joseph@codesourcery.com>
45213 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45214 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45215 * sysdeps/i386/fpu/branred.c: Likewise.
45216 * sysdeps/i386/fpu/dosincos.c: Likewise.
45217 * sysdeps/i386/fpu/mpa.c: Likewise.
45218 * sysdeps/i386/fpu/s_cos.S: Likewise.
45219 * sysdeps/i386/fpu/s_sin.S: Likewise.
45220 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45221 * sysdeps/i386/fpu/sincos32.c: Likewise.
45223 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45225 (libc_feupdateenv_53bit): Define.
45226 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45228 (libc_feupdateenv_53bit): Define.
45230 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45231 53 bit (without extend i386 double precision).
45233 * math/libm-test.inc (sincos_test): Add tests for large input.
45237 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45239 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45243 2012-03-15 David S. Miller <davem@davemloft.net>
45245 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45246 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45247 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45248 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45273 fmin/fmax sysdep routines.
45274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45276 2012-03-14 David S. Miller <davem@davemloft.net>
45278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45306 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45350 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45355 * sysdeps/sparc/configure.in: New file.
45356 * sysdeps/sparc/configure: Generate.
45357 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45358 * configure: Regenerate.
45359 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45360 * config.make.in (have-as-vis3): New.
45361 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45362 available use -Av9d instead of -Av9a.
45363 * sysdeps/sparc/sparc64/Makefile: Likewise.
45364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45379 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45380 fzeros/fnegs to load 0x80000000 into a float register instead of
45382 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45384 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45388 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45389 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45390 ($(inst_includedir)/bits/syscall.h): Remove rule.
45391 ($(objpfx)bits/syscall.d): Include instead of
45392 $(objpfx)syscall-list.d.
45393 (generated): Change syscall-list.h and syscall-list.d to
45394 bits/syscall.h and bits/syscall.d.
45396 2012-03-14 Roland McGrath <roland@hack.frob.com>
45399 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45401 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45404 * math/s_csqrt.c: Include <float.h>.
45405 (__csqrt): Scale large or subnormal inputs.
45406 * math/s_csqrtf.c: Likewise.
45407 * math/s_csqrtl.c: Likewise.
45408 * math/libm-test.inc (csqrt_test): Add more tests.
45409 * sysdeps/i386/fpu/libm-test-ulps: Update.
45410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45413 * math/libm-test.inc (hypot_test): Add more tests.
45415 2012-03-13 David S. Miller <davem@davemloft.net>
45418 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45419 double-precision for the calculation instead of scaling.
45421 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45423 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45424 manipulate bits before adding and subtracting TWO52[sx].
45425 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45426 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45428 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45430 2012-03-13 David S. Miller <davem@davemloft.net>
45432 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45433 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45435 rtld-global-offsets.h
45436 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45438 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45441 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45443 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45444 'err' in the ifdef scope in which it is actually used.
45446 * nss/nss_db/db-init.c: Include string.h
45448 2012-03-12 David S. Miller <davem@davemloft.net>
45450 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45451 masking out of the most significant byte of random value used.
45452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45453 Fix coding style in previous change.
45455 * sysdeps/unix/sysv/linux/kernel-features.h
45456 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45457 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45459 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45462 2012-03-11 David S. Miller <davem@davemloft.net>
45464 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45465 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45466 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45467 for 'resultvar' otherwise things get truncated on 64-bit.
45469 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45470 Fix masking out of the most significant byte of random value used.
45472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45474 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45478 2012-03-09 David S. Miller <davem@davemloft.net>
45480 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45481 variables with appropriate CPP guards.
45482 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45483 from the frame pointer, not the stack pointer. Correct layout
45484 comments. Fix test on resulting framesize and the management of
45485 the outregs buffer for pltexit. Preserve floating point return
45486 values across _dl_call_pltexit call.
45487 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45488 framesize and the management of the outregs buffer for pltexit.
45489 Preserve floating point return values across _dl_call_pltexit
45491 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45492 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45493 (la_sparc64_gnu_pltexit): New functions.
45494 (print_exit): Fix format string for return register value.
45496 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45498 * sunrpc/Makefile (others): Add rpcgen.
45499 ($(objpfx)rpcgen): Remove special build rule and dependency on
45501 * sunrpc/rpcgen.c: New file.
45503 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45506 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45507 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45508 * sysdeps/i386/crti.S: Likewise.
45509 * sysdeps/i386/crtn.S: Likewise.
45510 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45511 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45512 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45513 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45514 * sysdeps/sh/crti.S: Likewise.
45515 * sysdeps/sh/crtn.S: Likewise.
45516 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45519 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45521 * locale/programs/locfile-kw.gperf: Likewise.
45522 * locale/programs/charmap-kw.h: Regenerated.
45523 * locale/programs/locfile-kw.h: Likewise.
45526 * intl/plural.y: Replace FSF snail mail address with URL.
45527 * intl/plural.c: Regenerated.
45529 2012-03-09 Richard Henderson <rth@twiddle.net>
45531 * include/math_private.h: Remove file.
45532 * math/math_private.h: Move file ...
45533 * sysdeps/generic/math_private.h: ... here.
45535 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45536 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45537 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45539 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45540 and <math_private.h>.
45541 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45542 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45543 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45544 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45545 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45546 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45547 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45549 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45552 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45553 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45555 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45556 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45558 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45559 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45560 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45562 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45563 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45565 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45566 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45567 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45571 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45573 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45574 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45575 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45576 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45577 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45578 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45579 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45581 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45582 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45584 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45585 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45586 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45587 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45588 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45589 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45590 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45591 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45592 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45593 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45594 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45595 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45596 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45597 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45598 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45599 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45600 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45601 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45602 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45604 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45605 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45606 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45607 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45608 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45609 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45610 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45611 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45612 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45615 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45617 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45620 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45621 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45623 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45628 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45629 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45630 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45631 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45632 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45634 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45635 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45636 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45638 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45639 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45641 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45642 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45643 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45644 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45645 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45646 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45647 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45648 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45649 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45650 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45651 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45652 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45653 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45654 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45655 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45656 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45657 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45658 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45659 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45660 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45662 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45664 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45665 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45666 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45667 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45668 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45669 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45670 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45671 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45672 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45673 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45674 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45675 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45676 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45678 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45679 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45680 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45681 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45682 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45683 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45684 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45685 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45686 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45687 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45688 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45689 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45690 * sysdeps/ieee754/k_standard.c: Likewise.
45691 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45692 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45693 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45694 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45695 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45696 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45697 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45698 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45699 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45702 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45703 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45704 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45705 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45706 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45707 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45708 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45709 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45710 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45711 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45712 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45714 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45715 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45716 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45717 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45718 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45719 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45720 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45721 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45722 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45723 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45724 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45725 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45726 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45727 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45728 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45729 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45730 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45731 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45732 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45733 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45734 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45735 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45736 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45737 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45739 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45741 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45742 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45743 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45744 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45745 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45746 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45747 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45748 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45749 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45750 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45751 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45752 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45753 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45757 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45759 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45763 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45765 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45767 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45768 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45769 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45770 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45771 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45772 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45773 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45774 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45775 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45776 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45777 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45778 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45779 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45781 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45782 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45783 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45784 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45787 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45788 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45789 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45790 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45794 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45795 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45796 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45797 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45798 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45799 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45800 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45801 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45802 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45803 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45804 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45805 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45807 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45809 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45810 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45811 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45812 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45813 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45814 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45815 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45816 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45817 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45818 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45819 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45820 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45821 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45822 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45823 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45824 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45825 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45826 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45827 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45828 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45830 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45831 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45832 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45833 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45834 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45835 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45836 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45837 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45838 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45839 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45840 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45841 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45842 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45843 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45844 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45845 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45846 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45847 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45848 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45850 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45851 * sysdeps/ieee754/s_lib_version.c: Likewise.
45852 * sysdeps/ieee754/s_matherr.c: Likewise.
45853 * sysdeps/ieee754/s_signgam.c: Likewise.
45854 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45855 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45856 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45857 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45858 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45859 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45860 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45861 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45862 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45863 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45864 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45865 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45866 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45867 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45868 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45869 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45870 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45871 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45873 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45876 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45878 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45879 * sunrpc/rpc_main.c: Likewise.
45880 * sunrpc/rpc_svcout.c: Likewise.
45882 2012-03-09 David S. Miller <davem@davemloft.net>
45884 * include/math_private.h: New file.
45886 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45888 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45889 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45890 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45891 from <bits/socket_type.h>.
45892 (enum __socket_type): Don't define here.
45893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45895 bits/socket_type.h.
45898 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45899 checking __USE_GNU.
45901 * Makerules ($(inst_includedir)/%.h): New rule.
45902 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45903 (install-others): Remove variable setting.
45904 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45906 2012-03-08 Richard Henderson <rth@twiddle.net>
45908 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45909 from macro to inline function; merge with the
45910 !__LIBC_INTERNAL_MATH_INLINES version.
45911 (__ieee754_sqrtf): Likewise.
45913 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45914 to inline function.
45915 (__rintf, __floor, __floorf): Likewise.
45917 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45918 macro to inline function.
45919 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45922 not <math/math_private.h>.
45924 2012-03-08 David S. Miller <davem@davemloft.net>
45926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45928 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45930 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45932 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45934 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45935 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45937 2012-03-08 Ulrich Drepper <drepper@gmail.com>
45939 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45940 be defined individually, they must be defined as a block. Define
45941 S for printing a string instead of hidint the different by using a
45942 macro for adding the 'l'.
45943 * stdio-common/tst-fphex-wide.c: Adjust.
45945 2012-03-07 Marek Polacek <polacek@redhat.com>
45947 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45949 2012-03-08 Marek Polacek <polacek@redhat.com>
45952 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45953 * stdio-common/tst-fphex.c: Define a few macros to make the
45954 test reusable. Use them.
45955 * stdio-common/tst-fphex-wide.c: New file.
45957 2012-03-08 Joseph Myers <joseph@codesourcery.com>
45960 * manual/macros.texi (gnusystems): New macro.
45961 (nongnusystems): Likewise.
45962 (gnulinuxhurdsystems): Likewise.
45963 (gnuhurdsystems): Likewise..
45964 (gnulinuxsystems): Likewise.
45965 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45966 variants of the GNU system, not "GNU system".
45967 * manual/conf.texi: Likewise.
45968 * manual/errno.texi: Likewise. Update example of errno macro
45970 * manual/filesys.texi: Likewise.
45971 (getumask): Document as specific to GNU/Hurd.
45972 * manual/install.texi: Likewise. Reword some references to
45974 * manual/intro.texi: Likewise.
45975 * manual/io.texi: Likewise.
45976 (File Name Portability): Detail which constraints are inapplicable
45977 to all GNU systems and which are only inapplicable to GNU/Hurd.
45978 * manual/job.texi: Likewise.
45979 * manual/llio.texi: Likewise.
45980 (O_NOCTTY): Document as present on GNU/Linux.
45981 * manual/maint.texi: Likewise.
45982 * manual/memory.texi: Likewise.
45983 * manual/pattern.texi: Likewise.
45984 * manual/pipe.texi: Likewise.
45985 * manual/process.texi: Likewise.
45986 * manual/resource.texi: Likewise.
45987 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45989 * manual/setjmp.texi: Likewise.
45990 * manual/signal.texi: Likewise.
45991 * manual/startup.texi: Likewise.
45992 * manual/stdio.texi: Likewise.
45993 * manual/terminal.texi: Likewise.
45994 (ONLCR): Document as POSIX.
45995 (OXTABS): Document availability on GNU/Linux as XTABS.
45996 (ONOEOT): Document availability separately from other bits.
45997 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45998 * manual/time.texi: Likewise.
45999 * manual/users.texi: Likewise.
46000 * INSTALL: Regenerated.
46001 * sysdeps/gnu/errlist.c: Regenerated.
46003 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46004 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46005 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46007 * configure: Regenerated.
46009 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46011 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46012 default includes instead of AC_HEADER_CHECK.
46013 * sysdeps/i386/configure: Regenerated.
46016 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46017 * math/s_cacoshf.c (__cacoshf): Likewise.
46018 * math/s_cacoshl.c (__cacoshl): Likewise.
46019 * math/s_casinh.c (__casinh): Set signs of result from argument.
46020 * math/s_casinhf.c (__casinhf): Likewise.
46021 * math/s_casinhl.c (__casinhl): Likewise.
46022 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46023 (casinh_test): Add more tests.
46024 * sysdeps/i386/fpu/libm-test-ulps: Update.
46025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46027 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46029 * po/zh_TW.po: Update from translation team.
46031 * login/Makefile (distribute): Remove variable.
46032 * catgets/Makefile: Likewise.
46033 * mach/Makefile: Likewise.
46034 * malloc/Makefile: Likewise.
46035 * misc/Makefile: Likewise.
46036 * iconv/Makefile: Likewise.
46037 * nscd/Makefile: Likewise.
46038 * hurd/Makefile: Likewise.
46039 * manual/Makefile: Likewise.
46040 * locale/Makefile: Likewise.
46041 * intl/Makefile: Likewise.
46042 * conform/Makefile: Likewise.
46043 * nss/Makefile: Likewise.
46044 * time/Makefile: Likewise.
46045 * soft-fp/Makefile: Likewise.
46046 * dirent/Makefile: Likewise.
46047 * gmon/Makefile: Likewise.
46048 * po/Makefile: Likewise.
46049 * rt/Makefile: Likewise.
46050 * socket/Makefile: Likewise.
46051 * math/Makefile: Likewise.
46052 * signal/Makefile: Likewise.
46053 * debug/Makefile: Likewise.
46054 * elf/Makefile: Likewise.
46055 * timezone/Makefile: Likewise.
46056 * stdlib/Makefile: Likewise.
46057 * iconvdata/Makefile: Likewise.
46058 * sunrpc/Makefile: Likewise.
46059 * io/Makefile: Likewise.
46060 * argp/Makefile: Likewise.
46061 * inet/Makefile: Likewise.
46062 * hesiod/Makefile: Likewise.
46063 * grp/Makefile: Likewise.
46064 * csu/Makefile: Likewise.
46065 * wctype/Makefile: Likewise.
46066 * crypt/Makefile: Likewise.
46067 * libio/Makefile: Likewise.
46068 * string/Makefile: Likewise.
46069 * nis/Makefile: Likewise.
46070 * resolv/Makefile: Likewise.
46071 * stdio-common/Makefile: Likewise.
46072 * wcsmbs/Makefile: Likewise.
46073 * dlfcn/Makefile: Likewise.
46074 * posix/Makefile: Likewise.
46077 * timezone/Makefile: Don't install timezone files, just the programs
46080 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46082 * nss/databases.def: Add missing gshadow entry.
46084 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46086 2012-03-06 Marek Polacek <polacek@redhat.com>
46089 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46090 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46091 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46092 * stdio-common/tst-long-dbl-fphex.c: New file.
46094 2012-03-06 David S. Miller <davem@davemloft.net>
46096 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46097 (set_obp_int): New function.
46098 (get_obp_int): New function.
46099 (__get_clockfreq_via_dev_openprom): Likewise.
46100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46101 Avoid unused variable warnings on 'val' and use builtin_expect.
46102 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46104 (INLINE_CLONE_SYSCALL): Likewise.
46106 2012-03-05 David S. Miller <davem@davemloft.net>
46108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46110 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46114 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46115 only for |x| >= 40.
46116 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46118 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46121 Replace gettimeofday with __vdso_gettimeofday.
46123 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46124 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46125 __vdso_clock_gettime and __vdso_getcpu.
46127 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46128 time with __vdso_time.
46130 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46132 * manual/lang.texi (size_t): Note types to which size_t may be
46133 equivalent with the GNU C Library, but do not describe when
46134 differences between them are significant.
46136 2012-03-05 Andreas Jaeger <aj@suse.de>
46138 * sysdeps/i386/fpu/libm-test-ulps: Update.
46140 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46143 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46144 (__ieee754_pow): Save and restore rounding mode and use
46145 round-to-nearest for main computations.
46146 * math/libm-test.inc (pow_test_tonearest): New function.
46147 (pow_test_towardzero): Likewise.
46148 (pow_test_downward): Likewise.
46149 (pow_test_upward): Likewise.
46150 (main): Call the new functions.
46151 * sysdeps/i386/fpu/libm-test-ulps: Update.
46152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46155 * math/libm-test.inc (cosh_test_tonearest): New function.
46156 (cosh_test_towardzero): Likewise.
46157 (cosh_test_downward): Likewise.
46158 (cosh_test_upward): Likewise.
46159 (sinh_test_tonearest): Likewise.
46160 (sinh_test_towardzero): Likewise.
46161 (sinh_test_downward): Likewise.
46162 (sinh_test_upward): Likewise.
46163 (main): Call the new functions.
46164 * sysdeps/i386/fpu/libm-test-ulps: Update.
46165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46167 2012-03-05 Tom de Vries <tom@codesourcery.com>
46169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46170 default stack guard is set in last bytes.
46171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46173 2012-03-05 Kees Cook <keescook@chromium.org>
46175 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46178 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46179 possibly allocate from heap instead of stack.
46180 * stdio-common/bug-vfprintf-nargs.c: New file.
46181 * stdio-common/Makefile (tests): Add nargs overflow test.
46183 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46187 2012-03-03 Marek Polacek <polacek@redhat.com>
46189 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46190 * math/math_private.h: Likewise.
46191 * stdlib/tst-strtod.c: Likewise.
46192 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46193 * sysdeps/x86_64/bits/atomic.h: Likewise.
46195 2012-03-02 David S. Miller <davem@davemloft.net>
46197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46201 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46202 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46203 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46204 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46206 2012-03-02 Roland McGrath <roland@hack.frob.com>
46209 * manual/examples/README: New file, says the example source files
46210 can be used under GPL>=2.
46211 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46212 line containing just "*/".
46213 * manual/examples/add.c: Add copyright header (GPL>=2).
46214 * manual/examples/argp-ex1.c: Likewise.
46215 * manual/examples/argp-ex2.c: Likewise.
46216 * manual/examples/argp-ex3.c: Likewise.
46217 * manual/examples/argp-ex4.c: Likewise.
46218 * manual/examples/atexit.c: Likewise.
46219 * manual/examples/db.c: Likewise.
46220 * manual/examples/dir.c: Likewise.
46221 * manual/examples/dir2.c: Likewise.
46222 * manual/examples/execinfo.c: Likewise.
46223 * manual/examples/filecli.c: Likewise.
46224 * manual/examples/filesrv.c: Likewise.
46225 * manual/examples/fmtmsgexpl.c: Likewise.
46226 * manual/examples/genpass.c: Likewise.
46227 * manual/examples/inetcli.c: Likewise.
46228 * manual/examples/inetsrv.c: Likewise.
46229 * manual/examples/isockad.c: Likewise.
46230 * manual/examples/longopt.c: Likewise.
46231 * manual/examples/memopen.c: Likewise.
46232 * manual/examples/memstrm.c: Likewise.
46233 * manual/examples/mkfsock.c: Likewise.
46234 * manual/examples/mkisock.c: Likewise.
46235 * manual/examples/mygetpass.c: Likewise.
46236 * manual/examples/pipe.c: Likewise.
46237 * manual/examples/popen.c: Likewise.
46238 * manual/examples/rprintf.c: Likewise.
46239 * manual/examples/search.c: Likewise.
46240 * manual/examples/select.c: Likewise.
46241 * manual/examples/setjmp.c: Likewise.
46242 * manual/examples/sigh1.c: Likewise.
46243 * manual/examples/sigusr.c: Likewise.
46244 * manual/examples/stpcpy.c: Likewise.
46245 * manual/examples/strdupa.c: Likewise.
46246 * manual/examples/strftim.c: Likewise.
46247 * manual/examples/strncat.c: Likewise.
46248 * manual/examples/subopt.c: Likewise.
46249 * manual/examples/swapcontext.c: Likewise.
46250 * manual/examples/termios.c: Likewise.
46251 * manual/examples/testopt.c: Likewise.
46252 * manual/examples/testpass.c: Likewise.
46253 * manual/examples/timeval_subtract.c: Likewise.
46256 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46258 * manual/timeval_subtract.c.texi: ... here, new file.
46260 2012-03-02 David S. Miller <davem@davemloft.net>
46262 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46264 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46267 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46268 (__sin): Save and restore rounding mode and use round-to-nearest
46269 for all computations.
46270 (__cos): Save and restore rounding mode and use round-to-nearest
46271 for all computations.
46272 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46274 (tan): Save and restore rounding mode and use round-to-nearest for
46276 * math/libm-test.inc (cos_test_tonearest): New function.
46277 (cos_test_towardzero): Likewise.
46278 (cos_test_downward): Likewise.
46279 (cos_test_upward): Likewise.
46280 (sin_test_tonearest): Likewise.
46281 (sin_test_towardzero): Likewise.
46282 (sin_test_downward): Likewise.
46283 (sin_test_upward): Likewise.
46284 (tan_test_tonearest): Likewise.
46285 (tan_test_towardzero): Likewise.
46286 (tan_test_downward): Likewise.
46287 (tan_test_upward): Likewise.
46288 (main): Call the new functions.
46289 * sysdeps/i386/fpu/libm-test-ulps: Update.
46290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46293 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46294 small n, then large n, before computing and testing k+n.
46295 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46300 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46301 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46302 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46303 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46306 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46307 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46308 * math/libm-test.inc (scalbn_test): Add more tests.
46309 (scalbln_test): Likewise.
46311 * manual/filesys.texi (mode_t): Describe constraints on size and
46312 signedness, not exact equivalence to a particular type.
46314 (ino64_t): Likewise.
46316 (nlink_t): Likewise.
46317 (blkcnt_t): Likewise.
46318 (blkcnt64_t): Likewise.
46319 * manual/llio.texi (off_t): Likewise.
46322 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46323 (__ieee754_exp): Save and restore rounding mode and use
46324 round-to-nearest for all computations.
46325 * math/libm-test.inc (exp_test_tonearest): New function.
46326 (exp_test_towardzero): Likewise.
46327 (exp_test_downward): Likewise.
46328 (exp_test_upward): Likewise.
46329 (main): Call the new functions.
46330 * sysdeps/i386/fpu/libm-test-ulps: Update.
46331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46333 2012-03-01 Chris Demetriou <cgd@google.com>
46335 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46336 have predictable order.
46338 2012-03-01 David S. Miller <davem@davemloft.net>
46340 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46342 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46343 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46344 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46345 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46347 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46348 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46349 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46351 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46352 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46353 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46354 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46355 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46359 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46360 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46361 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46363 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46364 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46365 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46366 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46367 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46368 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46370 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46371 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46372 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46373 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46374 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46376 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46377 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46379 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46380 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46381 * sysdeps/sparc/elf/configure: Regenerated.
46383 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46385 * configure.in (AS, LD): Require binutils 2.20 or later.
46386 * configure: Regenerated.
46387 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46388 as required minimum version.
46389 * INSTALL: Regenerated.
46393 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46394 before squaring exponent.
46395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46396 bottom long double and 27 bits of top long double before squaring
46398 * math/libm-test.inc (erfc_test): Add more tests.
46399 * sysdeps/i386/fpu/libm-test-ulps: Update.
46400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46403 2012-03-01 Kai Tietz <ktietz@redhat.com>
46405 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46406 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46407 containing bit-fields.
46408 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46409 * soft-fp/single.h (_FP_UNION_S): Likewise.
46410 * soft-fp/double.h (_FP_UNION_D): Likewise.
46412 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46415 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46416 not include ../strcmp.S.
46417 [USE_AS_STRNCASECMP_L]: Likewise.
46418 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46419 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46420 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46421 (__strncasecmp_l_ia32): Define as alias to
46422 __strncasecmp_l_nonascii.
46425 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46426 * sysdeps/i386/fpu/libm-test-ulps: Update.
46427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46429 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46432 2012-02-29 Jeff Law <law@redhat.com>
46434 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46435 out of bounds read.
46437 2012-02-29 Marek Polacek <polacek@redhat.com>
46440 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46441 * elf/Makefile: Add rules to run tst-unused-dep.out.
46443 2012-02-28 David S. Miller <davem@davemloft.net>
46445 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46446 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46447 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46449 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46450 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46452 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46454 * math/libm-test.inc (llround_test): Move one test from
46455 lround_test. Use TEST_f_L in moved test.
46456 (lround_test): Move misplaced test to llround_test. Add testcase
46459 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46461 * sysdeps/x86_64/fpu/e_expf.S: New file.
46462 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46464 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46467 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46468 of remain_len that may cause incomplete multi-byte character and
46470 * posix/bug-regex33.c: New file.
46471 * posix/Makefile (tests): Add bug-regex33.
46473 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46475 * manual/macros.texi: New file.
46476 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46477 * manual/libc.texinfo: Include macros.texi.
46478 * manual/creatute.texi: Likewise.
46479 * manual/install.texi: Likewise.
46480 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46481 @glibcadj{} in references to the GNU C Library.
46482 * manual/charset.texi: Likewise.
46483 * manual/conf.texi: Likewise.
46484 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46485 when not using those macros.
46486 * manual/creature.texi: Likewise.
46487 * manual/crypt.texi: Likewise.
46488 * manual/errno.texi: Likewise.
46489 * manual/filesys.texi: Likewise.
46490 * manual/header.texi: Likewise.
46491 * manual/install.texi: Likewise.
46492 * manual/intro.texi: Likewise.
46493 * manual/io.texi: Likewise.
46494 * manual/job.texi: Likewise.
46495 * manual/lang.texi: Likewise.
46496 * manual/libc.texiinfo: Likewise.
46497 * manual/llio.texi: Likewise.
46498 * manual/locale.texi: Likewise.
46499 * manual/maint.texi: Likewise.
46500 * manual/math.texi: Likewise.
46501 * manual/memory.texi: Likewise.
46502 * manual/message.texi: Likewise.
46503 * manual/nss.texi: Likewise.
46504 * manual/pattern.texi: Likewise.
46505 * manual/process.texi: Likewise.
46506 * manual/resource.texi: Likewise.
46507 * manual/search.texi: Likewise.
46508 * manual/setjmp.texi: Likewise.
46509 * manual/signal.texi: Likewise.
46510 * manual/socket.texi: Likewise.
46511 * manual/startup.texi: Likewise.
46512 * manual/stdio.texi: Likewise.
46513 * manual/string.texi: Likewise.
46514 * manual/sysinfo.texi: Likewise.
46515 * manual/syslog.texi: Likewise.
46516 * manual/terminal.texi: Likewise.
46517 * manual/time.texi: Likewise.
46518 * manual/users.texi: Likewise.
46519 * INSTALL: Regenerated.
46520 * NOTES: Regenerated.
46521 * sysdeps/gnu/errlist.c: Regenerated.
46523 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46525 * include/dirent.h: Include <dirstream.h> before
46528 2012-02-28 David S. Miller <davem@davemloft.net>
46530 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46531 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46532 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46533 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46535 2012-02-27 David S. Miller <davem@davemloft.net>
46537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46539 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46540 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46543 frame pointer instead of stack pointer relative arg slot.
46544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46545 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46546 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46548 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46551 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46553 2012-02-27 David S. Miller <davem@davemloft.net>
46555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46559 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46560 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46561 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46562 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46564 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46566 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46567 later. Allow versions 5-9.
46568 * configure: Regenerated.
46569 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46570 required minimum version and 4.6 as recommended version. Do not
46571 mention bugs in GCC 2.7 and 2.8.
46572 * INSTALL: Regenerated.
46574 2012-02-27 David S. Miller <davem@davemloft.net>
46576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46582 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46583 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46585 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46586 manipulate bits before adding and subtracting TWO112[sx].
46587 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46589 2012-02-27 Roland McGrath <roland@hack.frob.com>
46592 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46593 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46594 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46595 being in POSIX, because they are in 1003.1-2008.
46597 * rt/tst-aio.c: Include <fcntl.h>.
46598 * rt/tst-aio7.c: Likewise.
46599 * rt/tst-aio64.c: Likewise.
46601 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46603 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46605 * manual/install.texi (--with-headers): Describe headers as
46606 interface headers, not private headers.
46607 (Specific advice for GNU/Linux systems): Describe use of headers
46608 from "make headers_install", not private headers from older
46610 * INSTALL: Regenerated.
46611 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46613 * sysdeps/unix/sysv/linux/configure: Regenerated.
46615 * manual/llio.texi (fclean): Remove documentation.
46617 * manual/Makefile (libc-texi-generated): New variable. Include
46619 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46620 $(libc-texi-generated), not duplicated list of files.
46621 (version.texi, stamp-version): New rules.
46622 (realclean): Remove $(libc-texi-generated), not individual files
46623 from that list. Do not remove dir-add.texinfo.
46624 * manual/libc.texinfo: Comment out uses of edition numbers and
46625 references to printed manual. Remove last-updated dates.
46626 (EDITION): Comment out.
46628 (VERSION, UPDATED): Remove.
46629 (version.texi): Include.
46631 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46633 * sysdeps/posix/spawni.c: Include <signal.h>.
46634 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46635 * sysdeps/pthread/aio_fsync.c: Likewise.
46637 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46639 * conform/Makefile (tests): Run only when not cross-compiling and
46640 when fast-check is not defined.
46642 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46643 * conform/data/limits.h-data: Fixes for POSIX2008.
46644 * conform/run-conformtest.sh: Run all tests.
46645 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46647 * include/bits/dlfcn.h: Likewise.
46648 * include/langinfo.h: Likewise.
46649 * include/monetary.h: Likewise.
46650 * include/sys/poll.h: Likewise.
46652 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46654 * posix/spawn.h: Define __need_sigset_t.
46655 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46656 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46657 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46658 to get sigevent_t only.
46659 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46660 only for __USE_GNU.
46661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46662 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46663 process_vm_writev only for __USE_GNU.
46664 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46666 * conform/Makefile: For now ignore errors from run-conformtest.
46667 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46668 POSIX to avoid namespace pollution. Don't prepend headers.
46669 * conform/data/aio.h-data: Fixes for POSIX testing.
46670 * conform/data/fcntl.h-data: Likewise.
46671 * conform/data/glob.h-data: Likewise.
46672 * conform/data/grp.h-data: Likewise.
46673 * conform/data/pthread.h-data: Likewise.
46674 * conform/data/pwd.h-data: Likewise.
46675 * conform/data/signal.h-data: Likewise.
46676 * conform/data/spawn.h-data: Likewise.
46677 * conform/data/stdio.h-data: Likewise.
46678 * conform/data/stdlib.h-data: Likewise.
46679 * conform/data/stropts.h-data: Likewise.
46680 * conform/data/sys/mman.h-data: Likewise.
46681 * conform/data/sys/stat.h-data: Likewise.
46682 * conform/data/sys/types.h-data: Likewise.
46683 * conform/data/sys/wait.h-data: Likewise.
46684 * conform/data/time.h-data: Likewise.
46685 * conform/data/unistd.h-data: Likewise.
46686 * conform/data/utime.h-data: Likewise.
46688 * io/sys/stat.h: fchmod was always in POSIX.
46689 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46690 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46691 * rt/aio.h: Define __need_timespec before including <time.h>.
46692 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46693 struct. Add forward declaration of pthread_attr_t and use it in
46695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46697 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46698 always remove CLK_TCK definition.
46700 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46702 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46704 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46706 * conform/run-conformtest.sh: New file.
46707 * conform/Makefile: Run run-conformtest for tests.
46708 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46711 * conform/data/uchar.h-data: New file.
46712 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46713 * conform/data/arpa/inet.h-data: Likewise.
46714 * conform/data/assert.h-data: Likewise.
46715 * conform/data/complex.h-data: Likewise.
46716 * conform/data/cpio.h-data: Likewise.
46717 * conform/data/ctype.h-data: Likewise.
46718 * conform/data/dirent.h-data: Likewise.
46719 * conform/data/dlfcn.h-data: Likewise.
46720 * conform/data/errno.h-data: Likewise.
46721 * conform/data/fcntl.h-data: Likewise.
46722 * conform/data/float.h-data: Likewise.
46723 * conform/data/fmtmsg.h-data: Likewise.
46724 * conform/data/fnmatch.h-data: Likewise.
46725 * conform/data/ftw.h-data: Likewise.
46726 * conform/data/glob.h-data: Likewise.
46727 * conform/data/grp.h-data: Likewise.
46728 * conform/data/iconv.h-data: Likewise.
46729 * conform/data/inttypes.h-data: Likewise.
46730 * conform/data/langinfo.h-data: Likewise.
46731 * conform/data/libgen.h-data: Likewise.
46732 * conform/data/limits.h-data: Likewise.
46733 * conform/data/locale.h-data: Likewise.
46734 * conform/data/math.h-data: Likewise.
46735 * conform/data/monetary.h-data: Likewise.
46736 * conform/data/mqueue.h-data: Likewise.
46737 * conform/data/ndbm.h-data: Likewise.
46738 * conform/data/net/if.h-data: Likewise.
46739 * conform/data/netdb.h-data: Likewise.
46740 * conform/data/netinet/in.h-data: Likewise.
46741 * conform/data/nl_types.h-data: Likewise.
46742 * conform/data/poll.h-data: Likewise.
46743 * conform/data/pthread.h-data: Likewise.
46744 * conform/data/pwd.h-data: Likewise.
46745 * conform/data/regex.h-data: Likewise.
46746 * conform/data/sched.h-data: Likewise.
46747 * conform/data/search.h-data: Likewise.
46748 * conform/data/semaphore.h-data: Likewise.
46749 * conform/data/setjmp.h-data: Likewise.
46750 * conform/data/signal.h-data: Likewise.
46751 * conform/data/spawn.h-data: Likewise.
46752 * conform/data/stdarg.h-data: Likewise.
46753 * conform/data/stdio.h-data: Likewise.
46754 * conform/data/stdlib.h-data: Likewise.
46755 * conform/data/string.h-data: Likewise.
46756 * conform/data/strings.h-data: Likewise.
46757 * conform/data/stropts.h-data: Likewise.
46758 * conform/data/sys/ipc.h-data: Likewise.
46759 * conform/data/sys/mman.h-data: Likewise.
46760 * conform/data/sys/msg.h-data: Likewise.
46761 * conform/data/sys/resource.h-data: Likewise.
46762 * conform/data/sys/select.h-data: Likewise.
46763 * conform/data/sys/sem.h-data: Likewise.
46764 * conform/data/sys/shm.h-data: Likewise.
46765 * conform/data/sys/socket.h-data: Likewise.
46766 * conform/data/sys/stat.h-data: Likewise.
46767 * conform/data/sys/statvfs.h-data: Likewise.
46768 * conform/data/sys/time.h-data: Likewise.
46769 * conform/data/sys/timeb.h-data: Likewise.
46770 * conform/data/sys/times.h-data: Likewise.
46771 * conform/data/sys/types.h-data: Likewise.
46772 * conform/data/sys/uio.h-data: Likewise.
46773 * conform/data/sys/un.h-data: Likewise.
46774 * conform/data/sys/utsname.h-data: Likewise.
46775 * conform/data/sys/wait.h-data: Likewise.
46776 * conform/data/syslog.h-data: Likewise.
46777 * conform/data/tar.h-data: Likewise.
46778 * conform/data/termios.h-data: Likewise.
46779 * conform/data/utime.h-data: Likewise.
46780 * conform/data/utmpx.h-data: Likewise.
46781 * conform/data/varargs.h-data: Likewise.
46782 * conform/data/wchar.h-data: Likewise.
46783 * conform/data/wctype.h-data: Likewise.
46784 * conform/data/wordexp.h-data: Likewise.
46786 * include/stropts.h: New file.
46787 * include/uchar.h: New file.
46788 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46789 * include/assert.h: Likewise.
46790 * include/ctype.h: Likewise.
46791 * include/dirent.h: Likewise.
46792 * include/dlfcn.h: Likewise.
46793 * include/fcntl.h: Likewise.
46794 * include/fnmatch.h: Likewise.
46795 * include/glob.h: Likewise.
46796 * include/grp.h: Likewise.
46797 * include/libio.h: Likewise.
46798 * include/locale.h: Likewise.
46799 * include/math.h: Likewise.
46800 * include/net/if.h: Likewise.
46801 * include/netdb.h: Likewise.
46802 * include/netinet/in.h: Likewise.
46803 * include/pthread.h: Likewise.
46804 * include/pwd.h: Likewise.
46805 * include/regex.h: Likewise.
46806 * include/sched.h: Likewise.
46807 * include/search.h: Likewise.
46808 * include/setjmp.h: Likewise.
46809 * include/signal.h: Likewise.
46810 * include/stdio.h: Likewise.
46811 * include/stdlib.h: Likewise.
46812 * include/string.h: Likewise.
46813 * include/sys/cdefs.h: Likewise.
46814 * include/sys/mman.h: Likewise.
46815 * include/sys/msg.h: Likewise.
46816 * include/sys/resource.h: Likewise.
46817 * include/sys/select.h: Likewise.
46818 * include/sys/socket.h: Likewise.
46819 * include/sys/stat.h: Likewise.
46820 * include/sys/statvfs.h: Likewise.
46821 * include/sys/time.h: Likewise.
46822 * include/sys/times.h: Likewise.
46823 * include/sys/uio.h: Likewise.
46824 * include/sys/utsname.h: Likewise.
46825 * include/sys/wait.h: Likewise.
46826 * include/termios.h: Likewise.
46827 * include/time.h: Likewise.
46828 * include/ulimit.h: Likewise.
46829 * include/unistd.h: Likewise.
46830 * include/utime.h: Likewise.
46831 * include/wchar.h: Likewise.
46832 * include/wctype.h: Likewise.
46833 * include/wordexp.h: Likewise.
46835 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46837 * time/time.h: TIME_UTC must be a macro.
46838 Make timespec_get available for ISO C11 only as well.
46840 2012-02-24 Ulrich Drepper <drepper@gmail.com>
46842 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46843 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46845 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46847 * configure.in: Use -o not -a in test for unsupported multi-arch.
46849 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46851 * manual/texinfo.tex: Update to version 2012-01-19.16.
46853 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46855 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46857 2012-02-24 Roland McGrath <roland@hack.frob.com>
46860 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46861 * manual/fdl-1.3.texi: New file.
46862 * manual/fdl-1.1.texi: File removed.
46865 * manual/libc.texinfo (FDL_VERSION): New @set.
46866 Use it for mention of FDL in cover text.
46867 (Documentation License): Use it in @include file name.
46869 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46870 Roland McGrath <roland@hack.frob.com>
46873 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46874 (not LONG_LONG_MAX and LONG_LONG_MIN.
46875 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46876 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46878 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46880 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46884 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46885 manipulate bits before adding and subtracting TWO23[sx].
46886 * math/libm-test.inc (nearbyint_test): Add more tests.
46888 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46891 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46892 bits before adding and subtracting TWO23[sx].
46893 * math/libm-test.inc (rint_test): Add more tests.
46894 (rint_test_tonearest): Likewise.
46895 (rint_test_towardzero): Likewise.
46896 (rint_test_downward): Likewise.
46897 (rint_test_upward: Likewise.
46899 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46902 * include/stdc-predef.h: New file. Extracted from features.h.
46903 * include/features.h: Include stdc-predef.h.
46904 * Makefile (headers): Add stdc-predef.h.
46905 * CONFORMANCE (Compiler limitations): Update.
46907 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46909 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46911 2012-02-21 David S. Miller <davem@davemloft.net>
46913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46916 2012-02-20 David S. Miller <davem@davemloft.net>
46918 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46919 using a normal save/restore sequence, rather than allocating a
46920 dummy stack frame just to store a frame pointer and restore.
46921 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46923 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46925 * manual/install.texi: Fix stray word in line-wrapped comment.
46927 2012-02-20 David S. Miller <davem@davemloft.net>
46929 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46930 both binutils and gcc support GOTDATA.
46932 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46933 "rd %pc" in the PIC register setup sequences.
46935 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46936 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46937 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46938 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46939 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46941 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46944 (SYSCALL_ERROR_HANDLER): Likewise.
46945 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46946 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46948 (SYSCALL_ERROR_HANDLER): Likewise.
46950 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46951 (HAVE_GCC_GOTDATA): New.
46952 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46953 relocation support in both binutils and gcc.
46954 * sysdeps/sparc/elf/configure: Regenerate.
46956 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46957 * sysdeps/sparc/sparc32/elf/configure: Delete.
46958 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46959 * sysdeps/sparc/sparc64/elf/configure: Delete.
46960 * sysdeps/sparc/elf/configure.in: New file.
46961 * sysdeps/sparc/elf/configure: Generate.
46963 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46964 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46965 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46966 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46967 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46969 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46971 * manual/install.texi: Do not mention specific glibc version
46973 * manual/libc.texinfo (VERSION, UPDATED): Update.
46974 (@copying): Use @copyright{} and range of years.
46976 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46979 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46980 [crti.S not in sysdirs] (generated): Do not append.
46981 [crti.S not in sysdirs] (omit-deps): Likewise.
46982 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46983 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46984 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46985 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46986 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46988 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46989 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46990 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46991 * csu/defs.awk: Remove file.
46992 * sysdeps/generic/initfini.c: Likewise.
46993 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46995 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46998 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47000 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47001 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47002 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47003 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47005 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47007 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47008 (__EPOLL_PACKED): Define to empty if not defined by
47010 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47014 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47016 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47017 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47018 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47019 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47021 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47025 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47027 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47030 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47031 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47034 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47036 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47037 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47039 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47041 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47042 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47044 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47046 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47049 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47051 * math/w_acos.c: Use non-signaling floating-point comparisons.
47052 * math/w_acosf.c: Likewise.
47053 * math/w_acosh.c: Likewise.
47054 * math/w_acoshf.c: Likewise.
47055 * math/w_acoshl.c: Likewise.
47056 * math/w_acosl.c: Likewise.
47057 * math/w_asin.c: Likewise.
47058 * math/w_asinf.c: Likewise.
47059 * math/w_asinl.c: Likewise.
47060 * math/w_atanh.c: Likewise.
47061 * math/w_atanhf.c: Likewise.
47062 * math/w_atanhl.c: Likewise.
47063 * math/w_exp2.c: Likewise.
47064 * math/w_exp2f.c: Likewise.
47065 * math/w_exp2l.c: Likewise.
47066 * math/w_j0.c: Likewise.
47067 * math/w_j0f.c: Likewise.
47068 * math/w_j0l.c: Likewise.
47069 * math/w_j1.c: Likewise.
47070 * math/w_j1f.c: Likewise.
47071 * math/w_j1l.c: Likewise.
47072 * math/w_jn.c: Likewise.
47073 * math/w_jnf.c: Likewise.
47074 * math/w_log.c: Likewise.
47075 * math/w_log10.c: Likewise.
47076 * math/w_log10f.c: Likewise.
47077 * math/w_log10l.c: Likewise.
47078 * math/w_log2.c: Likewise.
47079 * math/w_log2f.c: Likewise.
47080 * math/w_log2l.c: Likewise.
47081 * math/w_logf.c: Likewise.
47082 * math/w_logl.c: Likewise.
47083 * math/w_sqrt.c: Likewise.
47084 * math/w_sqrtf.c: Likewise.
47085 * math/w_sqrtl.c: Likewise.
47086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47087 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47089 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47090 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47092 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47095 * manual/string.texi (strnlen): Use correct parameter name in
47096 equivalent expression.
47098 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47101 * manual/users.texi (seteuid): Consistently use neweuid for
47104 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47107 * manual/nss.texi (Services in the NSS configuration): Correct
47108 list of services in example configuration file.
47110 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47113 * manual/arith.texi: Remove statements about negative zero
47114 behaving identically to zero.
47116 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47119 * manual/install.texi: Do not document upgrading from libc5.
47121 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47124 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47126 2012-02-18 David S. Miller <davem@davemloft.net>
47128 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47129 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47130 %o7 across the call.
47131 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47134 SETUP_PIC_REG_LEAF.
47135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47136 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47137 * sysdeps/sparc/crtn.S: Likewise.
47139 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47141 * aout/Makefile: Remove.
47143 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47146 * manual/examples/argp-ex1.c (main): Format definition in GNU
47148 * manual/examples/argp-ex2.c (main): Likewise.
47149 * manual/examples/argp-ex3.c (main): Likewise.
47150 * manual/examples/argp-ex4.c (main): Likewise.
47151 * manual/examples/longopt.c (main): Use new-style prototype
47153 * manual/examples/strncat.c (main): Specify return type and use
47154 (void) for arguments.
47155 * manual/examples/subopt.c (main): Use char **argv argument.
47157 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47160 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47163 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47166 * manual/string.texi (strchr): Change when strchrnul is
47169 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47172 * manual/locale.texi (setlocale): Document LOCPATH.
47174 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47177 * manual/process.texi (execle): Move @dots{} before last argument.
47179 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47182 * manual/charset.texi (Generic Charset Conversion): Fix typo
47183 (LC_TYPE -> LC_CTYPE).
47185 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47188 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47189 (scalbnf): Likewise.
47190 (scalbnl): Likewise.
47191 (scalbln): Likewise.
47192 (scalblnf): Likewise.
47193 (scalblnl): Likewise.
47194 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47195 (vwarnx): Likewise.
47198 * manual/filesys.texi (telldir): Use braces around return type.
47199 * manual/llio.texi (mmap): Add space after comma.
47200 (mmap64): Likewise.
47201 * manual/math.texi (jn): Use @var{} on parameter names.
47207 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47209 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47211 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47212 (sched_get_priority_max): Likewise.
47213 * manual/signal.texi (sigvec): Add space after comma.
47214 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47216 (if_indextoname): Likewise.
47217 (if_freenameindex): Likewise.
47218 (sendto): Use ',' instead of '.' in prototype.
47219 * manual/startup.texi (syscall): Use @dots{} instead of literal
47221 * manual/stdio.texi (__fpending): Separate initial words of
47222 paragraph from @deftypefun line.
47223 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47225 (vsyslog): Use @var{} on parameter names.
47226 * manual/terminal.texi (stty): Use @var{} on parameter names.
47227 * manual/users.texi (getutmp): Use @var{} on parameter names.
47228 (getutmpx): Likewise.
47230 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47233 * manual/stdio.texi (fopen): Fix typos in description of
47236 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47239 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47240 get clock_id definition.
47242 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47245 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47246 (madvise): Cast every argument to void on its own.
47248 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47251 * manual/startup.texi (Exit Status): Fix typo.
47253 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47256 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47257 * manual/examples/argp-ex2.c: Likewise.
47258 * manual/examples/argp-ex3.c: Likewise.
47260 2012-02-16 Richard Henderson <rth@redhat.com>
47262 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47263 * sysdeps/s390/s390-32/initfini.c: Remove.
47264 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47265 * sysdeps/s390/s390-64/initfini.c: Remove.
47267 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47269 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47270 compiler output for sysdeps/generic/initfini.c.
47271 * sysdeps/sh/elf/initfini.c: Remove file.
47273 2012-02-16 David S. Miller <davem@davemloft.net>
47276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47278 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47279 * sysdeps/sparc/crti.S: New file.
47280 * sysdeps/sparc/crtn.S: New file.
47281 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47282 * sysdeps/sparc/sparc64/Makefile: Likewise.
47284 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47287 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47289 2012-02-15 Roland McGrath <roland@hack.frob.com>
47292 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47294 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47295 (write, read, close): Likewise.
47296 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47298 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47300 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47301 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47302 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47303 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47305 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47309 2012-02-14 Marek Polacek <polacek@redhat.com>
47311 * sysdeps/x86_64/crti.S: New file.
47312 * sysdeps/x86_64/crtn.S: New file.
47313 * sysdeps/x86_64/elf/initfini.c: Remove file.
47315 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47317 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47318 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47319 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47320 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47322 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47326 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47328 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47329 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47330 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47331 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47333 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47337 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47339 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47340 __feraiseexcept instead of feraiseexcept.
47342 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47343 nanosleep invocations.
47344 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47345 strings, and add error checking for a nanosleep invocations.
47347 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47349 Replace FSF snail mail address with URLs, as per GNU coding standards.
47350 Most of the snail mail addresses were wrong anyway, and omitting
47351 them makes the source code easier to maintain. Almost all of the
47352 changes are to license notices and to locale LC_IDENTIFICATION
47353 addresses, except for this one:
47354 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47355 not its snail mail address.
47357 2012-02-09 Richard Henderson <rth@twiddle.net>
47359 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47360 of kernel-features.h.
47362 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47364 2012-02-08 Marek Polacek <polacek@redhat.com>
47366 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47367 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47368 * sysdeps/gnu/_G_config.h: Likewise.
47369 * sysdeps/generic/_G_config.h: Likewise.
47371 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47373 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47377 * sysdeps/powerpc/powerpc32/crti.S: New file.
47378 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47379 * sysdeps/powerpc/powerpc64/crti.S: New file.
47380 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47382 * Makeconfig (have-initfini): Don't set.
47383 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47384 * configure.in (nopic_initfini): Don't substitute.
47385 * config.h.in (HAVE_INITFINI): Don't #undef.
47386 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47387 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47389 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47391 Support crti.S and crtn.S provided directly by architectures.
47392 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47393 [crti.S in sysdirs] (omit-deps): Likewise.
47394 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47395 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47396 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47397 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47398 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47399 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47400 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47401 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47402 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47403 compiler output for sysdeps/generic/initfini.c.
47404 * sysdeps/i386/elf/Makefile: Remove file.
47405 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47407 2012-02-07 Marek Polacek <polacek@redhat.com>
47409 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47410 * sysdeps/gnu/_G_config.h: Likewise.
47411 * sysdeps/mach/hurd/_G_config.h: Likewise.
47413 2012-02-07 Marek Polacek <polacek@redhat.com>
47415 * math/Makefile (tests): Add tst-CMPLX2.
47416 * math/tst-CMPLX2.c: New file.
47418 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47420 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47422 * math/libm-test.inc (jn_test): Add missing L suffix.
47424 2012-02-06 Marek Polacek <polacek@redhat.com>
47426 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47427 * sysdeps/i386/fpu/e_powf.S: Likewise.
47428 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47429 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47430 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47431 * sysdeps/i386/fpu/e_pow.S: Likewise.
47432 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47433 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47434 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47435 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47436 * sysdeps/i386/fpu/e_log2.S: Likewise.
47437 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47438 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47439 * sysdeps/i386/fpu/e_powl.S: Likewise.
47440 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47441 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47442 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47443 * sysdeps/i386/fpu/e_logl.S: Likewise.
47444 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47445 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47446 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47447 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47449 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47450 * sysdeps/i386/fpu/e_log.S: Likewise.
47451 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47452 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47453 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47454 * sysdeps/i386/fpu/e_logf.S: Likewise.
47455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47456 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47457 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47458 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47459 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47460 * sysdeps/i386/fpu/e_log10.S: Likewise.
47461 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47462 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47463 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47464 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47465 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47466 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47467 * sysdeps/i386/asm-syntax.h: Likewise.
47468 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47470 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47471 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47472 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47473 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47474 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47475 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47476 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47477 * sysdeps/powerpc/sysdep.h: Likewise.
47478 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47479 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47481 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47484 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47486 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47488 * sysdeps/i386/sysdep.h: Include <features.h>.
47489 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47492 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47494 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47496 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47499 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47501 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47502 (SETUP_PIC_REG): Use GET_PC_THUNK.
47503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47506 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47508 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47509 for non-PIC compilation.
47510 (SETUP_PIC_REG): Add .p2align directive.
47511 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47512 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47513 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47514 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47515 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47516 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47519 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47520 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47521 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47522 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47523 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47524 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47525 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47526 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47527 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47528 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47529 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47530 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47533 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47534 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47537 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47538 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47539 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47540 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47541 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47542 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47543 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47544 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47545 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47546 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47547 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47548 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47549 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47550 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47551 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47553 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47555 * math/tst-CMPLX.c: Include <stdio.h>.
47557 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47559 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47561 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47562 * sysdeps/sparc/bits/mathdef.h: Likewise.
47564 2012-01-31 Marek Polacek <polacek@redhat.com>
47566 * libio/libio.h: Don't define _PARAMS.
47567 * locale/programs/config.h: Don't define PARAMS.
47568 * stdlib/strtol_l.c: Likewise.
47569 (__strtol_l): Remove PARAMS from the prototype.
47571 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47573 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47574 names. Just use the correct names. Remove unnecessary wrapper
47576 * malloc/arena.c: Likewise.
47577 * malloc/hooks.c: Likewise.
47579 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47580 ARENA_TEST says not to. Simplify test for creation of a new arena.
47581 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47583 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47585 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47587 (update_get_addr): New function.
47588 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47589 GET_ADDR_MODULE parameter.
47591 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47593 * crypt/cert.c: Remove __STDC__ conditionals.
47594 * crypt/crypt-entry.c: Likewise.
47595 * crypt/crypt_util.c: Likewise.
47596 * libio/filedoalloc.c: Likewise.
47597 * libio/fileops.c: Likewise.
47598 * libio/genops.c: Likewise.
47599 * libio/iofclose.c: Likewise.
47600 * libio/iofdopen.c: Likewise.
47601 * libio/iofopen.c: Likewise.
47602 * libio/iofopen64.c: Likewise.
47603 * libio/iogetdelim.c: Likewise.
47604 * libio/iopopen.c: Likewise.
47605 * libio/obprintf.c: Likewise.
47606 * libio/oldfileops.c: Likewise.
47607 * libio/oldiofclose.c: Likewise.
47608 * libio/oldiofdopen.c: Likewise.
47609 * libio/oldiofopen.c: Likewise.
47610 * libio/oldiopopen.c: Likewise.
47611 * libio/wfiledoalloc.c: Likewise.
47612 * libio/wgenops.c: Likewise.
47613 * locale/programs/xmalloc.c: Likewise.
47614 * misc/syslog.c: Likewise.
47615 * stdio-common/xbug.c: Likewise.
47616 * string/memchr.c: Likewise.
47617 * string/memcmp.c: Likewise.
47618 * string/memrchr.c: Likewise.
47619 * string/rawmemchr.c: Likewise.
47620 * sysdeps/posix/getcwd.c: Likewise.
47621 * time/strftime_l.c: Likewise.
47623 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47625 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47626 * config.make.in (config-cflags-sse2avx): Define.
47627 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47630 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47632 * scripts/config.guess: Update from upstream config git repository.
47633 * scripts/config.sub: Likewise.
47635 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47637 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47639 (R_TILEPRO_*, R_TILEGX_*): New macros.
47641 * scripts/firstversions.awk: Fix bug in version range handling.
47643 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47645 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47647 * include/sys/epoll.h: New file.
47648 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47651 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47653 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47654 Avoid unnecessary __WORDSIZE == 64 test.
47655 (fmaxf): Use VEX format if possible.
47660 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47661 * math/math_private.h: Remove libc_fegetround* and
47663 * sysdeps/i386/configure.in: Check for -msse2avx.
47664 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47665 also if SSE2AVX is defined.
47666 Remove libc_fegetround* and libc_fesetround*.
47667 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47668 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47672 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47674 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47677 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47679 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47681 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47683 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47685 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47688 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47690 * Makeconfig (libm): Define.
47691 * elf/Makefile: Add rules to build and run tst-relsort1.
47692 * elf/tst-relsort1.c: New file.
47693 * elf/tst-relsort1mod1.c: New file.
47694 * elf/tst-relsort1mod2.c: New file.
47696 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47698 * math/s_ldexp.c: Remove __STDC__ conditionals.
47699 * math/s_ldexpf.c: Likewise.
47700 * math/s_ldexpl.c: Likewise.
47701 * math/s_nextafter.c: Likewise.
47702 * math/s_nexttowardf.c: Likewise.
47703 * math/s_significand.c: Likewise.
47704 * math/s_significandf.c: Likewise.
47705 * math/s_significandl.c: Likewise.
47706 * math/w_jnl.c: Likewise.
47707 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47708 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47709 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47710 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47711 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47713 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47714 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47715 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47716 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47717 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47718 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47719 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47720 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47722 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47723 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47724 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47726 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47727 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47728 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47729 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47730 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47731 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47732 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47733 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47734 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47735 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47739 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47740 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47741 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47742 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47743 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47747 * sysdeps/ieee754/k_standard.c: Likewise.
47748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47750 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47751 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47752 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47753 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47755 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47756 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47757 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47758 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47759 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47760 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47761 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47762 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47763 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47764 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47765 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47773 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47777 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47779 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47780 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47781 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47783 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47784 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47787 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47788 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47790 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47791 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47793 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47794 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47798 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47802 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47803 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47804 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47805 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47807 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47808 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47812 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47813 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47814 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47815 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47816 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47817 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47818 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47819 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47820 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47821 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47822 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47823 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47824 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47825 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47826 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47827 * sysdeps/ieee754/s_matherr.c: Likewise.
47828 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47829 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47833 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47835 * crypt/md5.h: Remove __STDC__ conditionals.
47836 * libio/libioP.h: Likewise.
47837 * locale/programs/config.h: Likewise.
47838 * sysdeps/generic/sysdep.h: Likewise.
47839 * sysdeps/i386/asm-syntax.h: Likewise.
47840 * sysdeps/s390/asm-syntax.h: Likewise.
47841 * sysdeps/unix/sysdep.h: Likewise.
47842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47845 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47847 * libio/libio.h: Remove __STDC__ conditionals.
47848 * malloc/obstack.h: Likewise.
47849 * math/complex.h: Likewise.
47850 * math/math.h: Likewise.
47851 * sysdeps/generic/_G_config.h: Likewise.
47852 * sysdeps/gnu/_G_config.h: Likewise.
47853 * sysdeps/mach/hurd/_G_config.h: Likewise.
47854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47855 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47856 * sysdeps/sparc/bits/mathdef.h: Likewise.
47858 2012-01-26 Ulrich Drepper <drepper@gmail.com>
47861 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47862 Clean up HAS_* macros.
47863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47864 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47869 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47874 2012-01-25 Joseph Myers <joseph@codesourcery.com>
47876 * elf/tst-unique3.cc (gets): Remove declaration.
47877 * elf/tst-unique3lib.cc (gets): Likewise.
47878 * elf/tst-unique3lib2.cc (gets): Likewise.
47879 * elf/tst-unique4.cc (gets): Likewise.
47881 2012-01-24 Ulrich Drepper <drepper@gmail.com>
47883 * include/stdio.h: Add C++ protection. Add gets declarations and
47885 * debug/tst-chk1.c: Don't declare gets here.
47886 * stdio-common/tst-gets.c: Likewise.
47888 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47890 * posix/glob: Remove directory.
47892 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47894 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47896 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
47898 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47899 of the non-standard EPFNOSUPPORT.
47901 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47903 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47904 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47905 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47907 2012-01-21 Ulrich Drepper <drepper@gmail.com>
47909 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47911 2012-01-20 Ulrich Drepper <drepper@gmail.com>
47913 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47915 * nscd/grpcache.c (cache_addgr): Likewise.
47916 * nscd/hstcache.c (cache_addhst): Likewise.
47917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47918 * nscd/pwdcache.c (cache_addpw): Likewise.
47919 * nscd/servicescache.c (cache_addserv): Likewise.
47921 2012-01-16 Ulrich Drepper <drepper@gmail.com>
47923 * malloc/malloc.c: Various cleanups.
47924 * malloc/hooks.c: Likewise.
47926 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47927 * stdlib/bug-fmtmsg1.c: New file.
47929 * stdlib/fmtmsg.c (init): Add missing unlock.
47930 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47932 2012-01-12 Marek Polacek <polacek@redhat.com>
47934 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47937 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47939 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47940 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47941 macro to ensure uniqueness of label name.
47942 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47943 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47945 2012-01-11 Ulrich Drepper <drepper@gmail.com>
47947 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47949 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47950 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47951 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47954 2012-01-10 Ulrich Drepper <drepper@gmail.com>
47956 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47958 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47959 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47960 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47962 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47964 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47965 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47969 * math/bits/math-finite.h: Add ldexp support.
47971 2012-01-10 Marek Polacek <polacek@redhat.com>
47973 * locale/programs/localedef.h (show_archive_content): Add noreturn
47976 2012-01-09 Ulrich Drepper <drepper@gmail.com>
47978 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47980 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47982 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47984 * io/Makefile (headers): Add bits/poll2.h.
47986 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47989 typo #include statement.
47991 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47993 * include/sys/cdefs.h: Define __attribute_alloc_size.
47994 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47995 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47996 * elf/pldd.c: Likewise.
47997 * iconv/iconv_charmap.c: Likewise.
47998 * iconv/iconvconfig.c: Likewise.
47999 * iconv/strtab.c: Likewise.
48000 * locale/programs/locale.c: Likewise.
48001 * locale/programs/localedef.h: Likewise.
48002 * locale/programs/simple-hash.c: Likewise.
48003 * nscd/nscd.h: Likewise.
48004 * nss/makedb.c: Likewise.
48005 * sysdeps/generic/ldconfig.h: Likewise.
48006 * locale/programs/localedef.c: Remove xmalloc prototype.
48007 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48009 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48011 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48014 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48016 * math/Makefile (tests): Add tst-CMPLX.
48017 * math/tst-CMPLX.c: New file.
48019 * math/complex.h (CMPLXL): Fix typo.
48021 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48022 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48024 * debug/tst-chk1.c: Add poll and ppoll tests.
48025 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48026 * include/sys/poll.h: Add hidden proto for ppoll.
48027 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48028 * sysdeps/mach/hurd/ppoll.c: Likewise.
48029 * io/ppoll.c: Likewise.
48030 * debug/poll_chk.c: New file.
48031 * debug/ppoll_chk.c: New file.
48032 * include/bits/poll2.h: New file.
48033 * io/bits/poll2.h: New file.
48036 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48038 * configure.in: static is always set to yes. Remove.
48039 * config.make.in: Don't set build-static.
48040 * Makeconfig: Remove use of build-static.
48041 * dlfcn/Makefile: Likewise.
48042 * elf/Makefile: Likewise.
48043 * math/Makefile: Likewise.
48044 * misc/Makefile: Likewise.
48045 * nptl/Makefile: Likewise.
48046 * sysdeps/mach/hurd/Makefile: Likewise.
48048 * configure.in: PWD_P is not used anymore.
48049 * config.make.in: Remove PWD_P entry.
48051 * configure.in: Remove last remnants of RANLIB.
48052 No need to check for signed size_t anymore.
48053 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48055 Remove __builtin_expect test because we require at least gcc 3.4.
48056 * aclocal.m4: Likewise.
48058 * wcsmbs/mbrtoc16.c: Implement using towc function.
48059 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48060 * wcsmbs/wcsmbsload.c: Likewise.
48061 * iconv/gconv_simple.c: Likewise.
48062 * iconv/gconv_int.h: Likewise.
48063 * iconv/gconv_builtin.h: Likewise.
48064 * iconv/iconv_prog.c: Remove CHAR16 handling.
48066 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48068 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48070 * configure.in: Remove --with-elf and --enable-bounded options.
48071 Dont set base_machine for ia64. More non-ELF conditions removed.
48072 Remove testing and setting of leading underscore information.
48073 * config.make.in (build-bounded): Set to no.
48074 * config.h.in: Remove NO_UNDERSCORES entry.
48075 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48077 * csu/start.c: Remove !NO_UNDERSCORE code.
48078 * locale/localeinfo.h: Likewise.
48079 * sysdeps/generic/machine-gmon.h: Likewise.
48080 * sysdeps/generic/sysdep.h: Likewise.
48081 * sysdeps/i386/sysdep.h: Likewise.
48082 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48083 * sysdeps/mach/sysdep.h: Likewise.
48084 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48085 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48086 * sysdeps/sh/sysdep.h: Likewise.
48087 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48088 * sysdeps/unix/i386/sysdep.S: Likewise.
48089 * sysdeps/unix/sparc/start.c: Likewise.
48090 * sysdeps/unix/sparc/sysdep.S: Likewise.
48091 * sysdeps/unix/sparc/sysdep.h: Likewise.
48092 * sysdeps/unix/start.c: Likewise.
48093 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48094 * sysdeps/x86_64/sysdep.h: Likewise.
48096 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48099 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48101 * argp/argp-fmtstream.h: Use const instead __const.
48102 * argp/argp.h: Likewise.
48103 * assert/assert.h: Likewise.
48104 * bits/fenv.h: Likewise.
48105 * bits/sched.h: Likewise.
48106 * bits/sigset.h: Likewise.
48107 * bits/sigthread.h: Likewise.
48108 * catgets/nl_types.h: Likewise.
48109 * conform/data/pthread.h-data: Likewise.
48110 * crypt/crypt-private.h: Likewise.
48111 * crypt/crypt.h: Likewise.
48112 * crypt/crypt_util.c: Likewise.
48113 * ctype/ctype.h: Likewise.
48114 * debug/execinfo.h: Likewise.
48115 * debug/mbsnrtowcs_chk.c: Likewise.
48116 * debug/mbsrtowcs_chk.c: Likewise.
48117 * debug/wcsnrtombs_chk.c: Likewise.
48118 * debug/wcsrtombs_chk.c: Likewise.
48119 * debug/wcstombs_chk.c: Likewise.
48120 * dirent/dirent.h: Likewise.
48121 * dlfcn/dlfcn.h: Likewise.
48122 * elf/neededtest4.c: Likewise.
48123 * grp/grp.h: Likewise.
48124 * gshadow/gshadow.h: Likewise.
48125 * iconv/gconv.h: Likewise.
48126 * iconv/gconv_int.h: Likewise.
48127 * iconv/gconv_simple.c: Likewise.
48128 * iconv/iconv.h: Likewise.
48129 * iconv/loop.c: Likewise.
48130 * iconv/skeleton.c: Likewise.
48131 * include/aio.h: Likewise.
48132 * include/aliases.h: Likewise.
48133 * include/argz.h: Likewise.
48134 * include/arpa/inet.h: Likewise.
48135 * include/assert.h: Likewise.
48136 * include/dirent.h: Likewise.
48137 * include/dlfcn.h: Likewise.
48138 * include/execinfo.h: Likewise.
48139 * include/fcntl.h: Likewise.
48140 * include/fenv.h: Likewise.
48141 * include/glob.h: Likewise.
48142 * include/grp.h: Likewise.
48143 * include/libintl.h: Likewise.
48144 * include/mntent.h: Likewise.
48145 * include/netdb.h: Likewise.
48146 * include/pwd.h: Likewise.
48147 * include/rpc/netdb.h: Likewise.
48148 * include/sched.h: Likewise.
48149 * include/search.h: Likewise.
48150 * include/shadow.h: Likewise.
48151 * include/signal.h: Likewise.
48152 * include/stdio.h: Likewise.
48153 * include/stdlib.h: Likewise.
48154 * include/string.h: Likewise.
48155 * include/sys/socket.h: Likewise.
48156 * include/sys/stat.h: Likewise.
48157 * include/sys/statfs.h: Likewise.
48158 * include/sys/statvfs.h: Likewise.
48159 * include/sys/syslog.h: Likewise.
48160 * include/sys/time.h: Likewise.
48161 * include/sys/uio.h: Likewise.
48162 * include/time.h: Likewise.
48163 * include/unistd.h: Likewise.
48164 * include/utmp.h: Likewise.
48165 * include/wchar.h: Likewise.
48166 * include/wctype.h: Likewise.
48167 * inet/aliases.h: Likewise.
48168 * inet/arpa/inet.h: Likewise.
48169 * inet/netinet/ether.h: Likewise.
48170 * inet/netinet/in.h: Likewise.
48171 * intl/libintl.h: Likewise.
48172 * io/bits/fcntl2.h: Likewise.
48173 * io/fcntl.h: Likewise.
48174 * io/ftw.h: Likewise.
48175 * io/sys/poll.h: Likewise.
48176 * io/sys/stat.h: Likewise.
48177 * io/sys/statfs.h: Likewise.
48178 * io/sys/statvfs.h: Likewise.
48179 * io/utime.h: Likewise.
48180 * libio/bits/stdio.h: Likewise.
48181 * libio/bits/stdio2.h: Likewise.
48182 * libio/libio.h: Likewise.
48183 * libio/libioP.h: Likewise.
48184 * libio/stdio.h: Likewise.
48185 * locale/lc-ctype.c: Likewise.
48186 * locale/locale.h: Likewise.
48187 * login/utmp.h: Likewise.
48188 * malloc/arena.c: Likewise.
48189 * malloc/malloc.c: Likewise.
48190 * malloc/malloc.h: Likewise.
48191 * malloc/mcheck.c: Likewise.
48192 * malloc/mtrace.c: Likewise.
48193 * math/bits/mathcalls.h: Likewise.
48194 * math/fenv.h: Likewise.
48195 * math/math_private.h: Likewise.
48196 * misc/bits/error.h: Likewise.
48197 * misc/bits/syslog.h: Likewise.
48198 * misc/err.h: Likewise.
48199 * misc/error.h: Likewise.
48200 * misc/fstab.h: Likewise.
48201 * misc/mntent.h: Likewise.
48202 * misc/regexp.h: Likewise.
48203 * misc/search.h: Likewise.
48204 * misc/sgtty.h: Likewise.
48205 * misc/sys/mman.h: Likewise.
48206 * misc/sys/syslog.h: Likewise.
48207 * misc/sys/uio.h: Likewise.
48208 * misc/sys/xattr.h: Likewise.
48209 * misc/ttyent.h: Likewise.
48210 * nis/rpcsvc/ypclnt.h: Likewise.
48211 * nss/nss.h: Likewise.
48212 * posix/bits/unistd.h: Likewise.
48213 * posix/fnmatch.h: Likewise.
48214 * posix/glob.h: Likewise.
48215 * posix/sched.h: Likewise.
48216 * posix/spawn.h: Likewise.
48217 * posix/sys/wait.h: Likewise.
48218 * posix/unistd.h: Likewise.
48219 * posix/wordexp.h: Likewise.
48220 * pwd/pwd.h: Likewise.
48221 * resolv/netdb.h: Likewise.
48222 * resource/sys/resource.h: Likewise.
48223 * rt/aio.h: Likewise.
48224 * rt/bits/mqueue2.h: Likewise.
48225 * rt/mqueue.h: Likewise.
48226 * shadow/shadow.h: Likewise.
48227 * signal/signal.h: Likewise.
48228 * socket/send.c: Likewise.
48229 * socket/sendto.c: Likewise.
48230 * socket/sys/socket.h: Likewise.
48231 * stdio-common/printf.h: Likewise.
48232 * stdlib/bits/stdlib.h: Likewise.
48233 * stdlib/fmtmsg.h: Likewise.
48234 * stdlib/monetary.h: Likewise.
48235 * stdlib/stdlib.h: Likewise.
48236 * stdlib/ucontext.h: Likewise.
48237 * streams/stropts.h: Likewise.
48238 * string/argz.h: Likewise.
48239 * string/bits/string2.h: Likewise.
48240 * string/string.h: Likewise.
48241 * string/strings.h: Likewise.
48242 * sunrpc/rpc/auth.h: Likewise.
48243 * sunrpc/rpc/auth_des.h: Likewise.
48244 * sunrpc/rpc/clnt.h: Likewise.
48245 * sunrpc/rpc/netdb.h: Likewise.
48246 * sunrpc/rpc/pmap_clnt.h: Likewise.
48247 * sunrpc/rpc/xdr.h: Likewise.
48248 * sysdeps/generic/inttypes.h: Likewise.
48249 * sysdeps/generic/net/if.h: Likewise.
48250 * sysdeps/generic/sys/swap.h: Likewise.
48251 * sysdeps/gnu/net/if.h: Likewise.
48252 * sysdeps/gnu/utmpx.h: Likewise.
48253 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48254 * sysdeps/i386/i486/bits/string.h: Likewise.
48255 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48256 * sysdeps/s390/bits/string.h: Likewise.
48257 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48258 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48259 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48260 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48261 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48262 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48263 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48264 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48265 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48266 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48267 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48268 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48269 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48270 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48271 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48272 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48273 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48275 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48276 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48278 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48279 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48280 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48281 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48282 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48283 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48284 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48285 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48287 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48288 * sysvipc/sys/ipc.h: Likewise.
48289 * sysvipc/sys/msg.h: Likewise.
48290 * sysvipc/sys/sem.h: Likewise.
48291 * sysvipc/sys/shm.h: Likewise.
48292 * termios/termios.h: Likewise.
48293 * time/sys/time.h: Likewise.
48294 * time/time.h: Likewise.
48295 * wcsmbs/bits/wchar2.h: Likewise.
48296 * wcsmbs/uchar.h: Likewise.
48297 * wcsmbs/wchar.h: Likewise.
48298 * wctype/wctype.h: Likewise.
48301 * Makeconfig: Remove all but ELF support including AIX support.
48302 * Makerules: Likewise.
48303 * config.h.in: Likewise.
48304 * config.make.in: Likewise.
48305 * configure: Likewise.
48306 * configure.in: Likewise.
48307 * csu/Makefile: Likewise.
48308 * csu/version.c: Likewise.
48309 * debug/Makefile: Likewise.
48310 * dlfcn/Makefile: Likewise.
48311 * elf/Makefile: Likewise.
48312 * extra-lib.mk: Likewise.
48313 * iconv/Makefile: Likewise.
48314 * include/libc-symbols.h: Likewise.
48315 * include/shlib-compat.h: Likewise.
48316 * resolv/Makefile: Likewise.
48317 * resolv/res_libc.c: Likewise.
48318 * rt/Makefile: Likewise.
48319 * sysdeps/i386/asm-syntax.h: Likewise.
48320 * sysdeps/i386/sysdep.h: Likewise.
48321 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48322 * sysdeps/mach/sysdep.h: Likewise.
48323 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48324 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48325 * sysdeps/s390/asm-syntax.h: Likewise.
48326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48328 * sysdeps/sh/sysdep.h: Likewise.
48329 * sysdeps/unix/sparc/sysdep.h: Likewise.
48330 * sysdeps/wordsize-32/divdi3.c: Likewise.
48331 * sysdeps/x86_64/sysdep.h: Likewise.
48333 * argp/Versions: Remove _argp_unlock_xxx.
48336 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48337 * abilist/libBrokenLocale.abilist: Likewise.
48338 * abilist/libanl.abilist: Likewise.
48339 * abilist/libc.abilist: Likewise.
48340 * abilist/libcrypt.abilist: Likewise.
48341 * abilist/libdl.abilist: Likewise.
48342 * abilist/libm.abilist: Likewise.
48343 * abilist/libnsl.abilist: Likewise.
48344 * abilist/libpthread.abilist: Likewise.
48345 * abilist/libresolv.abilist: Likewise.
48346 * abilist/librt.abilist: Likewise.
48347 * abilist/libthread_db.abilist: Likewise.
48348 * abilist/libutil.abilist: Likewise.
48349 * abilist/libnss_db.abilist: New file.
48351 * scripts/abilist.awk: Add support for indirect functions.
48353 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48355 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48357 * shlib-versions: Remove entries for ports architectures.
48359 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48361 * elf/stackguard-macros.h: Remove support for IA-64.
48362 * elf/tst-auditmod1.c: Likewise.
48363 * sysdeps/generic/ldsodefs.h: Likewise.
48365 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48366 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48370 * configure.in: Remove --enable-omitfp support.
48372 * config.make.in: Likewise.
48373 * Makeconfig: Likewise.
48374 * manual/install.texi: Likewise.
48376 In case anyone cares, the IA-64 architecture could move to ports.
48377 * sysdeps/ia64/*: Removed.
48378 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48379 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48382 * configure.in: Remove entries for unsupported architectures.
48385 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48386 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48388 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48389 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48390 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48391 fall back to using wcrtomb.
48392 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48393 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48395 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48396 * wcsmbs/tst-c16c32-1.c: New file.
48398 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48401 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48403 * elf/tst-unique3.cc: Add explicit declaration of gets.
48404 * elf/tst-unique3lib.cc: Likewise.
48405 * elf/tst-unique3lib2.cc: Likewise.
48406 * elf/tst-unique4.cc: Likewise.
48408 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48410 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48413 * assert/assert.h (static_assert): Don't define for C++.
48414 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48415 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48417 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48419 * iconv/loop.c (single loop): Fix assertion in storing of
48422 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48424 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48426 * posix/getconf.c: Update copyright year.
48427 * nss/getent.c: Likewise.
48428 * nss/makedb.c: Likewise.
48429 * iconv/iconvconfig.c: Likewise.
48430 * iconv/iconv_prog.c: Likewise.
48431 * elf/ldconfig.c: Likewise.
48432 * elf/pldd.c: Likewise.
48433 * elf/sotruss.ksh: Likewise.
48434 * catgets/gencat.c: Likewise.
48435 * csu/version.c: Likewise.
48436 * elf/ldd.bash.in: Likewise.
48437 * elf/sprof.c (print_version): Likewise.
48438 * locale/programs/locale.c: Likewise.
48439 * locale/programs/localedef.c: Likewise.
48440 * login/programs/pt_chown.c: Likewise.
48441 * nscd/nscd.c (print_version): Likewise.
48442 * debug/xtrace.sh: Likewise.
48443 * malloc/memusage.sh: Likewise.
48444 * malloc/mtrace.pl: Likewise.
48445 * debug/catchsegv.sh: Likewise.
48447 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48449 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48452 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48455 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48456 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48458 * iconv/gconv_int.h: Likewise.
48459 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48460 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48461 from libc for GLIBC_2.16.
48462 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48463 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48464 * wcsmbs/uchar.h: Really define mbstate_t.
48465 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48466 * wcsmbs/c16rtomb.c: New file.
48467 * wcsmbs/mbrtoc16.c: New file.
48468 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48469 for C/POSIX locale.
48470 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48471 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48473 * wcsmbs/wchar.h: Add missing __restrict.
48475 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48478 * time/Makefile (routines): Add timespec_get.
48479 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48480 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48481 timespec for ISO C11.
48482 * time/timespec_get.c: New file.
48483 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48484 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48487 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48488 * stdlib/stdlib.h: Declare aligned_alloc.
48489 * Versions.def: Add GLIBC_2.16 for libc.
48490 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48493 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48496 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48500 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48503 * assert/assert.h (static_assert): Define.
48505 * version.h: Update for 2.16 development version.
48508 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48511 * version.h (RELEASE): Bump for 2.15 release.
48512 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48514 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48515 Patch by Marek Polacek <mpolacek@redhat.com>.
48517 * bits/byteswap.h: Protect long long constants with __extension__.
48518 * sysdeps/i386/bits/byteswap.h: Likewise.
48519 * sysdeps/ia64/bits/byteswap.h: Likewise.
48520 * sysdeps/s390/bits/byteswap.h: Likewise.
48521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48523 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48527 destination buffer.
48528 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48530 2011-12-23 Marek Polacek <polacek@redhat.com>
48532 * elf/dl-addr.c (determine_info): Add inline keyword.
48533 * elf/tst-auditmod4b.c (check_avx): Likewise.
48534 * elf/tst-auditmod6b.c (check_avx): Likewise.
48535 * elf/tst-auditmod6c.c (check_avx): Likewise.
48536 * elf/tst-auditmod7b.c (check_avx): Likewise.
48538 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48540 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48543 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48546 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48547 processing for last bytes.
48549 2011-08-06 Bruno Haible <bruno@clisp.org>
48552 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48553 U+0385, not to U+1FEE.
48556 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48557 entry for U+00A5 U+0301.
48559 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48562 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48563 buffer for the output is too small.
48565 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48569 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48570 SSE flags if possible.
48572 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48575 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48576 processing for last bytes.
48578 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48580 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48581 (syscall-list-default-options, syscall-list-default-condition)
48582 (syscall-list-includes): Define.
48583 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48584 list of ABIs and options and #if conditions for each ABI. Do not
48585 handle common syscalls between ABIs specially.
48586 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48588 (syscall-list-variants, syscall-list-32bit-options)
48589 (syscall-list-32bit-condition, syscall-list-64bit-options)
48590 (syscall-list-64bit-condition): Define.
48591 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48592 (syscall-list-variants, syscall-list-32bit-options)
48593 (syscall-list-32bit-condition, syscall-list-64bit-options)
48594 (syscall-list-64bit-condition): Define.
48595 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48597 (syscall-list-variants, syscall-list-32bit-options)
48598 (syscall-list-32bit-condition, syscall-list-64bit-options)
48599 (syscall-list-64bit-condition): Define.
48600 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48602 (syscall-list-variants, syscall-list-32bit-options)
48603 (syscall-list-32bit-condition, syscall-list-64bit-options)
48604 (syscall-list-64bit-condition): Define.
48606 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48608 * locale/iso-639.def: Add brx entry.
48611 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48612 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48614 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48615 __feraiseexcept_renamed.
48617 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48620 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48621 EPOLLET with unsigned values.
48622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48625 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48626 to large cancellation.
48627 * math/s_cacoshf.c: Likewise.
48628 * math/s_cacoshl.c: Likewise.
48630 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48634 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48635 * math/s_cacoshf.c: Likewise.
48636 * math/s_cacoshl.c: Likewise.
48638 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48641 * iconv/gconv.h: Define __GCONV_SWAP.
48642 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48643 * iconvdata/utf-16.c: Likewise.
48644 * iconvdata/utf-32.c: Likewise.
48646 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48649 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48650 numerator after shifting it by one limb.
48652 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48654 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48655 under [__USE_EXTERN_INLINES].
48657 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48660 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48662 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48664 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48665 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48667 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48668 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48669 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48670 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48671 for strncasecmp/strncasecmp_l compilation.
48672 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48673 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48675 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48678 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48681 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48684 * time/tzfile.c (__tzfile_read): Check values from file header.
48686 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48688 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48689 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48690 * powerpc/powerpc32/dl-start.S: Likewise.
48691 * powerpc/powerpc32/elf/start.S: Likewise.
48692 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48693 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48694 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48695 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48696 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48697 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48698 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48699 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48700 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48701 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48702 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48703 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48704 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48705 * powerpc/powerpc32/memset.S: Likewise.
48706 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48707 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48708 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48709 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48710 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48711 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48712 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48713 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48714 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48715 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48716 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48717 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48718 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48720 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48722 * math/libm-test.inc: Added more nearbyint tests.
48723 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48724 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48728 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48730 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48733 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48735 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48736 Add wcscpy-ssse3 wcscpy-c.
48737 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48738 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48739 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48740 * sysdeps/x86_64/wcschr.S: New file.
48741 * sysdeps/x86_64/wcsrchr.S: New file.
48742 * string/test-strcmp.c: Remove checking of wcscmp function for
48744 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48745 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48746 wcsrchr-sse2 wcsrchr-c.
48747 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48748 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48749 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48750 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48751 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48752 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48753 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48754 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48755 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48756 * wcsmbc/wcschr.c (WCSCHR): New macro.
48758 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48760 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48761 * wcsmbs/test-wcsrchr.c: New file.
48762 * string/test-strrchr.c: Add wcsrchr support.
48764 * wcsmbs/test-wcscpy.c: New file.
48765 * string/test-strcpy.c: Add wcscpy support.
48768 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48770 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48773 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48776 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48778 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48780 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48781 Minor optimizations.
48783 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48784 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48785 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48787 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48789 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48790 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48791 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48792 for gcc to avoid warnings.
48793 * inet/Makefile (tests): Add tst-checks.
48794 * inet/tst-checks.c: New file.
48796 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48799 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48802 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48803 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48805 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48807 2011-12-02 Ulrich Drepper <drepper@gmail.com>
48809 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48812 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48814 2011-11-29 Joseph Myers <joseph@codesourcery.com>
48816 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48817 conditional on GCC version.
48818 (__arch_compare_and_exchange_val_8_acq)
48819 (__arch_compare_and_exchange_val_16_acq)
48820 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48821 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48822 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48824 2011-12-02 Joseph Myers <joseph@codesourcery.com>
48826 * sysdeps/sh/backtrace.c: New file.
48828 2011-12-02 Andreas Schwab <schwab@redhat.com>
48830 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48833 2011-12-01 Andreas Schwab <schwab@redhat.com>
48835 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48836 falling back to utime.
48838 2011-11-30 Andreas Schwab <schwab@redhat.com>
48840 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48841 expectations for float.
48843 2011-11-29 Andreas Schwab <schwab@redhat.com>
48845 * locale/weight.h (findidx): Add parameter len.
48846 * locale/weightwc.h (findidx): Likewise.
48847 * posix/fnmatch_loop.c (FCT): Adjust caller.
48848 * posix/regcomp.c (build_equiv_class): Likewise.
48849 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48850 * posix/regexec.c (check_node_accept_bytes): Likewise.
48851 * string/strcoll_l.c (STRCOLL): Likewise.
48852 * string/strxfrm_l.c (STRXFRM): Likewise.
48854 2011-11-17 Ulrich Drepper <drepper@gmail.com>
48856 * Makefile.in: Remove CVSOPT handling.
48857 * configure.in: Remove use of AC_REVISION.
48858 * iconvdata/Makefile (distribute): No need to filter out CVS.
48859 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48862 2011-11-16 Andreas Schwab <schwab@redhat.com>
48864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48865 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48866 [USE_AS_STRNCASECMP_L]: Likewise.
48867 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48868 NO_TLS_DIRECT_SEG_REFS.
48869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48870 Fix argument offsets for non-PIC.
48871 [USE_AS_STRNCASECMP_L]: Likewise.
48872 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48873 NO_TLS_DIRECT_SEG_REFS.
48875 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48877 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48879 * locale/loadlocale.c (_nl_load_locale): Likewise.
48881 2011-11-15 Andreas Schwab <schwab@redhat.com>
48883 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48884 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48885 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48886 (SYSCALL_GETTIME): Set errno on error.
48888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48889 count references to noai6ai_cached.
48891 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48893 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48895 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48896 FD_CLOEXEC for /proc/self/maps.
48898 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48899 FD_CLOEXEC for /proc/meminfo.
48901 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48904 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48905 FD_CLOEXEC for given file.
48907 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48909 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48910 FD_CLOEXEC for /etc/hosts.
48911 (_gethtent): Likewise.
48913 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48915 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48916 cancellation and set FD_CLOEXEC for /etc/netgroup.
48918 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48919 reading /etc/publickey.
48921 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48922 allow cancellation when reading /etc/group.
48924 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48926 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48928 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48929 when using data file.
48931 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48933 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48934 (write_nis_obj): Use "c" and "e" in fopen.
48936 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48938 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48940 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48942 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48944 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48947 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48949 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48951 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48953 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48954 file parsing and set FD_CLOEXEC.
48956 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48958 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48960 2011-11-14 Andreas Schwab <schwab@redhat.com>
48962 * malloc/arena.c (arena_get2): Don't call reused_arena when
48963 _int_new_arena failed.
48965 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48967 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48968 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48969 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48973 to compile strcasecmp and strncasecmp.
48974 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48975 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48979 2011-11-13 Ulrich Drepper <drepper@gmail.com>
48981 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48982 locale-defines.sym to gen-as-const-headers.
48983 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48984 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48986 to compile strcasecmp and strncasecmp.
48987 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48988 strcasecmp_l and strncasecmp_l.
48989 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48990 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48991 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48993 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48994 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48995 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48996 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48997 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48998 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48999 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49001 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49003 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49004 result of SYSDEP_GETTIME_CPU to retval.
49005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49006 parameter list to macro. Remove trailing semicolon. Adjust users.
49008 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49011 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49013 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49015 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49016 from unused variable.
49018 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49020 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49023 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49026 * sunrpc/rpc_prot.c (rejected): Fix case value.
49028 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49029 unsigned long long int to avoid warnings in shift.
49031 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49033 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49036 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49037 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49038 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49040 * nis/nis_table.c (nis_list): Use variable of correct type for
49041 result of __follow_path call.
49043 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49045 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49046 of math functions ceil, trunc, floor, round, and sqrt, when
49047 avaliable on the platform.
49048 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49050 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49051 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49052 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49054 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49056 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49057 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49059 2011-11-11 Roland McGrath <roland@hack.frob.com>
49061 * include/unistd.h: Fix __readlink return type.
49062 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49064 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49066 * stdlib/ucontext.h: Undo last change for makecontext.
49068 2011-11-11 Andreas Schwab <schwab@redhat.com>
49070 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49072 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49073 * setjmp/setjmp.h: Mark functions as non-leaf.
49074 * setjmp/bits/setjmp2.h: Likewise.
49075 * stdlib/ucontext.h: Likewise.
49077 2011-11-10 Andreas Schwab <schwab@redhat.com>
49079 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49080 (reused_arena): Don't check arena limit.
49081 (arena_get2): Atomically check arena limit.
49083 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49085 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49086 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49091 2011-11-07 Andreas Schwab <schwab@redhat.com>
49093 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49094 handler when locking.
49096 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49097 Fix size of allocated buffer.
49099 2011-11-04 Andreas Schwab <schwab@redhat.com>
49102 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49103 declarations for long double functions.
49104 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49106 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49108 2011-11-03 Andreas Schwab <schwab@redhat.com>
49110 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49113 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49116 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49118 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49120 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49122 * include/alloca.h (stackinfo_alloca_round): Define.
49123 (extend_alloca): Use it.
49124 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49125 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49128 * scripts/check-local-headers.sh: Ignore libaudit.h.
49130 * nscd/Makefile (extra-objs): Make recursively expanded.
49132 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49134 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49137 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49138 * posix/tst-rfc3484-2.c: Likewise.
49139 * posix/tst-rfc3484-3.c: Likewise.
49141 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49143 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49145 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49146 process_vm_writev from libc using GLIBC_2.15 version.
49148 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49150 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49152 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49155 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49158 * nss/getent.c (initgroups_keys): Show error message in case no group
49161 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49162 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49163 __bump_nl_timestamp.
49164 * nscd/connections (nscd_init): When host database is served open
49165 netlink socket and request notification about configuration changes.
49166 (main_loop_poll): Track netlink file descriptor and bump timestamp
49167 in case data becomes available.
49168 (main_loop_epoll): Likewise.
49169 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49170 (database_pers_head): Add extra_data fileds.
49171 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49172 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49173 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49176 in6ai data, call __free_in6ai.
49177 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49178 Add -DHAVE_NETLINK.
49179 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49180 interface information. Reuse previous data if netlink timestamp
49182 (__bump_nl_timestamp): New function.
49183 (__free_in6ai): New function.
49185 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49187 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49188 close_not_cancel_no_status here.
49189 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49191 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49194 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49197 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49198 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49199 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49201 2011-07-03 Andreas Jaeger <aj@suse.de>
49204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49205 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49206 * math/libm-test.inc (sin_test): Add test case.
49208 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49211 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49212 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49214 * elf/chroot_canon.c (chroot_canon): Cleanups.
49216 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49219 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49220 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49222 * string/test-strchr.c: Make usable for strchrnul testing.
49223 * string/test-strchrnul.c: New file.
49224 * string/Makefile (strop-tests): Add strchrnul.
49226 * po/it.po: Update from translation team.
49227 * po/es.po: Likewise.
49229 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49231 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49232 the three constants needed as parameters. Drop the others.
49233 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49234 __m128i_strloadu_tolower.
49235 Create and initialize variable zero and use it in all the places
49236 where _mm_setzero_si128 was used.
49238 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49239 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49240 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49241 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49243 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49246 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49247 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49248 __mpranred, __mptan.
49249 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49250 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49251 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49252 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49253 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49254 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49256 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49259 2011-10-28 Andreas Schwab <schwab@redhat.com>
49261 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49262 redefine if SHARED.
49263 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49266 wide char related routines to wcsmbs subdir.
49268 2011-10-27 Andreas Schwab <schwab@redhat.com>
49271 * misc/sys/cdefs.h (__THROWNL): Define.
49272 * posix/unistd.h: Use __THREADNL instead of __THREAD
49273 for memory synchronization functions.
49275 2011-10-26 Roland McGrath <roland@hack.frob.com>
49278 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49280 * manual/stdio.texi (Obstack Streams): Node removed.
49282 2011-10-26 Andreas Schwab <schwab@redhat.com>
49284 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49285 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49286 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49288 * math/math_private.h (math_force_eval): Allow non-addressable
49290 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49292 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49294 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49295 file is not needed.
49297 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49299 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49300 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49301 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49303 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49304 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49306 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49307 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49308 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49309 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49310 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49311 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49312 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49313 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49314 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49315 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49316 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49317 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49318 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49319 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49322 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49323 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49324 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49326 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49327 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49329 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49330 place. Use VEX encoding when compiling for AVX.
49332 2011-10-25 Andreas Schwab <schwab@redhat.com>
49334 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49335 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49337 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49339 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49341 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49342 useless if() expression.
49343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49344 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49346 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49347 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49348 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49351 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49352 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49353 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49354 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49355 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49356 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49357 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49358 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49360 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49361 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49363 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49365 2011-10-25 Andreas Schwab <schwab@redhat.com>
49367 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49369 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49371 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49373 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49374 .text section. Avoid duplicate constants.
49375 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49383 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49384 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49385 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49386 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49387 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49388 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49389 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49391 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49392 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49393 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49395 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49396 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49397 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49398 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49399 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49400 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49401 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49402 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49403 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49404 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49405 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49406 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49407 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49408 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49409 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49410 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49411 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49412 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49413 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49414 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49415 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49416 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49417 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49418 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49419 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49421 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49423 * sysdeps/x86_64/dla.h: Move to ...
49424 * sysdeps/x86_64/fpu/dla.h: ...here.
49425 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49426 situations. Use __builtin_fma only for gcc 4.6 and up.
49428 * config.make.in: Add have-mfma4 entry.
49429 * configure.in: Substitute libc_cv_cc_fma4.
49430 * math/Makefile (dbl-only-routines): Add sincostab.
49431 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49432 Use __sincostab not sincos.
49433 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49435 * sysdeps/ieee754/dbl-64/e_exp.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_atan2.c: Likewise. Define singArctan2
49440 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49441 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49442 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49443 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49445 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49446 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49448 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49449 define aliases when function name is a macro.
49450 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49451 sysdeps/ieee754/dbl-64/sincos.tbl.
49452 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49453 fma4-enabled routines.
49454 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49455 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49456 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49457 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49459 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49462 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49463 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49464 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49465 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49466 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49467 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49468 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49469 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49470 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49471 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49472 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49473 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49474 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49475 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49477 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49478 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49479 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49480 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49481 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49482 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49483 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49485 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49496 2011-10-24 Andreas Schwab <schwab@redhat.com>
49498 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49500 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49502 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49504 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49506 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49508 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49509 Remove unused variable magic_bits.
49510 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49512 * string/strnlen.c: Define and use STRNLEN macro.
49513 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49514 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49516 * wcsmbs/wcslen.c: Define and use WCSLEN.
49517 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49518 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49519 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49520 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49521 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49522 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49523 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49525 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49528 strnlen-sse2-no-bsf.
49529 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49531 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49532 Add strnlen support.
49533 (USE_AS_STRNLEN): New macro.
49534 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49535 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49536 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49537 * sysdeps/x86_64/wcslen.S: New file.
49539 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49541 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49542 XMM-moves are used for copying on small sizes.
49544 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49546 * wcsmbs/Makefile (strop-tests): Add wcschr.
49547 * wcsmbs/test-wcschr.c: New file.
49548 * string/test-strchr.c: Update.
49549 Add wcschr support.
49552 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49554 * wcsmbs/Makefile (strop-tests): Add wcslen.
49555 * wcsmbs/test-wcslen.c: New file.
49556 * string/test-strlen.c: Update.
49557 Add wcslen support.
49560 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49562 * po/it.po: Update from translation team.
49564 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49566 * sysdeps/x86_64/wcscmp.S: Update.
49567 Fix wrong comparison semantics.
49568 wcscmp shall use signed comparison not unsigned.
49569 Don't use substraction to avoid overflow bug.
49570 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49571 * wcsmbc/wcscmp.c: Likewise.
49572 * string/test-strcmp.c: Likewise.
49573 Add new tests to check cases with negative values.
49575 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49577 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49578 * sysdeps/x86_64/dla.h: ...here. New file.
49579 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49589 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49592 __ynl_finite aliases.
49594 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49598 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49600 [DLA_FMA] (EMULV): Use DLA_FMA.
49601 [DLA_FMA] (MUL12): Use EMULV.
49602 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49603 that are not needed.
49604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49612 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49614 * math/s_nan.c: Undef __nan.
49615 * math/s_nanf.c: Undef __nanf.
49616 * math/s_nanl.c: Undef __nanl.
49617 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49620 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49622 * math/s_catan.c: Add branch predictions.
49623 * math/s_catanf.c: Likewise.
49624 * math/s_catanh.c: Likewise.
49625 * math/s_catanhf.c: Likewise.
49626 * math/s_catanhl.c: Likewise.
49627 * math/s_catanl.c: Likewise.
49628 * math/s_cexp.c: Likewise.
49629 * math/s_cexpf.c: Likewise.
49630 * math/s_cexpl.c: Likewise.
49631 * math/s_clog.c: Likewise.
49632 * math/s_clog10.c: Likewise.
49633 * math/s_clog10f.c: Likewise.
49634 * math/s_clog10l.c: Likewise.
49635 * math/s_clogf.c: Likewise.
49636 * math/s_clogl.c: Likewise.
49637 * math/s_csqrt.c: Likewise.
49638 * math/s_csqrtf.c: Likewise.
49639 * math/s_csqrtl.c: Likewise.
49640 * math/s_ctanf.c: Likewise.
49641 * math/s_ctanh.c: Likewise.
49642 * math/s_ctanhf.c: Likewise.
49643 * math/s_ctanhl.c: Likewise.
49644 * math/s_ctanl.c: Likewise.
49646 * math/math_private.h: Define __nan, __nanf, __nanl.
49647 * math/s_cacosh.c: Include <math_private.h>.
49648 * math/s_cacoshl.c: Likewise.
49649 * math/s_casinh.c: Likewise.
49650 * math/s_casinhf.c: Likewise.
49651 * math/s_casinhl.c: Likewise.
49652 * math/s_ccos.c: Rely entire on ccosh.
49653 * math/s_ccosf.c: Rely entire on ccoshf.
49654 * math/s_ccosl.c: Rely entirely on ccoshl.
49655 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49656 Remove tests for FE_INVALID.
49657 * math/s_ccoshf.c: Likewise.
49658 * math/s_ccoshl.c: Likewise.
49659 * math/s_csin.c: Likewise.
49660 * math/s_csinf.c: Likewise.
49661 * math/s_csinh.c Likewise.
49662 * math/s_csinhf.c: Likewise.
49663 * math/s_csinhl.c: Likewise.
49664 * math/s_csinl.c: Likewise.
49665 * math/s_ctan.c: Likewise.
49666 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49667 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49670 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49673 compilation problems.
49675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49678 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49680 * sysdeps/i386/configure.in: Test for -mfma4 option.
49681 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49682 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49683 COMMON_CPUID_INDEX_80000001.
49684 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49685 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49686 use it if FMA3 is not supported.
49687 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49689 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49690 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49692 2011-10-20 Andreas Schwab <schwab@redhat.com>
49695 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49696 it would create a cycle with a link time dependency.
49698 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49700 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49702 * string/Makefile (strop-tests): Add rawmemchr.
49703 * string/test-rawmemchr.c: New file.
49705 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49706 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49707 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49708 when compiling str{,n}casecmp and when AVX is available. Hook up
49709 new optimized code in initializers.
49711 2011-10-19 Andreas Schwab <schwab@redhat.com>
49713 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49714 __feraiseexcept instead of feraiseexcept.
49716 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49718 * math/math_private.h: Define defaults for libc_fetestexcept and
49720 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49721 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49724 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49725 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49726 libc_fetestexcept and libc_feupdateenv.
49728 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49729 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49730 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49731 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49732 libc_feholdexcept_setround.
49734 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49735 Add s_nearbyint-c and s_nearbyintf-c.
49736 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49737 nearbyintf inlines.
49738 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49740 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49741 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49743 * math/math_private.h: Define defaults for libc_fegetround,
49744 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49745 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49746 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49747 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49748 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49749 standard functions.
49750 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49751 Remove comments and hacks for old compiler versions.
49752 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49753 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49754 libc_feholdexceptl.
49756 2011-10-18 Andreas Schwab <schwab@redhat.com>
49758 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49759 (__feraiseexcept_renamed): Add __NTH.
49760 (feraiseexcept): Add __NTH. Rename local variables to fix
49761 namespace violations.
49763 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49765 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49767 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49769 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49770 recently added interfaces.
49771 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49773 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49774 about macro parameter expansion.
49776 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49777 __NO_MATH_INLINES is defined. Cleanups.
49779 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49780 and __floorf is target has SSE4.1.
49781 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49782 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49783 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49784 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49786 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49788 (floorf): Likewise.
49790 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49792 2011-10-17 Andreas Schwab <schwab@redhat.com>
49794 * misc/sys/cdefs.h: Fix last change.
49796 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49799 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49801 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49803 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49805 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49806 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49809 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49810 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49811 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49812 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49813 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49814 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49815 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49816 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49817 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49818 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49819 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49820 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49821 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49822 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49823 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49824 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49826 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49827 ceil, ceilf, floor, floorf.
49829 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49830 Perform IRELATIVE relocations last.
49832 * elf/do-rel.h: Add another parameter nrelative, replacing the
49833 local variable with the same name. Change name of the function
49834 to end in Rel or Rela (uppercase).
49835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49836 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49837 elf_dynamic_do_##reloc function.
49839 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49841 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49842 is sufficient, at least on modern CPUs.
49844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49846 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49847 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49849 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49851 * math/bits/math-finite.h: Add entries for exp.
49852 * math/e_expl.c: Add __*_finite alias.
49853 * sysdeps/i386/fpu/e_exp.S: Likewise.
49854 * sysdeps/i386/fpu/e_expf.S: Likewise.
49855 * sysdeps/i386/fpu/e_expl.c: Likewise.
49856 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49857 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49858 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49859 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49860 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49861 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49862 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49864 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49865 is sufficient, at least on modern CPUs.
49867 * ctype/ctype-info.c (__ctype_init): Define.
49868 * include/ctype.h (__ctype_init): Declare.
49869 (__ctype_b_loc): The variable is always initialized.
49870 (__ctype_toupper_loc): Likewise.
49871 (__ctype_tolower_loc): Likewise.
49872 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49873 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49875 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49877 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49879 * configure.in: Also look in $cxxmachine/include for C++ system
49882 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49884 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49885 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49886 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49887 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49888 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49889 (USE_AS_WMEMCMP): New macro.
49891 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49892 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49893 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49894 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49896 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49897 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49898 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49899 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49900 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49901 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49902 (USE_AS_WMEMCMP): New macro.
49903 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49904 * sysdeps/string/test-memcmp.c: Update.
49905 Fix simple_wmemcmp.
49907 * wcsmbs/wmemcmp.c: Update.
49908 (WMEMCMP): New macro.
49911 2011-10-12 Andreas Jaeger <aj@suse.de>
49914 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49916 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49918 * libio/iofwide.c (do_length): Avoid warning.
49920 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49922 2011-10-14 Ulrich Drepper <drepper@gmail.com>
49924 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49926 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49927 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49928 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49929 * sysdeps/i386/i686/fpu/e_log.S: New file.
49930 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49931 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49933 * ctype/ctype.h: Add support for inlined isXXX functions when
49934 compiling C++ code.
49936 2011-10-14 Andreas Schwab <schwab@redhat.com>
49938 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49940 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49942 2011-10-13 Roland McGrath <roland@hack.frob.com>
49945 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49947 2011-10-13 Andreas Schwab <schwab@redhat.com>
49949 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49950 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49953 * sysdeps/x86_64/memrchr.S: Check for zero size.
49955 * string/stratcliff.c: Add memrchr tests.
49957 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49960 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49961 rawmemchr-sse2 rawmemchr-sse2-bsf.
49962 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49963 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49964 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49965 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49966 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49967 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49968 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49969 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49970 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49971 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49972 * string/memrchr.c (MEMRCHR): New macro.
49974 2011-10-12 Ulrich Drepper <drepper@gmail.com>
49976 Add integration with gcc's -ffinite-math-only and optimize wrapper
49978 * Versions.def: Define GLIBC_2.15 version for libm.
49979 * math/Makefile (headers): Add bits/math-finite.h.
49980 * math/bits/math-finite.h: New file.
49981 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49982 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49983 * math/e_acoshl.c: Add __*_finite alias.
49984 * math/e_acosl.c: Likewise.
49985 * math/e_asinl.c: Likewise.
49986 * math/e_atan2l.c: Likewise.
49987 * math/e_atanhl.c: Likewise.
49988 * math/e_coshl.c: Likewise.
49989 * math/e_exp10.c: Likewise.
49990 * math/e_exp10f.c: Likewise.
49991 * math/e_exp10l.c: Likewise.
49992 * math/e_exp2l.c: Likewise.
49993 * math/e_fmodl.c: Likewise.
49994 * math/e_gammal_r.c: Likewise.
49995 * math/e_hypotl.c: Likewise.
49996 * math/e_j0l.c: Likewise.
49997 * math/e_j1l.c: Likewise.
49998 * math/e_jnl.c: Likewise.
49999 * math/e_lgammal_r.c: Likewise.
50000 * math/e_log10l.c: Likewise.
50001 * math/e_log2l.c: Likewise.
50002 * math/e_logl.c: Likewise.
50003 * math/e_powl.c: Likewise.
50004 * math/e_sinhl.c: Likewise.
50005 * math/e_sqrtl.c: Likewise.
50006 * math/e_scalb.c: Completely rewritten and optimized.
50007 * math/e_scalbf.c: Likewise.
50008 * math/e_scalbl.c: Likewise.
50009 * math/w_acos.c: Likewise.
50010 * math/w_acosf.c: Likewise.
50011 * math/w_acosl.c: Likewise.
50012 * math/w_acosh.c: Likewise.
50013 * math/w_acoshf.c: Likewise.
50014 * math/w_acoshl.c: Likewise.
50015 * math/w_asin.c: Likewise.
50016 * math/w_asinf.c: Likewise.
50017 * math/w_asinl.c: Likewise.
50018 * math/w_atan2.c: Likewise.
50019 * math/w_atan2f.c: Likewise.
50020 * math/w_atan2l.c: Likewise.
50021 * math/w_atanh.c: Likewise.
50022 * math/w_atanhf.c: Likewise.
50023 * math/w_atanhl.c: Likewise.
50024 * math/w_exp10.c: Likewise.
50025 * math/w_exp10f.c: Likewise.
50026 * math/w_exp10l.c: Likewise.
50027 * math/w_fmod.c: Likewise.
50028 * math/w_fmodf.c: Likewise.
50029 * math/w_fmodl.c: Likewise.
50030 * math/w_j0.c: Likewise.
50031 * math/w_j0f.c: Likewise.
50032 * math/w_j0l.c: Likewise.
50033 * math/w_j1.c: Likewise.
50034 * math/w_j1f.c: Likewise.
50035 * math/w_j1l.c: Likewise.
50036 * math/w_jn.c: Likewise.
50037 * math/w_jnf.c: Likewise.
50038 * math/w_log.c: Likewise.
50039 * math/w_logf.c: Likewise.
50040 * math/w_logl.c: Likewise.
50041 * math/w_log10.c: Likewise.
50042 * math/w_log10f.c: Likewise.
50043 * math/w_log10l.c: Likewise.
50044 * math/w_log2.c: Likewise.
50045 * math/w_log2f.c: Likewise.
50046 * math/w_log2l.c: Likewise.
50047 * math/w_pow.c: Likewise.
50048 * math/w_powf.c: Likewise.
50049 * math/w_powl.c: Likewise.
50050 * math/w_remainder.c: Likewise.
50051 * math/w_remainderf.c: Likewise.
50052 * math/w_remainderl.c: Likewise.
50053 * math/w_scalb.c: Likewise.
50054 * math/w_scalbf.c: Likewise.
50055 * math/w_scalbl.c: Likewise.
50056 * math/w_sqrt.c: Likewise.
50057 * math/w_sqrtf.c: Likewise.
50058 * math/w_sqrtl.c: Likewise.
50059 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50060 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50062 * math/math_private.h: Declare __kernel_standard_f.
50063 * math/w_cosh.c: Remove cruft and optimize a bit.
50064 * math/w_coshf.c: Likewise.
50065 * math/w_coshl.c: Likewise.
50066 * math/w_exp2.c: Likewise.
50067 * math/w_exp2f.c: Likewise.
50068 * math/w_exp2l.c: Likewise.
50069 * math/w_hypot.c: Likewise.
50070 * math/w_hypotf.c: Likewise.
50071 * math/w_hypotl.c: Likewise.
50072 * math/w_lgamma.c: Likewise.
50073 * math/w_lgamma_r.c: Likewise.
50074 * math/w_lgammaf.c: Likewise.
50075 * math/w_lgammaf_r.c: Likewise.
50076 * math/w_lgammal.c: Likewise.
50077 * math/w_lgammal_r.c: Likewise.
50078 * math/w_sinh.c: Likewise.
50079 * math/w_sinhf.c: Likewise.
50080 * math/w_sinhl.c: Likewise.
50081 * math/w_tgamma.c: Likewise.
50082 * math/w_tgammaf.c: Likewise.
50083 * math/w_tgammal.c: Likewise.
50084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50086 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50087 Minor optimizations. Pretty printing. Remove cruft.
50088 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50089 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50090 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50091 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50092 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50093 * sysdeps/i386/fpu/e_asin.S: Likewise.
50094 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50095 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50096 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50097 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50098 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50099 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50100 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50101 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50102 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50103 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50104 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50105 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50106 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50107 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50108 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50109 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50110 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50111 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50112 * sysdeps/i386/fpu/e_log.S: Likewise.
50113 * sysdeps/i386/fpu/e_log10.S: Likewise.
50114 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50115 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50116 * sysdeps/i386/fpu/e_log2.S: Likewise.
50117 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50118 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50119 * sysdeps/i386/fpu/e_logf.S: Likewise.
50120 * sysdeps/i386/fpu/e_logl.S: Likewise.
50121 * sysdeps/i386/fpu/e_pow.S: Likewise.
50122 * sysdeps/i386/fpu/e_powf.S: Likewise.
50123 * sysdeps/i386/fpu/e_powl.S: Likewise.
50124 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50125 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50126 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50127 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50128 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50129 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50130 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50131 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50132 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50133 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50134 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50136 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50137 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50138 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50139 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50140 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50141 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50142 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50143 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50144 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50146 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50147 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50149 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50153 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50154 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50157 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50158 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50159 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50160 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50161 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50162 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50164 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50166 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50167 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50168 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50169 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50170 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50171 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50172 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50173 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50174 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50175 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50176 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50178 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50179 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50180 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50181 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50182 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50183 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50184 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50185 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50186 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50187 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50188 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50189 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50190 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50191 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50192 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50193 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50194 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50197 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50198 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50199 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50200 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50203 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50204 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50205 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50207 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50209 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50210 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50212 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50213 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50214 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50215 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50216 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50217 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50218 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50219 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50220 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50221 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50222 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50224 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50225 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50226 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50227 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50228 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50229 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50230 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50231 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50232 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50233 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50234 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50235 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50236 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50237 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50238 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50239 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50241 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50242 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50243 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50244 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50245 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50246 (__isnanf): Likewise.
50247 (__isinf_ns): Likewise.
50248 (__isinf_nsf): Likewise.
50249 (__finite): Likewise.
50250 (__finitef): Likewise.
50251 (__ieee754_sqrt): Define as macro.
50252 (__ieee754_sqrtf): Define as macro.
50253 (__ieee754_sqrtl): Define as macro.
50254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50256 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50257 __FINITE_MATH_ONLY__ consistent.
50258 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50260 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50262 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50265 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50267 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50269 * po/ja.po: Update from translation team.
50271 2011-10-08 Roland McGrath <roland@hack.frob.com>
50273 * locale/programs/locarchive.c (prepare_address_space): New function.
50274 (create_archive, enlarge_archive, open_archive): Use it.
50276 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50277 inside [SHARED], where it is used.
50279 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50281 * nss/getent.c (netgroup_keys): Remove unused variable.
50282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50284 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50286 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50289 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50291 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50292 * math/Makefile (libm-calls): Add s_isinf_ns.
50293 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50294 * math/multc3.c: Likewise.
50295 * math/s_casin.c: Likewise.
50296 * math/s_casinf.c: Likewise.
50297 * math/s_casinl.c: Likewise.
50298 * math/s_ccos.c: Likewise.
50299 * math/s_ccosf.c: Likewise.
50300 * math/s_ccosl.c: Likewise.
50301 * math/s_ctan.c: Likewise.
50302 * math/s_ctanf.c: Likewise.
50303 * math/s_ctanh.c: Likewise.
50304 * math/s_ctanhf.c: Likewise.
50305 * math/s_ctanhl.c: Likewise.
50306 * math/s_ctanl.c: Likewise.
50307 * math/w_fmod.c: Likewise.
50308 * math/w_fmodf.c: Likewise.
50309 * math/w_fmodl.c: Likewise.
50310 * math/w_remainder.c: Likewise.
50311 * math/w_remainderf.c: Likewise.
50312 * math/w_remainderl.c: Likewise.
50313 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50314 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50317 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50318 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50319 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50320 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50322 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50324 * stdio-common/printf_fphex.c: Likewise.
50325 * stdio-common/printf_size.c: Likewise.
50327 * math/e_exp10.c: Include math_private.h using <...> not "...".
50328 * math/e_exp10f.c: Likewise.
50329 * math/e_exp10l.c: Likewise.
50330 * math/e_exp2l.c: Likewise.
50331 * math/e_j0l.c: Likewise.
50332 * math/e_j1l.c: Likewise.
50333 * math/e_jnl.c: Likewise.
50334 * math/e_lgammal_r.c: Likewise.
50335 * math/e_rem_pio2l.c: Likewise.
50336 * math/e_scalb.c: Likewise.
50337 * math/e_scalbf.c: Likewise.
50338 * math/e_scalbl.c: Likewise.
50339 * math/k_cosl.c: Likewise.
50340 * math/k_sinl.c: Likewise.
50341 * math/k_tanl.c: Likewise.
50342 * math/s_cacoshf.c: Likewise.
50343 * math/s_catan.c: Likewise.
50344 * math/s_catanf.c: Likewise.
50345 * math/s_catanh.c: Likewise.
50346 * math/s_catanhf.c: Likewise.
50347 * math/s_catanhl.c: Likewise.
50348 * math/s_catanl.c: Likewise.
50349 * math/s_ccosh.c: Likewise.
50350 * math/s_ccoshf.c: Likewise.
50351 * math/s_ccoshl.c: Likewise.
50352 * math/s_cexp.c: Likewise.
50353 * math/s_cexpf.c: Likewise.
50354 * math/s_cexpl.c: Likewise.
50355 * math/s_clog.c: Likewise.
50356 * math/s_clog10.c: Likewise.
50357 * math/s_clog10f.c: Likewise.
50358 * math/s_clog10l.c: Likewise.
50359 * math/s_clogf.c: Likewise.
50360 * math/s_clogl.c: Likewise.
50361 * math/s_csin.c: Likewise.
50362 * math/s_csinf.c: Likewise.
50363 * math/s_csinh.c: Likewise.
50364 * math/s_csinhf.c: Likewise.
50365 * math/s_csinhl.c: Likewise.
50366 * math/s_csinl.c: Likewise.
50367 * math/s_csqrt.c: Likewise.
50368 * math/s_csqrtf.c: Likewise.
50369 * math/s_csqrtl.c: Likewise.
50370 * math/s_ctan.c: Likewise.
50371 * math/s_ctanf.c: Likewise.
50372 * math/s_ctanh.c: Likewise.
50373 * math/s_ctanhf.c: Likewise.
50374 * math/s_ctanhl.c: Likewise.
50375 * math/s_ctanl.c: Likewise.
50376 * math/s_ldexp.c: Likewise.
50377 * math/s_ldexpf.c: Likewise.
50378 * math/s_ldexpl.c: Likewise.
50379 * math/s_significand.c: Likewise.
50380 * math/s_significandf.c: Likewise.
50381 * math/s_significandl.c: Likewise.
50382 * math/w_acos.c: Likewise.
50383 * math/w_acosf.c: Likewise.
50384 * math/w_acosh.c: Likewise.
50385 * math/w_acoshf.c: Likewise.
50386 * math/w_acoshl.c: Likewise.
50387 * math/w_acosl.c: Likewise.
50388 * math/w_asin.c: Likewise.
50389 * math/w_asinf.c: Likewise.
50390 * math/w_asinl.c: Likewise.
50391 * math/w_atan2.c: Likewise.
50392 * math/w_atan2f.c: Likewise.
50393 * math/w_atan2l.c: Likewise.
50394 * math/w_atanh.c: Likewise.
50395 * math/w_atanhf.c: Likewise.
50396 * math/w_atanhl.c: Likewise.
50397 * math/w_cosh.c: Likewise.
50398 * math/w_coshf.c: Likewise.
50399 * math/w_coshl.c: Likewise.
50400 * math/w_dremf.c: Likewise.
50401 * math/w_exp10.c: Likewise.
50402 * math/w_exp10f.c: Likewise.
50403 * math/w_exp10l.c: Likewise.
50404 * math/w_exp2.c: Likewise.
50405 * math/w_exp2f.c: Likewise.
50406 * math/w_fmod.c: Likewise.
50407 * math/w_fmodf.c: Likewise.
50408 * math/w_fmodl.c: Likewise.
50409 * math/w_hypot.c: Likewise.
50410 * math/w_hypotf.c: Likewise.
50411 * math/w_hypotl.c: Likewise.
50412 * math/w_j0.c: Likewise.
50413 * math/w_j0f.c: Likewise.
50414 * math/w_j0l.c: Likewise.
50415 * math/w_j1.c: Likewise.
50416 * math/w_j1f.c: Likewise.
50417 * math/w_j1l.c: Likewise.
50418 * math/w_jn.c: Likewise.
50419 * math/w_jnf.c: Likewise.
50420 * math/w_jnl.c: Likewise.
50421 * math/w_lgamma.c: Likewise.
50422 * math/w_lgamma_r.c: Likewise.
50423 * math/w_lgammaf.c: Likewise.
50424 * math/w_lgammaf_r.c: Likewise.
50425 * math/w_lgammal.c: Likewise.
50426 * math/w_lgammal_r.c: Likewise.
50427 * math/w_log.c: Likewise.
50428 * math/w_log10.c: Likewise.
50429 * math/w_log10f.c: Likewise.
50430 * math/w_log10l.c: Likewise.
50431 * math/w_log2.c: Likewise.
50432 * math/w_log2f.c: Likewise.
50433 * math/w_log2l.c: Likewise.
50434 * math/w_logf.c: Likewise.
50435 * math/w_logl.c: Likewise.
50436 * math/w_pow.c: Likewise.
50437 * math/w_powf.c: Likewise.
50438 * math/w_powl.c: Likewise.
50439 * math/w_remainder.c: Likewise.
50440 * math/w_remainderf.c: Likewise.
50441 * math/w_remainderl.c: Likewise.
50442 * math/w_scalb.c: Likewise.
50443 * math/w_scalbf.c: Likewise.
50444 * math/w_scalbl.c: Likewise.
50445 * math/w_sinh.c: Likewise.
50446 * math/w_sinhf.c: Likewise.
50447 * math/w_sinhl.c: Likewise.
50448 * math/w_sqrt.c: Likewise.
50449 * math/w_sqrtf.c: Likewise.
50450 * math/w_sqrtl.c: Likewise.
50451 * math/w_tgamma.c: Likewise.
50452 * math/w_tgammaf.c: Likewise.
50453 * math/w_tgammal.c: Likewise.
50455 * po/ja.po: Update from translation team.
50457 2011-09-29 Andreas Jaeger <aj@suse.de>
50460 * sunrpc/netname.c (netname2host): Fix logic.
50464 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50466 * math/w_remainder.c (__remainder): Likewise.
50467 * math/w_remainderf.c (__remainderf): Likewise.
50468 * math/libm-test.inc (remainder_test): Add test cases.
50470 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50472 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50475 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50477 * string/test-memcmp.c: Avoid unncessary #defines.
50478 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50480 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50482 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50483 Use new sse2 version for core i3 - i7 as it's faster
50484 than sse42 version.
50485 (bit_Prefer_PMINUB_for_stringop): New.
50486 * sysdeps/x86_64/rawmemchr.S: Update.
50487 Replace with faster SSE2 version.
50488 * sysdeps/x86_64/memrchr.S: New file.
50489 * sysdeps/x86_64/memchr.S: Update.
50490 Replace with faster SSE2 version.
50492 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50494 * elf/dl-load.c (lose): Add cast to avoid warning.
50496 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50498 * po/ca.po: Update from translation team.
50500 * inet/getnetgrent_r.c: Hook up nscd.
50501 * nscd/Makefile (routines): Add nscd_netgroup.
50502 (nscd-modules): Add netgroupcache.
50503 (CFLAGS-netgroupcache.c): Define.
50504 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50505 (cache_search): Add const to second parameter.
50506 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50508 (dbs): Add netgrdb entry.
50509 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50510 (verify_persistent_db): Handle netgrdb.
50511 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50512 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50514 (netgroup_response_header): Define.
50515 (innetgroup_response_header): Define.
50516 (datahead): Add netgroup_response_header and innetgroup_response_header
50518 * nscd/nscd.conf: Add entries for netgroup cache.
50519 * nscd/nscd.h (dbtype): Add netgrdb.
50520 (_PATH_NSCD_NETGROUP_DB): Define.
50521 (netgroup_iov_disabled): Declare.
50522 (xmalloc, xcalloc, xrealloc): Move declarations here.
50523 (cache_search): Adjust prototype.
50524 Add netgroup-related prototypes.
50525 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50526 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50527 (__nscd_innetgr): Declare.
50528 * nscd/selinux.c (perms): Use access_vector_t as element type and
50529 add netgroup-related initializers.
50530 * nscd/netgroupcache.c: New file.
50531 * nscd/nscd_netgroup.c: New file.
50532 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50533 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50534 For four parameters use innetgr.
50535 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50536 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50537 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50538 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50540 * nscd/connections.c (register_traced_file): Don't register file
50541 for disabled databases.
50543 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50545 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50547 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50548 from tree and freeing node.
50550 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50552 * nss/nsswitch.c (__nss_database_lookup): Handle
50553 nss_parse_service_list out of memory case.
50555 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50557 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50558 out of memory case.
50560 2011-10-04 Andreas Schwab <schwab@redhat.com>
50562 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50563 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50565 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50566 elf_machine_rela, elf_machine_lazy_rel.
50567 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50568 (ELF_DYNAMIC_DO_REL): Likewise.
50569 (ELF_DYNAMIC_DO_RELA): Likewise.
50570 (ELF_DYNAMIC_RELOCATE): Likewise.
50571 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50572 to ELF_DYNAMIC_DO_REL.
50573 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50574 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50575 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50577 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50578 skip_ifunc, don't call ifunc function if non-zero.
50579 (elf_machine_rela): Likewise.
50580 (elf_machine_lazy_rel): Likewise.
50581 (elf_machine_lazy_rela): Likewise.
50582 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50583 (elf_machine_lazy_rel): Likewise.
50584 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50586 (elf_machine_lazy_rel): Likewise.
50587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50589 (elf_machine_lazy_rel): Likewise.
50590 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50591 (elf_machine_lazy_rel): Likewise.
50592 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50593 (elf_machine_lazy_rel): Likewise.
50594 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50595 (elf_machine_lazy_rel): Likewise.
50596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50597 (elf_machine_lazy_rel): Likewise.
50598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50599 (elf_machine_lazy_rel): Likewise.
50600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50601 (elf_machine_lazy_rel): Likewise.
50603 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50605 * nss/nss_files/files-init.c (_nss_files_init): Use static
50606 initialization for all the *_traced_file variables.
50608 2011-09-28 Andreas Schwab <schwab@redhat.com>
50610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50612 2011-09-27 Roland McGrath <roland@hack.frob.com>
50615 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50617 2011-09-27 Andreas Schwab <schwab@redhat.com>
50619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50620 Reread the line before reparsing it.
50622 2011-09-26 Andreas Schwab <schwab@redhat.com>
50624 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50626 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50627 Maxim Kuvyrkov <maxim@codesourcery.com>
50628 Joseph Myers <joseph@codesourcery.com>
50630 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50631 if needed for __stack_chk_guard.
50633 2011-09-19 Roland McGrath <roland@hack.frob.com>
50635 * sysdeps/posix/spawni.c (script_execute): Always define it.
50636 It will be optimized away if unused.
50637 (maybe_script_execute): New function.
50638 (__spawni): Call it.
50640 * Makerules: Don't include tls.make.
50641 (config-tls): Always set to thread.
50642 * tls.make.c: File removed.
50644 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50646 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50647 * config.make.in (CPPFLAGS-config): New substituted variable.
50649 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50651 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50654 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50655 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50657 2011-09-15 Roland McGrath <roland@hack.frob.com>
50659 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50660 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50662 (CALL_FAIL): Likewise.
50663 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50664 (CALL_FAIL): Macro removed.
50665 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50667 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50669 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50670 for __FINITE_MATH_ONLY__ == 1.
50672 2011-09-15 Andreas Schwab <schwab@redhat.com>
50674 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50675 __ieee754_sqrt instead of sqrt.
50676 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50677 __ieee754_sqrtf instead of sqrtf.
50678 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50679 __floorf instead of floorf.
50680 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50681 __floorf, __truncf instead of floorf, truncf.
50683 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50685 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50687 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50688 __extern_always_inline.
50689 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50692 2011-09-14 Andreas Schwab <schwab@redhat.com>
50694 * elf/rtld.c (dl_main): Also relocate in dependency order when
50695 doing symbol dependency testing.
50697 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50700 Always define `refsym'.
50702 2011-09-13 Andreas Schwab <schwab@redhat.com>
50704 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50705 (__FD_ELT): Renamed from __FDELT.
50706 * misc/bits/select2.h (__FD_ELT): Likewise.
50707 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50708 __FD_MASK instead of __FDELT, __FDMASK.
50709 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50711 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50714 * elf/Makefile (gen-ldd): Fix pattern.
50716 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50717 (init_tls): Likewise.
50719 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50723 2011-09-12 Andreas Schwab <schwab@redhat.com>
50725 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50726 `struct cmsghdr *' instead of `void *'.
50727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50730 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50732 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50734 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50735 ldd_rewrite_script.
50737 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50739 * configure.in: Remove --with-tls option.
50740 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50741 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50742 out in case it is missing.
50743 * sysdeps/ia64/elf/configure.in: Likewise.
50744 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50745 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50746 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50747 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50748 * sysdeps/sh/elf/configure.in: Likewise.
50749 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50750 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50751 * sysdeps/x86_64/elf/configure.in: Likewise.
50752 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50753 * sysdeps/mach/hurd/tls.h: Likewise.
50756 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50759 * configure.in: Fix use of AC_INIT.
50761 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50763 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50765 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50767 * malloc/hooks.c: Likewise.
50770 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50771 variables statically.
50772 (narenas): Initialize.
50773 (list_lock): Initialize.
50774 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50775 initializtion of main_arena and list_lock. Small cleanups.
50776 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50777 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50778 Add initializers to main_arena and mp_.
50779 (malloc_state): Remove pagesize member. Change all users to use
50782 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50783 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50784 is always initialized.
50786 * malloc/malloc.c: Removed unused configurations and dead code.
50787 * malloc/arena.c: Likewise.
50788 * malloc/hooks.c: Likewise.
50789 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50791 * include/tls.h: Removed. USE___THREAD must always be defined.
50792 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50793 * elf/dl-libc.c: Likewise.
50794 * elf/dl-tsd.c: Likewise.
50795 * include/errno.h: Likewise.
50796 * include/netdb.h: Likewise.
50797 * include/resolv.h: Likewise.
50798 * inet/herrno-loc.c: Likewise.
50799 * inet/herrno.c: Likewise.
50800 * malloc/arena.c: Likewise.
50801 * malloc/hooks.c: Likewise.
50802 * malloc/malloc.c: Likewise.
50803 * resolv/res-state.c: Likewise.
50804 * resolv/res_libc.c: Likewise.
50805 * sysdeps/i386/dl-machine.h: Likewise.
50806 * sysdeps/ia64/dl-machine.h: Likewise.
50807 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50808 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50809 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50810 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50811 * sysdeps/sh/dl-machine.h: Likewise.
50812 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50813 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50814 * sysdeps/unix/i386/sysdep.S: Likewise.
50815 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50816 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50821 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50825 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50826 * sysdeps/x86_64/dl-machine.h: Likewise.
50827 * tls.make.c: Likewise.
50829 * configure.in: Remove --with-__thread option. Make tests for
50830 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50831 tls_model attribute fail if no support is available. Remove
50833 * Makeconfig: Adjust for dropped configure option. All features are
50835 * Makerules: Likewise.
50836 * Versions.def: Likewise.
50837 * argp/argp-fmtstream.c: Likewise.
50838 * argp/argp-fmtstream.h: Likewise.
50839 * argp/argp-help.c: Likewise.
50840 * assert/assert.c: Likewise.
50841 * config.h.in: Likewise.
50842 * config.make.in: Likewise.
50843 * configure: Likewise.
50844 * configure.in: Likewise.
50845 * csu/Versions: Likewise.
50846 * csu/init.c: Likewise.
50847 * elf/tst-audit2.c: Likewise.
50848 * elf/tst-tls10.c: Likewise.
50849 * elf/tst-tls10.h: Likewise.
50850 * elf/tst-tls11.c: Likewise.
50851 * elf/tst-tls12.c: Likewise.
50852 * elf/tst-tls14.c: Likewise.
50853 * elf/tst-tlsmod11.c: Likewise.
50854 * elf/tst-tlsmod12.c: Likewise.
50855 * elf/tst-tlsmod13.c: Likewise.
50856 * elf/tst-tlsmod13a.c: Likewise.
50857 * elf/tst-tlsmod14a.c: Likewise.
50858 * elf/tst-tlsmod15b.c: Likewise.
50859 * elf/tst-tlsmod16a.c: Likewise.
50860 * elf/tst-tlsmod16b.c: Likewise.
50861 * elf/tst-tlsmod7.c: Likewise.
50862 * elf/tst-tlsmod8.c: Likewise.
50863 * elf/tst-tlsmod9.c: Likewise.
50864 * gmon/gmon.c: Likewise.
50865 * grp/fgetgrent_r.c: Likewise.
50866 * grp/putgrent.c: Likewise.
50867 * hurd/fopenport.c: Likewise.
50868 * include/libc-symbols.h: Likewise.
50869 * include/tls.h: Likewise.
50870 * intl/gettextP.h: Likewise.
50871 * intl/loadinfo.h: Likewise.
50872 * locale/global-locale.c: Likewise.
50873 * locale/localeinfo.h: Likewise.
50874 * mach/devstream.c: Likewise.
50875 * malloc/arena.c: Likewise.
50876 * malloc/set-freeres.c: Likewise.
50877 * misc/err.c: Likewise.
50878 * misc/getttyent.c: Likewise.
50879 * misc/mntent_r.c: Likewise.
50880 * posix/getopt.c: Likewise.
50881 * posix/wordexp.c: Likewise.
50882 * pwd/fgetpwent_r.c: Likewise.
50883 * resolv/Versions: Likewise.
50884 * resolv/res_hconf.c: Likewise.
50885 * shadow/fgetspent_r.c: Likewise.
50886 * shadow/putspent.c: Likewise.
50887 * stdio-common/printf_fphex.c: Likewise.
50888 * stdio-common/tmpfile.c: Likewise.
50889 * stdlib/abort.c: Likewise.
50890 * stdlib/fmtmsg.c: Likewise.
50891 * sunrpc/auth_unix.c: Likewise.
50892 * sunrpc/clnt_perr.c: Likewise.
50893 * sunrpc/clnt_tcp.c: Likewise.
50894 * sunrpc/clnt_udp.c: Likewise.
50895 * sunrpc/clnt_unix.c: Likewise.
50896 * sunrpc/openchild.c: Likewise.
50897 * sunrpc/svc_simple.c: Likewise.
50898 * sunrpc/svc_tcp.c: Likewise.
50899 * sunrpc/svc_udp.c: Likewise.
50900 * sunrpc/svc_unix.c: Likewise.
50901 * sunrpc/xdr.c: Likewise.
50902 * sunrpc/xdr_array.c: Likewise.
50903 * sunrpc/xdr_rec.c: Likewise.
50904 * sunrpc/xdr_ref.c: Likewise.
50905 * sunrpc/xdr_stdio.c: Likewise.
50907 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50909 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50911 2011-07-03 Andreas Jaeger <aj@suse.de>
50913 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50914 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50915 regenerate with gen-libm-tests.pl.
50917 2010-05-12 Petr Baudis <pasky@suse.cz>
50920 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50921 around j0() zero points by switching to j1().
50922 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50925 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50927 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50929 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50931 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50934 Patch in part by Pavel Roskin <proski@gnu.org>.
50937 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50939 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50940 Free memory block if necessary.
50943 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50944 be NULL. Don't lock in this case.
50946 2011-09-09 Roland McGrath <roland@hack.frob.com>
50948 * elf/elf.h (ELFOSABI_GNU): New macro.
50949 (ELFOSABI_LINUX): Define to that.
50951 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50953 * string/strncat.c (strncat): Undef the symbol in case it has been
50954 defined in bits/string.h.
50956 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50958 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50960 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50963 2011-08-17 Andreas Jaeger <aj@suse.de>
50965 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50967 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50968 Ian Lance Taylor <iant@google.com>
50970 * math/libm-test.inc (lround_test): New testcase.
50971 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50973 2011-09-08 Ulrich Drepper <drepper@gmail.com>
50975 * Makefile: Remove support for automatic cvs check-ins.
50976 * Makerules: Likewise.
50977 * config.make.in: Likewise.
50978 * configure.in: Likewise.
50979 * intl/Makefile: Likewise.
50980 * locale/Makefile: Likewise.
50981 * po/Makefile: Likewise.
50982 * posix/Makefile: Likewise.
50983 * sysdeps/gnu/Makefile: Likewise.
50984 * sysdeps/mach/hurd/Makefile: Likewise.
50985 * sysdeps/sparc/sparc32/Makefile: Likewise.
50988 * posix/Makefile (bug-regex32-ENV): Define.
50989 Patch by John Stanley <jpsinthemix@verizon.net>.
50991 * misc/Makefile (headers): Add bits/select2.h.
50992 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50993 * misc/bits/select2.h: New file.
50994 * include/bits/select2.h: New file.
50995 * debug/Makefile (routines): Add fdelt_chk.
50996 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50997 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50999 * debug/fdelt_chk.c: New file.
51001 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51002 * wcsmbs/test-wmemcmp.c: Likewise.
51003 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51004 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51006 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51008 * string/Makefile (strop-tests): Add memcmp.
51009 * string/test-wmemcmp.c: New file.
51010 * string/test-memcmp.c: Add wmemcmp support.
51012 2011-09-08 Roland McGrath <roland@hack.frob.com>
51015 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51018 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51019 garbage value in a __mach_port_mod_refs call in the cases of the
51020 task-self and thread-self ports.
51022 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51024 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51026 2011-09-08 Andreas Schwab <schwab@redhat.com>
51028 * elf/dl-load.c (lose): Check for non-null L.
51030 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51032 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51034 * elf/dl-libc.c (dlerror_run): Pass back error code from
51038 * elf/dl-load.c (lose): Free l_origin if it is valid.
51040 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51042 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51045 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51047 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51049 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51051 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51052 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51053 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51054 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51055 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51056 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51057 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51058 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51059 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51060 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51062 2011-08-15 Alan Modra <amodra@gmail.com>
51065 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51066 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51067 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51068 ppc_mcount to static-only-routines.
51069 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51071 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51072 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51074 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51076 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51077 for finite and infinity parameters.
51079 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51082 and add nop instructions for throughput optimization.
51083 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51085 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51087 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51088 aligned copy for power7 with vector-scalar instructions.
51089 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51091 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51096 2011-09-07 Andreas Schwab <schwab@redhat.com>
51099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51102 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51104 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51105 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51106 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51107 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51110 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51112 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51113 Forgot to demangle the pointer.
51115 * sysdeps/i386/sysdep.h: Define atom_text_section.
51116 * sysdeps/x86_64/sysdep.h: Likewise.
51117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51118 section with atom_text_section.
51119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51120 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51121 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51122 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51123 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51125 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51127 already be defined. Change to take two parameters and don't assign
51128 result to variable. Adjust all users.
51129 Define INTERNAL_GETTIME if not already defined.
51130 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51133 HAVE_CLOCK_GETTIME_VSYSCALL.
51134 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51137 gettimeofday vsyscall, just use time.
51139 2011-09-06 Andreas Schwab <schwab@redhat.com>
51141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51144 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51146 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51150 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51152 syscall if possible.
51154 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51156 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51157 e_ident. Don't pass to find_mapsXX.
51158 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51160 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51163 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51164 * sysdeps/x86_64/multiarch/strchr.S: Update.
51165 Check bit_slow_BSF bit.
51166 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51167 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51168 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51170 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51173 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51175 (tryshell): Define.
51176 (__spawni): Change last parameter to be flag. Test
51177 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51178 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51179 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51180 * posix/spawni.c: Likewise.
51181 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51182 * posix/spawnp.c: Likewise. Change normal version to use
51183 SPAWN_XFLAGS_USE_PATH.
51184 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51185 SPAWN_XFLAGS_TRY_SHELL.
51188 * posix/glob.h: Remove gcc 1.x support.
51191 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51193 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51196 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51198 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51199 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51200 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51201 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51202 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51205 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51207 * sysdeps/x86_64/wcscmp.S: New file.
51209 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51210 wcscmp-c wcscmp-sse2
51211 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51212 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51213 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51214 * wcsmbs/wcscmp.c: Allow renaming.
51216 2011-09-05 David S. Miller <davem@davemloft.net>
51218 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51219 stack slot, rather than the struct return pointer slot.
51220 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51221 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51223 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51225 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51227 * po/ja.po: Update from translation team.
51230 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51231 kernel in 64-bit binaries.
51233 2011-09-01 David S. Miller <davem@davemloft.net>
51235 * elf/elf.h (HWCAP_SPARC_*): Move to..
51236 * sysdeps/sparc/sysdep.h: this new file and add new values.
51237 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51238 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51239 _DL_HWCAP_COUNT to 24.
51240 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51242 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51243 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51244 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51246 instead of magic constants.
51247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51249 2011-08-31 David S. Miller <davem@davemloft.net>
51251 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51253 Reimplement to do errno handling inline.
51254 (SYSCALL_ERROR_HANDLER): New macro.
51255 (__SYSCALL_STRING): Do not do errno handling in asm.
51256 (__CLONE_SYSCALL_STRING): Delete.
51257 (__INTERNAL_SYSCALL_STRING): Delete.
51258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51259 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51260 (PSEUDO): Reimplement to do errno handling inline.
51261 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51262 (SYSCALL_ERROR_HANDLER): New macro.
51263 (__SYSCALL_STRING): Do not do errno handling in asm.
51264 (__CLONE_SYSCALL_STRING): Delete.
51265 (__INTERNAL_SYSCALL_STRING): Delete.
51266 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51267 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51269 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51270 (inline_syscall*): Add 'err' argument.
51271 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51272 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51273 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51274 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51276 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51277 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51279 2011-08-30 Andreas Schwab <schwab@redhat.com>
51281 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51283 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51285 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51288 2011-08-24 David S. Miller <davem@davemloft.net>
51290 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51292 2011-08-24 Andreas Schwab <schwab@redhat.com>
51294 * elf/Makefile: Add rules to build and run unload8 test.
51295 * elf/unload8.c: New file.
51296 * elf/unload8mod1.c: New file.
51297 * elf/unload8mod1x.c: New file.
51298 * elf/unload8mod2.c: New file.
51299 * elf/unload8mod3.c: New file.
51301 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51304 2011-08-23 David S. Miller <davem@davemloft.net>
51306 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51307 subtract stack bias.
51308 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51309 %sp not %fp in calculations.
51310 (_JMPBUF_UNWINDS_ADJ): Likewise.
51312 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51313 (aio_suspend): Call it to force an exception region around the
51314 AIO_MISC_WAIT() invocation.
51316 2011-08-23 Andreas Schwab <schwab@redhat.com>
51318 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51321 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51323 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51325 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51326 and <dl-machine.h>.
51327 (Elf64_FuncDesc): Remove.
51329 2011-08-22 David S. Miller <davem@davemloft.net>
51331 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51332 sigaltstack check, add missing cfi directives.
51333 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51334 missing cfi directives, and sigaltstack handling.
51336 2011-08-16 Andreas Schwab <schwab@redhat.com>
51339 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51340 object is seen twice.
51341 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51343 * elf/Makefile (distribute): Add tst-initorder2.c.
51344 (tests): Add tst-initorder2.
51345 (modules-names): Add tst-initorder2a tst-initorder2b
51346 tst-initorder2c tst-initorder2d. Add rules to build them.
51347 ($(objpfx)tst-initorder2.out): New rule.
51348 * elf/tst-initorder2.c: New file.
51349 * elf/tst-initorder2.exp: New file.
51351 2011-08-22 Andreas Schwab <schwab@redhat.com>
51353 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51355 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51356 dependencies back to end of function.
51358 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51359 $(elfobjdir)/ld.so.
51361 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51364 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51366 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51367 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51368 of __vdso_gettimeofday.
51369 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51370 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51372 (_libc_vdso_platform_setup): Remove initialization of
51373 __vdso_gettimeofday and __vdso_time.
51375 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51377 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51378 and fgetc_unlocked.
51379 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51382 * elf/dl-open.c (add_to_global): Report additions to the global scope
51383 for LD_DEBUG=scopes.
51384 (dl_open_worker): Also print scope of newly loaded dependencies.
51385 (_dl_show_scope): Indicate if there is no scope.
51388 * stdio-common/Makefile (tests): Add bug24.
51389 * stdio-common/bug24.c: New file.
51391 2011-08-19 Andreas Jaeger <aj@suse.de>
51394 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51395 non-existant file when using close-on-exec mode.
51397 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51400 the very first instruction.
51402 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51403 the CFI state in the end.
51404 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51405 inclusion of dl-trampoline.h.
51406 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51408 2011-08-19 Andreas Schwab <schwab@redhat.com>
51410 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51411 expectations for long double.
51413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51414 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51416 2011-08-14 David S. Miller <davem@davemloft.net>
51418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51419 artificual limit depends upon the system page size.
51421 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51423 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51424 * resolv/Makefile: Define CFLAGS-libresolv.
51426 2011-08-17 Andreas Schwab <schwab@redhat.com>
51428 * nss/makedb.c (compute_tables): Make variables used in nested
51431 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51433 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51434 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51435 if buffer was too small.
51437 * elf/pldd.c (main): Attach to all threads in the process.
51438 Rewrite /proc handling to use *at functions.
51440 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51442 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51443 specifies first scope to show.
51444 (dl_open_worker): Update callers. Move printing scope of new
51445 object to before the relocation.
51446 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51447 * sysdeps/generic/ldsodefs.h: Update declaration.
51449 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51450 string for the scope number.
51452 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51454 * nscd/servicescache.c (cache_addserv): Make sure written is always
51457 2011-08-14 Roland McGrath <roland@hack.frob.com>
51459 * sysdeps/i386/i486/bits/atomic.h
51460 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51461 statement expression, so as to suppress "set but not used" warning.
51462 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51464 * string/strncat.c (STRNCAT): Use prototype definition.
51466 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51467 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51469 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51470 (localedef-modules): Add localedef.
51471 (locale-modules): Add locale.
51473 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51474 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51475 to avoid a warning.
51477 2011-08-14 David S. Miller <davem@davemloft.net>
51479 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51480 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51482 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51484 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51485 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51486 * elf/rtld.c (dl_main): Set l_name of vDSO.
51487 Call _dl_show_scope when DL_DEBUG_SCOPES.
51488 (process_dl_debug): Recognize scopes flag and also set it for all.
51489 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51490 Declare _dl_show_scope.
51492 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51493 (do_dlopen): Pass caller_dlopen to dl_open.
51494 (__libc_dlopen_mode): Initialize caller_dlopen.
51496 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51497 of libc. Make tolower call locale-independent. Optimize a bit by
51498 using isdigit instead of isalnum.
51499 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51501 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51503 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51504 was a dependency or dynamically loaded.
51506 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51508 * intl/l10nflist.c: Allow architecture-specific pop function.
51509 * sysdeps/x86_64/l10nflist.c: New file.
51511 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51514 2011-08-10 Andreas Schwab <schwab@redhat.com>
51516 * include/dirent.h: Add libc_hidden_proto for scandirat and
51517 scandirat64. Don't declare __scandirat64.
51518 * dirent/scandirat.c: Add libc_hidden_def.
51519 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51520 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51522 2011-08-10 David S. Miller <davem@davemloft.net>
51524 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51530 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51532 * Versions.def [libc]: Add GLIBC_2.15.
51533 * dirent/Makefile (routines): Add scandirat and scandirat64.
51534 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51536 * dirent/dirent.h: Declare scandirat and scandirat64.
51537 * dirent/scandirat.c: New file.
51538 * dirent/scandirat64.c: New file.
51539 * sysdeps/wordsize-64/scandirat.c: New file.
51540 * sysdeps/wordsize-64/scandirat64.c: New file.
51541 * dirent/opendir.c: Define opendirat.
51542 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51544 * dirent/scandir64.c: Adjust for scandir.c change.
51545 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51546 __scandirat64, and __scandir_cancel_handler.
51547 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51548 additional parameter and use openat instead of open (outside of ld.so).
51549 Add new __opendir as wrapper around __opendirat.
51550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51551 here without requiring old scandirat implementation.
51553 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51555 * dirent/scandir.c (cancel_handler): Renamed to
51556 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51557 defined. Adjust users.
51558 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51559 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51561 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51563 * string/test-string.h (IMPL): Use __STRING to expand name and then
51566 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51569 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51571 * string/Makefile: Update.
51572 (strop-tests): Append strncat.
51573 * string/test-wcscmp.c: New file.
51574 New comprehensive test for wcscmp.
51575 * string/test-strcmp.c: Update.
51576 (WIDE): New define.
51578 2011-07-22 Andreas Schwab <schwab@redhat.com>
51580 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51583 2011-07-26 Andreas Schwab <schwab@redhat.com>
51585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51586 encoding to ACE if AI_IDN.
51588 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51591 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51593 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51596 Fix overflow bug in strncat.
51597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51599 * string/test-strncat.c: Update.
51600 Add new tests for checking overflow bugs.
51602 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51605 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51606 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51607 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51609 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51610 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51611 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51612 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51615 (USE_AS_STRCAT): Define.
51616 Add strcat and strncat support.
51617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51619 2011-07-25 Andreas Schwab <schwab@redhat.com>
51621 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51622 __n bigger than INT_MAX+1.
51623 (__strncmp_g): Likewise.
51625 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51627 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51628 * libio/stido.h: Likewise.
51630 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51635 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51638 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51639 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51642 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51647 (_dl_x86_64_save_sse): Likewise.
51649 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51653 (_dl_x86_64_save_sse): Likewise.
51655 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51657 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51659 2011-07-21 Andreas Schwab <schwab@redhat.com>
51661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51663 (_dl_x86_64_save_sse): Use correct AVX check.
51665 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51668 bug in strncpy/strncat.
51669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51671 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51673 * string/tester.c (test_strcat): Add tests for different alignments
51674 of source and destination.
51675 (test_strncat): Likewise.
51677 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51680 * posix/glob.c (glob): Check passed in values before using them in
51681 expressions to avoid some overflows.
51682 (glob_in_dir): Likewise.
51685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51686 check for AVX enablement so that we don't crash with old kernels and
51688 * elf/tst-audit4.c: Add same checks here.
51689 * elf/tst-audit6.c: Likewise.
51691 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51693 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51695 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51697 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51699 * po/cs.po: Update from translation team.
51700 * po/bg.po: Likewise.
51702 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51704 * misc/sys/cdefs.h: Add support for const attribute.
51705 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51706 to gnu_dev_{major,minor,makedev} functions.
51708 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51710 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51712 2011-07-20 Andreas Schwab <schwab@redhat.com>
51714 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51717 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51720 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51721 register in order to avoid conflicts with the soft frame pointer
51722 being held in r11 when necessary.
51723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51724 (INTERNAL_VSYSCALL_NCS): Likewise.
51726 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51728 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51729 * elf/dl-fini.c (_dl_fini): Adjust caller.
51730 * elf/dl-close.c (_dl_close_worker): Likewise.
51731 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51733 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51735 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51736 "aux_cache->nlibs < 0".
51738 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51739 in the reload-count case.
51741 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51744 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51745 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51746 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51747 * sysdeps/x86_64/multiarch/strcat.S: New file.
51748 * sysdeps/x86_64/multiarch/strncat.S: New file.
51749 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51750 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51751 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51752 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51754 (USE_AS_STRCAT): Define.
51755 Add strcat and strncat support.
51756 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51757 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51758 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51759 * string/strncat.c: Update.
51760 (USE_AS_STRNCAT): Define.
51761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51762 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51764 * sysdeps/x86_64/multiarch/init-arch.h
51765 (bit_Prefer_PMINUB_for_stringop): New.
51766 (index_Prefer_PMINUB_for_stringop): Likewise.
51767 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51768 bit_Prefer_PMINUB_for_stringop.
51770 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51772 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51774 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51775 of casting of buffer.
51776 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51777 buffer32 and buffer64.
51778 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51779 writes instead of casting of buffer.
51780 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51782 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51785 2011-07-19 Andreas Schwab <schwab@redhat.com>
51787 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51789 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51791 * nscd/nscd.c (termination_handler): Don't do anything for a database
51792 if it has not yet been initialized.
51794 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51796 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51798 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51800 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51802 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51804 * po/nl.po: Update from translation team.
51805 * po/sv.po: Likewise.
51807 2011-07-16 Roland McGrath <roland@hack.frob.com>
51809 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51810 now disallowed by GCC.
51812 * configure.in (use-default-link): Default to yes if a test -shared
51813 link meets our qualifications.
51814 * configure: Regenerated.
51816 * config.make.in (output-format): New variable.
51817 * configure.in: Check for ld --print-output-format support.
51818 * configure: Regenerated.
51819 * Makerules ($(common-objpfx)format.lds)
51820 [$(output-format) != unknown]: Just use $(output-format),
51821 instead of the linker-script munging.
51823 2011-07-14 Roland McGrath <roland@hack.frob.com>
51825 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51826 of $(common-objpfx)shlib.lds.
51827 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51829 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51830 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51832 * configure.in (-z relro check): Adjust test code to add a large
51833 writable data section after it.
51834 * configure: Regenerated.
51836 2011-07-11 Roland McGrath <roland@hack.frob.com>
51838 * configure.in (-z relro check): Fix test code to make the variable
51840 * configure: Regenerated.
51842 2011-07-11 Ulrich Drepper <drepper@gmail.com>
51844 * nscd/nscd.h (struct traced_file): Define.
51845 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51846 elements. Add traced_files.
51847 (inotify_fd): Declare.
51848 (register_traced_file): Declare.
51849 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51850 (inotify_fd): Export.
51851 (resolv_conf_descr): Remove.
51852 (nscd_init): Move inotify descriptor creation to main.
51853 Don't register files for notification here.
51854 (register_traced_file): New function.
51855 (invalidate_cache): Don't use reset_res to determine whether to call
51856 res_init, go through the list of registered files.
51857 (main_loop_poll): The inotify descriptors are now stored in the
51858 structures for the traced files.
51859 (main_loop_epoll): Likewise
51860 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51861 to __nss_disable_nscd.
51862 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51863 for a database anymore. Check the records for all the registered
51865 * nss/Makefile (libnss_files-routines): Add files-init.
51866 (libnss_db-routines): Add db-init.
51867 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51868 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51869 * nss/nss_db/db-init.c: New file.
51870 * nss/nss_files/files-init.c: New file.
51871 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51872 __nss_lookup_function.
51873 (__nss_lookup_function): Call nss_load_library.
51874 (nss_load_all_libraries): New function.
51875 (__nss_disable_nscd): Take parameter with callback function for files
51876 to register. Set is_nscd. Load all the DSOs for the NSS modules
51877 used for the cached services.
51878 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51880 options for features to all the files in nscd.
51882 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51884 2011-07-10 Roland McGrath <roland@hack.frob.com>
51886 * csu/elf-init.c (__libc_csu_init): Comment typo.
51888 2011-07-09 Ulrich Drepper <drepper@gmail.com>
51890 * po/pl.po: Update from translation team.
51891 * po/ja.po: Likewise.
51892 * po/ru.po: Likewise.
51893 * po/ko.po: Likewise.
51894 * po/fr.po: Likewise.
51896 2011-07-09 Roland McGrath <roland@hack.frob.com>
51898 * configure.in (.ctors/.dtors header and trailer check):
51899 Use an empirical test on a built program.
51900 * configure: Regenerated.
51902 * configure.in (-z relro check): Use an empirical test on a built DSO.
51903 Detect, but do not require, on ia64.
51904 * configure: Regenerated.
51906 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51907 Update tests that use readelf to use $READELF instead.
51908 * configure: Regenerated.
51910 2011-07-08 Ulrich Drepper <drepper@gmail.com>
51912 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51913 if the result is not used.
51915 2011-07-05 Andreas Jaeger <aj@suse.de>
51918 * stdlib/tst-strtod.c: Add testcase.
51920 2011-07-07 Ulrich Drepper <drepper@gmail.com>
51922 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51923 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51924 The latter has a higher limit. Take additional parameter to pass to
51926 (__pathconf): Pass file to __statfs_link_max.
51927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51929 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51933 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51936 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51937 (__statfs_filesize_max): Likewise.
51938 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51940 2011-07-05 Andreas Jaeger <aj@suse.de>
51942 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51944 2011-07-06 Marek Polacek <mpolacek@redhat.com>
51946 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51948 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51951 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51953 * Makefile (strop-tests): Add strncat.
51954 * string/test-strncat.c: New file.
51956 2011-06-30 Marek Polacek <mpolacek@redhat.com>
51958 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51960 2011-06-21 Andreas Jaeger <aj@suse.de>
51962 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51963 Copy rule from iconvdata/Makefile.
51965 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51968 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51969 but no long options are defined, just return 'W'.
51971 2011-06-22 Marek Polacek <mpolacek@redhat.com>
51974 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51976 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51978 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51980 (innetgr): Likewise.
51982 2011-07-05 Roland McGrath <roland@hack.frob.com>
51984 * config.make.in (install_root): Default to $(DESTDIR).
51986 2011-07-05 Ulrich Drepper <drepper@gmail.com>
51988 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51990 2011-07-02 Roland McGrath <roland@hack.frob.com>
51992 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51994 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51995 containing directory rather than embedding absolute directory names.
51997 * scripts/check-local-headers.sh: Rewritten using awk.
51998 Match by word, not by line. Print error messages for matches.
51999 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52001 * Makerules [shlib-lds-flags empty]:
52002 ($(common-objpfx)libc_pic.opts): New target.
52003 ($(common-objpfx)libc_pic.os.clean): New target.
52004 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52006 * config.make.in (OBJCOPY): New variable.
52007 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52008 * configure: Regenerated.
52010 * config.make.in (use-default-link): New variable.
52011 * configure.in (use_default_link): Grok --with-default-link to set it.
52012 * configure: Regenerated.
52013 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52014 (shlib-lds, shlib-lds-flags): Define to empty.
52016 * Makerules (shlib-lds): New variable.
52017 (shlib-lds-flags): New variable.
52018 (build-shlib, build-moduile, build-module-asneeded): Use it.
52019 ($(common-objpfx)libc.so): Use $(shlib-lds).
52020 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52021 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52023 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52024 DT_FLAGS/DT_FLAGS_1 with zero flags.
52026 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52027 linker script munging.
52029 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52031 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52033 * crypt/sha512.c (sha512_process_block): Perform total addition using
52034 128-bit if possible.
52035 (__sha512_finish_ctx): Likewise.
52036 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52038 * crypt/sha256.c (SWAP64): Define.
52039 (sha256_process_block): Perform total addition using 64-bit if
52041 (__sha256_finish_ctx): Likewise.
52043 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52045 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52047 * nscd/hstcache.c (cache_addhst): Likewise.
52048 * nscd/grpcache.c (cache_addgr): Likewise.
52049 * nscd/aicache.c (addhstaiX): Likewise
52050 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52052 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52054 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52056 * nscd/hstcache.c (cache_addhst): Likewise.
52057 * nscd/grpcache.c (cache_addgr): Likewise.
52058 * nscd/aicache.c (addhstaiX): Likewise
52060 2011-07-01 Andreas Schwab <schwab@redhat.com>
52062 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52063 domain only when needed.
52065 2011-06-30 Andreas Schwab <schwab@redhat.com>
52067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52068 is always restored.
52070 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52072 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52073 are re-adding the entry.
52074 * nscd/servicescache.c (cache_addserv): Likewise.
52076 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52078 * sysdeps/generic/dl-irel.h: fix protection against multiple
52080 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52082 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52085 * malloc/memusage.sh: Fix quoting in message.
52086 * debug/xtrace.sh: Likewise.
52088 * configure.in: Remove support for --experimental-malloc option, make
52090 * config.make.in: Likewise.
52091 * malloc/Makefile: Likewise.
52093 2011-06-27 Andreas Schwab <schwab@redhat.com>
52095 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52096 two-byte characters.
52098 2011-06-27 Roland McGrath <roland@hack.frob.com>
52100 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52101 AC_CACHE_CHECK invocation.
52102 * configure: Regenerated.
52104 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52106 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52109 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52110 bit from old_res_options.
52112 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52114 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52115 value type for setfct.
52117 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52120 __gettimeofday instead of gettimeofday.
52122 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52124 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52126 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52128 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52133 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52136 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52137 strcpy-sse2-unaligned strncpy-sse2-unaligned
52138 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52139 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52140 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52141 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52142 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52144 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52145 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52146 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52147 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52148 (STRCPY): Support SSE2 and SSSE3 versions.
52150 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52154 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52155 kernels which artificially limit size of requests.
52157 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52160 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52161 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52162 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52163 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52164 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52165 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52166 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52169 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52170 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52171 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52172 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52173 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52175 Enable unaligned load optimization for Intel Core i3, i5 and i7
52177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52179 (index_Fast_Unaligned_Load): Define.
52180 (HAS_FAST_UNALIGNED_LOAD): Define.
52182 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52184 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52186 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52189 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52190 until it is clear that the information is realy needed.
52191 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52193 2011-06-22 Andreas Schwab <schwab@redhat.com>
52195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52197 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52200 /sys/devices/system/cpu/online if it is usable.
52202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52203 reading the information from the /proc filesystem to once a second.
52205 2011-06-21 Andreas Jaeger <aj@suse.de>
52207 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52208 NULL after inclusion of kernel headers.
52210 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52212 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52213 calls to internal_setent.
52216 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52217 addresses using gethostbyname4_r ignore IPv4 addresses.
52219 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52220 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52222 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52224 2011-06-20 David S. Miller <davem@davemloft.net>
52226 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52228 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52230 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52231 (elf_irel): Use it.
52232 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52233 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52234 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52235 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52236 * sysdeps/x86_64/dl-irel.h: Likewise.
52238 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52239 * elf/dl-sym.c: Likewise.
52241 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52243 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52244 need to dereference resplen2.
52246 2011-06-14 Andreas Schwab <schwab@redhat.com>
52248 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52250 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52252 * Makeconfig: Define vardbdir and inst_vardbdir.
52253 * nss/Makefile: Add rules to install db-Makefile.
52255 * nss/nss_db/db-XXX.c: Cleanup.
52257 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52258 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52260 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52261 * nss/makedb.c: Implement -g option to specify that value strings
52262 are generated and should not be added to table iterated over for
52264 * nss/nss_db/db-initgroups.c: New file.
52266 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52269 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52270 (internal_getgrouplist): Adjust to name change.
52271 Update use_initgroups_entry if this is not the first call.
52272 * nss/databases.def: Add initgroups entry.
52274 * nss/makedb.c (compute_tables): Check result of multiple hash table
52275 sizes to minimize maximum chain length.
52277 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52279 * Versions.def: Add entry for libnss_db.
52280 * shlib-versions: Likewise.
52281 * nss/Makefile: Add rules to build libnss_db.
52282 * nss/Versions: Add libnss_db information. Organize libnss_files
52284 * nss/db-Makefile: Add gshadow support. Change rules for the new
52285 makedb progra. Some minor improvements to generate smaller files.
52286 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52288 * nss/makedb.c: ...here.
52289 Improve database format to be smaller and require less memory at
52291 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52293 * nss/nss_db/db-netgrp.c: Likewise.
52294 * nss/nss_db/db-open.c: Likewise.
52295 * nss/nss_files/flies-XXX.x: Adjust comments.
52296 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52297 * nss/nss_files/files-grp.c: Likewise.
52298 * nss/nss_files/files-hosts.c: Likewise.
52299 * nss/nss_files/files-network.c: Likewise.
52300 * nss/nss_files/files-proto.c: Likewise.
52301 * nss/nss_files/files-pwd.c: Likewise.
52302 * nss/nss_files/files-rpc.c: Likewise.
52303 * nss/nss_files/files-service.c: Likewise.
52304 * nss/nss_files/files-sgrp.c: Likewise.
52305 * nss/nss_files/files-spwd.c: Likewise.
52306 * nss/nss_db/db-alias.c: Removed.
52307 * nss/nss_db/dummy-db.h: Removed.
52309 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52311 * nss/makedb.c: Rewritten to not use database library.
52312 * nss/Makefile: Update to build new makedb program.
52314 2011-06-14 Andreas Jaeger <aj@suse.de>
52316 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52317 memset declaration.
52319 2011-06-10 Andreas Schwab <schwab@redhat.com>
52321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52324 2011-06-10 Roland McGrath <roland@hack.frob.com>
52326 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52327 * elf/Makefile ($(objpfx)ld.so): Likewise.
52329 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52330 Don't list ld.so twice in dependencies.
52332 * posix/bug-regex31.c: Include <stdlib.h>.
52334 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52336 * nis/nss_compat/compat-spwd.c
52337 (getspent_next_nss_netgr): Remove unused variable.
52338 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52340 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52341 nonmembers" output to use the right array.
52343 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52345 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52347 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52348 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52349 * catgets/gencat.c (read_input_file): Likewise.
52350 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52352 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52353 variable definition inside #if's controlling its use.
52355 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52357 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52359 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52361 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52364 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52366 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52367 * configure: Regenerated.
52369 * Makerules: Revert last change.
52370 * elf/Makefile: Likewise.
52372 2011-06-09 Roland McGrath <roland@hack.frob.com>
52374 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52375 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52376 (reloc-link): Likewise.
52378 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52380 * elf/Makefile: Add rules to build pldd.
52381 * elf/pldd.c: New file.
52382 * elf/pldd-xx.c: New file.
52384 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52386 * version.h: Update for 2.15 development version.
52388 2011-06-07 David S. Miller <davem@davemloft.net>
52390 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52393 elf_machine_lazy_rel): Likewise.
52394 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52396 elf_machine_lazy_rel): Likewise.
52397 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52398 dl_hwcap via passed in argument.
52399 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52402 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52404 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52406 2011-06-06 Roland McGrath <roland@hack.frob.com>
52409 * manual/fdl-1.1.texi: New file, verbatim from:
52410 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52411 * manual/lgpl-2.1.texi: New file, verbatim from:
52412 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52413 * manual/Makefile (licenses): New variable, list those new file names.
52415 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52417 * manual/fdl.texi: File removed.
52418 * manual/lesser.texi: File removed.
52419 * manual/libc.texinfo (Copying, Documentation License):
52420 Use new @include file names, put @appendix directive before @include.
52422 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52425 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52426 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52427 (mq_open): Add __NTH.
52429 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52432 Assume Intel Core i3/i5/i7 processor if AVX is available.
52434 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52439 2011-05-31 Andreas Schwab <schwab@redhat.com>
52441 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52442 memory. Use alloca_account. Fix memory leak when retrying.
52444 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52446 * version.h (RELEASE): Bump for 2.14 release.
52447 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52449 * config.make.in (RANLIB): Remove entry.
52451 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52453 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52454 (libc.pot): Work around missing support for .ksh extension in xgettext.
52457 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52458 if both request failed.
52459 (send_dg): In case of server errors clear resplen or *resplen2.
52462 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52463 when there are multiple maps.
52464 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52465 (_dl_fini): Remove test here.
52467 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52469 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52472 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52473 bit from old_res_options.
52474 (gaih_inet): Likewise.
52477 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52480 * resolv/res_init.c (res_setoptions): Make the code more compact.
52483 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52487 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52489 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52492 * malloc/malloc.h: Declare malloc hook variables as volatile.
52494 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52498 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52499 raise in the comment.
52500 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52502 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52504 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52507 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52508 grow the buffers more if it already has to be sufficient.
52509 (build_wcs_upper_buffer): Likewise.
52510 * posix/regexec.c (check_matching): Likewise.
52511 (clean_state_log_if_needed): Likewise.
52512 (extend_buffers): Don't enlarge buffers beyond size of the input
52514 Patches mostly by Emil Wojak <emil@wojak.eu>.
52515 * posix/bug-regex32.c: New file.
52516 * posix/Makefile (tests): Add bug-regex32.
52518 * locale/findlocale.c (_nl_find_locale): Return right away if
52519 _nl_explode_name failed.
52520 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52522 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52524 * debug/xtrace.sh: Unify messages.
52525 * malloc/memusage.sh: Likewise.
52528 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52529 time symbol from vDSO. Substitute with vsyscall if not available.
52530 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52533 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52534 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52535 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52536 Add sendmmsg and internal_sendmmsg.
52537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52538 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52539 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52541 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52542 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52545 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52548 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52549 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52555 * iconvdata/Makefile (tests): Add bug-iconv9.
52556 * iconvdata/bug-iconv9.c: New file.
52558 2011-05-27 Andreas Schwab <schwab@redhat.com>
52561 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52563 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52566 (struct user_regs_struct): Change intcs field back to cs.
52568 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52570 * po/ja.po: Update from translation team.
52572 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52575 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52576 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52578 2011-05-20 Andreas Schwab <schwab@redhat.com>
52580 * stdlib/longlong.h: Update from GCC.
52582 2011-05-23 Andreas Schwab <schwab@redhat.com>
52584 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52586 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52587 Add parameter name.
52588 (__sysconf): Pass it down.
52590 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52593 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52595 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52596 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52597 add in in __libc_use_alloca calls. Adjust callers.
52598 (glob): Use malloc in some situations.
52600 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52601 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52604 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52606 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52607 and CLOCK_BOOTTIME_ALARM.
52610 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52613 * string/_strerror.c (__strerror_r): Print negative errors as signed
52617 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52618 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52619 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52621 * configure.in: Fix typo in redirection and correct removal of test
52622 files in two cases.
52625 * locale/setlocale.c (new_composite_name): Fix test to check for
52626 identical name of all categories.
52629 * libio/filedoalloc.c (local_isatty): New function.
52630 (_IO_file_doallocate): Use local_isatty.
52631 * stdio-common/perror.c (perror): In case a new stream is used
52632 forward the stream error.
52633 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52636 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52641 * include/alloca.h (extend_alloca_account): Define.
52644 * posix/regex.h: Fix comments with documentation of user-accessible
52645 fields after compilation and describe correct free'ing of pattern
52646 after re_compile_pattern.
52647 Patch by Reuben Thomas <rrt@sc3d.org>.
52649 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52651 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52652 and -mno-altivec to prevent the compiler from using Altivec and/or
52653 VSX instructions when the corresponding registers are not available.
52655 2011-05-19 Andreas Schwab <schwab@redhat.com>
52657 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52659 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52661 * libio/freopen.c (freopen): Use __dup2, not dup2.
52662 * libio/freopen64.c (freopen64): Likewise.
52664 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52667 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52668 * math/Makefile (tests): Add test-powl.
52669 (CFLAGS-test-powl.c): Define.
52670 * math/test-powl.c: New file.
52672 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52674 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52676 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52679 * iconvdata/gb18030.c: Update to GB18020-2005.
52681 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52683 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52684 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52685 Patch by Aharon Robbins <arnold@skeeve.com>.
52688 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52692 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52693 through underflows.
52696 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52697 point to strings before performing equality test for error_one_per_line
52701 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52705 (struct user_fpregs_struct): Avoid __uint*_t types.
52708 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52709 symbol info. Use it instead of calling _dl_addr locally.
52710 (lock_and_info): New function.
52711 (tr_freehook): Call lock_and_info and pass symbol info as additional
52712 parameter to tr_where.
52713 (tr_mallochook): Likewise.
52714 (tr_reallochook): Likewise.
52715 (tr_memalignhook): Likewise.
52717 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52718 used and couldn't be at all thread-safe.
52720 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52722 * libio/freopen.c (freopen): Don't close old file descriptor
52723 before the new one is opened. Instead dup the new file descriptor
52724 to the old one after the new stream is created.
52725 * libio/freopen64.c (freopen64): Likewise.
52726 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52727 * libio/fileops.c (_IO_new_file_close_it): Handle new
52728 _IO_FLAGS2_NOCLOSE flag.
52729 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52730 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52731 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52732 _IO_FLAGS2_NOCLOSE flag.
52733 * include/unistd.h: Add hidden_proto for dup3.
52734 Define __have_dup3.
52735 * io/dup3.c: Define hidden symbol.
52736 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52739 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52740 when an incomplete long option is used.
52741 * posix/tst-getopt_long1.c: New file.
52742 * posix/Makefile (tests): Add tst-getopt_long1.
52745 * scripts/config.guess: Update from autoconf-2.68.
52746 * scripts/config.sub: Likewise.
52749 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52751 (has_cpuclock): ...this. New function.
52752 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52753 macro here based on has_cpuclock code.
52756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52757 First byte (not low byte) is now always NUL.
52758 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52761 Use non-cancelable interfaces.
52764 * locale/iso-639.def: Add entry for Sorani.
52767 * include/stdlib.h: Move include protection to the right place.
52768 Define abort_msg_s. Declare __abort_msg with it.
52769 * stdlib/abort.c (__abort_msg): Adjust type.
52770 * assert/assert.c (__assert_fail_base): New function. Majority
52771 of code from __assert_fail. Allocate memory for __abort_msg with
52773 (__assert_fail): Now call __assert_fail_base.
52774 * assert/assert-perr.c: Remove bulk of implementation. Use
52775 __assert_fail_base.
52776 * include/assert.hL Declare __assert_fail_base.
52777 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52779 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52781 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52785 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52786 until all modules are registered in the DTV.
52787 * elf/Makefile: Add rules to build and run tst-tls19.
52788 * elf/tst-tls19.c: New file.
52789 * elf/tst-tls19mod1.c: New file.
52790 * elf/tst-tls19mod2.c: New file.
52791 * elf/tst-tls19mod3.c: New file.
52792 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52795 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52799 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52800 two-byte sequence errors.
52801 * iconvdata/Makefile (tests): Add bug-iconv8.
52802 * iconvdata/bug-iconv8.c: New file.
52805 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52808 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52811 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52812 (dummy_getcfa): New function.
52813 (init): Get _Unwind_GetCFA address, use dummy if not found.
52814 (backtrace_helper): In recursion check, also check whether CFA changes.
52815 (__backtrace): Completely initialize arg.
52817 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52818 storing incomplete byte sequence in state object. Avoid testing for
52819 guaranteed too small input if we know there is enough data available.
52821 2011-05-11 Andreas Schwab <schwab@redhat.com>
52823 * Makeconfig (+link-pie): Indent.
52824 * Rules (binaries-pie): Define if $(have-fpie) and
52826 (binaries-shared): Also filter out $(binaries-pie).
52827 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52828 * nscd/Makefile (others-pie): Add nscd.
52829 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52830 ($(objpfx)nscd): Remove command override.
52831 * login/Makefile (others-pie): Add pt_chown.
52832 ($(objpfx)pt_chown): Remove command override.
52833 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52834 remove command overrides.
52836 2011-05-13 Ulrich Drepper <drepper@gmail.com>
52838 * libio/tst_putwc.c: Fix error messages.
52841 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52842 currently writing and seek to current position when not.
52843 * libio/Makefile (tests): Add bug-fclose1.
52844 * libio/bug-fclose1.c: New file.
52846 2011-05-12 Ulrich Drepper <drepper@gmail.com>
52849 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52850 don't set DF_1_NODELETE here.
52851 (do_lookup_x): When entering new entry test for copy relocation
52852 and if necessary set DF_1_NODELETE flag.
52853 * elf/tst-unique4.cc: New file.
52854 * elf/tst-unique4.h: New file.
52855 * elf/tst-unique4lib.cc: New file.
52856 * elf/Makefile: Add rules to build and run tst-unique4.
52857 Patch by Piotr Bury <pbury@goahead.com>.
52859 2011-05-11 Ulrich Drepper <drepper@gmail.com>
52862 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52865 * misc/mntent_r.c (addmntent): Flush the stream after the output
52868 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52869 (is_trusted_path_normalize): Skip initial colon. Append slash
52870 to empty buffer. Duplicate is_trusted_path code but allow
52871 constructed patch to be prefix.
52872 (is_dst): Allow $ORIGIN followed by /.
52873 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52874 Correct testing of result of is_trusted_path_normalize
52875 (decompose_rpath): Fix warning.
52877 2011-05-10 Ulrich Drepper <drepper@gmail.com>
52880 * grp/initgroups.c (internal_getgrouplist): When we found the service
52881 list through the initgroups entry in nsswitch.conf do not always
52882 continue on a successful lookup. Don't always use the
52883 __nss_group_database value if it is set.
52884 * nss/nsswitch.conf (initgroups): Change action for successful db
52885 lookup to continue for compatibility.
52887 2011-05-09 Ulrich Drepper <drepper@gmail.com>
52890 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52892 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52894 * iconvdata/tst-tables.sh: Likewise.
52895 * iconvdata/cp770.c: New file.
52896 * iconvdata/cp771.c: New file.
52897 * iconvdata/cp772.c: New file.
52898 * iconvdata/cp773.c: New file.
52899 * iconvdata/cp774.c: New file.
52900 * iconvdata/testdata/CP770: New file.
52901 * iconvdata/testdata/CP770..UTF8: New file.
52902 * iconvdata/testdata/CP771: New file.
52903 * iconvdata/testdata/CP771..UTF8: New file.
52904 * iconvdata/testdata/CP772: New file.
52905 * iconvdata/testdata/CP772..UTF8: New file.
52906 * iconvdata/testdata/CP773: New file.
52907 * iconvdata/testdata/CP773..UTF8: New file.
52908 * iconvdata/testdata/CP774: New file.
52909 * iconvdata/testdata/CP774..UTF8: New file.
52911 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52913 * iconvdata/gen-8bit-gap.sh: Likewise.
52914 * iconvdata/gen-8bit.sh: Likewise.
52916 * locale/iso-639.def: Add ary entry.
52919 * locale/C-translit.h.in: Add U20A1 transliteration.
52922 * locale/iso-639.def: Add wae entry.
52923 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52926 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52930 * locale/C-translit.h.in: Add entry for U20B9.
52931 Patch by pravin.d.s@gmail.com.
52933 2011-05-08 Ulrich Drepper <drepper@gmail.com>
52936 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52937 ENAMETOOLONG use generic getcwd.
52938 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52939 in rtld. Use *stat64.
52940 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52941 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52942 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52943 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52944 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52945 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52946 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52947 __fstatat64 macros.
52948 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52949 * dirent/rewinddir.c: Add libc_hidden_def.
52950 * sysdeps/mach/hurd/rewinddir.c: Likewise.
52951 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
52953 * include/dirent.h (__alloc_dir): Add flags parameter.
52954 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52955 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52957 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52958 from fdopendir if O_CLOEXEC is already set.
52960 2011-03-15 Alan Modra <amodra@gmail.com>
52962 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52963 l_tls_firstbyte_offset non-zero. Save padding offset in
52964 l_tls_firstbyte_offset for later use.
52965 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52966 freeing static tls block.
52968 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52970 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52971 where #ifdef was intended. The intent is to prevent ARG_MAX from
52972 being defined by the kernel headers.
52974 2011-05-07 Ulrich Drepper <drepper@gmail.com>
52977 * resolv/resolv.h: Define RES_NOTLDQUERY.
52978 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52979 no-tld-query and set RES_NOTLDQUERY.
52980 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52981 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52982 modern BIND to search name as TLD unless forbidden.
52984 2011-05-07 Petr Baudis <pasky@suse.cz>
52985 Ulrich Drepper <drepper@gmail.com>
52988 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52989 (is_trusted_path): ...to here.
52990 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52991 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52992 using is_trusted_path_normalize() in setuid scripts.
52994 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52996 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52997 __BEGIN/__END_DECLS.
52999 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53002 NSS_STATUS_NOTFOUND if no record was found.
53004 2011-05-05 Andreas Schwab <schwab@redhat.com>
53006 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53007 (headers-not-in-tirpc): Remove rpc/netdb.h
53008 * resolv/netdb.h: Revert last change.
53010 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53012 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53013 circular dependency between libgcc.a and libc.a.
53015 2011-05-05 Andreas Schwab <schwab@redhat.com>
53017 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53018 * nis/Makefile: Don't install rpcsvc/*.
53019 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53020 instead of <rpc/types.h>.
53021 (MAXHOSTNAMELEN): Define.
53023 2011-05-03 Andreas Schwab <schwab@redhat.com>
53025 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53027 2011-04-28 Maciej Babinski <mbabinski@google.com>
53030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53031 gethostbyname4_r when IPv6 results are possible.
53033 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53036 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53037 _PC_PIPE_BUF handling.
53039 2011-04-30 Bruno Haible <bruno@clisp.org>
53042 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53043 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53045 * inet/getnameinfo.c (getnameinfo): Likewise.
53047 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53049 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53050 to groups setting in database lookup.
53051 * nss/nsswitch.conf: Add initgroups entry.
53053 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53056 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53058 Patch by Eric Blake <eblake@redhat.com>.
53060 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53062 * sunrpc/Makefile (need-export-routines): Add svc_run.
53063 (routines): Remove svc_run.
53064 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53065 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53066 * sunrpc/svc_run.c (svc_run): Likewise.
53067 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53069 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53071 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53072 problem in reallocation in last patch.
53074 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53076 * sunrpc/Makefile: Move inclusion of Rules.
53078 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53080 * nss/nss_files/files-initgroups.c: New file.
53081 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53082 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53083 _nss_files_initgroups_dyn.
53085 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53087 * elf/elf.h (R_ARM_IRELATIVE): Define.
53089 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53091 * po/ru.po: Update from translation team.
53093 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53095 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53098 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53101 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53102 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53104 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53105 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53107 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53109 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53111 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53115 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53118 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53120 * stdlib/bug-getcontext.c: New file.
53121 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53123 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53125 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53126 instructions into .machine "z9-109".
53127 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53128 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53130 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53132 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53133 between environment variables and auxiliary vector.
53135 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53137 * Makefile: Add rules to build linkobj/libc.so.
53138 * include/libc-symbols.h: Define libc_hidden_nolink.
53139 * include/rpc/auth.h: Mark functions which are to be hidden.
53140 * include/rpc/auth_des.h: Likewise.
53141 * include/rpc/auth_unix.h: Likewise.
53142 * include/rpc/clnt.h: Likewise.
53143 * include/rpc/des_crypt.h: Likewise.
53144 * include/rpc/key_prot.h: Likewise.
53145 * include/rpc/pmap_clnt.h: Likewise.
53146 * include/rpc/pmap_prot.h: Likewise.
53147 * include/rpc/pmap_rmt.h: Likewise.
53148 * include/rpc/rpc_msg.h: Likewise.
53149 * include/rpc/svc.h: Likewise.
53150 * include/rpc/svc_auth.h: Likewise.
53151 * include/rpc/xdr.h: Likewise.
53152 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53153 * nss/Makefile: Likewise.
53154 * sunrpc/Makefile: Don't install headers. Build library with normal
53155 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53156 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53157 for the compat linking library. Remove use of INTDEF/INTUSE.
53158 * sunrpc/auth_none.c: Likewise.
53159 * sunrpc/auth_unix.c: Likewise.
53160 * sunrpc/authdes_prot.c: Likewise.
53161 * sunrpc/authuxprot.c: Likewise.
53162 * sunrpc/clnt_gen.c: Likewise.
53163 * sunrpc/clnt_perr.c: Likewise.
53164 * sunrpc/clnt_raw.c: Likewise.
53165 * sunrpc/clnt_simp.c: Likewise.
53166 * sunrpc/clnt_tcp.c: Likewise.
53167 * sunrpc/clnt_udp.c: Likewise.
53168 * sunrpc/clnt_unix.c: Likewise.
53169 * sunrpc/des_crypt.c: Likewise.
53170 * sunrpc/des_soft.c: Likewise.
53171 * sunrpc/get_myaddr.c: Likewise.
53172 * sunrpc/key_call.c: Likewise.
53173 * sunrpc/key_prot.c: Likewise.
53174 * sunrpc/netname.c: Likewise.
53175 * sunrpc/pm_getmaps.c: Likewise.
53176 * sunrpc/pm_getport.c: Likewise.
53177 * sunrpc/pmap_clnt.c: Likewise.
53178 * sunrpc/pmap_prot.c: Likewise.
53179 * sunrpc/pmap_prot2.c: Likewise.
53180 * sunrpc/pmap_rmt.c: Likewise.
53181 * sunrpc/publickey.c: Likewise.
53182 * sunrpc/rpc_cmsg.c: Likewise.
53183 * sunrpc/rpc_common.c: Likewise.
53184 * sunrpc/rpc_dtable.c: Likewise.
53185 * sunrpc/rpc_prot.c: Likewise.
53186 * sunrpc/rpc_thread.c: Likewise.
53187 * sunrpc/rtime.c: Likewise.
53188 * sunrpc/svc.c: Likewise.
53189 * sunrpc/svc_auth.c: Likewise.
53190 * sunrpc/svc_authux.c: Likewise.
53191 * sunrpc/svc_raw.c: Likewise.
53192 * sunrpc/svc_run.c: Likewise.
53193 * sunrpc/svc_simple.c: Likewise.
53194 * sunrpc/svc_tcp.c: Likewise.
53195 * sunrpc/svc_udp.c: Likewise.
53196 * sunrpc/svc_unix.c: Likewise.
53197 * sunrpc/svcauth_des.c: Likewise.
53198 * sunrpc/xcrypt.c: Likewise.
53199 * sunrpc/xdr.c: Likewise.
53200 * sunrpc/xdr_array.c: Likewise.
53201 * sunrpc/xdr_float.c: Likewise.
53202 * sunrpc/xdr_intXX_t.c: Likewise.
53203 * sunrpc/xdr_mem.c: Likewise.
53204 * sunrpc/xdr_rec.c: Likewise.
53205 * sunrpc/xdr_ref.c: Likewise.
53206 * sunrpc/xdr_sizeof.c: Likewise.
53207 * sunrpc/xdr_stdio.c: Likewise.
53209 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53212 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53213 * sysdeps/ia64/dl-tls.h: Likewise.
53214 * sysdeps/powerpc/dl-tls.h: Likewise.
53215 * sysdeps/s390/dl-tls.h: Likewise.
53216 * sysdeps/sh/dl-tls.h: Likewise.
53217 * sysdeps/sparc/dl-tls.h: Likewise.
53218 * sysdeps/x86_64/dl-tls.h: Likewise.
53219 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53221 2011-03-14 Andreas Schwab <schwab@redhat.com>
53223 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53224 rpath element also skip the following colon.
53225 (expand_dynamic_string_token): Add is_path parameter and pass
53226 down to DL_DST_REQUIRED and _dl_dst_substitute.
53227 (decompose_rpath): Call expand_dynamic_string_token with
53228 non-zero is_path. Ignore empty rpaths.
53229 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53232 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53237 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53240 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53241 Patch by Filipe David Manana <fdmanana@apache.org>.
53243 2011-04-07 Andreas Schwab <schwab@redhat.com>
53245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53246 Maintain aligned stack.
53247 (CHECK_RSP): Remove unused macro.
53249 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53251 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53252 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53254 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53256 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53258 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53260 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53263 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53264 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53265 * sysdeps/x86_64/memmove.c: New file.
53266 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53267 (memcpy): Renamed to ...
53268 (__new_memcpy): This.
53269 (memcpy): Provide GLIBC_2_14 memcpy.
53270 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53271 (memcpy): Provide GLIBC_2_2_5 memcpy.
53273 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53276 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53278 2011-03-30 Andreas Schwab <schwab@redhat.com>
53280 * misc/syncfs.c: New file.
53281 * misc/Makefile (routines): Add syncfs.
53282 * posix/unistd.h: Declare syncfs.
53283 * sysdeps/unix/syscalls.list: Add syncfs.
53285 2011-04-01 Andreas Schwab <schwab@redhat.com>
53287 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53289 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53290 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53292 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53294 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53297 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53300 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53301 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53305 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53307 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53308 sync_file_range.c with -fexceptions.
53309 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53310 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53311 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53312 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53313 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53314 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53316 sync_file_range as cancellation point
53317 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53318 now a wrapper around __call_sync_file_range with cancellation handling.
53319 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53320 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53321 function name to __call_sync_file_range.
53322 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53323 Add call_sync_file_range.
53325 2011-04-01 Andreas Schwab <schwab@redhat.com>
53327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53330 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53332 * iconv/iconv.h: Fix typo in comment.
53333 * io/fcntl.h: Likewise.
53334 * libio/stdio.h: Likewise.
53335 * posix/spawn.h: Likewise.
53336 * posix/unistd.h: Likewise.
53337 * stdlib/stdlib.h: Likewise.
53338 * time/time.h: Likewise.
53339 * wcsmbs/wchar.h: Likewise.
53341 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53342 open_by_handle): Add.
53343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53344 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53345 Augment a few comments.
53346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53348 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53351 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53354 * io/fcntl.h (AT_EMPTY_PATH): Define.
53356 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53358 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53359 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53360 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53362 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53363 * Versions.def: Add GLIBC_2.14.
53364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53367 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53369 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53371 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53373 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53376 * string/test-strncmp.c (do_page_test): New function.
53377 (check2): Likewise.
53378 (test_main): Call check2.
53379 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53381 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53385 Handle cache information in CPU leaf 4.
53386 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53388 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53391 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53392 character representation.
53393 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53395 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53397 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53398 END(__isnan) to END(__isnanf) to match function entry point/label
53399 EALIGN(__isnanf,...).
53401 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53403 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53405 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53408 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53409 copy from the symbol referenced in the relocation to initialize the
53411 Patch by Piotr Bury <pbury@goahead.com>.
53412 * elf/Makefile: Add rules to build and tst-unique3.
53413 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53414 * elf/tst-unique3.cc: New file.
53415 * elf/tst-unique3.h: New file.
53416 * elf/tst-unique3lib.cc: New file.
53417 * elf/tst-unique3lib2.cc: New file.
53419 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53421 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53423 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53424 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53427 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53429 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53430 to-be-loaded object along a path to loader is ld.so.
53432 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53433 Ulrich Drepper <drepper@gmail.com>
53435 * sysdeps/x86_64/memset.S: After aligning destination, code
53436 branches to different locations depending on the value of
53437 misalignment, when multiarch is enabled. Fix this.
53439 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53441 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53442 Set _x86_64_preferred_memory_instruction for AMD processsors.
53443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53444 Set bit_Prefer_SSE_for_memop for AMD processors.
53446 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53448 * libio/fmemopen.c (fmemopen): Optimize a bit.
53450 2011-03-03 Andreas Schwab <schwab@redhat.com>
53452 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53454 2011-03-03 Roland McGrath <roland@redhat.com>
53456 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53458 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53460 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53461 __bzero_ultra1 instead of __memset_ultra1.
53463 2011-02-23 Andreas Schwab <schwab@redhat.com>
53464 Ulrich Drepper <drepper@gmail.com>
53467 * include/link.h (struct link_map): Add l_orig_initfini.
53468 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53469 returning unsuccessfully.
53470 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53471 close of a file loaded at startup, restore the original l_initfini
53473 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53474 list, store the pointer.
53475 * elf/Makefile ($(objpfx)noload-mem): New rule.
53476 (noload-ENV): Define.
53477 (tests): Add $(objpfx)noload-mem.
53478 * elf/noload.c: Include <memcheck.h>.
53479 (main): Call mtrace. Close all opened handles.
53481 2011-02-17 Andreas Schwab <schwab@redhat.com>
53484 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53485 dependencies are missing.
53487 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53489 Fix __if_freereq crash: Unlike the generic version which uses free,
53491 * sysdeps/mach/hurd/ifreq.h: New file.
53493 2011-01-27 Petr Baudis <pasky@suse.cz>
53494 Ulrich Drepper <drepper@gmail.com>
53497 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53498 to extend_alloca().
53499 * stdio-common/bug23.c: New file.
53500 * stdio-common/Makefile (tests): Add bug23.
53502 2010-09-28 Andreas Schwab <schwab@redhat.com>
53503 Ulrich Drepper <drepper@gmail.com>
53506 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53507 before performing relro protection. At old place add assertion
53508 to make sure nothing changed.
53510 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53511 Glauber de Oliveira Costa <glommer@gmail.com>
53513 * elf/elf.h: Add new ARM TLS relocs.
53515 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53518 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53520 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53522 * sysdeps/wordsize-64/tst-writev.c: New file.
53524 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53526 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53527 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53528 insns in _dl_start to prevent a TOC reference before relocs are
53531 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53534 * Makeconfig: Remove RANLIB definition.
53535 * Makerules: Don't use RANLIB.
53536 * aclocal.m4: Remove ranlib test.
53537 * configure.in: No need to check for ranlib.
53538 * elf/rtld-Rules: Don't use RANLIB.
53540 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53542 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53544 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53545 inclusion protection macro.
53547 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53548 SIGRTMIN and SIGRTMAX and print information in that case only when
53549 SIGRTMIN is defined.
53551 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53553 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53554 arginfo fn returning -1.
53556 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53557 and thousands string is zero terminated.
53559 2011-02-03 Andreas Schwab <schwab@redhat.com>
53561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53562 sysdeps/unix/sysv/linux/bits/socket.h.
53564 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53566 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53567 (__CPU_COUNT): Remove old macros.
53568 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53569 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53570 (__CPU_ALLOC, __CPU_FREE): Add macros.
53571 (__sched_cpualloc, __sched_cpufree): Add declarations.
53573 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53575 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53576 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53577 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53578 (readdhstai): Return value of addhstaiX call.
53579 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53580 (addgrbyX): Return value returned by cache_addgr.
53581 (readdgrbyname): Return value returned by addgrbyX.
53582 (readdgrbygid): Likewise.
53583 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53584 (addpwbyX): Return value returned by cache_addpw.
53585 (readdpwbyname): Return value returned by addhstbyX.
53586 (readdpwbyuid): Likewise.
53587 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53588 (addservbyX): Return value returned by cache_addserv.
53589 (readdservbyname): Return value returned by addservbyX:
53590 (readdservbyport): Likewise.
53591 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53592 (addhstbyX): Return value returned by cache_addhst.
53593 (readdhstbyname): Return value returned by addhstbyX.
53594 (readdhstbyaddr): Likewise.
53595 (readdhstbynamev6): Likewise.
53596 (readdhstbyaddrv6): Likewise.
53597 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53598 (readdinitgroups): Return value returned by addinitgroupsX.
53599 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53600 (prune_cache): Keep track of timeout value of re-added entries.
53601 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53602 * nscd/nscd.h: Adjust prototypes of readd* functions.
53604 2011-02-04 Roland McGrath <roland@redhat.com>
53606 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53607 (nis_stats): Likewise.
53608 * nis/nis_modify.c (nis_modify): Likewise.
53609 * nis/nis_remove.c (nis_remove): Likewise.
53610 * nis/nis_add.c (nis_add): Likewise.
53612 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53614 * posix/fnmatch_loop.c: Add some consts.
53616 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53618 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53621 * config.make.in (config-cflags-novzeroupper): Define.
53622 * configure.in: Substitute libc_cv_cc_novzeroupper.
53623 * elf/Makefile (AVX-CFLAGS): Define.
53624 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53625 (CFLAGS-tst-auditmod4a.c): Likewise.
53626 (CFLAGS-tst-auditmod4b.c): Likewise.
53627 (CFLAGS-tst-auditmod6b.c): Likewise.
53628 (CFLAGS-tst-auditmod6c.c): Likewise.
53629 (CFLAGS-tst-auditmod7b.c): Likewise.
53630 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53632 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53634 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53635 function to the callback.
53636 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53638 2011-02-02 Andreas Schwab <schwab@redhat.com>
53640 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53643 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53646 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53648 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53650 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53653 * elf/Makefile: Add rules to build and run new test.
53654 * elf/tst-initorder.c: New file.
53655 * elf/tst-initorder.exp: New file.
53656 * elf/tst-initordera1.c: New file.
53657 * elf/tst-initordera2.c: New file.
53658 * elf/tst-initordera3.c: New file.
53659 * elf/tst-initordera4.c: New file.
53660 * elf/tst-initorderb1.c: New file.
53661 * elf/tst-initorderb2.c: New file.
53662 * elf/tst-order-a1.c: New file.
53663 * elf/tst-order-a2.c: New file.
53664 * elf/tst-order-a3.c: New file.
53665 * elf/tst-order-a4.c: New file.
53666 * elf/tst-order-b1.c: New file.
53667 * elf/tst-order-b2.c: New file.
53668 * elf/tst-order-main.c: New file.
53669 New test case by George Gensure <werkt0@gmail.com>.
53671 2010-10-01 Andreas Schwab <schwab@redhat.com>
53673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53674 decoding ACE if AI_CANONIDN.
53676 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53678 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53680 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53682 * version.h (RELEASE): Bump for 2.13 release.
53683 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53685 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53687 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53689 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53696 * posix/getconf.c: Update copyright year.
53697 * catgets/gencat.c: Likewise.
53698 * csu/version.c: Likewise.
53699 * debug/catchsegv.sh: Likewise.
53700 * debug/xtrace.sh: Likewise.
53701 * elf/ldconfig.c: Likewise.
53702 * elf/ldd.bash.in: Likewise.
53703 * elf/sprof.c (print_version): Likewise.
53704 * iconv/iconv_prog.c: Likewise.
53705 * iconv/iconvconfig.c: Likewise.
53706 * locale/programs/locale.c: Likewise.
53707 * locale/programs/localedef.c: Likewise.
53708 * malloc/memusage.sh: Likewise.
53709 * malloc/mtrace.pl: Likewise.
53710 * nscd/nscd.c (print_version): Likewise.
53711 * nss/getent.c: Likewise.
53713 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53714 PF_CAIF, and PF_ALG.
53715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53717 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53719 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53720 (modules-names): Use them.
53721 (ifunc-test-modules, ifunc-pie-tests): Define.
53722 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53723 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53724 (test-extras): Likewise.
53725 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53726 $(compile-command.c).
53727 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53728 (all-built-dso): Define.
53729 (check-textrel.out, check-execstack.out): Depend on it.
53731 * configure.in: Don't override --enable-multi-arch.
53733 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53736 * nscd/hstcache.c (tryagain): Define.
53737 (cache_addhst): Return tryagain not notfound for temporary errors.
53738 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53741 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53744 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53745 to make the syscall.
53746 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53749 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53750 and fall back to matching as normal character if the string ends before
53751 the matching ']' is found. This is what POSIX requires.
53752 * posix/testfnm.c: Adjust test result.
53753 * posix/globtest.sh: Adjust test result. Add new test.
53754 * posix/tst-fnmatch.input: Likewise.
53755 * posix/tst-fnmatch2.c: Add new test.
53757 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53759 * elf/Makefile (check-execstack): Revert last change. Depend on
53761 (check-execstack.h): New target.
53762 (generated): Add check-execstack.h.
53763 * elf/check-execstack.c: Include "check-execstack.h".
53764 (main): Revert last change.
53765 (handle_file): Return zero if GNU_STACK is absent and
53766 DEFAULT_STACK_PERMS doesn't include PF_X.
53768 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53770 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53771 in child fails because the descriptor is already closed.
53772 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53773 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53774 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53777 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53781 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53782 temporary buffer used to handle multi lookups locally.
53783 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53785 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53787 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53790 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53792 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53793 alignment for SSE2.
53795 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53798 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53799 characters. When rounding increased number of integer digits recompute
53801 * stdio-common/tst-grouping.c: New file.
53802 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53804 2011-01-09 Ulrich Drepper <drepper@gmail.com>
53806 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53807 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53809 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53811 * bits/select.h: Likewise.
53813 2011-01-08 Ulrich Drepper <drepper@gmail.com>
53815 * po/ja.po: Update from translation team.
53817 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
53820 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53821 implementation just like for lxstat, fxstatat, et al.
53823 2010-12-27 Jim Meyering <meyering@redhat.com>
53826 * posix/regexec.c (build_trtable): Return failure indication upon
53827 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53829 2010-12-25 Ulrich Drepper <drepper@gmail.com>
53832 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53833 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53834 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53835 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53838 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53841 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53842 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53844 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53846 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53847 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53848 script has SORT_BY_INIT_PRIORITY.
53849 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53850 NO_CTORS_DTORS_SECTIONS is defined.
53851 * elf/soinit.c: Likewise.
53852 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53853 NO_CTORS_DTORS_SECTIONS is defined.
53854 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53855 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53856 * sysdeps/sh/init-first.c: Likewise.
53857 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53859 2010-12-24 Ulrich Drepper <drepper@gmail.com>
53861 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53862 always use the slow path.
53864 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53866 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53867 similar rule which adds the sysdep directories to the header search in
53868 order to pick up the correct platform stackinfo.h.
53869 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53870 perform test if it is, otherwise return successfully without testing.
53871 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53872 DEFAULT_STACK_PERMS define in stackinfo.h.
53873 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53874 defined in stackinfo.h.
53875 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53876 DEFAULT_STACK_PERMS defined in stackinfo.h.
53877 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53878 * sysdeps/ia64/stackinfo.h: Likewise.
53879 * sysdeps/s390/stackinfo.h: Likewise.
53880 * sysdeps/sh/stackinfo.h: Likewise.
53881 * sysdeps/sparc/stackinfo.h: Likewise.
53882 * sysdeps/x86_64/stackinfo.h: Likewise.
53883 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53884 PF_X for powerpc64. Retain PF_X for powerpc32.
53886 2010-12-19 Ulrich Drepper <drepper@gmail.com>
53888 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53890 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53891 GETDENTS_64BIT_ALIGNED.
53893 2010-12-14 Ulrich Drepper <dreper@gmail.com>
53895 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53897 2010-12-10 Andreas Schwab <schwab@redhat.com>
53899 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53902 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53903 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53905 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53906 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53908 2010-12-09 Ulrich Drepper <drepper@gmail.com>
53911 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53914 2010-12-09 Jakub Jelinek <jakub@redhat.com>
53916 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53918 2010-12-03 Ulrich Drepper <drepper@gmail.com>
53920 * po/it.po: Update from translation team.
53922 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53927 2010-11-30 Ulrich Drepper <drepper@gmail.com>
53929 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53931 2010-11-24 Andreas Schwab <schwab@redhat.com>
53933 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53935 (gaih_getanswer_slice): Likewise.
53937 2010-10-20 Jakub Jelinek <jakub@redhat.com>
53939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53941 2010-05-31 Petr Baudis <pasky@suse.cz>
53944 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53945 silently even in the chroot mode.
53947 2010-11-22 Ulrich Drepper <drepper@gmail.com>
53949 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53950 last patch a bit. Pretty printing
53952 2010-05-31 Petr Baudis <pasky@suse.cz>
53955 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53956 initialization of skip_initgroups_dyn.
53958 2010-11-19 Ulrich Drepper <drepper@gmail.com>
53960 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53961 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53963 2010-11-16 Ulrich Drepper <drepper@gmail.com>
53965 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53967 2010-11-11 Andreas Schwab <schwab@redhat.com>
53969 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53970 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53971 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53972 ($(objpfx)tst-fnmatch-mem): New rule.
53973 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53974 * posix/tst-fnmatch.c (main): Call mtrace.
53976 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53979 Support Intel processor model 6 and model 0x2c.
53981 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
53983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53986 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53989 * string/test-strncasecmp.c (check_result): New function.
53990 (do_one_test): Use it.
53991 (check1): New function.
53992 (test_main): Use it.
53993 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53994 Support strcasecmp and strncasecmp.
53996 2010-11-08 Ulrich Drepper <drepper@gmail.com>
53999 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54002 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54004 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54008 * sysdeps/x86_64/multiarch/bzero.S: New file.
54009 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54010 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54011 * sysdeps/x86_64/multiarch/memset.S: New file.
54012 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54014 Set bit_Prefer_SSE_for_memop for Intel processors.
54015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54017 (index_Prefer_SSE_for_memop): Define.
54018 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54020 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54022 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54023 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54025 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54028 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54029 (__x86_64_raw_data_cache_size_half): Likewise.
54030 (__x86_64_raw_shared_cache_size): Likewise.
54031 (__x86_64_raw_shared_cache_size_half): Likewise.
54033 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54034 (__x86_64_raw_data_cache_size_half): Likewise.
54035 (__x86_64_raw_shared_cache_size): Likewise.
54036 (__x86_64_raw_shared_cache_size_half): Likewise.
54037 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54038 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54039 and __x86_64_raw_shared_cache_size_half. Round
54040 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54041 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54042 to multiple of 256 bytes.
54044 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54047 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54048 of inacessible symlinks. Verify result of symlink before returning it.
54049 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54050 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54052 2010-10-28 Erich Ritz <erichritz@gmail.com>
54054 * math/math.h (isinf): Fix typo in comment.
54056 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54058 * po/da.po: Update from translation team.
54060 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54062 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54063 is added to the list.
54065 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54066 Ulrich Drepper <drepper@gmail.com>
54068 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54069 the global list here. Move code to...
54070 (_dl_add_to_namespace_list): ...here. New function.
54071 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54072 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54073 * elf/dl-load.c (lose): Don't remove the element from the list.
54074 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54075 (_dl_map_object): Likewise.
54077 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54080 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54081 into all bytes of SSE register.
54082 Patch by Richard Li <richardpku@gmail.com>.
54084 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54087 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54090 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54092 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54093 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54094 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54095 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54100 2010-10-22 Andreas Schwab <schwab@redhat.com>
54102 * include/dlfcn.h (__RTLD_SECURE): Define.
54103 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54104 mode & __RTLD_SECURE instead.
54105 (open_path): Rename preloaded parameter to secure.
54106 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54107 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54108 * elf/dl-deps.c (openaux): Likewise.
54109 * elf/rtld.c (struct map_args): Remove is_preloaded.
54110 (map_doit): Don't use it.
54111 (dl_main): Likewise.
54112 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54113 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54115 2010-09-09 Andreas Schwab <schwab@redhat.com>
54117 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54118 (sysd-rules-targets): Remove duplicates.
54119 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54120 rtld-%.$o dependency.
54122 2010-10-18 Andreas Schwab <schwab@redhat.com>
54124 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54125 _dl_map_object do it.
54127 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54129 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54130 fast fma builtins, define the macros in the C99 standard.
54131 (FP_FAST_FMAF): Likewise.
54132 (FP_FAST_FMAL): Likewise.
54133 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54135 * bits/mathdef.h: Update copyright year.
54136 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54138 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54140 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54141 builtins, define the macros in the C99 standard.
54142 (FP_FAST_FMAF): Likewise.
54143 (FP_FAST_FMAL): Likewise.
54144 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54146 (FP_FAST_FMAF): Likewise.
54148 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54151 * math/libm-test.inc (fma_test): Some new testcases.
54152 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54154 y and infinite z. Do multiplication by C already in long double.
54155 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54157 y and infinite z. Do bitwise or of inexact bit into u.d.
54158 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54159 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54160 * sysdeps/i386/fpu/s_fma.S: Removed.
54161 * sysdeps/i386/fpu/s_fmal.S: Removed.
54163 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54166 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54168 computation is not scheduled after fetestexcept. Fix value
54169 of minimum denormal long double.
54171 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54174 * math/libm-test.inc (fma_test): Add some more tests.
54175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54178 2010-10-15 Andreas Schwab <schwab@redhat.com>
54180 * scripts/data/localplt-s390-linux-gnu.data: New file.
54181 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54183 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54186 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54187 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54189 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54191 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54193 if one of x and y is very large and the other is subnormal.
54194 * sysdeps/s390/fpu/s_fmaf.c: New file.
54195 * sysdeps/s390/fpu/s_fma.c: New file.
54196 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54197 * sysdeps/powerpc/fpu/s_fma.S: New file.
54198 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54199 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54200 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54202 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54205 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54208 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54209 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54210 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54211 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54212 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54213 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54215 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54218 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54219 * posix/bug-regex31.input: Add test case.
54221 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54223 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54224 * posix/bug-regex31.input: New file.
54227 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54228 (parse_sub_exp): Fix last change, use postorder.
54230 * posix/bug-regex31.c: New file.
54231 * posix/Makefile: Add rules to build and run bug-regex31.
54233 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54236 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54239 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54240 to have entries in sys_siglist.
54243 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54246 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54249 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54250 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54251 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54252 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54253 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54254 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54255 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54256 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54257 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54258 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54259 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54260 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54261 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54262 * math/ftestexcept.c (fetestexcept): Likewise.
54263 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54264 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54265 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54266 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54267 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54268 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54271 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54274 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54277 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54279 * string/bug-strstr1.c: New file.
54280 * string/Makefile: Add rules to build and run bug-strstr1.
54282 2010-10-05 Eric Blake <eblake@redhat.com>
54285 * string/str-two-way.h (two_way_long_needle): Always clear memory
54286 when skipping input due to the shift table.
54288 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54291 * malloc/mcheck.c: Handle large requests.
54294 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54295 for strncmp and strncasecmp.
54296 * string/stratcliff.c: Add tests for strcmp and strncmp.
54297 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54299 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54301 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54304 2010-09-30 Andreas Jaeger <aj@suse.de>
54306 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54307 (CGROUP_SUPER_MAGIC): Define.
54308 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54309 Handle btrfs and cgroup file systems.
54310 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54313 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54315 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54316 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54318 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54321 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54322 trying to locate the ELF header.
54324 2010-09-27 Andreas Schwab <schwab@redhat.com>
54327 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54328 Mask out sign-bit copies when constructing f_fsid.
54330 2010-09-24 Petr Baudis <pasky@suse.cz>
54332 * debug/stack_chk_fail_local.c: Add missing licence exception.
54333 * debug/warning-nop.c: Likewise.
54335 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54337 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54338 implementing getdents64 using getdents syscall, set d_type if
54339 __ASSUME_GETDENTS32_D_TYPE.
54341 2010-09-16 Andreas Schwab <schwab@redhat.com>
54343 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54344 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54346 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54349 * posix/unistd.h: Undo change of feature selection for ftruncate from
54352 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54354 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54357 2010-09-20 Andreas Schwab <schwab@redhat.com>
54359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54361 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54363 2010-09-14 Andreas Schwab <schwab@redhat.com>
54365 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54366 variables after CHECK_SP call.
54367 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54369 2010-09-13 Andreas Schwab <schwab@redhat.com>
54370 Ulrich Drepper <drepper@redhat.com>
54372 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54373 re-relocationg ld.so.
54374 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54375 _dl_init_paths call.
54376 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54379 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54381 * resolv/res_init.c (__res_vinit): Count the default server we added.
54383 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54384 Ulrich Drepper <drepper@redhat.com>
54387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54388 (____longjmp_chk): Use %ebx for saving value across system call.
54391 2010-09-06 Andreas Schwab <schwab@redhat.com>
54393 * manual/Makefile: Don't mix pattern rules with normal rules.
54395 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54397 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54399 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54400 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54401 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54402 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54406 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54409 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54410 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54412 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54414 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54415 * sysdeps/x86_64/addmul_1.S: Likewise.
54416 * sysdeps/x86_64/lshift.S: Likewise.
54417 * sysdeps/x86_64/mul_1.S: Likewise.
54418 * sysdeps/x86_64/rshift.S: Likewise.
54419 * sysdeps/x86_64/sub_n.S: Likewise.
54420 * sysdeps/x86_64/submul_1.S: Likewise.
54422 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54424 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54425 Define __sched_param instead of SCHED_* and sched_param when
54426 <bits/sched.h> is included with __need_schedparam defined.
54427 * bits/sched.h [__need_schedparam]
54428 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54429 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54430 (__defined_schedparam): Define to 1.
54431 (__sched_param): New structure, identical to sched_param.
54432 (__need_schedparam): Undefine.
54434 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54437 (epoll_create1): Declare.
54439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54441 2010-08-31 Andreas Schwab <schwab@redhat.com>
54444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54445 shifting retval into place.
54447 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54449 * nis/rpcsvc/nis.h: Update copyright notice.
54450 * nis/rpcsvc/nis.x: Likewise.
54451 * nis/rpcsvc/nis_callback.h: Likewise.
54452 * nis/rpcsvc/nis_callback.x: Likewise.
54453 * nis/rpcsvc/nis_object.x: Likewise.
54454 * nis/rpcsvc/nis_tags.h: Likewise.
54455 * nis/rpcsvc/yp.h: Likewise.
54456 * nis/rpcsvc/yp.x: Likewise.
54457 * nis/rpcsvc/ypupd.h: Likewise.
54458 * nis/yp_xdr.c: Likewise.
54459 * nis/ypupdate_xdr.c: Likewise.
54461 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54462 mainly the body of pmap_getport. Add parameters to specify timeouts.
54463 (pmap_getport): Use __libc_rpc_getport.
54464 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54465 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54466 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54468 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54473 2010-08-27 Roland McGrath <roland@redhat.com>
54475 * sysdeps/i386/i686/multiarch/Makefile
54476 (CFLAGS-varshift.c): New variable.
54478 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54480 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54481 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54485 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54487 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54489 * sysdeps/x86_64/strlen.S: Unroll the loop.
54490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54491 strlen-sse2 strlen-sse2-bsf.
54492 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54493 __strlen_no_bsf if bit_Slow_BSF is set.
54494 (__strlen_sse42): Removed.
54495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54496 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54498 2010-08-25 Roland McGrath <roland@redhat.com>
54500 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54501 * sysdeps/x86_64/multiarch/varshift.c: New file.
54502 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54503 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54504 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54505 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54507 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54510 strlen-sse2 strlen-sse2-bsf.
54511 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54512 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54513 (__strlen_sse2): Removed.
54514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54517 bit_Slow_BSF for Atom.
54518 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54519 (index_Slow_BSF): Define.
54520 (HAS_SLOW_BSF): Define.
54522 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54525 * resolv/res_init.c (__res_vinit): When no server address at all
54526 is given default to loopback.
54528 2010-08-24 Roland McGrath <roland@redhat.com>
54530 * configure.in: Remove config-name.h generation.
54531 * configure: Regenerated.
54532 * config-name.in: File removed.
54533 * scripts/config-uname.sh: New file.
54534 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54535 ($(objdir)config-name.h): New target.
54537 * sunrpc/rpc_parse.h: Avoid nested comment.
54539 2010-08-24 Richard Henderson <rth@redhat.com>
54540 Ulrich Drepper <drepper@redhat.com>
54541 H.J. Lu <hongjiu.lu@intel.com>
54543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54545 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54546 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54547 _mm_alignr_epi8 with _mm_loadu_si128.
54548 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54549 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54550 (__m128i_shift_right): Removed.
54551 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54552 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54553 * sysdeps/x86_64/multiarch/varshift.h: New file.
54554 * sysdeps/x86_64/multiarch/varshift.S: New file.
54556 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54558 * configure.in: Move assembler checks to before sysdep dir checking.
54560 2010-08-20 Petr Baudis <pasky@suse.cz>
54562 * LICENSES: Sync the sunrpc license.
54564 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54566 * sunrpc/auth_des.c: Update copyright notice once again.
54567 * sunrpc/auth_none.c: Likewise.
54568 * sunrpc/auth_unix.c: Likewise.
54569 * sunrpc/authdes_prot.c: Likewise.
54570 * sunrpc/authuxprot.c: Likewise.
54571 * sunrpc/bindrsvprt.c: Likewise.
54572 * sunrpc/clnt_gen.c: Likewise.
54573 * sunrpc/clnt_perr.c: Likewise.
54574 * sunrpc/clnt_raw.c: Likewise.
54575 * sunrpc/clnt_simp.c: Likewise.
54576 * sunrpc/clnt_tcp.c: Likewise.
54577 * sunrpc/clnt_udp.c: Likewise.
54578 * sunrpc/clnt_unix.c: Likewise.
54579 * sunrpc/des_crypt.c: Likewise.
54580 * sunrpc/des_soft.c: Likewise.
54581 * sunrpc/get_myaddr.c: Likewise.
54582 * sunrpc/getrpcport.c: Likewise.
54583 * sunrpc/key_call.c: Likewise.
54584 * sunrpc/key_prot.c: Likewise.
54585 * sunrpc/openchild.c: Likewise.
54586 * sunrpc/pm_getmaps.c: Likewise.
54587 * sunrpc/pm_getport.c: Likewise.
54588 * sunrpc/pmap_clnt.c: Likewise.
54589 * sunrpc/pmap_prot.c: Likewise.
54590 * sunrpc/pmap_prot2.c: Likewise.
54591 * sunrpc/pmap_rmt.c: Likewise.
54592 * sunrpc/rpc/auth.h: Likewise.
54593 * sunrpc/rpc/auth_unix.h: Likewise.
54594 * sunrpc/rpc/clnt.h: Likewise.
54595 * sunrpc/rpc/des_crypt.h: Likewise.
54596 * sunrpc/rpc/key_prot.h: Likewise.
54597 * sunrpc/rpc/netdb.h: Likewise.
54598 * sunrpc/rpc/pmap_clnt.h: Likewise.
54599 * sunrpc/rpc/pmap_prot.h: Likewise.
54600 * sunrpc/rpc/pmap_rmt.h: Likewise.
54601 * sunrpc/rpc/rpc.h: Likewise.
54602 * sunrpc/rpc/rpc_des.h: Likewise.
54603 * sunrpc/rpc/rpc_msg.h: Likewise.
54604 * sunrpc/rpc/svc.h: Likewise.
54605 * sunrpc/rpc/svc_auth.h: Likewise.
54606 * sunrpc/rpc/types.h: Likewise.
54607 * sunrpc/rpc/xdr.h: Likewise.
54608 * sunrpc/rpc_clntout.c: Likewise.
54609 * sunrpc/rpc_cmsg.c: Likewise.
54610 * sunrpc/rpc_common.c: Likewise.
54611 * sunrpc/rpc_cout.c: Likewise.
54612 * sunrpc/rpc_dtable.c: Likewise.
54613 * sunrpc/rpc_hout.c: Likewise.
54614 * sunrpc/rpc_main.c: Likewise.
54615 * sunrpc/rpc_parse.c: Likewise.
54616 * sunrpc/rpc_parse.h: Likewise.
54617 * sunrpc/rpc_prot.c: Likewise.
54618 * sunrpc/rpc_sample.c: Likewise.
54619 * sunrpc/rpc_scan.c: Likewise.
54620 * sunrpc/rpc_scan.h: Likewise.
54621 * sunrpc/rpc_svcout.c: Likewise.
54622 * sunrpc/rpc_tblout.c: Likewise.
54623 * sunrpc/rpc_util.c: Likewise.
54624 * sunrpc/rpc_util.h: Likewise.
54625 * sunrpc/rpcinfo.c: Likewise.
54626 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54627 * sunrpc/rpcsvc/key_prot.x: Likewise.
54628 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54629 * sunrpc/rpcsvc/mount.x: Likewise.
54630 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54631 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54632 * sunrpc/rpcsvc/rex.x: Likewise.
54633 * sunrpc/rpcsvc/rstat.x: Likewise.
54634 * sunrpc/rpcsvc/rusers.x: Likewise.
54635 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54636 * sunrpc/rpcsvc/spray.x: Likewise.
54637 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54638 * sunrpc/rtime.c: Likewise.
54639 * sunrpc/svc.c: Likewise.
54640 * sunrpc/svc_auth.c: Likewise.
54641 * sunrpc/svc_authux.c: Likewise.
54642 * sunrpc/svc_raw.c: Likewise.
54643 * sunrpc/svc_run.c: Likewise.
54644 * sunrpc/svc_simple.c: Likewise.
54645 * sunrpc/svc_tcp.c: Likewise.
54646 * sunrpc/svc_udp.c: Likewise.
54647 * sunrpc/svc_unix.c: Likewise.
54648 * sunrpc/svcauth_des.c: Likewise.
54649 * sunrpc/xcrypt.c: Likewise.
54650 * sunrpc/xdr.c: Likewise.
54651 * sunrpc/xdr_array.c: Likewise.
54652 * sunrpc/xdr_float.c: Likewise.
54653 * sunrpc/xdr_mem.c: Likewise.
54654 * sunrpc/xdr_rec.c: Likewise.
54655 * sunrpc/xdr_ref.c: Likewise.
54656 * sunrpc/xdr_sizeof.c: Likewise.
54657 * sunrpc/xdr_stdio.c: Likewise.
54659 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54662 2010-08-19 Andreas Schwab <schwab@redhat.com>
54664 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54666 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54668 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54669 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54670 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54671 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54672 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54673 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54674 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54675 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54676 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54677 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54678 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54679 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54680 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54681 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54683 2010-07-26 Anton Blanchard <anton@samba.org>
54685 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54686 * malloc/arena.c (heap_trim): Likewise.
54688 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54690 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54693 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54695 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54697 * sysdeps/i386/elf/Makefile: New file.
54699 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54701 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54702 from fanotify_init.
54703 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54706 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54708 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54710 * sysdeps/multiarch/strcmp.S: Likewise.
54712 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54714 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54715 strncase_l-nonascii.
54716 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54717 Add strncase_l-ssse3.
54718 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54719 * sysdeps/x86_64/strcmp.S: Likewise.
54720 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54721 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54722 * sysdeps/x86_64/strncase.S: New file.
54723 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54724 * sysdeps/x86_64/strncase_l.S: New file.
54725 * string/Makefile (strop-tests): Add strncasecmp.
54726 * string/test-strncasecmp.c: New file.
54728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54731 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54732 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54734 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54736 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54738 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54740 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54742 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54744 2010-05-01 Alan Modra <amodra@gmail.com>
54746 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54747 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54748 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54749 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54750 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54751 tidying. Don't tail-call __sigjmp_save for static lib.
54752 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54754 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54755 (CALL_MCOUNT): Add eh info, and nop after bl.
54756 (TAIL_CALL_SYSCALL_ERROR): New macro.
54757 (PSEUDO_RET): Use it.
54758 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54759 Correct save location of integer regs and cr.
54760 (_dl_profile_resolve): Correct cr save location. Delete nops
54761 after bl when SHARED. Reduce cfi size a little by better
54762 placement of cfi directives.
54763 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54764 make a stack frame. Instead use parm save area as a temp.
54765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54766 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54768 Don't make a stack frame for parent, use parm save area.
54769 Increase child stack frame to 112 bytes. Don't save unused reg,
54770 and adjust reg usage. Set up cfi on error recovery and
54771 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54773 (__makecontext): Add dummy nop after jump to exit.
54774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54775 Use correct parm save area and cr save, reduce stack frame.
54776 Correct cfi for possible PSEUDO_RET frame setup.
54777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54778 Branch to local label emitted by PSEUDO_RET rather than
54781 2010-08-12 Andreas Schwab <schwab@redhat.com>
54784 * locale/programs/locale.c (print_assignment): New function.
54785 (show_locale_vars): Use it.
54787 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54789 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54791 (struct statfs64): Likewise.
54792 (_STATFS_F_FLAGS): Define.
54793 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54794 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54795 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54796 (ST_VALID): Define locally.
54797 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54798 __statvfs_getflags, use the provided value.
54799 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54800 __ASSUME_STATFS_F_FLAGS.
54802 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54804 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54805 Add sys/fanotify.h.
54806 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54807 fanotify_mask for GLIBC_2.13.
54808 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54809 fanotify_init and fanotify_mark.
54810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54811 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54813 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54815 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54816 prlimit64 for GLIBC_2.13.
54817 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54822 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54823 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54827 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54830 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54831 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54833 * nss/Makefile: Add rules to build and run tst-nss-test1.
54834 * shlib-versions: Add entry for libnss_test1.
54835 * nss/nss_test1.c: New file.
54836 * nss/tst-nss-test1.c: New file.
54838 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54839 (__nss_configure_lookup): Set appropriate entry in
54840 __nss_configure_lookup to true.
54841 * nss/nsswitch.h: Define enum with indeces of databases in
54842 databases and __nss_database_custom arrays. Declare
54843 __nss_database_custom.
54844 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54845 to avoid using nscd when custom rules are installed.
54846 * nss/getXXbyYY_r.c: Likewise.
54847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54849 * nss/nss_files/files-parse.c: Whitespace fixes.
54851 2010-08-09 Ulrich Drepper <drepper@redhat.com>
54854 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54855 * posix/fnmatch_loop.c: Likewise.
54857 2010-07-17 Andi Kleen <ak@linux.intel.com>
54859 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54860 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54861 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54862 * Versions.def [GLIBC_2.13]: Add.
54864 2010-08-06 Ulrich Drepper <drepper@redhat.com>
54866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54867 Also fail if tpwd after pwuid call is NULL.
54869 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54871 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54872 when converting to ms.
54874 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54876 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54877 EOPNOTSUPP errors with ENOTTY.
54878 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54879 EOPNOTSUPP errors with ENOTTY.
54881 2010-07-31 Ulrich Drepper <drepper@redhat.com>
54883 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54884 Add strcasecmp_l-ssse3.
54885 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54887 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54888 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54889 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54891 2010-07-30 Ulrich Drepper <drepper@redhat.com>
54893 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54895 * string/Makefile (strop-tests): Add strcasecmp.
54896 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54897 strcasecmp_l-nonascii.
54898 (gen-as-const-headers): Add locale-defines.sym.
54899 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54900 * sysdeps/x86_64/strcasecmp.S: New file.
54901 * sysdeps/x86_64/strcasecmp_l.S: New file.
54902 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54903 * sysdeps/x86_64/locale-defines.sym: New file.
54904 * string/test-strcasecmp.c: New file.
54906 * string/test-strcasestr.c: Test both ends of the range of characters.
54907 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54909 2010-07-29 Roland McGrath <roland@redhat.com>
54912 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54914 2010-07-27 Ulrich Drepper <drepper@redhat.com>
54916 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54919 2010-07-27 Andreas Schwab <schwab@redhat.com>
54921 * manual/memory.texi (Malloc Tunable Parameters): Document
54924 2010-07-26 Roland McGrath <roland@redhat.com>
54927 * configure.in (-fgnu89-inline check): Set and substitute
54928 gnu89_inline, not libc_cv_gnu89_inline.
54929 * configure: Regenerated.
54930 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54932 2010-07-26 Ulrich Drepper <drepper@redhat.com>
54934 * string/test-strnlen.c: New file.
54935 * string/Makefile (strop-tests): Add strnlen.
54936 * string/tester.c (test_strnlen): Add a few more test cases.
54937 * string/tst-strlen.c: Better error reporting.
54939 * sysdeps/x86_64/strnlen.S: New file.
54941 2010-07-24 Ulrich Drepper <drepper@redhat.com>
54943 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54944 lower-latency instructions.
54946 2010-07-23 Ulrich Drepper <drepper@redhat.com>
54948 * string/test-strcasestr.c: New file.
54949 * string/test-strstr.c: New file.
54950 * string/Makefile (strop-tests): Add strstr and strcasestr.
54951 * string/str-two-way.h: Don't undefine MAX.
54952 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54954 2010-07-21 Andreas Schwab <schwab@redhat.com>
54956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54957 strcasestr-nonascii.
54958 (CFLAGS-strcasestr-nonascii.c): Define.
54959 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54960 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54961 Remove unused attribute.
54963 2010-07-20 Roland McGrath <roland@redhat.com>
54965 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54966 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54967 ld.so.cache was broken. With it, there is no way to disable dsocaps
54968 like LD_HWCAP_MASK can disable hwcaps.
54970 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54972 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54974 2010-07-16 Ulrich Drepper <drepper@redhat.com>
54976 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54977 call in strcasestr.
54978 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54979 __strcasestr_sse42_nonascii.
54980 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54981 strcasestr-nonascii.c.
54982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54984 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
54986 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54988 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54989 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54991 2010-07-09 Ulrich Drepper <drepper@redhat.com>
54993 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54996 2010-07-06 Andreas Schwab <schwab@redhat.com>
54999 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55002 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55005 _PC_PIPE_BUF using F_GETPIPE_SZ.
55007 2010-07-05 Roland McGrath <roland@redhat.com>
55009 * manual/arith.texi (Rounding Functions): Fix rint description
55010 implicit in round description.
55012 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55014 * elf/Makefile: Fix linking for a few tests to make recent linker
55017 2010-06-30 Andreas Schwab <schwab@redhat.com>
55019 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55020 $(common-objpfx)libc_nonshared.a.
55022 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55024 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55025 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55026 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55027 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55028 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55029 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55030 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55031 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55046 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55047 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55048 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55049 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55050 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55051 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55052 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55053 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55054 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55055 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55056 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55057 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55073 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55075 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55076 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55077 * string/memmove.c (memmove): Renamed to ...
55078 (MEMMOVE): ...this. Default to memmove.
55079 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55080 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55083 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55084 mempcpy-ssse3-back memmove-ssse3-back.
55085 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55088 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55089 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55090 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55091 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55092 * sysdeps/x86_64/multiarch/memmove.c: New file.
55093 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55094 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55095 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55096 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55097 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55100 (index_Fast_Copy_Backward): Define.
55101 (HAS_ARCH_FEATURE): Define.
55102 (HAS_FAST_REP_STRING): Define.
55103 (HAS_FAST_COPY_BACKWARD): Define.
55105 2010-06-21 Andreas Schwab <schwab@redhat.com>
55107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55108 Restore proper fallback handling.
55110 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55113 * posix/group_member.c (__group_member): Correct checking loop.
55115 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55116 OOM in getpwuid_r correctly. Return error number when the caller
55117 should return, otherwise -1.
55118 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55119 call returning > 0 value.
55120 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55122 2010-06-07 Andreas Schwab <schwab@redhat.com>
55124 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55125 libc_nonshared.a from targets in modules-names.
55127 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55129 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55132 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55134 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55135 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55139 2010-06-02 Andreas Schwab <schwab@redhat.com>
55141 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55143 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55152 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55154 2010-06-14 Roland McGrath <roland@redhat.com>
55156 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55158 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55160 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55161 __REDIRECT followed by __THROW.
55162 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55163 * posix/getopt.h (getopt): Likewise.
55165 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55167 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55168 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55169 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55171 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55172 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55174 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55176 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55178 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55182 Properly check family and model.
55184 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55186 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55188 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55190 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55192 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55194 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55197 2010-05-19 Andreas Schwab <schwab@redhat.com>
55199 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55202 2010-05-21 Andreas Schwab <schwab@redhat.com>
55204 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55205 and internal_recvmmsg.
55206 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55207 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55208 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55209 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55211 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55212 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55213 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55215 2010-05-20 Andreas Schwab <schwab@redhat.com>
55217 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55219 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55221 POWER7 optimizations.
55222 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55223 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55225 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55227 * version.h: Update for 2.13 development version.
55229 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55231 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55232 exceptions. Return 0.
55234 2010-05-07 Roland McGrath <roland@redhat.com>
55236 * elf/ldconfig.c (main): Add a const.
55238 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55240 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55241 (args_options): Add no-idn option.
55242 (ahosts_keys_int): Add idn_flags to ai_flags.
55243 (parse_option): Handle 'i' option to clear idn_flags.
55245 * malloc/malloc.c (_int_free): Possible race in the most recently
55246 added check. Only act on the data if no current modification
55249 See ChangeLog.17 for earlier changes.